Tiny Core Linux
Tiny Core Extensions => TCE Tips & Tricks => Topic started by: cURIOUSgEORGE on October 22, 2012, 04:31:36 PM
-
Can anybody tell me how I can save my fluxbox menu settings and save them so that they load after rebooting...... . .
for an example, I added to /home/tc/.fluxbox/menu
[submenu] (Backgrounds)
[wallpapers] (/home/tc/Pictures)
[end]
and it works great, but upon rebooting I lose my customized menu settings that I made. I added /home/tc/.fluxbox/menu to filetool.lst but my settings never save, so please let me know what I'm doing wrong here.
Thanks, George.
-
home is already in .filetool.lst.
You need to have a persistent tce directory. You also need to run backup.
-
Thanks for the response Gerald.
I have persistence, I previously taken out home from filetool.lst, but now I've added /home/tc/.fluxbox/menu too it, and I've ran backup each time with no luck.
-
You should not be including the leading slash.
-
My apologizes, that's a typo, there is no leading slash in my filetool.lst. I have home/tc/.fluxbox/menu in filetool.lst and do backup and also using persistence in /mnt/sda1/tce/boot/extlinux/extlinux.conf using boot code "tce=sda1" without the quotes but saving fluxbox's customized menu settings does not work.
-
Anybody else have fluxbox installed and have customized your menu in the slightest? If so, how did you save your settings so they stick?
Thanks, George.
>:( ;D :) ;D
:-[ >:( >:( ;) ;D ;D ;) ;D >:(
;D ;) ;) ;D
:-\ ;) ;) >:( >:( ;D ;D ;D ;D ;)
;D
:-[ ;D ;D ;) ;) ;) ;) ;D ;) ;D ;D ;)
-
Hi cURIOUSgEORGE
What does the command:
showbootcodes
return?
-
Hey Rich, the showbootcodes command shows........ . . .
tc@box:~$ showbootcodes
initrd=/tce/boot/core.gz quiet tce=sda1 restore=sda1 home=sda1 opt=sda1 local=sda1 vga=795 noicons noutc waitusb=5:UUID="1d8ed527-ee58-441c-8be8-e8396c46973e" tce=UUID="1d8ed527-ee58-441c-8be8-e8396c46973e" BOOT_IMAGE=/tce/boot/vmlinuz
-
Hi cURIOUSgEORGE
You specify tce= twice, that's probably wrong. You have a persistent /home and /opt , so you should not include
them in your filetool.lst file.
Remove all references to home and opt from filetool.lst. Set up your menu. Run a backup and restart. See if
your menu sticks now.
-
Hmmmmmmm, I'm gonna get right on that, brb. Thanks Rich.
-
Unfortunately, no, still nothing. I did exactly as instructed, which is still a good thing (Not sure how or why there was two references too "tce=" but either way, fluxbox custom menu settings still are not being saved after rebooting, even with backup checked. Anyhow, off too bed now, I appreciate the help boss, I'll check back in the am too see if you or anybody else left a response. I'd really like to save these settings.
And as always, thanks a bunch, George. signing out...... . . .
-
Hi cURIOUSgEORGE
Are there other files in your home directory that get lost, or just this one? If other files exhibit the same behavior,
it's a persistence problem, otherwise, it may be a fluxbox problem. If it's fluxbox related, try checking the file
usr/local/tce.installed/fluxbox and see if it adds a menu file to your home directory.
-
Every file gets saved except /home/tc/.fluxbox/menu the menu file seems to get overwritten no matter what.
-
I figured it out. I just had to rename the location that fluxbox looks for inside the file /home/tc/.fluxbox/init, under "session.menuFile: ~/.fluxbox/menu"
So I created a file called blahblahblah inside /home/tc/.fluxbox/ and pointing "session.menuFile:" to "session.menuFile: ~/.fluxbox/blahblahblah"
and used /home/tc/.fluxbox/blahblahblah as my menu file, which can now be configured and saves and then loads correctly on every boot, so, that did the trick. Thanks for the help though.
George.