Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fluxbox session
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
nouse66
Apprentice
Apprentice


Joined: 09 Jan 2003
Posts: 194

PostPosted: Mon Jan 20, 2003 9:31 pm    Post subject: fluxbox session Reply with quote

before i switched to gentoo i had my /etc/X11/Sessions/fluxbox configured to run a few programs on startup. i can't seem to do it aymore. here's what i tried for starting a gnome panel:

after the fluxbox command
panel &
panel
exec panel &

i also tried using my ~/.xsession file
with
exec gnome
etc...

i really dont know what i'm doing, can someone tell me the correct syntax for this? do i need a #! /bin/sh or something at the top of these files?

thanks...
Back to top
View user's profile Send private message
Kawada
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 159
Location: Florida, USA

PostPosted: Mon Jan 20, 2003 9:40 pm    Post subject: Reply with quote

Well for starters, fluxbox should be the last command in your startup scripts, so it should go something like this:
Code:
panel&
fluxbox

You want to make sure that all the commands before your window manager are backgrounded with a & and that the window manager is launched last in the foreground (no &). You may also need to use the full path to the programs (they're usually in /usr/bin). Try that and see how it works.
_________________
Kawada

2002 Nethack Tournament -- 317th runner-up http://nethack.devnull.net/
Back to top
View user's profile Send private message
phunkphorce
Tux's lil' helper
Tux's lil' helper


Joined: 22 Nov 2002
Posts: 145

PostPosted: Tue Jan 21, 2003 8:54 am    Post subject: Reply with quote

I have the following in my .xinitrc file:
Code:

wmapmload &
wmclockmon &
wmcpuload &
wmnetload &
wmmemload &
idesk &
Esetroot -f ~/Backgrounds/deviantart/urban_pandemonium.jpg
xscreensaver -nosplash &
fluxbox

And it works fine :) Just remember -as the other poster pointed out- to start fluxbox as the last thing and in the foreground.
_________________
O God, Thou art in Heaven...
...please stay there!
Back to top
View user's profile Send private message
DuF
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2687
Location: Paris

PostPosted: Tue Jan 21, 2003 11:53 am    Post subject: Reply with quote

This is my .xinitrc and it works fine also :
Code:
charli@gentoo:~$ cat .xinitrc
PATH="$PATH:/usr/bin"

# désactiver la mise en veille et activer les options energy star
#xset s off
xset dpms 600 60 60

# gestionnaire de fenêtres
fluxbox & wmpid=$!

wmclockmon &
yawmppp &
wmmemload &
wmcpuload &
wmix &
bbrun &
idesk &

# POINT de BLOCAGE - attend la sortie du gestionnaire de fenêtres
wait $wmpid


Maybe you can look the documentation from flubox about .xinitrc and .xsession :
http://fluxbox.sourceforge.net/docbook/en/fluxbox-docs.html#APP-SETUP
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