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

Xmodmap Settings not working in KPart Apps

Tags: None
(comma "," separated)
onguarde
Registered Member
Posts
21
Karma
0
Hi!

I've set up my Xmodmap settings as follows,

! Caps_Lock
keycode 66 = Mode_switch

! Home Arrow Keys
keycode 31 = i I Up
keycode 44 = j J Left
keycode 45 = k K Down
keycode 46 = l L Right

keycode 30 = u U Page_Up
keycode 32 = o O Page_Down

keycode 43 = h H Home
keycode 47 = semicolon colon End


This basically allows me to have the arrow keys in the home row simply by depressing my capslock key.

This works fine for basically everything except kpart applications like kate or kwrite. It even works fine for the rest of kde like dialog boxes.

Any ideas?

Thanks in advance!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Does this work correctly in Konqueror when browsing web sites? Another thing would be to check using "xev" that the correct keycodes are being output on both press and release.

If Konqueror works, and the codes output are the same, then you need to file a bug aganist Kate.
If Konqueror doesn't work, and the codes output are the same, then you need to file a bug aganist KParts.
If the codes output do not match, then you need to file a bug aganist Xmodmap.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
onguarde
Registered Member
Posts
21
Karma
0
xev output

Pressed and released the "left" arrow key

KeyPress event, serial 34, synthetic NO, window 0x5600001,
root 0xb1, subw 0x0, time 35358143, (18,169), root:(534,768),
state 0x0, keycode 113 (keysym 0xff51, Left), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x5600001,
root 0xb1, subw 0x0, time 35358238, (18,169), root:(534,768),
state 0x0, keycode 113 (keysym 0xff51, Left), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

Pressed and released the modifier version
KeyPress event, serial 34, synthetic NO, window 0x5600001,
root 0xb1, subw 0x0, time 35362285, (18,169), root:(534,768),
state 0x0, keycode 66 (keysym 0xff7e, Mode_switch), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x5600001,
root 0xb1, subw 0x0, time 35362750, (18,169), root:(534,768),
state 0x2000, keycode 44 (keysym 0xff51, Left), same_screen YES,
XKeysymToKeycode returns keycode: 113
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x5600001,
root 0xb1, subw 0x0, time 35362838, (18,169), root:(534,768),
state 0x2000, keycode 44 (keysym 0xff51, Left), same_screen YES,
XKeysymToKeycode returns keycode: 113
XLookupString gives 0 bytes:
XFilterEvent returns: False

From the above, I think xmodmap is giving correct outputs.

Does this work correctly in Konqueror when browsing web sites?

In konqueror's dialog boxes, like the search engine bar or address bar, it works fine. Is this what is meant?

So the problem is with Kpart I guess?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I meant in the web browsing component, such as the Google search bar.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
onguarde
Registered Member
Posts
21
Karma
0
Yes it works fine there.

Only in kpart stuff I guess.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
You need to file a bug aganist Kate.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]