You are not logged in.
Hello guys,
I am using arch since a week now. And i am using KDE Plasma and i am just trying to used DWM. SDDM help switch between them.
I set background image with feh on DWM and added ~/.fehbg & to ~/.xinitrc file but after reboot, i have no background image.
I found that the .xinitrc file was not executed during logging in with SDDM as executing the .xinitrc file manually set the background image again.
So, what have i done wrong that my xinitrc file is not starting automatically.
Thanks to everyone in advance for hearing me out.
Last edited by John Path (2021-10-20 02:29:49)
Offline
startx will use ~/.xinitrc display managers will not.
Offline
FWWI, XDM uses your xinitrc and you can use https://wiki.archlinux.org/title/Displa … _a_session if you actually want to use your xinitrc as session script.
Since https://aur.archlinux.org/cgit/aur.git/ … ktop?h=dwm just starts "dwm" you could shadow /usr/bin/dwm w/ a script /usr/local/bin/dwm that sets your wallpaper and stuff and ultimately "exec /usr/bin/dwm" (make sure to use the absolute path to avoid recursions)
Offline
FWWI, XDM uses your xinitrc and you can use https://wiki.archlinux.org/title/Displa … _a_session if you actually want to use your xinitrc as session script.
Since https://aur.archlinux.org/cgit/aur.git/ … ktop?h=dwm just starts "dwm" you could shadow /usr/bin/dwm w/ a script /usr/local/bin/dwm that sets your wallpaper and stuff and ultimately "exec /usr/bin/dwm" (make sure to use the absolute path to avoid recursions)
Thanks, now it's working fine.
Offline