You are not logged in.
Hi folks,
I want create a .desktop-File for one script of me.
Currently I have set this settings in the .desktop-File:
[Desktop Entry]
Name=<NAME>
Comment=
Exec=<EXECUTABLE>
Icon=preferences-system
Terminal=false
Type=Application
Categories=XFCE;GTK;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-SystemSettings;System
Keywords=zeitzone,timezone
StartupNotify=true
Path=
#NoDisplay=true
#Hidden=true
#NotShowIn=XFCE
My wish:
I want show this Entry in the Settings-Dialog of XFCE,
but I want hide this Entry in the Whisker-Menu.
Currently Icon is shown in Setting-Dialog and in the Whisker-Menu.
Who anyone know how I can do this?
Marcus
Last edited by mastro (2022-12-05 08:18:51)
Offline
Hi Marcus,
Could you explain when you say that they show up in whiskers menu? Are they under settings or somwhere else?
I do not think you can hide them from one applications program and not from the other.
Also:
I believe you are using the method of creating categories through the desktop files:
as described in https://wiki.xfce.org/howto/customize-menu
rather than known kategories:
https://specifications.freedesktop.org/ … y-registry
This should work fine, but did you try creating additional menus through the xfce-applications.menu xml file and see if your apps land correctly in whisker then?
You should create one in your .config file as per example on the webpage, but the generic one for reference is under
/etc/xdg/menus/xfce-applications.menu
Did you try playing around with the menulibre program? It can give you some example desktop files.
Regards
Offline
Hi Markus, in Whisker you can right-click on the the item and click hide application. And yes, MenuLibre also gives you the option to hide or move things around.
Linux Mint Xfce 21.1
Offline
[ Generated in 0.013 seconds, 8 queries executed - Memory usage: 523.32 KiB (Peak: 524.16 KiB) ]