LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 12-04-2010, 01:22 AM   #1
josephj
Member
 
Registered: Nov 2007
Location: Northeastern USA
Distribution: kubuntu
Posts: 73

Rep: Reputation: 28
Adding and moving submenus in kmenuedit (kde4)


kmenuedit is a cool piece of software, but it has one maddening feature.

When you add a new submenu with nothing selected, it always gets added at the top of the menu. When you subsequently try to move it down, each successive subfolder automatically opens up and it's not possible to keep the new submenu at the same level as the other submenus unless you move it below an item that is not a submenu. This same issue also prevents you from rearranging the subfolders into another order.

1) Anybody know how to deal with this?

2) Is there a way to edit some configuration files directly to get the desired results?

I did some digging and found that the menu itself is stored in $HOME/.config/menus/applications-kmenuedit.menu . I tried editing that file directly with some success, but ran into problems for two reasons. A) The file is part of a larger system working with other files in $HOME/.config/menus/applications-merged and in $HOME/.local/share/desktop-directories and B) re-invoking kmenuedit afterward undoes some of the changes as if the file is being automatically rebuilt from another source.

Information on the menu file itself is at

http://standards.freedesktop.org/men...-spec-1.0.html

3) Is there another program I can use to edit the menu that doesn't have this problem?

4) Is there a replacement menu system I can use?

I am currently using kde 4.3.5 (kubuntu karmic), but this problem goes all the way back to dapper.

As an aside, using kmenuedit gradually makes the menu file very complicated with lots of sections of code marked as deleted and/or renamed. It doesn't just keep the code that works. It can also create directories and files in other places (see B above) that are no longer used.

TIA

Joe
 
Old 12-04-2010, 05:19 PM   #2
Latios
Member
 
Registered: Dec 2010
Distribution: Arch
Posts: 115

Rep: Reputation: 21
In KDE 4.6 beta1 if you drag and drop the submenu over the leftmost line of the tree (the one with + - expansions) then it will remain in top level, otherwise it will go into lower level

It also seems that if you drop it quickly it is going to remain in top level, if you delay then it will go into lower level

Last edited by Latios; 12-04-2010 at 05:22 PM.
 
Old 12-05-2010, 03:35 AM   #3
josephj
Member
 
Registered: Nov 2007
Location: Northeastern USA
Distribution: kubuntu
Posts: 73

Original Poster
Rep: Reputation: 28
Thanks

Thanks. I'll try that in 4.3.5. My touchpad is very flakey so it's very hard to do things quickly.

Joe
 
Old 12-05-2010, 05:03 AM   #4
josephj
Member
 
Registered: Nov 2007
Location: Northeastern USA
Distribution: kubuntu
Posts: 73

Original Poster
Rep: Reputation: 28
Solved

That works in kde 4.3.5 too. You just select the submenu you want to move and then keep the mouse cursor at the far left of the panel and don't stop too long anywhere before dropping the submenu where you want it.

I'm still amazed at the mess that gets left in the menu file when you move things around, etc.. It's gross!

Joe
 
  


Reply

Tags
kde, menuedit


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] KDE4 Application adding: How to do it manually? gankoji Linux - Software 5 11-02-2009 02:47 AM
Moving to Kde4 in Current TNWestTex Slackware 4 05-20-2009 12:42 PM
kde4 issues: adding widgets to panel & desktop question tferero Linux - Newbie 2 07-28-2008 08:56 PM
Moving the Panel bar in KDE4 Chewie71 Linux - Desktop 3 05-02-2008 09:05 AM
What is the procedure for adding hard drives and moving things around? kuplo Linux - General 2 08-09-2006 04:31 AM


All times are GMT -5. The time now is 10:56 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration