Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-12-04 16:05:07

mastro
Member
From: Germany
Registered: 2020-11-22
Posts: 19
Website

Show Application only in XFCE-Settings, not in Whisker

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

#2 2023-03-16 20:53:09

bggf1
Member
Registered: 2023-03-16
Posts: 17

Re: Show Application only in XFCE-Settings, not in Whisker

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

#3 2023-03-16 23:32:24

agashamu
Member
From: California
Registered: 2021-03-01
Posts: 136

Re: Show Application only in XFCE-Settings, not in Whisker

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

Board footer

Powered by FluxBB