View previous topic :: View next topic |
Author |
Message |
rasat n00b
Joined: 30 May 2002 Posts: 74
|
Posted: Thu Aug 15, 2002 6:36 am Post subject: Blackbox --> auto startup bbtools? |
|
|
Hi,
I am using Blackbox wm for a long time but I did not use any BB tools. I took a look on bbpager and bbmount and they are great.
How do I get the tools to auto startup when opening Blackbox?
I sent the same question to BB Tools website and got the following answer:
> Just add the tools to .xsession (if you are using graphical login like xdm,
> kdm or gdm) or .xinitrc if you are using startx to start x.
>my .xsession looks like:
>bbmail -w -s &
>bbkeys -i -w &
In Gentoo I don't find .xsession or .xinitrc.
Markku |
|
Back to top |
|
|
dn1282 n00b
Joined: 21 Jul 2002 Posts: 26 Location: California
|
Posted: Thu Aug 15, 2002 6:50 am Post subject: |
|
|
yeah you have to make those files in your user's home directory. just open up a new file with nano and save it as .xinitrc or .xsession depending on whether you use startx or the kdm or gdm commands. |
|
Back to top |
|
|
rasat n00b
Joined: 30 May 2002 Posts: 74
|
Posted: Thu Aug 15, 2002 8:04 am Post subject: |
|
|
I am using kdm.
I created .xsession in my user directory with the following files, but blackbox doesn't load:
bbpager -w &
bbsmount -w &
To load Blackbox I copied the script from etc/X11/Sessions/blackbox, but the bbtools don't start.
/usr/bin/blackbox
bbpager -w &
bbsmount -w &
Markku |
|
Back to top |
|
|
credmp Apprentice
Joined: 02 Jul 2002 Posts: 207 Location: Netherlands
|
Posted: Thu Aug 15, 2002 8:09 am Post subject: |
|
|
Hi,
Quote: |
/usr/bin/blackbox
bbpager -w &
bbsmount -w &
|
You need to turn this around in order to work:
Code: |
bbpager -w &
bbsmount -w &
exec /usr/bin/blackbox
|
This is cause the script stops to load when calling blackbox, until you close blackbox. When you first load the tools and then the window manager you will be fine.
The & at the end makes them run in the background and hence, the script will execute the next line until it gets somewhere where there is no &.
-- Arjen |
|
Back to top |
|
|
rasat n00b
Joined: 30 May 2002 Posts: 74
|
Posted: Thu Aug 15, 2002 10:00 am Post subject: |
|
|
Thanks for the replies.
To have same startup for both root and user, I made the files in /etc/X11/Sessions/blackbox instead of using .xsession.
Markku |
|
Back to top |
|
|
|