$ xfdesktop --reload
Cheers.
]]>logout and login again did the trick. Surprisingly, my test with eclipse worked immediately.
Thank you for your hint.
@phil:
I checked XAME (https://aur.archlinux.org/packages/?O=0&K=xame). XAME shows desktop entries which are located directly under ~/.local/share/applications, but not in sub directories. It seems that lxmed does not look in ~./local/share/applications at all.
]]>I also tested now with entries in subdirectories and found that I have to log out and in again to see the change. I tried with K3b, a KDE programm I use under Xfce4. Its desktop file is:
/usr/share/applications/kde4/k3b.desktop
and copied in my home to here:
/home/sanne/.local/share/applications/kde4/k3b.desktop
It shows up in the menu under Multimed, System and Utils. When I add NoDisplay=true to the file in my home directory, the entries are still present, but after loging out and in again, the entries are gone. Maybe worth a try?
Edit: typos
]]>Hidden=true does not work (if I keep the screenlet desktop files under a sub directory of /usr/share/applications/).
Also OnlyShowIn=KDE does not give me the result. screenlet is still shown in the "Other" menu.
Thx
]]>What I did to check it:
1) mv /usr/share/applications/screenlets_pack_all/feedreaderplus-screenlet.desktop /usr/share/applications (i.e. one directory above)
2) cp /usr/share/applications/feedreaderplus-screenlet.desktop ~/.local/share/applications
3) added NoDisplay=true and a new line to the end of ~/.local/share/applications/feedreaderplus-screenlet.desktop
This is working. There is no more a menu entry for FeedReaderPlus in the "Other" sub menu.
Drawback: I move files which are installed by the package, i.e. it is no more under control of pacman. I really don't like this.
So does anyone has a suggestion how I can hide menu entries which are located under directories below /usr/share/applications/ ?
Thx again.
]]>thank you for your reply. I checked my files and can confirm that they have a new line at the end.
Since it is working with your machine, my assumption is, .i.e. is related to the sub directory which screenlets use.
Your sun-javaws.desktop file resides under /usr/share/applications/ whereas the screenlet desktop files are located under /usr/share/applications/screenlets-pack-all or /usr/share/applications/screenlets-pack-basic.
I will move one of the screenlet desktop files directly under /usr/share/applications, copy it to ~/.local/share/applications and add NoDisplay=true.
I will post the result soon.
Thx
]]>cp /usr/share/applications/sun-javaws.desktop ~/.local/share/applications/sun-javaws.desktop
and added NoDisplay=true at the end of the file. I also made sure to have a newline at the end, just in case. Don't know if it helps you much, but at least I can confirm that it works in my case.
]]>I installed screenlets (screenlets-pack-full-bzr) and now I have a bunch of menu entries in the "Other menu" of my Xfce menu. Virtually all screenlets show up in the Other Menu.
I cannot get rid of even one of them:
What I did (e.g. for the FeedReaderPlus screenlet):
1) copied /usr/share/applications/screenlets_pack_all/feedreaderplus-screenlet.desktop to ~/.local/share/applications/screenlets-pack-all and added a NoDisplay=true at the end of the file feedreaderplus-screenlet.desktop.
That did not work.
2) copied the same file to ~/.local/share/applications and added a NoDisplay=true at the end of the file feedreaderplus-screenlet.desktop.
That did not work either.
3) Took a desktop entry from another submenu (e.g. eclipse from development submenu), put it in ~/.local/share/applications adding NoDisplay=true to the end of eclipse.desktop.
That worked.
So my questions: Does the NoDisplay=true only work for those menu entries, which are not in the "Other" menu? What am I doing wrong? Or the other way around: What do I need to do, to get rid of menu entries in the "other" submenu?
Any Idea?
PS: I googled and searched a lot.
]]>