You are not logged in.
I'm trying to get some programs, such as feh for wallpaper setting, to run automatically when i start Xmonad, but nothing i have tried seems to work.
I have tried all the ways i could think of, that should get this to work, but i still have nothing.
Neither ~/.xinitrc or ~/.xsession does anything, and i think this may be because i start Xmonad from GDM, could this be the case and is there another good way to get programs to run automatically that I am not aware of?
Offline
Offline
https://wiki.archlinux.org/index.php/Autostarting gives https://wiki.archlinux.org/index.php/Xprofile and https://wiki.archlinux.org/index.php/De … #Autostart
Specifically for xmonad, you can also use one of the many functions whose names start with spawn or run. There's a basic one in XMonad.Core and many other in the libraries provided by xmonad-contrib.
Offline
Well, since I'm not a newbie, i thought it inappropriate to post in NC...
Offline
Thanks raynman, but i have already tried using *.desktop files, with no luck, and i was hoping to avoid doing it through my Xmonad config to not have to deal with spawning a lot of applications whenever i recompile Xmonad.
Last edited by Dregel (2016-12-13 20:39:38)
Offline
Since it is documented in the wiki, it belongs here.
Offline
i was hoping to avoid doing it through my Xmonad config to not have to deal with spawning a lot of applications whenever i recompile Xmonad.
That is not how XMonad works. You need to reread the documentation.
Ops, sorry. Turns out I am the one who needed to reread the documentation. They do advise to use .xsession or .xinitrc which are very well documented on the ArchWiki as stated above.
Last edited by fsckd (2016-12-14 04:45:36)
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline