SlackwareThis Forum is for the discussion of Slackware Linux.
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.
There is less than 24 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
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.
Originally posted by acidjuice sure about this?? i thought menu editing had been solved with v2.8 on...
ok i guess i can start back developing my open source gnome menu editor...
woodsb02 is correct, for some reason the GNOME devs decided we didn't need to edit our own menus as we had in the past. However you can manually edit them, you just have to track them down. Again, as woodsb02 suggested, looking in /usr/share/applications is a good place to start.
Originally posted by monkeyking Hi I don't get it.
What does the files in /usr/share/applications contain, and should I edit them.
Thanks in advance
Please don't take this the wrong way, but I wish someone had told me this very thing when I first started using Slackware.
If you don't know what they are and/or don't know what they do, then no you shouldn't edit them.
I hate to say anything that sounds like RTFM, but before you go editing startup/menu files you need to know something about them.
Now having said that, the files in /usr/share/applications are .desktop files. They are the "shortcuts" to the actual programs. They contain information about what file to run, the name that is displayed by the "shortcut", and the "hover text" that displays when you hover your mouse over it. Here is an example of a .desktop file on my PC:
Name[en_US]=Gnu Privacy Assistant
Comment[en_US]=Gnome/GTK frontend for Gnu Privacy Guard
Most of it is pretty straight forward, but there's really not a whole lot you want to mess with in actuallity. To make any difference in the menu entries, you will need to edit .xml files that, to be honest with you, I haven't even figured out yet with 2.10. But I'm working on it .
Of course I'm making the assumption, from the question asked, that you are "fairly" new to Slackware. If that is not the case then please accept my apology.
this file contained the main info (i won't explain it here though).
though on v2.10 the structure has gone wild, using the XDG menu standard. the file here above has completely disappeared, leaving only the .desktop entries (as explained here above) and the .directory ones (same, but for the directories information).
i've contacted the gnome developers and got as answer that 'Be aware though, that there are at least two more people working on menu editors right now ' as you can see from here.
well, me, i stopped programming and started waiting.
Originally posted by zborgerd
We (Heh... The Dropline GNOME developers) haven't decided which editor that we will include, but a lot of people have been requesting that we add something (since GNOME.org decided to exclude it).
as per the forum link i posted here above, a gnome developer told me that they are working on something right now.
since i already have started on working to a menu editor, but have stopped right now awaiting further gnome notice, please let me know if an open source menu editor targeted for dropline slack could be of any interest. no promises here since i'm overloaded with work, but if there's an interst i'll try doing my best.
Originally posted by reddazz I think you should continue development of you menu editor because some people may find it useful regardless of what the GNOME devs decide to do.
well, the problem is that since GNOME menus are switching so much (the config files change, the xml of directory structure change,...) i thought i might just as well wait what was going to happen before i have to continuously depend on gnome's choices.
if anyone is interested i might as well post pretty easily and fast a GUI menu creator to ADD new menu entries to the current v2.10. however, no real editing of directory structure is currently possible.