You are not logged in.

#1 2020-05-18 18:12:58

ovum
Member
Registered: 2020-04-17
Posts: 19

My menu! Oh no!

https://imgur.com/F6BveZe

It appears my menu is borked.

I recently tried to edit a file to show GIMP in the menu, now it is gone. 
Please advise.  Need this machine to work.

-ovum-

If anyone has a copy of the file i broke trying to edit the menu, that would be charming, or if anyone knows how to fix this I would be eternally grateful.

Last edited by ovum (2020-05-18 18:20:48)

Offline

#2 2020-05-18 18:38:48

malm
jgmenu developer
Registered: 2016-10-13
Posts: 601
Website

Re: My menu! Oh no!

https://github.com/BunsenLabs/bunsen-co … repend.csv

Or just run the folliwing and select theme

jgmenu_run init -i

Offline

#3 2020-05-18 19:00:44

ovum
Member
Registered: 2020-04-17
Posts: 19

Re: My menu! Oh no!

jgmenu_run: command not found

also: i have no idea what to do with the code you posted

please forgive my newbishness, i am still quite distressed!

I think it's possible I messed up my menu.xml trying to get it to register gimp.  does anyone have a copy of the original from a fresh install?

I think the error is because of a mistake I made editing openbox menu.xml

here is the file, can anyone see where i slipped up at?  Does anyone have an unmodified copy they could paste?

<?xml version="1.0" encoding="UTF-8"?>

<openbox_menu xmlns="http://openbox.org/"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://openbox.org/
                file:///usr/share/openbox/menu.xsd">

    <menu id="exit-menu" label="Exit">
        <item label="Log out">
            <action name="Execute">
                <command>
                    bl-exit --logout
                </command>
            </action>
        </item>
        <item label="Suspend">
            <action name="Execute">
                <command>
                    bl-exit --suspend
                </command>
            </action>
        </item>
        <item label="Reboot">
            <action name="Execute">
                <command>
                    bl-exit --reboot
                </command>
            </action>
        </item>
        <item label="Power off">
            <action name="Execute">
                <command>
                    bl-exit --poweroff
                </command>
            </action>
        </item>
    </menu>

    <menu id="root-menu" label="Openbox 3">
        <item label="Run Program">
            <action name="Execute">
                <command>
                    gmrun
                </command>
            </action>
        </item>
        <separator/>
        <item label="Terminal">
            <action name="Execute">
                <command>
                    x-terminal-emulator
                </command>
            </action>
        </item>
        <item label="Web Browser">
            <action name="Execute">
                <command>
                    x-www-browser
                </command>
            </action>
        </item>
        <item label="File Manager">
            <action name="Execute">
                <command>
                    bl-file-manager
                </command>
            </action>
        </item>
        <item label="Text Editor">
            <action name="Execute">
                <command>
                    bl-text-editor
                </command>
            </action>
        </item>
        <item label="Media Player">
            <action name="Execute">
                <command>
                    bl-media-player
                </command>
            </action>
        <separator/>
        <menu id="accessories" label="Accessories">
            <item label="Catfish File Search">
                <action name="Execute">
                    <command>
                        catfish
                    </command>
                </action>
            </item>
            <item label="Archive Manager">
                <action name="Execute">
                    <command>
                        file-roller
                    </command>
                </action>
            </item>
            <item label="Task Manager (htop)">
                <action name="Execute">
                    <command>x-terminal-emulator -T 'htop task manager' -e htop</command>
                </action>
            </item>
            <item label="System Information (hardinfo)">
                <action name="Execute">
                    <command>
                        hardinfo
                    </command>
                </action>
            </item>
        </menu>
        <menu execute="bl-graphics-pipemenu" id="bl-graphics-pipemenu" label="Graphics"/>
        <menu execute="bl-multimedia-pipemenu" id="bl-multimedia-pipemenu" label="Multimedia"/>
        <menu id="network" label="Network">
            <menu execute="bl-x-www-browser-pipemenu" id="wwwbrowsers" label="WWW Browsers"/>
            <item label="Filezilla FTP Client">
                <action name="Execute">
                    <command>
                        filezilla
                    </command>
                </action>
            </item>
            <item label="Transmission BitTorrent Client">
                <action name="Execute">
                    <command>
                        transmission-gtk
                    </command>
                </action>
            </item>
            <item label="HexChat IRC Client">
                <action name="Execute">
                    <command>
                        hexchat
                    </command>
                </action>
            </item>
            <item label="Remote Filesystems">
                <action name="Execute">
                    <command>
                        gigolo
                    </command>
                </action>
            </item>
            <menu execute="bl-remote-desktop-pipemenu" id="remotedesktop" label="Remote Desktop"/>
            <menu execute="bl-sshconfig-pipemenu" id="sshconfig" label="SSH"/>
<!--
            <separator label="Services"/>
            <menu execute="bl-dropbox-pipemenu" id="dropbox" label="Dropbox"/>
-->
        </menu>
        <menu id="office" label="Office">
            <menu id="libreoffice" label="LibreOffice" execute="bl-libreoffice-pipemenu" />
            <item label="Gnumeric Spreadsheet">
                <action name="Execute">
                    <command>
                        gnumeric
                    </command>
                </action>
            </item>
            <item label="Calculator">
                <action name="Execute">
                    <command>
                        galculator
                    </command>
                </action>
            </item>
            <item label="Evince PDF Viewer">
                <action name="Execute">
                    <command>
                        evince
                    </command>
                </action>
            </item>
        </menu>
        <separator/>
        <menu execute="bl-places-pipemenu" id="pipe-placesmenu" label="Places"/>
        <menu execute="bl-recent-files-pipemenu -rl15" id="pipe-recentfilesmenu" label="Recent Files"/>
        <separator/>
        <menu id="preferences" label="Preferences">
            <menu id="obConfig" label="Openbox">
                <item label="Edit menu.xml">
                    <action name="Execute">
                        <command>
                            bl-text-editor ~/.config/openbox/menu.xml
                        </command>
                    </action>
                </item>
                <item label="Edit rc.xml">
                    <action name="Execute">
                        <command>
                            bl-text-editor ~/.config/openbox/rc.xml
                        </command>
                    </action>
                </item>
                <item label="Edit autostart">
                    <action name="Execute">
                        <command>
                            bl-text-editor ~/.config/openbox/autostart
                        </command>
                    </action>
                </item>
                <separator/>
                <item label="Menu Editor">
                    <action name="Execute">
                        <command>
                            obmenu
                        </command>
                    </action>
                </item>
                <item label="WM Preferences">
                    <action name="Execute">
                        <command>
                            obconf
                        </command>
                    </action>
                </item>
                <item label="How to Edit Menu">
                    <action name="Execute">
                        <command>
                            yad --button="OK":0 --center --window-icon=distributor-logo-bunsenlabs --text-info --title=&quot;How to Edit the Menu&quot; --filename=&quot;/usr/share/bunsen/docs/helpfile-menu.txt&quot; --width=900 --height=700 --fontname=Monospace
                        </command>
                    </action>
                </item>
                <separator/>
                <item label="Reconfigure">
                    <action name="Reconfigure"/>
                </item>
                <item label="Restart">
                    <action name="Restart"/>
                </item>
            </menu>
            <menu execute="bl-compositor" id="CompositingPipeMenu" label="Compositor"/>
            <menu execute="bl-conky-pipemenu" id="pipe-conkymenu" label="Conky"/>
            <menu execute="bl-tint2-pipemenu" id="pipe-tint2menu" label="Tint2"/>
            <item label="Appearance">
                <action name="Execute">
                    <command>
                        lxappearance
                    </command>
                </action>
            </item>
            <item label="Font configuration">
                <action name="Execute">
                    <command>
                        bl-text-editor ~/.config/fontconfig/fonts.conf
                    </command>
                </action>
            </item>
            <item label="BLOB Themes Manager">
                <action name="Execute">
                    <command>
                        bl-obthemes
                    </command>
                </action>
            </item>
            <item label="Wallpaper">
                <action name="Execute">
                    <command>
                        nitrogen
                    </command>
                </action>
            </item>
            <item label="Notifications">
                <action name="Execute">
                    <command>xfce4-notifyd-config</command>
                </action>
            </item>
            <item label="Power Management">
                <action name="Execute">
                    <command>
                        xfce4-power-manager-settings
                    </command>
                </action>
            </item>
            <menu id="dmenuconfig" label="dmenu">
                <item label="Edit Start-up Script">
                    <action name="Execute">
                        <command>
                            bl-text-editor ~/.config/dmenu/dmenu-bind.sh
                        </command>
                    </action>
                </item>
                <separator label="Help"/>
                <item label="man page">
                    <action name="Execute">
                        <command>
                            x-terminal-emulator -T 'man dmenu' -e man dmenu
                        </command>
                    </action>
                </item>
            </menu>
            <menu id="gmrunconfig" label="gmrun">
                <item label="Edit Config File">
                    <action name="Execute">
                        <command>
                            bl-text-editor ~/.gmrunrc
                        </command>
                    </action>
                </item>
                <separator label="Help"/>
                <item label="man page">
                    <action name="Execute">
                        <command>
                            x-terminal-emulator -T 'man gmrun' -e man gmrun
                        </command>
                    </action>
                </item>
            </menu>
            <menu id="DisplaySettings" label="Display">
                <item label="ARandR Screen Layout Editor">
                    <action name="Execute">
                        <command>
                            arandr
                        </command>
                    </action>
                </item>
                <separator label="Help"/>
                <item label="man xrandr">
                    <action name="Execute">
                        <command>
                            x-terminal-emulator -T 'man xrandr' -e man xrandr
                        </command>
                    </action>
                </item>
            </menu>
        </menu>
        <menu id="system" label="System">
            <menu execute="bl-printing-pipemenu" id="PrintingPipeMenu" label="Printers"/>
            <item label="Synaptic Package Manager">
                <action name="Execute">
                    <command>
                        pkexec synaptic
                    </command>
                </action>
            </item>
            <item label="Login Settings">
                <action name="Execute">
                    <command>
                        pkexec bl-text-editor /etc/lightdm/lightdm-gtk-greeter.conf /etc/lightdm/lightdm.conf
                    </command>
                </action>
            </item>
            <item label="GParted">
                <action name="Execute">
                    <command>
                        pkexec gparted
                    </command>
                </action>
            </item>
            <item label="Edit Debian Alternatives">
                <action name="Execute">
                    <command>
                        galternatives
                    </command>
                </action>
            </item>
            <separator/>
            <item label="About Bunsen Alternatives">
                <action name="Execute">
                    <execute>yad --button="OK":0 --center --window-icon=distributor-logo-bunsenlabs --text-info --title=&quot;About Bunsen Alternatives&quot; --filename=&quot;/usr/share/bunsen/docs/helpfile-bl-alternatives.txt&quot; --width=900 --height=700 --fontname=Monospace
                    </execute>
                </action>
            </item>
        </menu>
        <separator/>
        <menu id="help" label="Help &amp; Resources" execute="bl-help-pipemenu" />
        <menu execute="bl-kb-pipemenu" id="keybinds" label="Display Keybinds"/>
        <separator/>
        <item label="Lock Screen">
            <action name="Execute">
                <command>
                    bl-lock
                </command>
            </action>
        </item>
        <item label="Exit">
            <action name="Execute">
                <command>
                    bl-exit
                </command>
            </action>
        </item>
