On 2023-05-16 10:54:05 +0530, Susmita/Rajib wrote: [...] > So to my tentative next step: > Following Mr. Wooledge's advice, I would "... Create a ~/.xsessionrc > file ... starting your X session. ..." A little more tutiion on this, > Mr. Wooledge please.
In your case, you should not use the ~/.xsessionrc file to start a GUI program. > Any advice on this, Mr. Lefèvre, particularly, on autostarting > applications? Since you mentioned lxsession, I suppose that you're using LXDE. I don't know it, but it already has some "autostart" feature, so this is what you should use. There's some documentation about LXDE's autostart there, and I suppose that this is the same for Debian: https://wiki.archlinux.org/title/LXDE > Also supposing that I would use my screensaver based on "xset dpms > force off" at the start of the lxsession, what would be my steps? I don't know the recommended way for LXDE, but autostart may also be a possibility. > How should I proceed if I want to automatically have claws-mail or > mousepad running when a new lxsession is begun? So, in short, ~/.config/lxsession/LXDE/autostart would contain @xset dpms force off @mousepad @claws-mail -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)