LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 08-24-2004, 08:33 PM   #1
saravkrish
Member
 
Registered: Mar 2004
Location: KY, USA
Distribution: Fedora Core 1
Posts: 190

Rep: Reputation: 30
Adding a launcher to the main menu for all users.


Hi,

I wan't to add certain games to the Main Menu->Games->Power Games. The Power Games sub menu doesn't exist by default. I want to know how to add the new submenu (and the new launchers under it) at one place but it should reflect for all users.

Sorry, but to give an analogy, in Windows I would login as admin, and Explore the Start Menu and add the shortcuts under "All Users" folder rather than under "Administrator folder.

I remember seeing something similar to this under FC1 or RH9 but I'm not able to find it now - was I dreaming about this or is it there? Please tell me how I can get this done.

Huh! Also found that I wasn't able to do this even for a single user! Help me on that too please.

-Sarav

Last edited by saravkrish; 08-24-2004 at 08:45 PM.
 
Old 08-26-2004, 06:15 PM   #2
Tamsco
Member
 
Registered: Jul 2004
Location: 1st Brillouin Zone
Distribution: Gentoo (not ricer Gentoo)
Posts: 165

Rep: Reputation: 30
GNOME, KDE or other?
 
Old 08-26-2004, 06:21 PM   #3
saravkrish
Member
 
Registered: Mar 2004
Location: KY, USA
Distribution: Fedora Core 1
Posts: 190

Original Poster
Rep: Reputation: 30
GNOME

Hi,

The question is for GNOME.

-Sarav
 
Old 08-27-2004, 09:51 PM   #4
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
GNOME menu editing is not enabled by default, and I haven't found a way to get menu editing in GNOME. You can try the following as root:
cd /usr/share/applications
if you then do ls * you will see .desktop files take a look at one of these files to see the setup. You could try this, it might work.
Open up your favorite text editor, you will probably have to do this in you home directory, unless you login as root graphically. Anyway try this and see if it works:
[desktop]
Encoding=UTF-8
Name=Game Name
Comment=eg. First Person Shoot
Exec=/path/to/game/executable
Icon=/path/to/icon/to/use.png
Terminal=false
Type=Application
Categories=Applications;Game;"Power Game";
StartupNotify=true

Save this as gamename.desktop, if you are root you can just save this directly to /usr/share/applications, if you are a user save to your home directory then:
su
chown root:root gamename.desktop
mv gamename.desktop /usr/share/applications


Logout of Gnome and then back in, the game should now show up in your Menu for all users.

I don't know if this will create a submenu, I haven't tried creating any new submenus.

HTH

Last edited by JayCnrs; 08-27-2004 at 09:53 PM.
 
  


Reply



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
adding to main menu.. like start on windows khuti2005 Linux - Newbie 3 10-10-2005 06:53 PM
adding programs to main menu. blastradius Ubuntu 6 09-03-2005 01:16 PM
Adding Menus to the Main Menu? dreelin Red Hat 2 02-28-2005 12:24 AM
Adding Apps to Main Menu problems degraffenried13 Linux - General 0 01-13-2004 05:34 PM

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

All times are GMT -5. The time now is 07:22 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