<!-- comment out or remove the preceding "Exit" item,
and uncomment the following "exit-menu"
for one-click exit options. -->
<!--
        <menu id="exit-menu"></menu>
-->
    </menu>
</openbox_menu>

Last edited by ovum (2020-05-18 20:02:34)

Offline

#4 2020-05-18 20:20:20

damo
....moderator....
Registered: 2015-08-20
Posts: 5,982

Re: My menu! Oh no!

You can find the default Openbox menu in /usr/share/bunsen/skel/.config/bl-menu.xml

TOP TIP: backup your menu before editing it wink

Also available is the gui menu editor, obmenu.

NB Lithium will use jgmenu as default, which is a very different beast, but you will still be able to use the OB menu if you want.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#5 2020-05-18 20:44:23

malm
jgmenu developer
Registered: 2016-10-13
Posts: 601
Website

Re: My menu! Oh no!

Oh, sorry. I assumed you were on Lithium.

Offline

#6 2020-05-18 23:13:59

ovum
Member
Registered: 2020-04-17
Posts: 19

Re: My menu! Oh no!

Should i be?  I like helium well enough. 

Hey listen, so now I copy the contents of /usr/share/bunsen/skel/.config/bl-menu.xml to the other menu.xml and voila my problems are all gone?

update:
/usr/share/bunsen/skel/.config/bl-menu.xml does not exist.

could somebody post me a openbox menu.xml?  Can I avoid a reinstall?  I'm on wireless through my phone, and the data needed for a reinstall is a pita.

Thanks so much for the guys who have been kind enough to help so far.

update:

searched for the guest account menu.xml and copied it over and now we're cooking with gas!  Thanks a lot for pointing me in the right direction.  What a thrill!  I must have aged a month in a minute.  Thanks again, you're wonderful gents.

Last edited by ovum (2020-05-21 14:04:12)

Offline

#7 2020-05-19 08:34:59

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 407

Re: My menu! Oh no!

ovum wrote:

Should i be?  I like hydrogen well enough.

Ihope you mean Helium. Hydrogen is based on Debian Jessie - OldOldsStable! Outdated. Hydrogen should not be used.

Helium is based on oldstable. There is advantages to use stable. Helium has some good improvemnets over Helium.

Last edited by rbh (2020-05-19 08:35:39)


// Regards rbh

Offline

#8 2020-05-19 08:58:53

damo
....moderator....
Registered: 2015-08-20
Posts: 5,982

Re: My menu! Oh no!

ovum wrote:

Should i be?  I like hydrogen well enough.

You posted a Help request without telling us that you are running something that was 2 releases ago. Things change.

IIRC the default OB menu config for Hydrogen is menu.xml. You can always learn how to use locate or find to see where files are.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#9 2020-05-21 14:04:55

ovum
Member
Registered: 2020-04-17
Posts: 19

Re: My menu! Oh no!

Helium, Helium, my bad!  I'm so sorry!

Offline

Board footer

Powered by FluxBB