LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 01-04-2011, 11:08 AM   #1
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 492

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
Code:
xdg-desktop-menu install --novendor --mode system osean-programmer.desktop
and
Code:
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:
Code:
#!/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
TryExec=Programmateur-OSEAN
Exec=Programmateur-OSEAN
Icon=/usr/share/icons/osean-64x64.png
Type=Application
Categories=Utility;
StartupNotify=true
Terminal=0
X-Desktop-File-Install-Version=0.16
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, 02:19 PM   #2
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: SLED, openSUSE
Posts: 1,022

Rep: Reputation: 172Reputation: 172
Quote:
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.
 
  


Reply

Tags
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 03:05 PM
Writing my first Slackbuild and cannot add an entry to KDE games menu samac Slackware 11 02-04-2009 05:04 PM
Unable to Add new Menu Entry crash_override_me Debian 3 05-19-2008 12:43 PM
How Do I Add An Entry To Drop Down Menu rrrssssss Linspire/Freespire 0 09-05-2007 05:07 AM
Gnome menu entry disappered.. hkl8324 Debian 1 10-04-2005 03:36 PM


All times are GMT -5. The time now is 06:48 AM.

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