At 2004-08-25T13:24:10+1200, Jim Cheetham wrote:My current ~/.Xsession file is just the name of the application I'm running (Opera, actually, in kiosk mode). Can I put other commands in there?
Sure. You probably have something like this: $ cat ~/.Xsession exec /path/to/Opera --setting --etc
You can add additional commands before the 'exec'. If the commands are slow or don't detach from the session automatically, you'll need to background them with '&'.
OK, thanks again. I hadn't realised that .Xsession was a script. bash, or something simpler? I'd used multiple entries in .xinitrc before, they work well with startx and sometimes with window managers.
So, getting back to my original proposition, I'll re-enable the DPMS in XF86Config-4 and remove the script in /etc/X11/Xsession.d, and use the ~/.Xsession file for these ... makes the system more default, and neater.
-jim
