[openbox] selecting a "primary" desktop in openbox

Dana Jansens dana at orodu.net
Tue May 11 20:23:19 EDT 2010


On 2010-05-10, at 9:59 PM, Anthony Thyssen wrote:

> On Mon, 10 May 2010 17:23:03 -0400
> Dana Jansens <dana at orodu.net> wrote:
> 
> | 
> | On 2010-05-10, at 3:15 PM, Pedro Ribeiro wrote:
> | 
> | > Hi all,
> | > 
> | > I have 4 desktops in openbox, named 1,2,3 and T. The last one has a
> | > terminal on the background and I only use it for that. However, when I
> | > login to X that is the first desktop which appears.
> | > 
> | > What I wanted to know is if there is a way in openbox that I can
> | > specify that desktop 1 should be the desktop I see first when I login?
> | > On my rc.xml I have:
> | > 
> | >    <number>4</number>
> | >    <firstdesk>1</firstdesk>
> | >    <names>
> | >      <name>1</name>
> | >      <name>2</name>
> | >      <name>3</name>
> | >      <name>T</name>
> | >    </names>
> | > 
> | > However, the firstdesk thing does not get respected. Is this the way to set it?
> | 
> | In 3.4.x, if you're using a saved session, such as with GNOME/Openbox or some other session manager, then Openbox saves your current desktop along with your session, and you'll get back whatever you saved the next time you log in.  So you can just make sure you're where you want to be when you log in, and save your session again, to make it remembered.
> 
> Where is this saved for Gnome.  And can you turn it off?

It's saved in the openbox session, when you choose to do so.  If you never save a session, then it wouldn't be.  But regardless, there has to be some desktop selected at all times, so it doesn't exactly make sense to turn it off.

Dana


More information about the openbox mailing list