This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE4.2 keybindings problems

Tags: None
(comma "," separated)
adamk
Registered Member
Posts
8
Karma
0

KDE4.2 keybindings problems

Sat Feb 21, 2009 9:39 pm
I have an odd problem... I have recently installed KDE4.2 on two separate FreeBSD machines. On one machine, everything is working great. On the other, there are no KDE Components listed in the drop down in systemsettings --> keyboard & mouse --> Global Keyboard Shortcuts, and all my keybindings are all screwy. I've even gone as far as removing all KDE4 ports and reinstalling them.

I've also done a diff on 'find /usr/local/kde4 | sort' between the two machines and come up with nothing, so all the same files are installed. Of course, I guess some of those files could be corrupted. I've also rsync'ed the entire ~/.kde* structure from the working machine to the non-working machine, but still the same results.

*However*, if I use this little script to start KDE, keybindings work as expected, and all the regular KDE components are listed in that section of systemsettings:

Code: Select all
#!/bin/sh
xbindkeys
/usr/local/kde4/bin/akregator &
/usr/local/kde4/bin/kwin &
/usr/local/kde4/bin/plasma &
/usr/local/kde4/bin/kmix &
/usr/local/kde4/bin/klipper &
/usr/local/kde4/bin/korgac -icon korgac &
/usr/local/bin/screenlets-daemon &
/usr/local/bin/kde4/krunner &
exec xscreensaver -no-splash


Any ideas what's going on?

Adam
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: KDE4.2 keybindings problems

Sun Feb 22, 2009 8:35 am
Try rebuilding the Sycoca.

kbuildsycoca4 --noincremental


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
adamk
Registered Member
Posts
8
Karma
0

RE: KDE4.2 keybindings problems

Sun Feb 22, 2009 12:37 pm
Alright, I've given that a shot, but the same thing is still happening: no components listed, and broken keybindings.

Adam
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: KDE4.2 keybindings problems

Mon Feb 23, 2009 5:44 am
This is unusual. What is the output of this command in Konsole?
Code: Select all
echo $KDEDIRS

Last edited by bcooksley on Mon Feb 23, 2009 5:45 am, edited 1 time in total.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
adamk
Registered Member
Posts
8
Karma
0

RE: KDE4.2 keybindings problems

Mon Feb 23, 2009 9:12 am
bcooksley wrote:This is unusual. What is the output of this command in Konsole?
Code: Select all
echo $KDEDIRS



It's unset, on both the machine that works properly and the one that doesn't.

Adam
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: KDE4.2 keybindings problems

Mon Feb 23, 2009 9:55 am
Does this issue happen under a new user on the affected machine?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
adamk
Registered Member
Posts
8
Karma
0

RE: KDE4.2 keybindings problems

Mon Feb 23, 2009 10:56 am
Yes it does. I should have mentioned that earlier since that was one of the first things I tested. I also completely removed ~/.kde* and tried (even before trying a new user) and had the same results.

Adam
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: KDE4.2 keybindings problems

Tue Feb 24, 2009 7:27 am
Are all the kdelibs, kdebase-runtime, kdebase-workspace packages installed correctly and fully updated? Also, are the permissions on the /usr/local/kde4, /etc/xdg, /etc/kde4 folders all correct ( including their subfolders )?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
adamk
Registered Member
Posts
8
Karma
0

RE: KDE4.2 keybindings problems

Tue Feb 24, 2009 11:02 am
I have kdelibs-4.2.0, kdebase-4.2.0, kdebase-runtime-4.2.0_1, and kdebase-workspace-4.2.0 installed (plus other kde 4 packages, of course). They built from source without any problems. I've done a quick look under /usr/local/kde4 (/etc/xdg and /etc/kde4 do not exist, but there is a /usr/local/kde4/etc directory structure). Every file I've seen is 644 and every directory I've seen is 755, owned by root:wheel, which seems normal to me.

Something odd which seems to be related and might point this investigation in the right direction... On the system that is having this problem, when I start a kde session and then try to close a window with alt+q (my normal keybinding, which works if I start a session with that script above), not only does the window not close, but it's as if the alt key gets stuck. From that point on, I can only move windows with my mouse. Any time I click anywhere, on any window, the cursor changes and moving the mouse around causes the window to move...

Adam
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: KDE4.2 keybindings problems

Wed Feb 25, 2009 3:07 am
What is the output of this command?
Code: Select all
which startkde


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
adamk
Registered Member
Posts
8
Karma
0

RE: KDE4.2 keybindings problems

Wed Feb 25, 2009 10:23 am
/usr/local/kde4/bin/startkde
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: KDE4.2 keybindings problems

Thu Feb 26, 2009 4:12 am
What is the output of these commands?
Code: Select all
export | grep -i xdg
export | grep -i kde


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
adamk
Registered Member
Posts
8
Karma
0

RE: KDE4.2 keybindings problems

Thu Feb 26, 2009 9:36 am
Code: Select all
[ adamk@sorrow - ~ ]: export | grep -i xdg
declare -x XDG_CONFIG_DIRS="/usr/local/kde4/etc/xdg::/etc/xdg:/usr/local/etc/xdg:/usr/local/etc/xdg/xfce4"
declare -x XDG_DATA_DIRS="/usr/local/kde4/share::/usr/share:/usr/local/share:/usr/local/share/gnome"
declare -x XDG_SESSION_COOKIE="db20cf75ae924abd904279af497cf990-1235641192.987077-774460900"
[ adamk@sorrow - ~ ]: export | grep -i kde
declare -x DESKTOP_SESSION="kde"
declare -x GTK2_RC_FILES="/etc/gtk-2.0/gtkrc:/home/adamk/.gtkrc-2.0::/home/adamk/.kde4/share/config/gtkrc-2.0"
declare -x GTK_RC_FILES="/etc/gtk/gtkrc:/home/adamk/.gtkrc::/home/adamk/.kde4/share/config/gtkrc"
declare -x KDE_FULL_SESSION="true"
declare -x KDE_MULTIHEAD="false"
declare -x KDE_SESSION_UID=""
declare -x KDE_SESSION_VERSION="4"
declare -x PATH="/usr/local/kde4/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/cairo/bin:/home/adamk/bin:/usr/lib/oss/bin:/usr/lib/oss/bin"
declare -x QT_PLUGIN_PATH="/home/adamk/.kde4/lib/kde4/plugins/:/usr/local/kde4/lib/kde4/plugins/"
declare -x XCURSOR_PATH="/usr/local/kde4/share/icons::~/.icons:/usr/share/icons:/usr/share/pixmaps:/usr/X11R6/lib/X11/icons"
declare -x XDG_CONFIG_DIRS="/usr/local/kde4/etc/xdg::/etc/xdg:/usr/local/etc/xdg:/usr/local/etc/xdg/xfce4"
declare -x XDG_DATA_DIRS="/usr/local/kde4/share::/usr/share:/usr/local/share:/usr/local/share/gnome"


I am using two monitors, but one screen. Could the KDE_MULTIHEAD be a problem?

Adam
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: KDE4.2 keybindings problems

Thu Feb 26, 2009 9:45 am
Can you try and shrink down the list of applications you launch in order to get a session with working key bindings until you discover which ones make the session work?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
adamk
Registered Member
Posts
8
Karma
0

RE: KDE4.2 keybindings problems

Thu Feb 26, 2009 10:24 am
Yeah, I'll give that a shot. It may take a day or two as I'm pretty busy at work, but I'll let you know what I find out.


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]