Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
All my changes to the kde menu are ignored
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
Garak128
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2004
Posts: 93

PostPosted: Thu Mar 24, 2005 5:49 am    Post subject: All my changes to the kde menu are ignored Reply with quote

I use kmenuedit and kappfinder to edit the menu, changes are saved fine but they have no effect.

Relogging/booting doesn't change anything.

~/.config/menus/applications-kmenuedit.menu looks like it has the changes, but it doesn't follow that.
Infact if i delete that, it doesn't care, menu remains unchanged.

I thought maybe because I added the XDG keys mentioned in the gnome2.10 thread to stop gnome from messing up my menu did it. So i added them, and emerge gnome.. Gnome still had a messed up menu and crashed shortly after i tried to fix it..
But the kde menu is the same, and won't change no matter what.
I unset the XDG env values too. Even checked the xdg dirs and moved the menus away. no effect..

Argh,, why won't it update?
Back to top
View user's profile Send private message
Gentoo_You
n00b
n00b


Joined: 11 Dec 2004
Posts: 16
Location: Left Coast

PostPosted: Fri Mar 25, 2005 8:34 am    Post subject: Reply with quote

Bump!

I have the same problem with the KDE menueditor not saving changes, and I've searched here and googled without finding anything.

[~~My first post, I've found answers to all of my other gentoo problems here after hosing my system a few times! Thanks, it's a great forum. Maybe when 3.4 becomes stable for my system this will solve it?]
Back to top
View user's profile Send private message
zieloo
Veteran
Veteran


Joined: 28 Mar 2004
Posts: 1337

PostPosted: Fri Mar 25, 2005 8:40 am    Post subject: Reply with quote

The only cause of not saving the settings I can think of are wrong permissions...
Back to top
View user's profile Send private message
Gentoo_You
n00b
n00b


Joined: 11 Dec 2004
Posts: 16
Location: Left Coast

PostPosted: Fri Mar 25, 2005 9:29 am    Post subject: Reply with quote

zieloo wrote:
The only cause of not saving the settings I can think of are wrong permissions...


Hmm, I thought that would work also, but I changed the permissions correctly for ~/.config/menus/applications-kmenuedit.menu and it still doesn't save. Maybe this file is no longer used, from the upgrade from kde3.2 to 3.3 .... I'm now looking in the .kde symbolic link directory.
Back to top
View user's profile Send private message
Garak128
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2004
Posts: 93

PostPosted: Fri Mar 25, 2005 6:01 pm    Post subject: Reply with quote

Yea permissions didn't matter..
I set them to 777, no effect.

It's like it doesn't even read that file anymore.
Back to top
View user's profile Send private message
Caustiq
n00b
n00b


Joined: 29 Aug 2004
Posts: 57

PostPosted: Sun Mar 27, 2005 2:26 am    Post subject: Reply with quote

Does KMenuEdit-3.4.0 crash on Quit for anyone else? None of my other kde-3.4.0 apps do, but for some reason KMenuEdit does. And I remerged it with even the least aggressive cflags. I even went as far as remerging qt and all my other kde packages with very minimal cflags. It invokes kcrash every time I quit, but never during operation.

For the above posters, try running kmenuedit from konsole and see if there are related warnings.
Back to top
View user's profile Send private message
jub0r
n00b
n00b


Joined: 01 Feb 2003
Posts: 73
Location: Denver, Colorado

PostPosted: Mon Mar 28, 2005 3:01 am    Post subject: Reply with quote

yeah, it crashes for me every time it closes. I'm running 3.4.0 with the modular builds.

Now that i'm looking at it, it might have something to do with me not having arts. I'm doing a revdep-rebuild and see if that fixes it.
Back to top
View user's profile Send private message
ova
Retired Dev
Retired Dev


Joined: 06 Nov 2003
Posts: 120
Location: Russia, Moscow

PostPosted: Tue Mar 29, 2005 6:07 am    Post subject: Reply with quote

Guys!!! I solved this two problems!

1. To solve crash just see this bug:
https://bugs.gentoo.org/show_bug.cgi?id=87060

2. And to edit menu on the forum (see devsk's post) I found sollution.

Just create /etc/env.d/00xdgvars file:
Code:

XDG_DATA_DIRS=/usr/kde/3.4/share:/usr/share
XDG_CONFIG_DIRS=/usr/kde/3.4/etc/xdg:/etc/xdg


And then env-update and restart kde. Now I can edit my menu :)
Back to top
View user's profile Send private message
Garak128
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2004
Posts: 93

PostPosted: Tue Mar 29, 2005 11:16 am    Post subject: Reply with quote

That didn't help..
My kmenuedit didn't crash before anyways. If i just add something and exit/save, there is no output at all.

Sometimes if i add more stuff it spits out this
Code:
tj@Omega ~ $ X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  20
  Minor opcode:  0
  Resource id:  0x22003b4

tj@Omega ~ $


But it looks like its working otherwise.. The files do get updated with the changes. But the menu won't reflect that. I tried the patch anyways, no change.. I already had khotkeys emerged.

Already had the XDG in my env too.. Infact i think that's what caused the problem. Think they worked for gnome, tried it out as root and it had a somewhat sensible menu.. But i dunno how to edit gnomes menu to even test.

With or without the values, kde's menu is locked down,, won't change..
Back to top
View user's profile Send private message
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 647
Location: Los Angeles

PostPosted: Sat Sep 17, 2005 10:54 pm    Post subject: Same Problme Reply with quote

Has anyone solved this issue, my kmenuedit use to work, then for some reason it just stoped one day with the error

Code:

X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  20
  Minor opcode:  0
  Resource id:  0x2a00451


can someone please provide a working solution, i have tried the 00xdgvars solution, nothing.

BTW im using KDE 3.4.2 just the standard ebuild nothing funky

**UPDATE**

the following was test and worked

Code:

KDE has to set XDG_CONFIG_DIRS and XDG_DATA_DIRS in its env file:

cat /etc/env.d/46kdepaths-3.4

PATH=/usr/kde/3.4/bin
ROOTPATH=/usr/kde/3.4/sbin:/usr/kde/3.4/bin
LDPATH=/usr/kde/3.4/lib
CONFIG_PROTECT="/usr/kde/3.4/share/config /usr/kde/3.4/env /usr/kde/3.4/shutdown"
XDG_DATA_DIRS=/usr/kde/3.4/share:/usr/share
XDG_CONFIG_DIRS=/usr/kde/3.4/etc/xdg

after that run kbuildsycoca and your menus are fine again


i think the problem was root owned my /var/tmp/kdecache-kwhat/ksycoca
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