You are not logged in.
I use emacs-wayland and my desktop is gnome. I enabled emacs systemd service through
systemctl --user enable emacsI also added the drop-in snippet as indicated in the wiki, namely
[Unit]
Requires=org.gnome.Shell@wayland.service
After=org.gnome.Shell@wayland.serviceBut when I open an R file with emacsclient and try to plot, nothing shows. There's no error, just nothing is displayed.
If I restart the unit
systemctl --user restart emacsthen plots are shown normally.
Anyone would have an idea of what's going on?
Offline
This seems to be a problem with emacs on wayland.
Other places [1][2] also are trying to figure that out.
This is how I solved it on my machine:
# 1. remove the drop-in snippet
systemctl --user revert emacs.service
# 2. install emacs-wayland
sudo pacman -S emacs-wayland
# 3. reboot
systemctl rebootEDIT: I just realized you mentioned you're already using emacs-wayland. In my case, I had just the regular emacs package installed and was running into that issue. I use gnome as well. Once I replaced it with emacs-wayland and removed the drop-in snippet, that's when things started working for me without having to do
systemctl --user restart emacs.serviceLast edited by beholder (2024-02-20 19:24:24)
Offline