You are not logged in.

#1 2009-03-10 13:44:25

problemkenner
Member
Registered: 2009-02-17
Posts: 69

[LXDE] Editing the lxpanel-menu

Hello,

how can I edit the application menu in LXDE e.g. if I want to delete some unneeded entries?#

Thanks smile

Offline

#2 2009-03-10 14:15:23

celettu
Member
Registered: 2007-12-01
Posts: 143
Website

Re: [LXDE] Editing the lxpanel-menu


Keep it Simple, Sexy

Offline

#3 2009-03-10 14:19:59

problemkenner
Member
Registered: 2009-02-17
Posts: 69

Re: [LXDE] Editing the lxpanel-menu

Hello celettu,

thank you for your post but that does not seem to help me. sad

Where do I find the information I look for on the page you posted?

Last edited by problemkenner (2009-03-10 14:20:16)

Offline

#4 2009-03-10 14:25:29

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: [LXDE] Editing the lxpanel-menu

The LX-Menu is created by the *.desktop files. Almost every package of a graphical application delivers such a file. Check out the folder /usr/share/applications, there you find them. So the only way to "edit the LX-Menu entries" is to delete those *.desktop files you don't want...but that's VERY ugly!

Offline

#5 2009-03-10 14:25:48

celettu
Member
Registered: 2007-12-01
Posts: 143
Website

Re: [LXDE] Editing the lxpanel-menu

My bad, I understood you wanted to change the panel.

Editing the menu in Openbox is done with obmenu. Check if it's installed.


Keep it Simple, Sexy

Offline

#6 2009-03-10 14:26:41

problemkenner
Member
Registered: 2009-02-17
Posts: 69

Re: [LXDE] Editing the lxpanel-menu

I already installed obmenu, but changes in there seems to have no change on the menu of LXDE.

Offline

#7 2009-03-10 14:29:35

celettu
Member
Registered: 2007-12-01
Posts: 143
Website

Re: [LXDE] Editing the lxpanel-menu

In that case, Army's way is the only one. And it's ugly.

And I'm wrong again. Have a look here:

http://u-lite.org/?q=node/136

Last edited by celettu (2009-03-10 14:31:19)


Keep it Simple, Sexy

Offline

#8 2009-03-10 15:29:04

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [LXDE] Editing the lxpanel-menu

Army wrote:

The LX-Menu is created by the *.desktop files.

I agree.

Army wrote:

Almost every package of a graphical application delivers such a file.

Not all apps provide a .desktop

Army wrote:

Check out the folder /usr/share/applications, there you find them. So the only way to "edit the LX-Menu entries" is to delete those *.desktop files you don't want...but that's VERY ugly!

Again I agree, its a dirty fix.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#9 2009-03-10 16:19:39

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: [LXDE] Editing the lxpanel-menu

Inxsible wrote:

Not all apps provide a .desktop

But do these apps appear in lxmenu?
edit:
Of course they can appear, in case you place a custom desktop file in ~/.local, that's for sure. But lxmenu only reads desktop files, so if there is none of application foo, it won't appear in lxmenu!

celettu wrote:

This ADDS applications to the menu, but what about removing them?

Last edited by Army (2009-03-10 16:23:51)

Offline

#10 2009-03-10 16:30:24

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [LXDE] Editing the lxpanel-menu

This is what you need to do to get rid of stuff from the menu. It'll take a bit of work, but it's not hard.

Copy the .desktop file of whatever you want to remove from /usr/share/applications to ~/.local/share/applications. Open the file in a text editor and edit the line that says NoDisplay=false to NoDisplay=true. If the NoDisplay line isn't there, add NoDisplay=true.

Offline

#11 2010-01-26 11:45:49

nabilalk
Member
Registered: 2010-01-26
Posts: 1

Re: [LXDE] Editing the lxpanel-menu

skottish wrote:

This is what you need to do to get rid of stuff from the menu. It'll take a bit of work, but it's not hard.

Copy the .desktop file of whatever you want to remove from /usr/share/applications to ~/.local/share/applications. Open the file in a text editor and edit the line that says NoDisplay=false to NoDisplay=true. If the NoDisplay line isn't there, add NoDisplay=true.

NoDisplay=true addition works nicely. I'm using CrunchBang Linux with lxpanel 0.5.3, and was able to apply your instructions to my distro (based on  Ubuntu (Karmic). Thank you.

Offline

#12 2011-10-04 01:35:38

patparad
Member
Registered: 2011-10-04
Posts: 1

Re: [LXDE] Editing the lxpanel-menu

The following script works great for me:
http://forum.lxde.org/viewtopic.php?f=8 … 074#p37074

Offline

#13 2011-10-04 01:44:07

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [LXDE] Editing the lxpanel-menu

Welcome to the forums patparad. Necro-bumping is unnecessary: https://wiki.archlinux.org/index.php/Fo … Bumping.27
May I suggest adding that link to the wiki?
Also, closing.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB