[Solved] AltGr key not operative

Here you can post about your various experiences with PC hardware. You can also post about hardware that is not compatible with the linux kernel or not recommended for use with Porteus.
Post Reply
osjbe
White ninja
White ninja
Posts: 5
Joined: 17 Oct 2018, 17:46
Distribution: Porteus

[Solved] AltGr key not operative

Post#1 by osjbe » 03 Nov 2018, 09:26

Dear all,
I would like using french keyboard :
setxkbmap -layout fr
but AltGr key does not allow to get special characters like | @ or others.

Thanks for your help,
Regards,
osjbe
Last edited by osjbe on 07 Nov 2018, 06:48, edited 1 time in total.

User avatar
Ed_P
Contributor
Contributor
Posts: 4192
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

AltGr key not operative

Post#2 by Ed_P » 03 Nov 2018, 15:02

Hello osjbe.

We need more information to address your problem. What version of Porteus are you using? 4.0? 32bit or 64bit? And which DE: Cinnamon, KDE, LXDE, LXQT, MATE, OPENBOX, XFCE?
Ed

osjbe
White ninja
White ninja
Posts: 5
Joined: 17 Oct 2018, 17:46
Distribution: Porteus

AltGr key not operative

Post#3 by osjbe » 05 Nov 2018, 22:19

Hello Ed,
Thank you for your post, sorry for my delayed reply.
Porteus is 4.0 32bits, desktop manager is openbox. Computer is Asus EEEPC X101CH.
Regards
Osjbe (olivier)

jssouza
DEV Team
DEV Team
Posts: 663
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm
Location: Liechtenstein

AltGr key not operative

Post#4 by jssouza » 06 Nov 2018, 13:12

Hi osjbe,

Is it possible that you have a sub variant of the French keyboard?
Could you tell us which key along with AltGr should map to "@" and which to "|"?

osjbe
White ninja
White ninja
Posts: 5
Joined: 17 Oct 2018, 17:46
Distribution: Porteus

AltGr key not operative

Post#5 by osjbe » 06 Nov 2018, 20:36

Hi Jssouza,
AlrGr+2 should give ~
AlrGr+2 should give ~
AlrGr+2 should give ~
AlrGr+2 should give ~

osjbe
White ninja
White ninja
Posts: 5
Joined: 17 Oct 2018, 17:46
Distribution: Porteus

AltGr key not operative

Post#6 by osjbe » 06 Nov 2018, 20:46

Sorry Jssouza....
AltGr+2 should give ~ (I indicate the position of 2 in us keyboard in French keyboard it is é )
AltGr 3 --> #
AltGr 4 --> {
AltGr 5 --> [
AltGr 6 --> |
AltGr 7 --> `
AltGr 8 --> \
AltGr 9 --> ^
AltGr 0 --> @
AltGr - (- in us keyboard, in French keyboard it is ' ) ' ) --> ]
AltGr = --> }

Thx, regards

donald
Full of knowledge
Full of knowledge
Posts: 1406
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

AltGr key not operative

Post#7 by donald » 07 Nov 2018, 00:56

Hi
I had the same problem with a german keyboard layout.

The Fix:
open /home/guest/.config/gxkb/gxkb.cfg
delete all layouts except the one you need (de in my case)
and add lv3:ralt_switch_multikey after terminate:ctrl_alt_bksp
so it does look like this:

Code: Select all

guest@porteus:~$ setxkbmap -query
rules:      evdev
model:      pc105
layout:     de
variant:    ,,
options:    grp:switch,grp:alt_shift_toggle,grp_led:scroll,terminate:ctrl_alt_bksp,lv3:ralt_switch_multikey
guest@porteus:~$ 
log out/in

this fixed the AltGr problem for me..

osjbe
White ninja
White ninja
Posts: 5
Joined: 17 Oct 2018, 17:46
Distribution: Porteus

[Solved]AltGr key not operative

Post#8 by osjbe » 07 Nov 2018, 06:50

Thank you very much Donald, it worked perfectly, have a good day.

Post Reply