LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Thread Tools
Old 08-23-2006, 09:22 PM   #1
mokele
Member
 
Registered: Jan 2005
Location: Puerto Rico
Distribution: Slackware 12
Posts: 146
Thanked: 0
Run app on fluxbox workspace 2 at startup


[Log in to get rid of this advertisement]
Solved
-------


I don't know if this is even posible. I run
azureus in workspace 2 in fluxbox and I was
wandering if I could autostart it by writting
a command in the xinitrc or somewhere else ...

Any ideas...

-W

Last edited by mokele; 08-23-2006 at 11:43 PM..
mokele is offline     Reply With Quote
Old 08-23-2006, 09:38 PM   #2
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 13.0, Pardus 2009
Posts: 661
Thanked: 33
I think you can add an entry like the following to your ~/.fluxbox/apps file:

Code:
[startup] {/path/to/azureus}
Fluxbox will later remember the workspace etc (if you choose to). Such settings are stored in the same file, in sections like the following:

Code:
[app] (amsn)
  [Workspace]   {1}
  [Position]    (UPPERLEFT)     {755 0}
  [Close]       {yes}
[end]
Ilgar is offline     Reply With Quote
Old 08-23-2006, 10:03 PM   #3
mokele
Member
 
Registered: Jan 2005
Location: Puerto Rico
Distribution: Slackware 12
Posts: 146
Thanked: 0

Original Poster
Tried your suggestion, but no. If I modify
the existing (mozilla) entry for example,
either by witting the [startup] option, the
[Workspace] option, or a combination of both,
then mozilla won't start.

I think there has to be a command to put on
xinitrc to launch startup executions.
mokele is offline     Reply With Quote
Old 08-23-2006, 10:32 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 2,139
Thanked: 10
You can also use ~/.fluxbox/startup

Just program in there followed by a &

Then start azureus, right click on title bar and set it to remember workspace.
dive is offline     Reply With Quote
Old 08-23-2006, 11:07 PM   #5
mokele
Member
 
Registered: Jan 2005
Location: Puerto Rico
Distribution: Slackware 12
Posts: 146
Thanked: 0

Original Poster
Thanks dive. Worked like a charm.

-W
mokele is offline     Reply With Quote
Old 08-23-2006, 11:09 PM   #6
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 13.0, Pardus 2009
Posts: 661
Thanked: 33
Quote:
Originally Posted by mokele
Tried your suggestion, but no.
Interesting. I just tried it (the [startup] option) and it worked. I didn't try the [app] thing however. I'm using the fluxbx from -current btw.
Ilgar is offline     Reply With Quote
Old 08-23-2006, 11:40 PM   #7
mokele
Member
 
Registered: Jan 2005
Location: Puerto Rico
Distribution: Slackware 12
Posts: 146
Thanked: 0

Original Poster
You were also right Ilgar, looking at the .fluxbox/apps
after the `remember workspace' setting I have this:
Code:
[app] (mozilla-bin)
  [Workspace]   {1}
  [Dimensions]  {242 552}
  [Position]    (UPPERLEFT)     {760 30} 
[end]
Only thing missing was where to put the app to launch
at startup.

Thanks to both.

-W
mokele is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluxbox startup script.......... App requires root. DraaX Slackware 2 11-28-2004 09:27 AM
launching an app into a specific workspace? jasonv Fedora 0 11-14-2004 05:58 PM
makeing an app start at fluxbox startup sethgeekx86 Linux - Software 3 06-11-2004 05:54 AM
Run app in a different workspace?? kelesh Linux - General 2 02-28-2003 06:05 AM
RH 8.0, run app on startup? rivethead Linux - Software 1 02-04-2003 02:19 PM


All times are GMT -5. The time now is 10:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration