Topic: [Resolved] Setting up my default for 4 desktops

I'm new to #!. The default version gives me 2 desktops, but I would like to have #! start up with 4 desktops and I would like a default startup a konsole terminal in 2 of the desktops. Can someone guide me?

Thanks in advance.

Jim A.

Last edited by jjanderson5 (2012-02-08 03:24:45)

Re: [Resolved] Setting up my default for 4 desktops

4 desktops: right-click menu > Settings > Openbox > Gui Config Tool > Desktops.

Re: [Resolved] Setting up my default for 4 desktops

jjanderson5 wrote:

I'm new to #!. The default version gives me 2 desktops, but I would like to have #! start up with 4 desktops and I would like a default startup a konsole terminal in 2 of the desktops. Can someone guide me?

Thanks in advance.

Jim A.

What rhowaldt said and:

geany ~/.config/openbox/autostart

and at the end add:

(sleep 3s && wmctrl -s 1 && terminator) &
(sleep 4s && wmctrl -s 0) &

exit

wmctrl starts counting at 0 so desktop 2 is "-s 1"
You may need to install wmctrl:

sudo apt-get install wmctrl

Re: [Resolved] Setting up my default for 4 desktops

jjanderson5 wrote:

konsole

Assuming this is not a typo, you'll need to install Konsole first, and replace terminator in SR11's post with konsole.  Be aware that there may be quite a few KDE dependencies.

If I'm reading your OP correctly, you want Konsole on *two* of the desktops.  Is this correct?  If so, just add another line similar to the terminator (/edited to konsole) line for a different desktop.

while ( ! ( succeed = try() ) );

Re: [Resolved] Setting up my default for 4 desktops

Don't forget to name 'em, too. One of the first things I do is to set up four desktops -- which is as it should be -- and each one is named after one of the Marx Brothers.

Last edited by lcafiero (2012-02-05 00:19:36)

Res publica non dominetur

Re: [Resolved] Setting up my default for 4 desktops

lcafiero wrote:

Don't forget to name 'em, too. One of the first things I do is to set up four desktops -- which is as it should be -- and each one is named after one of the Marx Brothers.

After rereading what I posted I should name mine; Moe, Curly, Larry and DOH!

Four guess who I am and the first three don't count!  {sigh}

If konsole on two is wanted then:

(sleep 3s && wmctrl -s 1 && konsole) &
(sleep 4s && wmctrl -s 2 && konsole) &
(sleep 5s && wmctrl -s 0) &

exit

The sleep time may need to be adjusted to allow konsole to be running before the command changes to a different desktop.

Last edited by Sector11 (2012-02-05 00:35:45)

Re: [Resolved] Setting up my default for 4 desktops

Sector11 wrote:

After rereading what I posted I should name mine; Moe, Curly, Larry and DOH!

Nyuk, nyuk, nyuk -- woo woo woo woo!

Res publica non dominetur

Re: [Resolved] Setting up my default for 4 desktops

lcafiero wrote:
Sector11 wrote:

After rereading what I posted I should name mine; Moe, Curly, Larry and DOH!

Nyuk, nyuk, nyuk -- woo woo woo woo!

OFF Topic Alert

Re: [Resolved] Setting up my default for 4 desktops

Folks,

Thanks for all the comments. The stooges were off topic, but worth including!

Jim

Last edited by jjanderson5 (2012-02-08 03:25:19)