What file is used to create the "Start" menu in LXPanel.
The logo X in the bottom left corner menu that has Accessories, Other, Sound and Video, System Tools, Preferences, Run and Logout.
I would like to add and remove some of the programs listed in this menu but, can't seem to find the file that adds all these to the menu.
Thanks,
rjy
Config file for lxpanel
Re: Config file for lxpanel
Hi,
the menu is automatically generated, you can adjust it by checking out this dir: "/usr/share/applications" or this one: "~/.local/share/applications" and edit the *.dektop files (application starters).
maces
the menu is automatically generated, you can adjust it by checking out this dir: "/usr/share/applications" or this one: "~/.local/share/applications" and edit the *.dektop files (application starters).
maces
-
- Posts: 381
- Joined: Mon Mar 23, 2009 5:14 am
Re: Config file for lxpanel
It is not as simple as editing one file. The "approved" way to delete entries would be adding .desktop files in ~/.local/share/applications with Hidden=true.
If you play only with /usr/share/applications, if you upgrade an application the .desktop file would be replaced and the menu item would come back.
Good luck in your efforts.
http://standards.freedesktop.org/menu-s ... atest.html
If you play only with /usr/share/applications, if you upgrade an application the .desktop file would be replaced and the menu item would come back.
Good luck in your efforts.
http://standards.freedesktop.org/menu-s ... atest.html
Re: Config file for lxpanel
Thank you maces and Marty for you replies. I found the files and kind of figured out how it was working.
Another quick questin:
There is a menu option called Other, and it is a huge list, many more entries then any of the .desktop files.
Where does that piticular list come from, I look in all the .desktop files and could not find a file with a huge list inside of it. (if that is even possible to put more then one app in a .desktop file)
Thanks again for you help on this.
Another quick questin:
There is a menu option called Other, and it is a huge list, many more entries then any of the .desktop files.
Where does that piticular list come from, I look in all the .desktop files and could not find a file with a huge list inside of it. (if that is even possible to put more then one app in a .desktop file)
Thanks again for you help on this.
-
- Posts: 381
- Joined: Mon Mar 23, 2009 5:14 am
Re: Config file for lxpanel
The Other menu is controlled by <OnlyUnallocated>, which is supposed to match any .desktop file that is not selected into some other menu by <Include>.
There was a recent complaint that the Other menu contained a copy of every menu item. This would not be correct behavior and does not happen on my system. We have not updated the menu-cache package in some time, so it is not likely to be a recently introduced bug.
This might be a good place to collect more reports about whether the Other menu is operating improperly in some manner.
There was a recent complaint that the Other menu contained a copy of every menu item. This would not be correct behavior and does not happen on my system. We have not updated the menu-cache package in some time, so it is not likely to be a recently introduced bug.
This might be a good place to collect more reports about whether the Other menu is operating improperly in some manner.
Re: Config file for lxpanel
So would it be possible to totally get rid of the Other menu option all together, and if so how would one going about doing that?
Thanks again for all your helpful input.
Thanks again for all your helpful input.
-
- Posts: 381
- Joined: Mon Mar 23, 2009 5:14 am
Re: Config file for lxpanel
You could edit it out of /etc/xdg/menus/lxde-applications.menu. There are other ways involving having a private .menu that merges the system menu, and overriding it with a NoDisplay=true.
If you start to mess with your menu, be sure you have a Launchbar that allows you to launch the applications you would need to fix it, in case your menu disappears completely.
The idea, though, is that every desktop entry that is located during the search for desktop files appears in at least one menu either because it was selected by an <Include> or because of an <OnlyUnallocated>.
I would still like to understand what is wrong with the Other menu on those systems that have something wrong, and how prevalent it is. It could be a distro specific patch is bad, or something like that.
If you start to mess with your menu, be sure you have a Launchbar that allows you to launch the applications you would need to fix it, in case your menu disappears completely.
The idea, though, is that every desktop entry that is located during the search for desktop files appears in at least one menu either because it was selected by an <Include> or because of an <OnlyUnallocated>.
I would still like to understand what is wrong with the Other menu on those systems that have something wrong, and how prevalent it is. It could be a distro specific patch is bad, or something like that.
Re: Config file for lxpanel
Thanks again for all our help Marty Jack, I really appriciate it. As far as my other menu there is nothing wrong with it. The questions I ask were to just figure out how to add and remove menu option. I will be using this on a LiveCD and I want the users choises to be very limited in what they can run and see in the application menu and with all your help I think I can now get to where I need to be.
Thanks again,
rjy
Thanks again,
rjy