LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Window Manager login shell (https://www.linuxquestions.org/questions/linux-software-2/window-manager-login-shell-59032/)

monsterX 05-10-2003 08:20 AM

Window Manager login shell
 
Hello

I need my ~/.bash_profile to be run when i login to fluxbox or windowmaker.

I have tried with this command:

exec -l $SHELL -c "fluxbox"

It works but for some reason fluxbox becomes very slow, it takes a copule of seconds to change theme and even longer to log in.

I can't find an anser to this anywhere so please help...

rmartine 05-10-2003 10:14 AM

Your .bash_profile will be read every time you log in (run level 3 and I'm sure any other) but will only be read if you spawn a login shell. If you don't then Eterm or aterm won't read .bash_profile

Here is how I start fluxbox in .xinitc

exec /usr/local/bin/fluxbox


All times are GMT -5. The time now is 10:55 AM.