WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to save Fluxbox menu settings?  (Read 4647 times)

Offline cURIOUSgEORGE

  • Full Member
  • ***
  • Posts: 140
How to save Fluxbox menu settings?
« on: October 22, 2012, 01: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.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: How to save Fluxbox menu settings?
« Reply #1 on: October 22, 2012, 01:33:55 PM »
home is already in .filetool.lst.
You need to have a persistent tce directory.  You also need to run backup.

Offline cURIOUSgEORGE

  • Full Member
  • ***
  • Posts: 140
Re: How to save Fluxbox menu settings?
« Reply #2 on: October 22, 2012, 01: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.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: How to save Fluxbox menu settings?
« Reply #3 on: October 22, 2012, 01:40:57 PM »
You should not be including the leading slash.

Offline cURIOUSgEORGE

  • Full Member
  • ***
  • Posts: 140
Re: How to save Fluxbox menu settings?
« Reply #4 on: October 22, 2012, 01: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.
« Last Edit: October 22, 2012, 02:07:34 PM by cURIOUSgEORGE »

Offline cURIOUSgEORGE

  • Full Member
  • ***
  • Posts: 140
Re: How to save Fluxbox menu settings?
« Reply #5 on: October 22, 2012, 06: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          ;)
« Last Edit: October 22, 2012, 07:06:50 PM by cURIOUSgEORGE »

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 6831
Re: How to save Fluxbox menu settings?
« Reply #6 on: October 22, 2012, 06:41:49 PM »
Hi cURIOUSgEORGE
What does the command:
Code: [Select]
showbootcodesreturn?

Offline cURIOUSgEORGE

  • Full Member
  • ***
  • Posts: 140
Re: How to save Fluxbox menu settings?
« Reply #7 on: October 22, 2012, 07: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


« Last Edit: October 22, 2012, 07:03:57 PM by cURIOUSgEORGE »

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 6831
Re: How to save Fluxbox menu settings?
« Reply #8 on: October 22, 2012, 07: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.

Offline cURIOUSgEORGE

  • Full Member
  • ***
  • Posts: 140
Re: How to save Fluxbox menu settings?
« Reply #9 on: October 22, 2012, 07:20:50 PM »
Hmmmmmmm, I'm gonna get right on that, brb. Thanks Rich.

Offline cURIOUSgEORGE

  • Full Member
  • ***
  • Posts: 140
Re: How to save Fluxbox menu settings?
« Reply #10 on: October 22, 2012, 07: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...... . . .

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 6831
Re: How to save Fluxbox menu settings?
« Reply #11 on: October 22, 2012, 07: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.

Offline cURIOUSgEORGE

  • Full Member
  • ***
  • Posts: 140
Re: How to save Fluxbox menu settings?
« Reply #12 on: October 23, 2012, 03:16:51 AM »
Every file gets saved except /home/tc/.fluxbox/menu the menu file seems to get overwritten no matter what.

Offline cURIOUSgEORGE

  • Full Member
  • ***
  • Posts: 140
Re: How to save Fluxbox menu settings? (Solved)
« Reply #13 on: October 23, 2012, 04: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.
« Last Edit: October 23, 2012, 04:49:31 AM by cURIOUSgEORGE »