Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Blackbox --> auto startup bbtools?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
rasat
n00b
n00b


Joined: 30 May 2002
Posts: 74

PostPosted: Thu Aug 15, 2002 6:36 am    Post subject: Blackbox --> auto startup bbtools? Reply with quote

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
View user's profile Send private message
dn1282
n00b
n00b


Joined: 21 Jul 2002
Posts: 26
Location: California

PostPosted: Thu Aug 15, 2002 6:50 am    Post subject: Reply with quote

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
View user's profile Send private message
rasat
n00b
n00b


Joined: 30 May 2002
Posts: 74

PostPosted: Thu Aug 15, 2002 8:04 am    Post subject: Reply with quote

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
View user's profile Send private message
credmp
Apprentice
Apprentice


Joined: 02 Jul 2002
Posts: 207
Location: Netherlands

PostPosted: Thu Aug 15, 2002 8:09 am    Post subject: Reply with quote

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
View user's profile Send private message
rasat
n00b
n00b


Joined: 30 May 2002
Posts: 74

PostPosted: Thu Aug 15, 2002 10:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum