SparkyLinux Forums

Software & hardware support => Newbie questions => Topic started by: MakUr3X on November 19, 2016, 01:58:43 AM

Title: SparkyLinux MinimalGUI and Editing Desktop Menu ...
Post by: MakUr3X on November 19, 2016, 01:58:43 AM
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.
Title: Re: SparkyLinux MinimalGUI and Editing Desktop Menu ...
Post by: 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.
Title: Re: SparkyLinux MinimalGUI and Editing Desktop Menu ...
Post by: MakUr3X on November 19, 2016, 10:57:01 AM
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 ?
Title: Re: SparkyLinux MinimalGUI and Editing Desktop Menu ...
Post by: pavroo on November 19, 2016, 01:42:43 PM
There is a post-remove script added to ob-menu-generator, which automatically put the "standard" menu config file back, after removing obmenu-generator.
Title: Re: SparkyLinux MinimalGUI and Editing Desktop Menu ...
Post by: paxmark1 on November 19, 2016, 07:44:40 PM
And why are you double posting? 
Title: Re: SparkyLinux MinimalGUI and Editing Desktop Menu ...
Post by: seppalta on November 20, 2016, 03:54:39 AM
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.