Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

SparkyLinux MinimalGUI and Editing Desktop Menu ...

Started by MakUr3X, November 19, 2016, 01:58:43 AM

Previous topic - Next topic

MakUr3X

Hello,

So, I have downloaded SparkyLinux 4.4 MinimalGUI as this is what I need. However, I need to edit a desktop menu , the one when you right click on the desktop and can choose from sub-category a different application to run. I have tried to edit:

/etc/xdg/openbox/menu.xml
/etc/skel/.config/openbox/menu.xml
/var/lib/openbox/menu.xml
/etc/skel/.config/openbox/lxde-rc.xml
/etc/skel/.config/openbox/rc.xml
/etc/xdg/openbox/rc.xml

None of those listed above worked when I changed them, even after restarting openbox, can someone help me here to edit the menu ?
I'm confused as hell since you normally edit xml file and it just work.

Any ideas ?
Thank You.

balloon

Openbox menu displayed with MinimalGUI is generated by obmenu-generator.
It creates a Debian menu to be identical to the menu of fbpanel.
reference:
    ~/.config/openbox/
    ~/.config/obmenu-generator

You can generate a free Openbox menu by updating ~/.config/openbox/menu.xml
Or use the menu editing tool used on the desktop.
It provides a unified menu with Openbox and fbpanel.

MakUr3X

Quote from: balloon on November 19, 2016, 09:34:13 AM
Openbox menu displayed with MinimalGUI is generated by obmenu-generator.
It creates a Debian menu to be identical to the menu of fbpanel.
reference:
    ~/.config/openbox/
    ~/.config/obmenu-generator

You can generate a free Openbox menu by updating ~/.config/openbox/menu.xml
Or use the menu editing tool used on the desktop.
It provides a unified menu with Openbox and fbpanel.

So for someone who have the same problem as I do, I have simply generated static menu then I had 100% OpenBox menu so:
Advanced Settings -> Obmenu-generator -> Generate a static menu then Advanced Settings -> OpenBox -> Restart OpenBox and now I can freely edit ~/.config/openbox/menu.xml.

The second question related to this topic is if I remove this ob-menu generator will it brake my OpenBox menu ?

pavroo

There is a post-remove script added to ob-menu-generator, which automatically put the "standard" menu config file back, after removing obmenu-generator.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

paxmark1

Search forum for "More info easier via inxi"    If requested -  no inxi, no help for you by  me.

seppalta

If Obmenu-generator is installed, which I believe to be the case for your operating system, the file to edit is ~/.config/obmenu-generator/schema.pl.  See http://lxlinux.com/obmenu-generator.html.   If you want to switch your situation to the normal Openbox static menu, then open the menu, go to "Advanced Settings" and click "Generate a static menu".  Then the file to edit is ~/.config/openbox/menu.xml.  For more information on editing a static openbox menu, see http://lxlinux.com/openbox.html.

View the most recent posts on the forum