Need help on creating custom mouse menus in KDE 3.x
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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.
Need help on creating custom mouse menus in KDE 3.x
Running KDE 3.x on RHEL 4
I would like to create a custom mouse menu that can incorporate existing items that are in the desktop menu. I would like the menu to have submenus and dividers as well.
One can select custom menus for mouse buttons by right clicking on desktop->Configure Desktop->Behavior-->Mouse Button Actions. A few things that are frustrating me are:
1)You can only edit the custom menus. Where are the Desktop Menu files located? Can they be edited to users specifications?
2)You can not edit an item in the menu after it is created? The only option I have found is to remove the item and create a new one?
3)I found the location for kdesktop_custom_menu1 in:~/.kde/share/config/
Example contents of the file are:
Thanks tradegar, I have seen this documentation before. Do these service menus effect desktop menus or just the konqueror application? I am trying to locate the menu config files for creating the default desktop menus in KDE?
I am looking for KDE menu configuration files that look similar to code displayed below. This code comes from a .pmwmrc file. Is this possible with KDE?
I am looking for KDE menu configuration files that look similar to code displayed below. This code comes from a .pmwmrc file. Is this possible with KDE?
The menu you get with a R-click on the KDE3 desktop has nothing to do with the menu you get from L-clicking on the "K" on your Panel.
Please re-read my post at #5.
If this is a different question, please start a new thread for it.
Most definitely concerned about mouse buttons not the K menu button. I had a middle menu button configured using .dt/ profile in the past. The system I was working from had a mix of unix and linix setup in the profile. One was able to configure the CDE enviroment to provide such enhancements.
Here is an example of the middle mouse button I had in the .dt/ directory:
I had a middle menu button configured using .dt/ profile in the past. The system I was working from had a mix of unix and linix setup in the profile.... One was able to configure the CDE enviroment to provide such enhancements.
This thread has lost its focus.
From your first post I thought you were referring to RHEL Linux and KDE3. Now you are referring to "a mix of unix and linix" and CDE.
You have completely lost me.
Perhaps it is time to start a new thread, with an appropriate title, the complete details of your exact OS ("unix" - which "unix"? "linix" - which "linux" [and I suppose you mean "linux", not "linix"]) and your desktop (KDE, CDE, whatever, but please say), and the question(s) you wish to be answered.
Sorry, if I have caused confusion on this subject.
I am looking for documentation on how to edit the Right Mouse Button (RMB) menu in the KDE 3.x environment. The only tools I have been able to find are the option provided on the "kcontrol" gui->Desktop->Behavior tab. This can also be accessed by right clicking on background->Configure Desktop->Behavior. At the bottom of the gui are options for setting mouse button actions. The pull down menus here have options for several built in menus and two custom menus.
1) Where are these built in menus defined? Can they be edited to users specifications?
2) The custom menus create files located in
How do you edit this to have icon you want, be able to place sub-menus, add horizontal separators?
I was hoping there was a way to create menus similar to what is in post #8. This file is used to create a custom menu in the HP-UX, Solaris CDE environment.
There is some documentation for Kmenu editing. I believe this is the "start menu" located at bottom left of a standard desktop. Konqueror service menus, these are application specific? I simply want info for making custom mouse button menus in KDE.
The menu you get from R-clicking the KDE 3 Desktop (The "Desktop Menu" [ Create New... Run Command... Etc]) is not configurable, and the menu structure and entries are not stored in a handy file. The KDE documentation says that this menu is not editable and "The exact content of the menu varies depending on the current status of KDE."
So, basically, this menu is built-in to KDE, and you cannot change it without altering the KDE source code and recompiling KDE.
I have no idea why the KDE3 developers decided this should be the way to do it, but they did.
Thanks for you help. It disappoints me that this cannot be easily done. I have posted a similar question in the KDE community forum. Unfortunately, it appears to have fallen on deaf ears. I have not tried using KDE4. Does it provide options for doing this? Or Gnome?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.