LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-26-2003, 03:17 PM   #1
snatale1
Member
 
Registered: Aug 2003
Location: Richmond, Virginia, US
Distribution: Ubuntu 20.04 / Manjaro
Posts: 439

Rep: Reputation: 48
Editing App locations in start menus


I just installed Mozilla 1.4 to replace my 1.2.* that came with my distro. I installed it in /usr/local/mozilla, now how to I change the command line paths i the main menus to run the new ver? I changed the ones on my panel w/o problems but I'd like to get rid of the old ver. when I go to the menu properties and try to change it , it says read-only filesystem, thats as root what can I do?
 
Old 08-26-2003, 05:21 PM   #2
rahulsundaram
Member
 
Registered: May 2003
Location: India
Distribution: Knoppix, RedHat
Posts: 246

Rep: Reputation: 30
hi

if you have erased the old rpm and installed the new one you shouldnt need to change any links. the old links would work just fine. anyway are you using kde or gnome. if kde, right click on the k button and use k menu editor to change the links. it should work as root.

regards
rahul sundaram
 
Old 08-26-2003, 06:04 PM   #3
snatale1
Member
 
Registered: Aug 2003
Location: Richmond, Virginia, US
Distribution: Ubuntu 20.04 / Manjaro
Posts: 439

Original Poster
Rep: Reputation: 48
thats what I was hoping to do, but it doesn't come in rpm format more like a win installer. using gnome
 
Old 08-26-2003, 06:23 PM   #4
rahulsundaram
Member
 
Registered: May 2003
Location: India
Distribution: Knoppix, RedHat
Posts: 246

Rep: Reputation: 30
hi

hi type preferences:/// in nautilus and check whether you have any related icons

i am not familiar with how you modify menus in gnome but everything is stored under .gnome(dot gnome- hidden directory) inside your home directory. you might be able to poke around and change the file. this is not recommonded unless you are familiar.

anyway you dont need to use the mozilla installler from mozilla.org.you can install the stuff as rpm from freshrpms.net. if you have installed apt4rpm

just type apt-get install mozilla will do it for you. i recommed mozila firebird which is faster and has more features

i recom

regards
rahul sundaram
 
Old 08-27-2003, 12:09 AM   #5
Saraev
Member
 
Registered: Apr 2002
Location: Los Gatos, CA
Distribution: boring redhat 9
Posts: 163

Rep: Reputation: 30
(stripped from a tutorial I wrote on my website)

First, pop a terminal and become root. Go to /usr/share/applications. Create a file ending in .desktop and being somewhat descriptive of the program. For this example, lets create a menu entry for Al's MSN Messenger, a nice little app that looks and feels just like the windows version of MSN Messenger. I looked at some of the other files, and followed their naming convention. I called my new file net-amsn.desktop. Let's get into the guts of what goes in there.

[Desktop Entry]
Name=MSN Messenger <-- Name for the menu entry.
Comment=MSN Messenger <-- The tooltip text.
Exec=/home/username/msn/amsn <-- path to the executable file
Icon=/home/username/msn/icons/48x48/amsn.png <-- path to it's icon file
Info=Messenger
Terminal=false <-- run from a terminal?
Type=Application
Categories=Application;Network;X-Red-Hat-Base
Encoding=UTF-8

That should suffice with the explanations, almost. One line to pay close attention to is the Categories line.
"Application" tells the system that this goes in the programs menu. "Network" puts it into the Internet sub-menu. "X-Red-Hat-Base" puts it directly under the Internet menu. If you leave out X-Red-Hat-Base, it will go into the "More Internet Apps" submenu. I personally don't like to have a second group for "non redHat apps" in my menu.

That's it. Save the file, then click on your menu. Notice your new entry. Now look at some of the other files and have fun.

I'm sure there are other ways of doing it though.
 
Old 09-05-2003, 01:58 AM   #6
aokawa
LQ Newbie
 
Registered: Sep 2003
Posts: 8

Rep: Reputation: 0
it was not right solution

Hi Saraev,
Are you sure your guide, Ive tried to do it but it didnt work,
I couldnt see my new item in Gnome Main menu
 
  


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
editing menus in gnome 2.8 yamokojc Linux - General 2 04-13-2006 12:41 PM
Editing the GNOME menus General SUSE / openSUSE 10 11-21-2005 06:58 PM
App locations Where do they go?? mcgrath0087 Linux - Newbie 2 02-14-2004 09:10 PM
editing menus apberzerk Linux - General 0 09-27-2003 09:25 PM
Editing menus appler Linux - Newbie 4 04-19-2003 08:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:01 AM.

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