Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kde application menu, multiple users? [closed]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
k1ll1nt1m3
Apprentice
Apprentice


Joined: 02 Jun 2004
Posts: 196

PostPosted: Sun Jul 17, 2005 4:14 pm    Post subject: kde application menu, multiple users? [closed] Reply with quote

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
View user's profile Send private message
gentsquash
l33t
l33t


Joined: 03 Nov 2004
Posts: 753
Location: Still a Gentoo beginner.

PostPosted: Mon Jul 18, 2005 4:17 am    Post subject: Reply with quote

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
View user's profile Send private message
k1ll1nt1m3
Apprentice
Apprentice


Joined: 02 Jun 2004
Posts: 196

PostPosted: Mon Jul 18, 2005 11:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
gentsquash
l33t
l33t


Joined: 03 Nov 2004
Posts: 753
Location: Still a Gentoo beginner.

PostPosted: Tue Jul 19, 2005 1:45 am    Post subject: Reply with quote

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
Code:
<Separator/>

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
View user's profile Send private message
k1ll1nt1m3
Apprentice
Apprentice


Joined: 02 Jun 2004
Posts: 196

PostPosted: Wed Jul 20, 2005 12:38 am    Post subject: Reply with quote

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. :cry:
Back to top
View user's profile Send private message
jstead1
Guru
Guru


Joined: 01 Aug 2003
Posts: 427
Location: Oswego, NY where the snow is deep

PostPosted: Wed Jul 20, 2005 3:10 am    Post subject: Reply with quote

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
View user's profile Send private message
k1ll1nt1m3
Apprentice
Apprentice


Joined: 02 Jun 2004
Posts: 196

PostPosted: Wed Jul 20, 2005 11:31 pm    Post subject: Reply with quote

Thank you!!! That was it. I just copied my ~/.config/menu/applications-kmenuedit.menu and the ~/.local/shared/applications. :D Looks like it got most of the applications. Thanks again.
Back to top
View user's profile Send private message
k1ll1nt1m3
Apprentice
Apprentice


Joined: 02 Jun 2004
Posts: 196

PostPosted: Thu May 18, 2006 1:51 am    Post subject: Reply with quote

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
View user's profile Send private message
k1ll1nt1m3
Apprentice
Apprentice


Joined: 02 Jun 2004
Posts: 196

PostPosted: Wed Jun 14, 2006 2:44 am    Post subject: Reply with quote

I must have missed something. I tired it again and it worked fine. Maybe I missed some permissions.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum