View previous topic :: View next topic |
Author |
Message |
nagmat84 Apprentice
Joined: 27 Mar 2007 Posts: 271
|
Posted: Wed Jul 03, 2024 5:38 pm Post subject: How to hide deskop entries system-wide per site? |
|
|
I want to hide selected desktop entries from KDE/Plasma for all users on a system-wide level without interfering with the package manager. I thought that *.desktop entries in /usr/share/applications/ take precedence over *.desktop entries in /usr/share/applications/ if the desktop entry has the same ID.
For example, I copied vlc.desktop from /usr/share/applications/ into /usr/share/applications/ and added the key "Hidden". However, VLC still appears in the KDE start menu.
Code: | # egrep Hidden /usr/share/applications/vlc.desktop /usr/local/share/applications/vlc.desktop
/usr/local/share/applications/vlc.desktop:Hidden=true | What is my mistake?
Last edited by nagmat84 on Wed Jul 03, 2024 6:39 pm; edited 1 time in total |
|
Back to top |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1957 Location: 127.0.0.1
|
Posted: Wed Jul 03, 2024 6:04 pm Post subject: |
|
|
Hi,
Here it works fine. Xfce. I guess it depends on your desktop.
I even thought I should have to reload the xfce-panel with the menu, but no : the menu is updating itself.
Also, you should make sure that you don't have the same desktop file in ~/.local/share/applications/. |
|
Back to top |
|
|
nagmat84 Apprentice
Joined: 27 Mar 2007 Posts: 271
|
Posted: Wed Jul 03, 2024 6:40 pm Post subject: |
|
|
netfab wrote: | Also, you should make sure that you don't have the same desktop file in ~/.local/share/applications/. | I checked this. This is not the culprit.
netfab wrote: | Here it works fine. Xfce. I guess it depends on your desktop. | Good to know. However, I am looking for a solution that works with KDE/Plasma. |
|
Back to top |
|
|
Ralphred l33t
Joined: 31 Dec 2013 Posts: 655
|
|
Back to top |
|
|
|