I'm going to assume we are all Geeks, otherwise we wouldn't have a clue as to what Openbox is, let alone Linux for a lot of the world too.<br><br>I'm also assuming you're running a fairly recent LCD panel? If so, screen savers are pointless and save nothing and do nothing.<br>
<br>Also if you really want to save the life of a screen you're better off letting the monitor sleep....<br><br>Here's a good article;<br><br><a href="http://www.howtogeek.com/128644/htg-explains-why-screen-savers-are-no-longer-necessary/">http://www.howtogeek.com/128644/htg-explains-why-screen-savers-are-no-longer-necessary/</a><br>
<br><br>Cheers<br><br><br><br><br><div class="gmail_quote">On Sat, Feb 16, 2013 at 12:40 AM, Robbie Smith <span dir="ltr"><<a href="mailto:zoqaeski@gmail.com" target="_blank">zoqaeski@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 16/02/13 00:46, Louis-David Mitterrand wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, Feb 15, 2013 at 02:08:44PM +1100, Robbie Smith wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 15/02/13 03:49, Louis-David Mitterrand wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote>
The simplest (though non-XDG) way is to edit<br>
~/.config/openbox/autostart and add the following two lines:<br>
<br>
xscreensaver-command -exit &<br>
xscreensaver -no-splash &<br>
<br>
The first kills a running instance (such as when you log out and log<br>
back in), and the second starts a new one.<br>
</blockquote>
<br>
Thanks for this suggestion.<br>
<br>
Actually XDG scripts were not being executed because I used<br>
<br>
'exec openbox'<br>
<br>
instead of<br>
<br>
'exec openbox-session'<br>
<br>
in my ~/.xsession file. However this raises another question: I use this<br>
line in my ~/.xsession file to set the background:<br>
<br>
xli -quiet -onroot ~/img/${HOSTNAME}.jpg<br>
<br>
as I have a collection of images for each of my computers. The problem<br>
is that 'openbox-session' resets the background to a solid color whereas<br>
'openbox' does not. And there is no expansion of ${HOSTNAME} in<br>
~/.config/openbox/autostart<br>
<br>
Is there a way around this?<br>
______________________________<u></u>_________________<br>
openbox mailing list<br>
<a href="mailto:openbox@icculus.org" target="_blank">openbox@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/<u></u>listinfo/openbox</a><br>
<br>
</blockquote>
You can have different things in different initialisation files. My autostart file is fairly sparse; I’ve also got some scripts loaded in ~/.xprofile and ~/.xsession that are sourced by my login manager (LXDM). So I configure tmux sessions and keyboard settings there as they are WM/DE-independent.<br>

<br>
My login process proceeds as follows:<br>
<br>
LXDM sources its Xsession, which in turn sources /etc/profile, ~/.profile, /etc/xprofile and ~/.xprofile, if they exist. After that, it starts Openbox, which sources its autostart, environment and rc.xml files.<br>
<br>
How are you starting X?<br>
______________________________<u></u>_________________<br>
openbox mailing list<br>
<a href="mailto:openbox@icculus.org" target="_blank">openbox@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/<u></u>listinfo/openbox</a><br>
</blockquote></div><br>