LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-30-2005, 11:00 PM   #1
d1g1ta7
LQ Newbie
 
Registered: May 2005
Posts: 5

Rep: Reputation: 0
Adding/Changing Entries and Icons to Applications Menu


I cannot seem to add or change either application shortcut entries or icons in the Applications menu. I only have read permissions to them in file browser. What can I do to change my permissions to these files? I have already tried changing them as root.

Wanted to add that I'm using GNOME

Last edited by d1g1ta7; 05-30-2005 at 11:07 PM.
 
Old 05-31-2005, 10:23 AM   #2
Tuxluver
Member
 
Registered: Jan 2005
Location: Texas
Distribution: Fedora Core 3
Posts: 58

Rep: Reputation: 16
Well it isn't very easy. GNOME makes it hard because they don't want newbies to mess it up and not be able to get to vital programs. Apparently GNOME looks for launchers in several different directories one of which is /usr/share/applications/ and puts them in the menu. You can add something to the menu by copying the launcher to /usr/share/applications/ (as root), then typing into the terminal:
Code:
gedit /usr/share/applications/<name of launcher>
You may want to issue the "ls" command and find the exact name of the launcher first (it won't be the same as the one you see in Nautilus and will be a .desktop file). Then, using gedit, add a line (if it isn't already there) that says "Categories=" and then put:

"Application;Game;X-Red-Hat-Base;" if you want it in the Games menu.
"Application;Utility;X-Red-Hat-Base;" if you want it in the Accessories menu.
"Application;Graphics;X-Red-Hat-Base;" if you want it in the Graphics menu.
"Application;Network;X-Red-Hat-Base;" if you want it in the Internet menu.
"Application;Office;X-Red-Hat-Base;" if you want it in the Office menu.
"Application;Settings;X-Red-Hat-Base;" if you want it in the Preferences menu.
"Application;Development;X-Red-Hat-Base;" if you want it in the Programming menu.
"Application;AudioVideo;X-Red-Hat-Base;" if you want it in the Sound and Video menu.
"Application;SystemSetup;X-Red-Hat-Base;" if you want it in the System Settings menu.
"Application;System;X-Red-Hat-Extra;" if you want it in the System Tools menu.

Save it and restart the Gnome Panel (or just all of Gnome), and it should be in the menu. Most of the launchers in the menu will be in /usr/share/applications/ so to edit one just edit the file in there.

If it doesn't work to edit one or delete one from there type "locate <name of launcher>" into a terminal and delete any duplicates that the Gnome Menu might be using.

Hope this helps.

-Tuxlover
 
Old 06-12-2005, 09:12 AM   #3
hkl8324
Member
 
Registered: Aug 2003
Location: Hong Kong, China
Distribution: Ubuntu 10.04
Posts: 234

Rep: Reputation: 30
use Smeg....
 
  


Reply


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
adding applications to main menu talkinggoat Linux - General 5 09-10-2007 03:52 PM
Changing icons for shortcuts and adding applications to KDE panel linuxRunner Linux - Newbie 5 07-31-2004 12:36 PM
Adding icons to menu Help j00e Linux - Newbie 0 06-04-2004 04:07 PM
Adding items to the GNOME Applications Menu morrolan Linux - Software 3 01-21-2004 11:22 PM
adding icons to gnome 2 menu versaulis Linux - Software 9 12-19-2003 10:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration