You are not logged in.

#1 2014-01-19 20:49:20

Fixxer
Member
From: Poland
Registered: 2011-08-29
Posts: 233

[SOLVED] OnlyShownIn / NotShownIn issue.

Hi

Is there any way to bulldoze to get options OnlyShownIn and / or NotShownIn in *.desktop files to hide menu entries?

E.g.

When I'm running Xfce, Lxterminal menu entry is still visible in Xfce menu although I've added:

OnlyShownIn=LXDE;

to /usr/share/applications/lxterminal.desktop file.

More info - XDG_CURRENT_DESKTOP and DE variables were set manually:

echo $XDG_CURRENT_DESKTOP
XFCE

echo $DE
xfce

ls -al /usr/share/xsessions
razem 36
drwxr-xr-x   2 root root  4096 12-31 18:47 .
drwxr-xr-x 220 root root 12288 01-19 12:46 ..
-rw-r--r--   1 root root   458 09-03 14:46 LXDE.desktop
-rw-r--r--   1 root root   198 10-26 16:18 openbox.desktop
-rw-r--r--   1 root root   198 10-26 16:18 openbox-kde.desktop
-rw-r--r--   1 root root  4294 08-03 17:19 xfce.desktop

======
EDIT:

There always was this horrible misprint in:
OnlyShownIn

Ha ha ha big_smile

Last edited by Fixxer (2020-09-14 12:13:27)

Offline

Board footer

Powered by FluxBB