You are not logged in.

#1 2010-01-30 13:42:58

greengold
Member
Registered: 2010-01-30
Posts: 199

Fluxbox startup

hi guys!
Im having a little problem with flux.
there is a ~/.fluxbox/startup file that should be run by every startup of this desktop enviroment. But its not! ..I mean, I have that file in my filesystem but it's not prcessed during flux start...
I want it to do this >
setxkbmap us,sk -variant ,qwerty -option
grp:switch,grp:alt_shift_toggle,grp_led:scroll
..which is "script" for changing keyboard map, but it is not working. Even command eg. "pidgin" is not working.
can anybody tell me why?..or what should I check?
thanks (:

Offline

#2 2010-01-30 14:38:17

kaptenen
Member
Registered: 2009-12-06
Posts: 287
Website

Re: Fluxbox startup

Perhaps you should take a look in ~/.xinitrc

Offline

#3 2010-01-30 14:43:39

greengold
Member
Registered: 2010-01-30
Posts: 199

Re: Fluxbox startup

DEFAULT_SESSION=fluxbox

case $1 in
kde)
        exec ck-launch-session startkde
        ;;
*)
exec adesklets &
exec sudo nm-applet --sm-disable &
exec numlockx &
exec pidgin &
exec fluxbox
        ;;
esac

..thats it..and what about it? ...I wrote startup  programs there ,when I cant start them via ~/f.luxbox/startup

Offline

#4 2010-01-30 15:01:16

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: Fluxbox startup

To get the fluxbox startup file to work you must use "exec startfluxbox" , not "exec fluxbox".
See here: http://fluxbox-wiki.org/index.php?title … artup_file


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#5 2010-01-30 21:24:25

greengold
Member
Registered: 2010-01-30
Posts: 199

Re: Fluxbox startup

lagagnon wrote:

To get the fluxbox startup file to work you must use "exec startfluxbox" , not "exec fluxbox".
See here: http://fluxbox-wiki.org/index.php?title … artup_file

I've tried to change it to startfluxbox but os response was failed to execute login command
? wheeeres the problem ? (:

Offline

#6 2010-01-31 04:15:28

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: Fluxbox startup

I have the same problem.
If you are using Slim try this:
Press F1, and look that Fluxbox is selected, then try to login.
Is important replace fluxbox with startfluxbox in your .xinitrc .

Good luck!

Last edited by n0dix (2010-01-31 04:16:15)

Offline

#7 2010-01-31 04:41:42

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: Fluxbox startup

I don't have a problem with fluxbox. Here's my .xinitrc:

└┼─$─┤▶ cat .xinitrc
#!/bin/sh

#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#

DEFAULT_SESSION=fusion.sh

case $1 in
compiz)
    exec ck-launch-session fusion.sh
    ;;
fluxbox)
    exec ck-launch-session startfluxbox
    ;;
ratpoison)    
    exec ck-launch-session ratpoison -f ~/.ratpoisonrc
    ;; 
kde) 
    exec startkde
    ;;
*)
    exec ck-launch-session $DEFAULT_SESSION
    ;;
esac

EDIT: Btw, why are you launching pidgin,nm-applet,etc from xinitrc? Launch them from your fluxbox startup file instead?

Last edited by sHyLoCk (2010-01-31 04:45:13)


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#8 2010-01-31 09:56:53

greengold
Member
Registered: 2010-01-30
Posts: 199

Re: Fluxbox startup

sHyLoCk wrote:

I don't have a problem with fluxbox. Here's my .xinitrc:

└┼─$─┤▶ cat .xinitrc
#!/bin/sh

#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#

DEFAULT_SESSION=fusion.sh

case $1 in
compiz)
    exec ck-launch-session fusion.sh
    ;;
fluxbox)
    exec ck-launch-session startfluxbox
    ;;
ratpoison)    
    exec ck-launch-session ratpoison -f ~/.ratpoisonrc
    ;; 
kde) 
    exec startkde
    ;;
*)
    exec ck-launch-session $DEFAULT_SESSION
    ;;
esac

EDIT: Btw, why are you launching pidgin,nm-applet,etc from xinitrc? Launch them from your fluxbox startup file instead?

because my flux startup file does not work (:
I have tried to change flux startup command to ck-launch-session startfluxbox but response is the same..
even if I select fluxbox in slim...

Last edited by greengold (2010-01-31 10:05:19)

Offline

#9 2010-06-24 02:34:58

eclipseagent
Member
Registered: 2010-06-24
Posts: 11

Re: Fluxbox startup

Sorry for bringing this back from the dead, but I had similar issues with the startfluxbox not working with slim. Basically, I had to mv my current .fluxbox (which was from a different installation) to .fluxboxOLD and log back in, to allow fluxbox to create nwe startup / init / keys files etc.

However, I still have the issue where .fluxbox/keys is not initiated from startfluxbox.

Last edited by eclipseagent (2010-06-24 02:36:53)

Offline

#10 2010-06-24 03:59:35

tjwoosta
Member
Registered: 2008-12-18
Posts: 453

Re: Fluxbox startup

I have no problems here. I think theres a setting in .fluxbox/init where you can choose your keys file etc.. perhaps yours somehow got screwed up?

Offline

Board footer

Powered by FluxBB