Took the symlink install route:
git clone https://public-inbox.org/public-inbox.git && cd public-inbox
perl Makefile.PL
make symlink-install prefix=$HOME/.local
There’s a spec file in OBS but no official package to this date (b4 has an official package).
After trial and error (earlier post), I’ve found out that only three steps that are required to migrate SDDM/KDE to a Wayland-only system in OpenSUSE Tumbleweed:
# systemctl disable xdm.service
# systemctl enable sddm.service
# cat > /etc/sddm.conf.d/10-display-server.conf << EOF
[General]
DisplayServer=wayland
[Wayland]
CompositorCommand=kwin_wayland --drm --no-global-shortcuts --no-lockscreen --locale1
EOF
End result:
$ pstree `pidof sddm`
sddm─┬─sddm-helper───startplasma-way───{startplasma-way}
└─{sddm}
Also sanity-checked ps aux | grep -i xorg
. Makes sense now that I know the steps but was pretty hard to find the correct steps because did not really know what I was doing :-) The default value for DisplayServer
is x11
and then default value for CompositorCommand
is weston
. Thus both need to be updated.
@Conan_Kudo @fedora Deleted my own config. It seems to use /usr/lib/sddm/sddm.conf.d/11-kwin_wayland.conf
as long as sddm.service
is enabled instead of xdm.service
.
With trial and error I got OpenSUSE working with only Wayland. I did first:
$ sudo systemctl disable xdm.service
$ sudo systemctl enable sddm.service
And created a config file:
$ cat /etc/sddm.conf.d/wayland.conf
[General]
DisplayServer=wayland
GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell
[Wayland]
EnableHiDPI=true
Only glitch I see is in systemctl status sddm
:
Apr 01 17:58:05 suppilovahvero sddm-helper[2368]: Failed to write utmpx: No such file or directory
Not sure what kind of side-effects that might have…
@Conan_Kudo @fedora Actually in my running session also:
$ echo $WINDOWMANAGER
/usr/bin/startplasma-x11
I’d expect it to be different within the session, does not feel aligned with the value of XGD_SESSION_TYPE
but I don’t have deep knowledge of their semantics so I guess I’m lacking some knowledge.
Right:
$ sudo cat /proc/2975/environ | tr '\0' '\n'
PIDFILE=/run/sddm.pid
PWD=/
SYSTEMD_EXEC_PID=2940
LANG=en_US.UTF-8
INVOCATION_ID=6e2dee533d9f4aab932067246e07ffa8
USER=root
SHLVL=1
WINDOWMANAGER=/usr/bin/startplasma-x11
JOURNAL_STREAM=8:16977
XDG_DATA_DIRS=/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
_=/usr/sbin/startproc
PREVLEVEL=N
RUNLEVEL=?
DAEMON=/usr/bin/sddm
However:
$
echo $XDG_SESSION_TYPE
wayland
So I guess I have two instances of Plasma running, one for SDDM and other for the running session, i.e. the GUI selector for windows manager does nothing the to SDDM itself.