You are not logged in.

#1 2024-03-02 03:10:25

ksyuls
Member
Registered: 2024-03-02
Posts: 1

[SOLVED] emacsclient, Register '+' is empty

I'm using Emacs/Spacemacs and want to copy/paste content between the clipboard and emacsclient using the '+' register, but it gives me a error says "Register '+' is empty" when pasting, and content yanked to the '+' register doesn't go to the clipboard. The '+' register is working if I start Emacs by enter $ emacs, it works for $ nvim too. It's not working for $ emacs -nw or $ emacsclient -t. The Emacs daemon is started using the systemd user unit that comes with the package.

I'm running Hyprland, and is using the emacs-wayland package, the terminal is kitty. I tried install xclip as mentioned for emacs-nox in https://wiki.archlinux.org/title/Emacs# … _emacs-nox, also tried the settings in https://develop.spacemacs.org/layers/+t … EADME.html, no luck with starting $ emacsclient -t using another terminal (foot) either.

No idea what else should I try, any help is appreciated.

Edit: "emacsclient -nc" works.

Last edited by ksyuls (2024-03-03 06:07:07)

Offline

Board footer

Powered by FluxBB