Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.