You are not logged in.

#1 2014-11-02 23:16:37

Archer22
Member
Registered: 2014-09-01
Posts: 27

[SOLVED] Change third level characters of one specific keystroke

Hi all,

I have a simple question. I want to change the characters of the third level of the key R. The third level characters should be "ë" and "Ë". I've read some things in the wiki about XKB and xmodmap, but I do find these articles very unclear on how actually just to change the third level characters of the R key. Any help would be greatly appreciated.

Last edited by Archer22 (2014-11-07 00:58:42)

Offline

#2 2014-11-04 09:10:29

Archer22
Member
Registered: 2014-09-01
Posts: 27

Re: [SOLVED] Change third level characters of one specific keystroke

Nobody any idea?

Offline

#3 2014-11-04 09:18:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Change third level characters of one specific keystroke

Please don't bump your thread: https://wiki.archlinux.org/index.php/Fo … te#Bumping


I don't know what "third level" means, but there are a number of tools for configuring hotkeys: https://wiki.archlinux.org/index.php/Ex … Xorg#sxhkd


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2014-11-04 15:02:43

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] Change third level characters of one specific keystroke

I think OP is talking about Level3, not hotkeys.

OP, maybe also google 'xkb custom' 'xkb custom level3' or such.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#5 2014-11-04 16:22:57

Archer22
Member
Registered: 2014-09-01
Posts: 27

Re: [SOLVED] Change third level characters of one specific keystroke

Yes actually I meant the level 3 mentioned by alphaniner, but I found a different solution for the problem. What I actuallu want to do is compose characters, and therefore a Compose key is available! Thats what I found out, now I only have to create or maybe copy a Compose configuration file, and then it should work. When it works, I will give an update.

Offline

#6 2014-11-04 17:19:41

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Change third level characters of one specific keystroke

The default works pretty well out of the box:

setxkbmap -option compose:ralt

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2014-11-06 08:31:41

Archer22
Member
Registered: 2014-09-01
Posts: 27

Re: [SOLVED] Change third level characters of one specific keystroke

I'm not entirely sure, but I think that with the command you gave I set right Alt is the compose key? Because this is actually not the problem. Maybe I should have mentioned that I'm running KDE and can set this value easily through system settings (and have already done this)

Maybe the configuration (file) is different in KDE (Xorg) compared to console?

Offline

#8 2014-11-06 08:38:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Change third level characters of one specific keystroke

DE's tend to have tools for doing this; the method I posted is for those of us that don't use them.


Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2014-11-06 08:42:23

Archer22
Member
Registered: 2014-09-01
Posts: 27

Re: [SOLVED] Change third level characters of one specific keystroke

jasonwryan wrote:

DE's tend to have tools for doing this; the method I posted is for those of us that don't use them.


Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.

Of course I will take care of the topic title when my problem is solved, but at this moment its not. I'm still not able to compose unique characters allthough I had (beforehand) even set the compose key already. Anyone who knows where to configure or which tools are best suited to this?

Offline

#10 2014-11-06 08:50:15

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Change third level characters of one specific keystroke

You said you had set the compose key: that is all you need to do https://wiki.archlinux.org/index.php/Ke … ompose_key

What is that you are trying to do, exactly?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2014-11-06 08:56:01

Archer22
Member
Registered: 2014-09-01
Posts: 27

Re: [SOLVED] Change third level characters of one specific keystroke

Well, just like the article is saying: through use of the compose key I should be able to create è é ê ë, and so on also for U, O, I and A. But somehow its not working, I'm trying to figure out why its not working as its supposed to.

Offline

#12 2014-11-06 09:00:41

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Change third level characters of one specific keystroke

əéėē úūų °ōóø

What does "isn't working" mean? How are you attempting to set the compose key and how are you triggering it?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#13 2014-11-06 09:12:17

Archer22
Member
Registered: 2014-09-01
Posts: 27

Re: [SOLVED] Change third level characters of one specific keystroke

Yes okay, you are right. It's working, sorry for not throroughly testing. The strange thing is however that in my browser (or this forum) I can easily compose letters such as Ë Ä Ü é á ú and so on, so thats great! But in Libre Office Writer and another text editor (Kate) composing the letters does not work. Has this to do with the program itself? Or maybe other language settings are applicable in these programs?

Offline

#14 2014-11-06 09:31:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Change third level characters of one specific keystroke

I don't know about Kate (Compose key works fine in Vim), but LibreOffice doesn't pick up those key settings at all.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#15 2014-11-07 00:57:52

Archer22
Member
Registered: 2014-09-01
Posts: 27

Re: [SOLVED] Change third level characters of one specific keystroke

Okay, I will leave it with this then. Thanks for your help, the problem can be considered as solved.

Offline

Board footer

Powered by FluxBB