View previous topic :: View next topic |
Author |
Message |
k1ll1nt1m3 Apprentice
Joined: 02 Jun 2004 Posts: 196
|
Posted: Sun Jul 17, 2005 4:14 pm Post subject: kde application menu, multiple users? [closed] |
|
|
I have installed some applications and kde menu update did not add them to the menu list. I manually added them in one user profile. Is there anyway I can copy that menu to other users? I have tried copying my .kde3.4 and .config but those are not the configs for the menu. Thanks
Last edited by k1ll1nt1m3 on Wed Jun 14, 2006 2:44 am; edited 3 times in total |
|
Back to top |
|
|
gentsquash l33t
Joined: 03 Nov 2004 Posts: 753 Location: Still a Gentoo beginner.
|
Posted: Mon Jul 18, 2005 4:17 am Post subject: |
|
|
On my system, file
Code: | ~/.config/menus/applications-kmenuedit.menu |
appears to hold modifications to the K menu that were done with
kmenuedit (K -> Settings -> Menu Editor). I don't know where
kappfinder (K -> Settings -> Menu Updating Tool) writes, but I'd
like to know.
If you find out more detailed information on the KDE menus, I
would appreciate your posting here on your thread. _________________ Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida |
|
Back to top |
|
|
k1ll1nt1m3 Apprentice
Joined: 02 Jun 2004 Posts: 196
|
Posted: Mon Jul 18, 2005 11:23 pm Post subject: |
|
|
I thought it would do it as well. Code: | ~/.config/menu/applications-kmenuedit.menu | I couldnt seem to get it to work for me. Im going to try it one more time just to make sure.
edit: I tried it again. No luck. You would think it would be the correct file. It shows the programs listed in the menu. |
|
Back to top |
|
|
gentsquash l33t
Joined: 03 Nov 2004 Posts: 753 Location: Still a Gentoo beginner.
|
Posted: Tue Jul 19, 2005 1:45 am Post subject: |
|
|
What failed? If user tux runs KDE, then modifies the menu using
K -> Settings -> Menu Editor and then uses
Code: | File -> New Separator (then) File -> Save |
to put a separating line in the menu, do you see a
line inserted into
Code: | ~tux/.config/menus/applications-kmenuedit.menu |
? _________________ Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida |
|
Back to top |
|
|
k1ll1nt1m3 Apprentice
Joined: 02 Jun 2004 Posts: 196
|
Posted: Wed Jul 20, 2005 12:38 am Post subject: |
|
|
Im a little lost. I have edited my menu to add the programs that menu update missed. I am trying not to open every profile and edit their menus. I was wondering if there was a way to copy a menu I have already edited to other profiles.
I have copied my applications-kmenuedit.menu and replaced theirs with mine. Even after changing the owner and stuff, it doesnt change their menus. |
|
Back to top |
|
|
jstead1 Guru
Joined: 01 Aug 2003 Posts: 427 Location: Oswego, NY where the snow is deep
|
Posted: Wed Jul 20, 2005 3:10 am Post subject: |
|
|
I believe kde is using the freedesktop standard for menus now (at least partially)
The standard looks in various places for .desktop files.
Information in the .desktop files, along with an xml file determines where the menu item gets listed.
For instance an item may be shown only in Gnome, only in KDE, or both.
In any case, currently, for KDE 3.4, the directory for .desktop files for KDE apps is:
/usr/kde/3.4/share/applications/kde
for apps in general, it is:
/usr/share/applications
For specific users the .desktop files go in
~/.local/share/applications
If there is a new directory in the menu for a user it goes in:
~/.local/share/desktop-directories
Finally modifications to the xml (it is kind of hierarchical) go in:
~/.config/menus/applications-kmenuedit.menu
So in order to transfer one users local changes to the menu, to another user you must copy the .desktop file, possibly a .directory file, and portions of the xml from ~/.config/menus/applications-kmenuedit.menu
If you want the menu item to be used for all users, it would be easier just to drop it into /usr/share/applications
If it has the right info, it will show up in the appropriate directory in the menu. If not, I think it shows up in the lost and found folder in the menu.
More info on the freedesktop standard for menus can be found here _________________ jim |
|
Back to top |
|
|
k1ll1nt1m3 Apprentice
Joined: 02 Jun 2004 Posts: 196
|
Posted: Wed Jul 20, 2005 11:31 pm Post subject: |
|
|
Thank you!!! That was it. I just copied my ~/.config/menu/applications-kmenuedit.menu and the ~/.local/shared/applications. Looks like it got most of the applications. Thanks again. |
|
Back to top |
|
|
k1ll1nt1m3 Apprentice
Joined: 02 Jun 2004 Posts: 196
|
Posted: Thu May 18, 2006 1:51 am Post subject: |
|
|
Seems KDE has changed or I am doing some thing wrong. I have tried the above and had no luck. An ideas on how to do this now? Or is there a way to share one config between all users? |
|
Back to top |
|
|
k1ll1nt1m3 Apprentice
Joined: 02 Jun 2004 Posts: 196
|
Posted: Wed Jun 14, 2006 2:44 am Post subject: |
|
|
I must have missed something. I tired it again and it worked fine. Maybe I missed some permissions. |
|
Back to top |
|
|
|