Tiny Core Extensions > TCE Bugs

TC6 Fluxbox doesn't honour /home/tc/.fluxbox/menu config changes on reboot

(1/1)

nitram:
All other Fluxbox configuration files appear honoured, except /home/tc/.fluxbox/menu file. Actually i have not yet needed to modify the apps, overlay and slitlist configuration files so not sure about those. The following configuration files are, however, honoured: init, keys. So for whatever reason the menu file gets overwritten with the default configuration on reboot.

My menu modifications work great when using Fluxbox, just aren't restored on reboot so i always need to restore from backup. Here's my menu config changes, not sure it should matter (just the fluff, firefox, aterm section towards the bottom were added):

--- Code: ---[begin](Tiny Core)
[encoding]{UTF-8}
[include](/usr/local/tce.fluxbox)
[include](~/.fluxbox/ondemand)
[submenu](System Tools)
[exec](Apps){apps}
[exec](ControlPanel){cpanel}
[exec](Editor){editor}
[exec](Exit){exittc}
[exec](RunProgram){flrun}
[exec](MountTool){mnttool}
[exec](ScreenShot){screenshot.sh}
[exec](Services){services}
[exec](SetTime){sudo /usr/bin/getTime.sh}
[exec](Top){cliorx top}
[exec](Xkill){xkill}
[end]
[submenu] (Fluxbox menu)
[config] (Configure)
[submenu] (System Styles) {Choose a style...}
[stylesdir] (/usr/local/share/fluxbox/styles)
[end]
[submenu] (User Styles) {Choose a style...}
[stylesdir] (~/.fluxbox/styles)
[end]
[workspaces] (Workspace List)
[commanddialog] (Fluxbox Command)
[reconfig] (Reload config)
[restart] (Restart)
[exec] (About) {(fluxbox -v; fluxbox -info | sed 1d) | xmessage -file - -center}
[end]
[separator]
[exec] (Exit) {exittc}
[separator]
[exec] (firefox) {firefox}
[exec] (fluff) {fluff}
[exec] (aterm) {aterm}

[endencoding]
[end]

--- End code ---
Will play around with it a bit more later, but something appears wrong?

Misalf:
True, the default menu file always gets overwritten by the extensions desktop script
(/usr/local/bin/fluxbox_initmenu).

Edit  ~/.fluxbox/init  and change the default menu file
from

--- Code: ---session.menuFile: ~/.fluxbox/menu

--- End code ---
to

--- Code: ---session.menuFile: ~/.fluxbox/menu_custom

--- End code ---

Copy  ~/.fluxbox/menu  to  ~/.fluxbox/menu_custom .
Edit  menu_custom  instead of  menu .

If you want to get really crazy
http://forum.tinycorelinux.net/index.php/topic,17216.0.html

nitram:
Thanks again Misalf. That was easy, now working great. Pass the bagels, no icons for me please. Sorry for accusing you Fluxbox :)

hal9king:
you can make your fluxbox menu any name you want by editing 'init' and changing the entry:  session.menuFile:       ~/.fluxbox/xxxx

Navigation

[0] Message Index

Go to full version