LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Editing App locations in start menus (https://www.linuxquestions.org/questions/linux-newbie-8/editing-app-locations-in-start-menus-85985/)

snatale1 08-26-2003 03:17 PM

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?

rahulsundaram 08-26-2003 05:21 PM

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

snatale1 08-26-2003 06:04 PM

thats what I was hoping to do, but it doesn't come in rpm format more like a win installer. using gnome

rahulsundaram 08-26-2003 06:23 PM

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

Saraev 08-27-2003 12:09 AM

(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. :)

aokawa 09-05-2003 01:58 AM

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


All times are GMT -5. The time now is 08:16 PM.