You are not logged in.

#1 2014-12-04 07:33:17

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

LXDE: menu (*.desktop files?) wrinkles

Hi,

I've got KDE and LXDE as an alternative environment. Menu items translate from KDE to LXDE generally well, with a few exceptions. Here there are three examples:

(1) Perfectly good, /usr/share/applications/virtualbox.desktop:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=Oracle VM VirtualBox
GenericName=Virtual Machine
Type=Application
Exec=VirtualBox %U
TryExec=VirtualBox
MimeType=application/x-virtualbox-vbox;application/x-virtualbox-vbox-extpack;application/x-virtualbox-ovf;application/x-virtualbox-ova;
DocPath=file:///usr/share/doc/virtualbox/UserManual.pdf
Icon=virtualbox
Categories=Emulator;System;X-MandrivaLinux-System;Application;
Comment=Run several virtual systems on a single host computer
Comment[de]=Mehrere virtuelle Maschinen auf einem einzigen Rechner ausführen
Comment[it]=Esegui più macchine virtuali su un singolo computer
Comment[pl]=Uruchamianie wielu systemów wirtualnych na jednym komputerze gospodarza
Comment[sv]=Kör flera virtuella system på en enda värddator
Comment[ko]=가상 머신

(2) Not quite good: /usr/share/applications/nautilus-3.desktop. It doesn't show on the menu, but can be started manually (Run, Alt-F2; the nautilus prompt is there).

[Desktop Entry]
Comment[en_US]=
Comment=
Exec=nautilus
GenericName[en_US]=
GenericName=
Icon=fsview
MimeType=
Name[en_US]=nautilus
Name=nautilus
NoDisplay=true
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=

(3) No good at all: /usr/share/applications/webster.desktop. Can't be seen, can't be started:

[Desktop Entry]
Comment=
Exec=wine "/home/alexey/.wine/drive_c/Program Files/Random House, Inc/Random House Webster's Unabridged Dictionary/RHUD30.EXE"
Icon=fifteenpuzzle
Name=webster
NoDisplay=false
Path[$e]=
StartupNotify=true
Terminal=0
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=

I can't see anything special in any of the items.

Offline

#2 2014-12-04 07:51:21

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: LXDE: menu (*.desktop files?) wrinkles

nautilus-3.desktop has 'NoDisplay=true', which means it won't be displayed in menus. See http://standards.freedesktop.org/deskto … 01s05.html

in webster.desktop, I think at least the double quotes in 'Exec=' line should be preceded with backslashes, if I understand the documentation correctly.

Offline

Board footer

Powered by FluxBB