atlas-engineer / nyxt

Nyxt - the hacker's browser.
https://nyxt-browser.com/
9.64k stars 404 forks source link

Copy/Paste not working #3347

Closed adelpeyroux closed 3 months ago

adelpeyroux commented 4 months ago

Hello, I may need your help. I get the following error when trying to copy paste :

WARN - Warning: Error on separate thread: Couldn't execute "wl-paste": Aucun fichier ou dossier de ce type

I installed Nyxt from sources today.

Information

ASDF version: 3.3.1 ASDF registries: (NYXT-SOURCE-REGISTRY ENVIRONMENT-SOURCE-REGISTRY) Critical dependencies: (/home/lambdarat/tools/nyxt/_build/cl-cffi-gtk/gtk/cl-cffi-gtk.asd /home/lambdarat/tools/nyxt/_build/cl-gobject-introspection/cl-gobject-introspection.asd /home/lambdarat/tools/nyxt/_build/cl-webkit/webkit2/cl-webkit2.asd)


**Output when started from a shell**

Nyxt version 4

[11:22:41] Source location: #P"/home/lambdarat/tools/nyxt/" [11:22:41] Loading Lisp file #P"/home/lambdarat/.config/nyxt/config.lisp". [11:22:41] Listening to socket: #P"/run/user/1000/nyxt/nyxt.socket" (nyxt:91806): Gtk-CRITICAL **: 11:22:42.076: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed (WebKitWebProcess:2): Gtk-WARNING **: 11:22:42.537: Theme parsing error: gtk.css:2:123: Failed to import: Erreur lors de l’ouverture du fichier /home/lambdarat/.local/share/gnome-shell/extensions/unite@hardpixel.eu/styles/gtk3/buttons-right/always.css : Aucun fichier ou dossier de ce type [11:22:42] Loading #P"/home/lambdarat/.local/share/nyxt/history/default.lisp". (WebKitWebProcess:2): Gtk-WARNING **: 11:22:42.873: Theme parsing error: gtk.css:2:123: Failed to import: Erreur lors de l’ouverture du fichier /home/lambdarat/.local/share/gnome-shell/extensions/unite@hardpixel.eu/styles/gtk3/buttons-right/always.css : Aucun fichier ou dossier de ce type [11:22:42] Restoring 4 buffers from history. [11:22:43] Loading #P"/home/lambdarat/.local/share/nyxt/auto-rules.lisp". (WebKitWebProcess:2): Gtk-WARNING **: 11:22:43.203: Theme parsing error: gtk.css:2:123: Failed to import: Erreur lors de l’ouverture du fichier /home/lambdarat/.local/share/gnome-shell/extensions/unite@hardpixel.eu/styles/gtk3/buttons-right/always.css : Aucun fichier ou dossier de ce type (WebKitWebProcess:2): Gtk-WARNING **: 11:22:44.357: Theme parsing error: gtk.css:2:123: Failed to import: Erreur lors de l’ouverture du fichier /home/lambdarat/.local/share/gnome-shell/extensions/unite@hardpixel.eu/styles/gtk3/buttons-right/always.css : Aucun fichier ou dossier de ce type [11:22:45] Loading "https://github.com/atlas-engineer/nyxt/issues/new/choose". [11:22:45] Warning: Error while processing the "nyxt:" URL: There is no applicable method for the generic function #<STANDARD-GENERIC-FUNCTION NYXT:STYLE (16)> when called with arguments (NIL). See also: The ANSI Standard, Section 7.6.6 [11:22:46] Finished loading "https://github.com/atlas-engineer/nyxt/issues/new/choose". [11:22:48] Warning: Error on separate thread: Couldn't execute "wl-paste": Aucun fichier ou dossier de ce type ``` Thank you in advance ! Arnaud
aadcg commented 4 months ago

@adelpeyroux thanks for reporting.

It can be fixed if you set the value of env var XDG_SESSION_TYPE to x11.

Since many users have stumped on this, I'll fix it via https://github.com/snmsts/trivial-clipboard/issues/18.

adelpeyroux commented 3 months ago

Hey ! Thank you a lot for your answer. I’ll test that today and keep you informed !

adelpeyroux commented 3 months ago

Sorry for my late feedback. Setting XDG_SESSION_TYPE to x11 solve the issue. Thanks a lot !