I have installed arch and KDE.
Now I want to test XMonad :
- I build XMonad with Stack (because for some import I need the source)
- I create the desktop file in
/usr/share/xsessions/
with the right permission
- Reboot
- Chose XMonad in the login session and login
- Here I see a black screen and the script redirect me to the login screen :/
How can I add xmonad to my login session and have it work?
Permission
▲ lsa /usr/share/xsessions/
total 28K
drwxr-xr-x 2 root root 4.0K May 1 18:06 .
drwxr-xr-x 427 root root 16K May 1 17:34 ..
-rw-r--r-- 1 root root 3.0K Apr 2 16:59 plasma.desktop
-rw-r--r-- 1 root root 145 May 1 18:47 xmonad.desktop
xmonad.desktop
▲ cat /usr/share/xsessions/xmonad.desktop
[Desktop Entry]
Type=XSession
Name=Xmonad
Comment=Lightweight X11 tiled window manager written in Haskell
Exec=xmonad
Icon=xmonad
Encoding=UTF-8
Other informations
▲ loginctl show-session $XDG_SESSION_ID
Id=4
User=1000
Name=a2n
Timestamp=Sun 2022-05-01 18:48:58 CEST
TimestampMonotonic=42270986
VTNr=1
Seat=seat0
Display=:0
Remote=no
Service=sddm
Desktop=KDE
Scope=session-4.scope
Leader=901
Audit=4
Type=x11
Class=user
Active=yes
State=active
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
LockedHint=no
Asked by Hadock
(111 rep)
May 1, 2022, 04:56 PM
Last activity: May 15, 2022, 06:54 AM
Last activity: May 15, 2022, 06:54 AM