LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 05-12-2004, 07:14 PM   #1
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
Changing GNOME Menu Structure


I apologize in advance for the length of this... I tend to be wordy...

I've searched and searched, and can't quite find the answer to what I want to do. I'm hoping someone here will be able to help out.

I've got two machines: one running Red hat 8 and one running Red hat 9. For both, I'd like to change the organization of Red Hat's menu. I'm trying to accomplish two things:[list=1][*]A menu on equal level with "applications"[*]User modifiable Menu[/list=1]
To clarify what I mean by "on equal level" I need to describe what I did to the default configuration. I added a "main menu" panel by right-clicking the default panel that Red hat creates (the default panel is a side panel located at the bottom of the screen). The Main Menu panel resides at the top of the screen and is relatively thin. I hope that's enough to clear up where I am now; I can try to elaborate more if necessary. Anyway, on the main menu panel, there's the normal Red Hat menu that drops down a list of applications. Immediately next to it is another drop-down menu titled "Actions". I want to create yet another menu next to that to be a similar drop-down list. That's what I mean when I say "on equal level"; I want a separate drop down menu (not a drawer) and I do not want it contained within the standard applications menu.

I'd also like to have it user-customizable; a personal menu of sorts. As I understand it, the main application menu is read-only for all users, and to enable users to modify it would give them the ability to just trash everything. I want to leave the original menu as-is as a backup in case they screw something up.

======================================================

So now, on to what I've tried. My head is still aching after beating my head against a wall, because it seems there are two collections of GNOME menu files in a Red Hat distribution. There are files as specified by GNOME documentation in /usr/gnome/etc/gnome/-vfs-2.0./vfolders and /usr/gnome/share/gnome/vfolders. However, there are also similar/identical copies of these files in /etc/X11/desktop-menus/ and /usr/share/desktop-menu-files. I'm assuming the second group of files/directories are in place to support Red Hat's Bluecurve thing. My editing attempts were wasted for the GNOME-proper locations. There seemed to be no effect. My changes in the Red Hat areas did have an effect, but caused the panel to crash. I manually edited the applications.menu file and included a new <Folder> description at the same hierarchical level as the applications entry. That killed the entire menu. So I assume the file format expects only one top-level folder definition, and my new one overwrote the regular one (just a guess). I made the appropriate supporting files (*.directory for instance). I just can't figure out how to tell the system what I want to do, if it's even possible.

So now, I've put the file back as it was originally and everything is working as it was. Any help/pointers would be greatly appreciated.

Last edited by Dark_Helmet; 05-12-2004 at 07:15 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
Modifying Menu Structure in Fedora 2 ArthurDent Linux - Newbie 1 06-11-2004 07:43 AM
Add KDE menu in Gnome start menu melinda_sayang Slackware 2 03-06-2004 05:26 AM
KDE applications menu replaced by Gnome style menu denh0 Mandriva 2 11-24-2003 12:14 AM
Adding a KDE menu to gnome menu Projekt2 Slackware 3 10-25-2003 01:47 PM
How to add KDE menu items to Gnome menu... QtCoder Linux - General 4 10-05-2003 01:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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