Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-04-2011, 12:08 PM   #1
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
Unable to add a gnome menu entry

Hello everybody and happy new year

I'm trying to add an entry to the gnome menu for every users of a FEDORA 14 system, both
xdg-desktop-menu install --novendor --mode system osean-programmer.desktop
desktop-file-install osean-programmer.desktop
do not work: I've got no new entry in the menu nor in the "alacarte" application, even if I "killall gnome-panel", logout or reboot the system.
Here's my .desktop file content:
#!/usr/bin/env xdg-open

[Desktop Entry]
Name=Programmateur boîtiers de communication
Name[fr]=Programmateur boîtiers de communication
Comment=Logiciel de programmation pour les boîtiers de communication pour plongeurs
Comment[fr]=Logiciel de programmation pour les boîtiers de communication pour plongeurs
My real purpose it to make a RPM for an application, then adding the proper line to the "%post" script. Since it doesn't work by installing the RPM, I've test by hand without any success.

Subsidiary question:
How to add the application launcher to every user's Desktop during the RPM installation?

Any clue greatly appreciated
Old 01-05-2011, 03:19 PM   #2
Senior Member
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,094

Rep: Reputation: 198Reputation: 198
Originally Posted by jf.argentino View Post
Subsidiary question:
How to add the application launcher to every user's Desktop during the RPM installation?
I don't have access to a Fedora machine, but when I make rpms for SuSE I put a .desktop file in /usr/share/applications/
If I want to test the menu entry prior to building the rpm I just manually create the .desktop file in /usr/share/applications/ and then remove it again when I'm done.

If you put a .desktop file in /usr/share/applications and it doesn't show up in the GNOME menu you might need to specify additional Categories. Find the .desktop file for a menu entry that's in the part of the menu you want your icon to appear in and see what that says in the Categories line.


gnom menu entry, rpm

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add e menu entry to KDE start menu over CLI browny_amiga Linux - General 7 02-08-2009 04:05 PM
Writing my first Slackbuild and cannot add an entry to KDE games menu samac Slackware 11 02-04-2009 06:04 PM
Unable to Add new Menu Entry crash_override_me Debian 3 05-19-2008 01:43 PM
How Do I Add An Entry To Drop Down Menu rrrssssss Linspire/Freespire 0 09-05-2007 06:07 AM
Gnome menu entry disappered.. hkl8324 Debian 1 10-04-2005 04:36 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration