Jump to content

Tips&Tricks Auto launch apps in Fluxbox....


aru
 Share

Recommended Posts

 

spiderman

Frequent user

Joined: 02 May 2002

Posts: 47

Location: Michigan

 

Post Posted: Wed May 15, 2002 7:09 am Post subject: Auto launch apps in Fluxbox....

_________________________________________________________________

 

 

This is the easiest way that I found to get applications to launch at login with Fluxbox:

 

1. Create a new text file called autostart.sh

. The best place for this file is in /home/username/.fluxbox. Where username is your username.

2. My autostart.sh file looks like this:

 

Quote:

# Be sure that you put the & at the end of each line else you will

only be able to launch the first application...

# This loads your wallpaper

Esetroot -s /home/steve/glaciated_10x7.jpg

gaim &

# This launches gkrellm in the slit

gkrellm -w &

/usr/bin/gnome-terminal &

opera &

konqueror &

 

 

Substitute the apps that you want to launch for the ones that I have listed.

3. You will also need to make your autostart.sh file executable.

4. Open ~/.fluxbox/init in your favorite editor (I like gedit)

5. Scroll down to the session.screen0.rootCommand: line

6. Add this:

 

Code:

sh /home/username/.fluxbox/autostart.sh  

 

to this line so that it now looks like this:

 

Code:

session.screen0.rootCommand:   sh /home/username/.fluxbox/autostart.sh  

 

7. Save your init file and exit the editors.

8. Open your menu and select Settings >> Reload Configuration

 

Viola! The apps that you listed in autostart.sh should magically appear. They should now load every time you launch Fluxbox.

 

>> edit, apparently this doesn't work quite the same in Blackbox

Last edited by spiderman on Sat May 18, 2002 11:02 pm, edited 1 time in total

 

 

Smigs

Newbie

Joined: 15 May 2002

Posts: 15

Location: UK

Post Posted: Sat May 18, 2002 9:41 pm Post subject: Blackbox

compatibility

_________________________________________________________________

 

 

I tried adding

 

Quote:

session.screen0.rootCommand: sh /home/username/autostart.sh

 

 

to my .blackboxrc file, but it doesn't work; I don't think blackbox supports session.screen0.rootCommand (it isn't mentioned on the manpage)? Any ideas at all?

I must thankyou anyway, cause I found out how to change the date display as a result of this Smile

 

Smigs

 

 

spiderman

Frequent user

Joined: 02 May 2002

Posts: 47

Location: Michigan

Post Posted: Sat May 18, 2002 11:02 pm Post subject:

_________________________________________________________________

 

 

Sorry Smigs, for some reason yet to be determined, my blackbox doesn't want to start up, so I can't play with it. I'm still learning all this too, and wrote this up as much to help myself as to help other people. I know that there are a lot of similarities between BBox and Flux, but maybe this isn't one of them. Anyway... Glad that I could help you at least a little, I post if I find anything out.

 

 

phunni

Frequent user

Joined: 25 May 2002

Posts: 84

Location: Bristol, U.K.

Post Posted: Thu Jul 18, 2002 10:23 am Post subject: background

_________________________________________________________________

 

 

I followed your steps and everything seems to work great - I have both gkrellm and gaim starting nicely, but I used bsetbg to try and set a background image and it doesn't work. If I simply reload the config then I (still) have the image that I want, but if I restart then I lose it.

 

 

delboy711

Senior user

Joined: 03 May 2002

Posts: 412

Location: Wokingham, UK

Post Posted: Sun Jul 21, 2002 11:11 am Post subject: Fluxbox 0.1.10

_________________________________________________________________

 

 

Texstar has put up an RPM of fkuxbox 0.1.10 on his download site

ftp://ftp.ibiblio.org/pub/Linux/distribut...ndrake-8.2/RPMS

 

This seems to fix the problem with edits to .fluxbox/init not sticking

 

One change is that bgset is now called bgset-fluxbox so you will have to edit your init files to get your wallpaper back.

 

Another thing I noticed is that the default menu for fluxbox is ~/.fluxbox/menu, but If you add an RPM or use menudrake to add an application Mandrake will update ~/fluxbox-menu

 

So to make sure my fluxbox menu is automatically updated when I add an RPM I deleted ~/.fluxbox/menu and replaced it with a symlink to ~/fluxbox-menu

 

 

 

Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...