LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-23-2006, 08:22 PM   #1
mokele
Member
 
Registered: Jan 2005
Location: Puerto Rico
Distribution: Slackware 13
Posts: 146

Rep: Reputation: 15
Run app on fluxbox workspace 2 at startup


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 10:43 PM.
 
Old 08-23-2006, 08:38 PM   #2
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 14.1, Slackware64 14.1
Posts: 929

Rep: Reputation: 96
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]
 
Old 08-23-2006, 09:03 PM   #3
mokele
Member
 
Registered: Jan 2005
Location: Puerto Rico
Distribution: Slackware 13
Posts: 146

Original Poster
Rep: Reputation: 15
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.
 
Old 08-23-2006, 09:32 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 292Reputation: 292Reputation: 292
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.
 
Old 08-23-2006, 10:07 PM   #5
mokele
Member
 
Registered: Jan 2005
Location: Puerto Rico
Distribution: Slackware 13
Posts: 146

Original Poster
Rep: Reputation: 15
Thanks dive. Worked like a charm.

-W
 
Old 08-23-2006, 10:09 PM   #6
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 14.1, Slackware64 14.1
Posts: 929

Rep: Reputation: 96
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.
 
Old 08-23-2006, 10:40 PM   #7
mokele
Member
 
Registered: Jan 2005
Location: Puerto Rico
Distribution: Slackware 13
Posts: 146

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:27 AM
launching an app into a specific workspace? jasonv Fedora 0 11-14-2004 04:58 PM
makeing an app start at fluxbox startup sethgeekx86 Linux - Software 3 06-11-2004 04:54 AM
Run app in a different workspace?? kelesh Linux - General 2 02-28-2003 05:05 AM
RH 8.0, run app on startup? rivethead Linux - Software 1 02-04-2003 01:19 PM


All times are GMT -5. The time now is 05:32 AM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration