You are not logged in.

#1 2012-03-03 01:54:30

anta40
Member
From: Jakarta, Indonesia
Registered: 2010-03-01
Posts: 79

How to add new item in XFCE menu?

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=false

Then 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

#2 2012-03-03 02:58:24

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: How to add new item in XFCE menu?

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

#3 2012-03-03 07:34:28

Padfoot
Member
Registered: 2010-09-03
Posts: 382

Re: How to add new item in XFCE menu?

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

#4 2012-05-06 19:13:09

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

Re: How to add new item in XFCE menu?

Easiest way to manage menu items in XFCE is to use alacarte-xfce from the AUR.


Registered Linux user #436067

Offline

Board footer

Powered by FluxBB