You are not logged in.
I just build the Lazarus IDE (not using the one from repo), and would like it to be available under Development menu.
I made this lazarus.desktop:
[Desktop Entry]
Version=1.0
Type=Application
Name=Lazarus
Comment=Delphi-like IDE for FreePascal
Icon=
Exec=/usr/bin/startlazarus
Path=
Terminal=false
Categories=Development;IDE;GTK;
StartupNotify=falseThen I did this:
sudo install -m755 Lazarus.desktop /usr/share/applications/
Lazarus didn't show up on the development. Tried reboot, still didn't work.
Any idea?
Offline
Shouldn't the command be "sudo install -m=755 ....?
Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.
Offline
If you are the only user, why not just create the desktop file in ~/.local/share/applications.
Also, try removing the path key, rather than leave it blank.
But I am guessing your problem lies with the blank icon key. According to the desktop file spec on freedesktop.org, this key is required. Xfce being an xdg compliant DE will require this key, otherwise the entry will be ignored as invalid.
Cheers.
Last edited by Padfoot (2012-03-03 07:36:01)
Offline
Easiest way to manage menu items in XFCE is to use alacarte-xfce from the AUR.
Registered Linux user #436067
Offline