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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
How do you quickly put the items in the Kmenu in alphabetical order? In Windows you would right click on the menu and choose "Sort by name" but I don't see any such option in KDE Menu Editor. The items in my "System" submenu used to be alphabetically arranged. Thanks.
I'm not sure that you can. There are no obvious options in the K Menu editor or in the K Menu itself. (I could be wrong, but I couldn't find anything.) Of course, you can manually rearrange items, categories, and subcategories using the K Menu Editor without too much trouble.
It might be possible to write a script to automatically rearrange the order of items by scanning and rewriting the K Menu config file (though I don't know what that file is, nor do I know the first thing about it's format).
Last edited by TheMusicGuy; 10-15-2007 at 01:50 AM.
Unfortunately, it's not a file, but files. IIRC, at least 3 layers -- i.e. priorities -- of them. They point to each other, include each other, & supercede each other. A tangled web of XML.
This makes the system very flexible & powerful, but very, very hard to figure out. Go look at kde.org.
If you want to see why I threw up hands when I last looked, start w/ these:
~/.config/menus/ -- esp.
~/.kde/share/config/ -- esp.
The other day I deleted some config-related files and managed to seriously mess up my global keyboard shortcuts and erase all custom K Menu entries. It effectively filtered-out anything that wasn't added by a package, etc. That makes me think that manual amendments (I.E. any icons you create or move, or "tweak" through K Menu Edit) are "superimposed" on top of another menu to create the menu that you see in the K Menu. So, yeah, there's definitely some kind of weird hierarchy going on.
I don't remember exactly what I deleted. I was trying to forcibly remove a few rogue icons from the Quick Launcher that kept randomly popping up again after deleting them, even though their respective icons in the K Menu no longer existed.
I hate to say it, but I kind of wish the K Menu and Quick Launcher worked more like the Window$ start menu. (eg. icons in the start menu (K Menu) correspond to nothing more than shortcuts (.lnk or .desktop files) in a folder.) Having all these config files is confusing.
Whether you call it "superimposed", "included", "merged", or talk about "levels", the (current [XML]) KDE menuing system is flexible, powerful, complicated, & almost impossible to trace back to the source text files.