LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   fluxmenu erased ~/.fluxbox/menu (https://www.linuxquestions.org/questions/linux-software-2/fluxmenu-erased-%7E-fluxbox-menu-423262/)

RaulConQ 03-09-2006 03:09 PM

fluxmenu erased ~/.fluxbox/menu
 
Hi all,
Installed fluxconf and fluxmenu today; while fluxconf seems to work just fine, fluxmenu, when I tried to save my menu changes, gave me "Segmentation fault" and now, though my menu file still exists, it is empty. This doesn't present a large problem, since I can rewrite most of what I want without fluxmenu, but I don't know how to bring back the fluxbox config submenu, including styles and whatnot. If anyone could post that portion of the default fluxbox menu (I'm using fluxbox 0.9.14), it would be much appreciated... since the example menu files I've found have been grossly inadequate for my needs.
Muchas gracias!

cs-cam 03-09-2006 05:37 PM

Code:

        [submenu] (fluxbox menu)
                [config] (configure)
                [submenu] (system styles) {choose a style...}
                        [stylesdir] (/usr/local/share/fluxbox/styles)
                        [stylesdir] (/usr/share/commonbox/styles/)
                [end]
                [submenu] (user styles) {choose a style...}
                        [stylesdir] (~/.fluxbox/styles)
                [end]
                [workspaces]  (workspace list)
                [submenu] (tools)
                        [exec] (fluxconf) {fluxconf}
                        [exec] (fluxkeys) {fluxkeys}
                        [exec] (fluxmenu) {fluxmenu}
                        [exec] (window name) {xprop WM_CLASS|cut -d \" -f 2|xmessage -file - -center}
                        [exec] (screenshot - jpg) {import screenshot.jpg && display -resize 50% screenshot.jpg}
                        [exec] (screenshot - png) {import screenshot.png && display -resize 50% screenshot.png}
                        [exec] (regen menu) {fluxbox-generate_menu}
                [end]
                [submenu] (Window)
                        [restart] (enlightenment) {enlightenment}
                        [restart] (fvwm) {fvwm}
                        [restart] (gnome) {gnome-session}
                [end]
                [exec] (lock screen) {xscreensaver-command -lock}
                [commanddialog] (fluxbox command)
                [reconfig] (reload config)
                [restart] (restart)
                [exec] (about) {(fluxbox -v; fluxbox -info | sed 1d) 2> /dev/null | xmessage -file - -center}
                [nop]
                [exit] (exit)
        [end]


geomatt 03-09-2006 05:38 PM

Have you tried running `fluxbox-generate_menu'? It might save some typing....

-geo

RaulConQ 03-10-2006 02:15 AM

Thank you both. Didn't know about fluxbox-generate_menu... quite helpful. So, as a sidenote, anyone know WHY fluxmenu might have crapped out on me? Alternatively, anyone ever had a similar issue?

UberPuppy 09-13-2006 03:02 PM

Yep -same issue
 
Yep, got the same problem - and generate-menu worked fine.

Except I now got the same problem with Fluxkeys too. Worked fine for ages, and then I decided to change one command - it schizzed and lost the whole thing. For all it's brilliance it seems that parts of fluxconf have some serious issues with stability :(


All times are GMT -5. The time now is 07:41 AM.