Changing KDE 3.2 menus

David Harel hareldvd at ergolight-sw.com
Tue Mar 23 11:55:05 GMT 2004


I edit the menu files manually. I use RH9 and the files that have to be 
edited are:

   1. /etc/xdg/menus/applications.menu which is an XML file that I edit
      using Quanta Plus but you can use any XML editor provided you use
      the correct dtd file (attached). Make sure every menu entry here
      will have a uniqu category rule.
   2. The .directory files in /usr/share/desktop-directories.
   3. The .desktop files in /usr/share/applications/ and below
      (sometimes other desktop files are included, you can see which
      files are included in the applications.menu XML file). In the
      .desktop file it is important to assiciate the Category directive
      to the appropriate one in the XML file.

Also note that the changes do not take effect immediately. Sometimes you 
will have to logout other times you will have to remove the cache files 
in /var/tmp/kdecache-USERNAME.
If you made any changes in the menu using kmenuedit then those changes 
might conflict with the editing operations just described. I suggest 
that you undo all user level menu editing by simply removing all the 
files in ~/.config and ~/.local/share/applications

Installing KDE form PMSs will overwrite your changes. You'd better back 
them up.
I don't have experience with installing KDE from source, I intend to do 
it in a short while.

Waldo Bastian wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Mon March 22 2004 11:40, Philippe Hemmel wrote:
>  
>
>>How can I see the results of the applications.menu file update ?
>>    
>>
>
>Run kbuildsycoca (that should happen automatically already) and look at the 
>KDE menu in kicker.
>  
>
I did not understand what kbuildsycoca and kicker do. When I executed 
kicker on an su prompt I got a new desktop on top of mine - I hate it.

>Cheers,
>Waldo
>- -- 
>  
>
>^ bastian at kde.org | Is your software SUSE LINUX READY? | bastian at suse.com
>^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.2 (GNU/Linux)
>
>iD8DBQFAXsyRN4pvrENfboIRAo/tAJ9RDYp868IEVubg5a1q+k0PmD572gCghgZP
>sGzKHog50Q5CfIjtqli9K6o=
>=d5Lr
>-----END PGP SIGNATURE-----
>___________________________________________________
>This message is from the kde mailing list.
>Account management:  https://mail.kde.org/mailman/listinfo/kde.
>Archives: http://lists.kde.org/.
>More info: http://www.kde.org/faq.html.
>
>  
>

-- 
Thanks.

David Harel,

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

Home office +972 4 6921986
Fax:        +972 4 6921986
Cellular:   +972 54 534502
Snail Mail: Amuka
            D.N Merom Hagalil
            13802
            Israel
Email:      hareldvd at ergolight-sw.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde/attachments/20040323/030806aa/attachment.htm>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list