LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem with adding to menu in RH9, GNOME (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-adding-to-menu-in-rh9-gnome-66300/)

elautobus 06-18-2003 01:52 AM

Problem with adding to menu in RH9, GNOME
 
I'm running RH9 and GNOME, and I want to add a program to a submenu from the main menu. I go into the main menu, then to the submenu, and right click. It gives me the option "Add a new item to this menu." Then it gives me the Create Launcher window. I add the full path and program name in the Command line, as well as adding a title on the Name line. When I click ok, however, I get this error:

Cannot save menu item to disk

Details: Error writing file 'applications:/Internet/Edonkey2000 GUI.desktop': Unsupported operation

I've tried doing this as both a regular user and root. Is there something else I'm doing wrong?


Just now I was going in and looking at the properties of some of the items that were already in the menu, for example the properties of gimp. When I click close in the Launcher Properties window, I get this error:

Details: Error writing file 'applications:/Graphics/gnome-gimp.desktop': Read-only file system

I guess this gives me a little more info into what the problem is, but I still don't know how to remedy it! Any help would be appreciated.

MArgRes 06-18-2003 02:04 PM

It sounds like the partition that it needs to use is mounted read-only. You can see how they are mounted by just typing the 'mount' command. If it is mounted read-only (ro), then you need to remount it read-write (rw). Something like this:

mount -o remount,rw <partition> <mount-point>

If that partition is set to mount read-only at boot, you'll have to do this every time you want to write to it. It would probably be easiest to change the /etc/fstab file so that it's mounted read-write at boot.

Hope that helps...

:)

elautobus 06-18-2003 04:00 PM

thanks for the tip, but I don't think that's it. I went to console and typed mount, and this is the listing I got:
/dev/hda5 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda2 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)

so it looks like all of the partitions are in read-write mode. I also made sure that I had permissions set so that the folders can be written to, but even as root I cannot seem to add items.

mhearn 06-19-2003 03:48 AM

Menu editing is disabled in Red Hat 9, due to the editing code lagging behind the latest design. HP is working on it right now, should be available in the next version.

If you are desperate to edit the menus there is a workaround I can show you, which will re-enable it. Be warned that there are reasons it is switched off however.

voodoochild117 06-19-2003 10:21 AM

You can edit menu's in RH9
 
You can enable menu editing in Red Hat 9. Log in as the root user. Then goto the directory /etc/gnome-vfs-2.0/modules. In that directory, overwrite the file default-modules.conf with default-modules.conf.with-menu-editing. Now you should be able to right click in the menus and add what ever you want.


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