Tiny Core Linux

Tiny Core Extensions => TCE Tips & Tricks => Topic started by: cURIOUSgEORGE on October 22, 2012, 04:31:36 PM

Title: How to save Fluxbox menu settings?
Post 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.
Title: Re: How to save Fluxbox menu settings?
Post by: gerald_clark on October 22, 2012, 04:33:55 PM
home is already in .filetool.lst.
You need to have a persistent tce directory.  You also need to run backup.
Title: Re: How to save Fluxbox menu settings?
Post by: cURIOUSgEORGE on October 22, 2012, 04:38:37 PM
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.
Title: Re: How to save Fluxbox menu settings?
Post by: gerald_clark on October 22, 2012, 04:40:57 PM
You should not be including the leading slash.
Title: Re: How to save Fluxbox menu settings?
Post by: cURIOUSgEORGE on October 22, 2012, 04:44:31 PM
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.
Title: Re: How to save Fluxbox menu settings?
Post by: cURIOUSgEORGE on October 22, 2012, 09:32:13 PM
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          ;)
Title: Re: How to save Fluxbox menu settings?
Post by: Rich on October 22, 2012, 09:41:49 PM
Hi cURIOUSgEORGE
What does the command:
Code: [Select]
showbootcodesreturn?
Title: Re: How to save Fluxbox menu settings?
Post by: cURIOUSgEORGE on October 22, 2012, 10:01:56 PM
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


Title: Re: How to save Fluxbox menu settings?
Post by: Rich on October 22, 2012, 10:15:57 PM
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.
Title: Re: How to save Fluxbox menu settings?
Post by: cURIOUSgEORGE on October 22, 2012, 10:20:50 PM
Hmmmmmmm, I'm gonna get right on that, brb. Thanks Rich.
Title: Re: How to save Fluxbox menu settings?
Post by: cURIOUSgEORGE on October 22, 2012, 10:33:55 PM
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...... . . .
Title: Re: How to save Fluxbox menu settings?
Post by: Rich on October 22, 2012, 10:51:08 PM
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.
Title: Re: How to save Fluxbox menu settings?
Post by: cURIOUSgEORGE on October 23, 2012, 06:16:51 AM
Every file gets saved except /home/tc/.fluxbox/menu the menu file seems to get overwritten no matter what.
Title: Re: How to save Fluxbox menu settings? (Solved)
Post by: cURIOUSgEORGE on October 23, 2012, 07:44:50 AM
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.