Click to See Complete Forum and Search --> : fluxbox rewriting init


MAD23
04-03-2002, 11:43 AM
Hey all,
newb fresh out of the box,
trying fluxbox, read as much as i can find on fluxbox, searched posts on various forums, searched google-linux.
Prob is that everytime I log out of fluxbox and re-enter it my settings in init are rewritten. I've read that some changed the init file to read-only, but is there a better way of doing this?

So far lovin' fluxbox. Installed great, added it in gdm, have yet to try out some dockapps or bbtools. Oh yeah, second quick Q, before installing bbtools, any bit of advice? Don't have blackbox installed mind you.
Thanx in advanced

jglen490
04-03-2002, 04:35 PM
Can you give a before and after on what gets changed? That may help identify the "problem" -- or the "feature" -- in fluxbox ;) !

MAD23
04-03-2002, 04:41 PM
well, I wrote in the script to set my background as per the fluxbox website instructions:
session.screen0.rootCommand: bsetbg -f <myfile.jpg>
I've set Esetroot as the command used by bsetbg. and use bsetbg during a session and it works fine.
Didn't want to add much else until i can get this working.
-MAD23

Energon
04-03-2002, 07:06 PM
Make sure you don't edit it while you're in X. fluxbox (and blackbox) write the config files when you exit (to make sure any changes you made through the menus gets saved). All editing of the init file should be done when you log out to the console.

Hitokiri_X
04-03-2002, 08:45 PM
I always edit my fluxbox init in X,just make sure you set it to read only after so it doesn't get overwritten.

MAD23
04-04-2002, 12:20 AM
thanx much energon, that worked, just in case others want to know exactly what i did, I logged out of session into gdm, logged in the Failsafe mode (this is for a RH7.2 install) which just knocked me into a regular session w/o X and modified my init file from there, no need to set to read-only.
I didn't reboot however, so maybe it'll change, but I've got mucho work to do tonight so i'll drop an update
thanx again

Energon
04-04-2002, 04:10 PM
Setting it read-only makes more work for when you wanna just change something from the menu real fast... ;)