You are not logged in.
Hi all,
the excerpt below pretty much sums up my problem. Does gimp really not run under wayland? Of course it does. A search for +gimp +wayland limited to the past year turns up literally nothing. I have xorg-xwayland installed, but that of course doesn't set a DISPLAY variable (if that's the problem).
~$ env | grep WAYLAND
WAYLAND_DISPLAY=wayland-1
~$ gimp --version
GNU Image Manipulation Program version 2.10.38
~$ gimp
Cannot open display:
~$ Last edited by musbur (2025-01-24 16:13:24)
Offline
You have to have a DISPLAY variable set and sway should do that normally, did you disable it loading xwayland? https://wiki.archlinux.org/title/Sway#Xwayland -- also the current version of gimp is still based on gtk2 which long predates any Wayland considerations
How exactly are you starting sway? and/or starting the terminal in which you're trying to launch gimp right now?
FWIW no issue here on KDE
Last edited by V1del (2025-01-22 20:32:23)
Offline
consider using gimp 3 instead (not released yet but in release candidate phase)
Offline
You have to have a DISPLAY variable set and sway should do that normally, did you disable it loading xwayland? https://wiki.archlinux.org/title/Sway#Xwayland -- also the current version of gimp is still based on gtk2 which long predates any Wayland considerations
How exactly are you starting sway? and/or starting the terminal in which you're trying to launch gimp right now?
FWIW no issue here on KDE
Sway is started from my .zprofile, and xwayland is not disabled in the config::
~$ grep xwayland .config/sway/config
~$ cat .zprofile
if [[ -z "$TMUX" && -z "$WAYLAND_DISPLAY" && "$XDG_VTNR" = "1" ]]; then
exec /usr/bin/sway
fi
~$Offline
Mhm, how does your sway config look like? Did you see the note in https://wiki.archlinux.org/title/Sway#Configuration to ensure some necessary default configs are parsed? Also
ps -ef | grep -i xwaylandLast edited by V1del (2025-01-24 12:26:21)
Offline
Stupid me. I was 100% certain that I had installed xorg-xwayland. Alas, I hadn't. Sorry for wasting your time ;-)
Offline