SoulSe Posted March 10, 2003 Report Share Posted March 10, 2003 Decided to start a seperate thread for this one... What is the best way to get dockapps to start up with fluxbox? I don't want to mess with .xinit and X in general too much. Is there a way of doing it in fluxbox's init file? On that point, if I modify the .init file (I did it to automatically set wallpaper) it works fine until I log out, then all my changes to the init dissapear! Here's what I want: Login and have my wallpaper and dockapps there with the start of fluxbox. Also, do I need Enlightenment installed to have esetroot? Can it exist without enlightenment and, if so, how? Quote Link to comment Share on other sites More sharing options...
paul Posted March 11, 2003 Report Share Posted March 11, 2003 Esetroot is part of Eterm ... so no you don't need E .. just Eterm is there a file ~/.fluxbox/startup ???? there should be this is what mine looks like # Applications you want to run with fluxbox. # MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ``&'' AT THE END. # wmCalClock & xscreensaver & # idesk & wmix & # fbdesk & # And last but not least we start fluxbox. # Because it is the last app you have to run it with ``exec'' before it. exec fluxbox Quote Link to comment Share on other sites More sharing options...
bvc Posted March 11, 2003 Report Share Posted March 11, 2003 On that point, if I modify the .init file (I did it to automatically set wallpaper) it works fine until I log out, then all my changes to the init dissapear!You have to edit the init from either init 3 or another wm....so they say....I never had that prob but many others did. Also, do I need Enlightenment installed to have esetroot? Can it exist without enlightenment and, if so, how?No, you just need Eterm which has a few deps...like Imlib2.[bvc@localhost bvc]$ urpmf EsetrootEterm:/usr/bin/Esetroot Eterm:/usr/bin/kEsetroot [bvc@localhost bvc]$ You could look at fluxspace and fluxter; http://www.isomedia.com/homes/stevencooper/ http://www.mandrakeusers.org/viewtopic.php?t=2205 http://www.mandrakeusers.org/viewtopic.php?t=2063 Quote Link to comment Share on other sites More sharing options...
SoulSe Posted March 12, 2003 Author Report Share Posted March 12, 2003 Ok, I DO NOT have a ~/.fluxbox/startup file. So I created one based on yours, paul. It doesn't work! Weird. I came right with Esetroot, now I just need the background to stay there when I log off. I could probably add the Esetroot -scale command to my startup file, once I get the startup file working, that is! Quote Link to comment Share on other sites More sharing options...
paul Posted March 12, 2003 Report Share Posted March 12, 2003 I have the Esetroot in my style file ... do you have this ??? cat /usr/X11R6/bin/startfluxbox #!/bin/sh if [ -e ~/.fluxbox/startup ];then exec sh ~/.fluxbox/startup else if [ ! -d ~/.fluxbox ];then mkdir ~/.fluxbox fi cp /usr/share/fluxbox/startup ~/.fluxbox /usr/X11R6/bin/bsetroot -solid Black exec /usr/X11R6/bin/fluxbox fi also .. chmod -R 755 ~/.fluxbox ( I had to set perms for my startup to work) Quote Link to comment Share on other sites More sharing options...
SoulSe Posted March 12, 2003 Author Report Share Posted March 12, 2003 Ok, here is how I finally got this right, but you have to be using gdm (which I used anyway, cus I hate kdm). Go to /etc/X11/gdm/Sessions/ and edit the FluxBox* file. Here is what mine looks like: #!/bin/sh Esetroot -s /media/images/ninjatune_desktop_002_a.JPG & wmcube & wmix & exec /etc/X11/xdm/Xsession FluxBox This seems to be a great way to achieve what I wanted. I also edited my menu file to make aterm look the way I want it. So now I'm set! Just gotta get idesk working... Quote Link to comment Share on other sites More sharing options...
Guest joehill Posted March 12, 2003 Report Share Posted March 12, 2003 Esetroot is part of Eterm ... so no you don't need E .. just Eterm is there a file ~/.fluxbox/startup ???? there should be this is what mine looks like <!--QuoteEBegin--><!--QuoteEBegin--># Applications you want to run with fluxbox.<!--QuoteEBegin--><!--QuoteEBegin--># MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ``&'' AT THE END.<!--QuoteEBegin--><!--QuoteEBegin-->#<!--QuoteEBegin--><!--QuoteEBegin-->wmCalClock &<!--QuoteEBegin--><!--QuoteEBegin-->xscreensaver &<!--QuoteEBegin--><!--QuoteEBegin--># idesk &<!--QuoteEBegin--><!--QuoteEBegin-->wmix &<!--QuoteEBegin--><!--QuoteEBegin--># fbdesk &<!--QuoteEBegin--><!--QuoteEBegin--><!--QuoteEBegin--><!--QuoteEBegin--># And last but not least we start fluxbox.<!--QuoteEBegin--><!--QuoteEBegin--># Because it is the last app you have to run it with ``exec'' before it.<!--QuoteEBegin--><!--QuoteEBegin--><!--QuoteEBegin--><!--QuoteEBegin-->exec fluxbox<!--QuoteEBegin--><!--QuoteEBegin--> isn't that only if you applied the remember patch? Quote Link to comment Share on other sites More sharing options...
paul Posted March 12, 2003 Report Share Posted March 12, 2003 I don't have the remember patch :? Quote Link to comment Share on other sites More sharing options...
Guest joehill Posted March 12, 2003 Report Share Posted March 12, 2003 ah, you are right, the remember patch puts "startup" in the menu, not in the .fluxbox dir. maybe the startup file needs to be executable? Quote Link to comment Share on other sites More sharing options...
paul Posted March 12, 2003 Report Share Posted March 12, 2003 I think you are right also .. chmod -R 755 ~/.fluxbox ( I had to set perms for my startup to work) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.