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

AltGr key in Input Action Settings not working?

Tags: None
(comma "," separated)
cjmeyer
Registered Member
Posts
3
Karma
0
Hi,
I have a German Swiss Keyboard, where the '@' key works only with the key combination of the 'AltGr'+'2'!
So far, no problem, but in the 'Configure Input Action Settings' the AltGr-key is not working:
Typing ':altgr+2:' gives only '2'
That means an email, e.g.: 'meyer@test.com' comes out as a nasty 'meyer2test.com' :(
And you know, normally you write your email more than once a day....

Has anyone an idea or better a solution for this problem? Or is this a bug ??

I'm using KDE 4.11.5 / openSUSE 13.1 (Bottle) (x64_64)

Thanks CJMeyer
luebking
Karma
0
a) Does AltGr work in general as 3rd level shift?
b) Do you actually want @ to be on AltGr+2 or rather on AltGr+Q, or (Apple style) AltGr+G?
c) please post the output of "setxkbmap -print"
cjmeyer
Registered Member
Posts
3
Karma
0
Hi here the output:

cjm_7@linux-iswi:~> setxkbmap -print
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+ch(de)+inet(evdev)+terminate(ctrl_alt_bksp)"};
xkb_geometry { include "pc(pc104)" };
};

'AltGr' works generally, but not in Custom Shortcuts.
The combination 'AltGr+q' brings also '@' but also not in Custom Shortcuts....

Thanks
luebking
Karma
0
Ah, so it's not a "@ doesn't work", but a khotkey issue ;-)

That's bug https://bugs.kde.org/show_bug.cgi?id=295633

I can probably say that this happens because AltGr is NOT a modifier like "shift" or "alt" or "ctrl" (in the Qt world, at least)

I assume, there's also no way to get "altgr" into a QKeySequence, so the entire system would have to be changed to decompose symbols into the required groups (ie. you could just pass "@", kkeyserver then checks whether this is in 1st, 2nd or 3rd level shift. Likewise, you'd pass "A" rather than "Shift+a")

As a workaround, i could only suggest to additionally bind "@" to sth. like "ctrl+alt+q" and use that sequence.
See eg. http://madduck.net/docs/extending-xkb/
cjmeyer
Registered Member
Posts
3
Karma
0
Thanks for the information.

To change the keyboard map will need to much time for me. So I will leave with the situation.

Thank you
CJMeyer
User avatar
hermantowawan
Registered Member
Posts
70
Karma
0
i think that is a bug

Product: systemsettings
Component: kcm_khotkeys
Version: 1.0
Platform: Debian unstable Linux
Importance: NOR normal with 43 votes (vote)
TargetMilestone: ---
Assigned To: Michael Jansen
URL:
Keywords:
Depends on:
Blocks:
Show dependency tree /graph
Reported: 2012-03-09 20:00 UTC by Janet
Modified: 2013-01-17 01:47 UTC (History)
CC List: 2 users (show)
See Also:
Latest Commit:
Version Fixed In:
Description Janet 2012-03-09 20:00:13 UTC
User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.66 Safari/535.11 Build Identifier: When I set a custom shortcut for e.g. kwrite (New - Global Shortcut - Send Keyboard Input) AltGr-keys do not work. E.g. when I type {:[:(:):]:} in the shortcut editor and assign a key for it I get in kwrite on pressing my shortcut: 78()90 Reproducible: Always Steps to Reproduce: 1. systemsettings - custom shortcuts - new - global shortcut - send keyboard input 2. type in the editor {:[:(:):]:} and assign a keyboard shortcut 3. open kwrite and press your keyboard shortcut Actual Results: you get 78()90 instead of {[()]} Expected Results: I expect to get the keys I typed in the shortcut editor KDE SC 4.7
Comment 1 Pascal Ernst 2012-03-10 12:02:06 UTC
I can confirm that using kde 4.7.4 and kde 4.8.1 with Linux Mint and the German Standard Keyboard Layout.


I Am Still Learning About KDE


Bookmarks



Who is online

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