Author Topic: SparkyLinux MinimalGUI and Editing Desktop Menu ...  (Read 150 times)

Offline MakUr3X

  • Newbie
  • *
  • Posts: 4
SparkyLinux MinimalGUI and Editing Desktop Menu ...
« 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.

Offline balloon

  • Newbie
  • *
  • Posts: 29
  • Japanese translator
Re: SparkyLinux MinimalGUI and Editing Desktop Menu ...
« Reply #1 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.
BALLOON a.k.a. Fu-sen. (ふうせん Fu-sen.) in Japan

Offline MakUr3X

  • Newbie
  • *
  • Posts: 4
Re: SparkyLinux MinimalGUI and Editing Desktop Menu ...
« Reply #2 on: November 19, 2016, 10:57:01 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 ?

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1456
    • SparkyLinux
Re: SparkyLinux MinimalGUI and Editing Desktop Menu ...
« Reply #3 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.
Nothing is easy as it looks.

Offline paxmark1

  • Full Member
  • ***
  • Posts: 201
Re: SparkyLinux MinimalGUI and Editing Desktop Menu ...
« Reply #4 on: November 19, 2016, 07:44:40 pm »
And why are you double posting? 
Don't make a FrankenDebian

Offline seppalta

  • Jr. Member
  • **
  • Posts: 96
Re: SparkyLinux MinimalGUI and Editing Desktop Menu ...
« Reply #5 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.