You are not logged in.

#1 2010-01-25 22:44:09

grassman
Member
From: NYC
Registered: 2010-01-25
Posts: 2

Openbox: opening program on desktop N

I've checked the man pages for Openbox and done a Google search and not come up with anything.

I'm looking to auto-start some programs upon login in Openbox, and I want certain programs to open on certain desktops. For instance, I want my music player (Sonata) to open (fullscreen) on desktop 2, and a fullscreen IRC on desktop 3.

Does anyone if and how this can be accomplished?

Offline

#2 2010-01-25 22:47:58

Meyithi
Member
From: Wirral, UK
Registered: 2009-06-21
Posts: 550
Website

Re: Openbox: opening program on desktop N


The mind roams more freely in empty rooms.
dwm - colours - ncmpcpp - system
irc://irc.freenode.net:meyithi

Offline

#3 2010-01-26 01:01:24

chilebiker
Member
From: Zurich, Switzerland
Registered: 2006-07-18
Posts: 161

Re: Openbox: opening program on desktop N

For autostart, use this in your .xinitrc file:

exec ck-launch-session openbox-session

and use ~/config/openbox/autostart.sh to start the programs you want at startup. Don't forget to put a & at the end of each line, like:

firefox &


Don't panic!

Offline

#4 2010-01-26 09:21:31

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Openbox: opening program on desktop N

Meyithi wrote:

Just to make things clearer. The instruction to force a desktop for a given application is the

<desktop>#number#</desktop>

where "#number#" is to be replaced by the desktop number wanted.


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB