OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Key board mapping
graynada
post Jul 28 2018, 12:21 AM
Post #1





Group: Members
Posts: 118
Joined: 27-April 18
Member No.: 821,829



I'm sure I'm missing something very simple somewhere but in Linux (Debian running in UserLAnd) I have 2 keys not mapped correctly. They are / and £ which both currently produce ? as does ? so not sure if that means don't know what to return or all 3 are mapped to ?

£ isn't too crucial for how I intend to use my Linux environment but trying to work in CLI without a forward slash is lets say 'interesting'!

Anyone able to point me in the right direction please?
Go to the top of the page
 
+Quote Post
Eric BF
post Jul 28 2018, 10:48 AM
Post #2





Group: Members
Posts: 77
Joined: 25-June 18
Member No.: 824,997



QUOTE(graynada @ Jul 28 2018, 08:21 AM) *
I'm sure I'm missing something very simple somewhere but in Linux (Debian running in UserLAnd) I have 2 keys not mapped correctly. They are / and £ which both currently produce ? as does ? so not sure if that means don't know what to return or all 3 are mapped to ?

£ isn't too crucial for how I intend to use my Linux environment but trying to work in CLI without a forward slash is lets say 'interesting'!

Anyone able to point me in the right direction please?

Which language have you chosen in the login screen? That setting will, I expect, change the key bindings. Both keys work fine on my system with English-GB.
Go to the top of the page
 
+Quote Post
graynada
post Jul 28 2018, 11:21 AM
Post #3





Group: Members
Posts: 118
Joined: 27-April 18
Member No.: 821,829



QUOTE(Eric BF @ Jul 28 2018, 07:48 PM) *
QUOTE(graynada @ Jul 28 2018, 08:21 AM) *
I'm sure I'm missing something very simple somewhere but in Linux (Debian running in UserLAnd) I have 2 keys not mapped correctly. They are / and £ which both currently produce ? as does ? so not sure if that means don't know what to return or all 3 are mapped to ?

£ isn't too crucial for how I intend to use my Linux environment but trying to work in CLI without a forward slash is lets say 'interesting'!

Anyone able to point me in the right direction please?

Which language have you chosen in the login screen? That setting will, I expect, change the key bindings. Both keys work fine on my system with English-GB.


Thanks for your reply.

There isn't a log on screen as such being ssh through XServer but I have set gb in the keyboard configuration file but this makes no difference and all the other keys map correctly include the usual candidates like @
Go to the top of the page
 
+Quote Post
Eric BF
post Jul 28 2018, 12:24 PM
Post #4





Group: Members
Posts: 77
Joined: 25-June 18
Member No.: 824,997



QUOTE(graynada @ Jul 28 2018, 07:21 PM) *
There isn't a log on screen as such being ssh through XServer but I have set gb in the keyboard configuration file but this makes no difference and all the other keys map correctly include the usual candidates like @

I'm not sure I understand how you are using the system but, in any case, maybe have a look at your key map. E.g. with
CODE
xmodmap -pke
I see this for the relevant keys:
CODE
keycode  12 = 3 sterling 3 sterling backslash F3 backslash
keycode  59 = comma slash comma slash XF86Option multiply XF86Option

You could always use these lines as input to xmodmap, assuming you have the same keyboard as I do (UK).
Go to the top of the page
 
+Quote Post
graynada
post Jul 28 2018, 10:46 PM
Post #5





Group: Members
Posts: 118
Joined: 27-April 18
Member No.: 821,829



QUOTE(Eric BF @ Jul 28 2018, 09:24 PM) *
QUOTE(graynada @ Jul 28 2018, 07:21 PM) *
There isn't a log on screen as such being ssh through XServer but I have set gb in the keyboard configuration file but this makes no difference and all the other keys map correctly include the usual candidates like @

I'm not sure I understand how you are using the system but, in any case, maybe have a look at your key map. E.g. with
CODE
xmodmap -pke
I see this for the relevant keys:
CODE
keycode  12 = 3 sterling 3 sterling backslash F3 backslash
keycode  59 = comma slash comma slash XF86Option multiply XF86Option

You could always use these lines as input to xmodmap, assuming you have the same keyboard as I do (UK).


Thanks for the help.

I have a UK keyboard and

CODE
XKBLAYOUT="gb"


set in the keyboard configuration file but my key map is different to yours.
I have set keys 12 and 59 through the command line and this is reflected in the key map but the key outputs do not change. I have also created a ~/.Xmodmap but this isn't getting picked up, not that would help anyway.

I think the method I am deploying Linux is the route cause. Through UserLAnd the debian image is one they supply so not the same as the one you are using . I think now you have let me check out the obvious I have enough to raise and issue on their project that shows it is a software issue rather than a Gemini issue so thank you.
Go to the top of the page
 
+Quote Post
Eric BF
post Jul 29 2018, 12:12 AM
Post #6





Group: Members
Posts: 77
Joined: 25-June 18
Member No.: 824,997



QUOTE(graynada @ Jul 29 2018, 06:46 AM) *
I think the method I am deploying Linux is the route cause. Through UserLAnd the debian image is one they supply so not the same as the one you are using . I think now you have let me check out the obvious I have enough to raise and issue on their project that shows it is a software issue rather than a Gemini issue so thank you.

Ah! You are not using gemian. (And apologies for missing that bit; you did say that in the OP.) That's a totally different kettle of fish.

You could always add the explicit xmodmap commands to rebind those particular keys to your ~/.bashrc?
Go to the top of the page
 
+Quote Post
graynada
post Jul 30 2018, 03:17 AM
Post #7





Group: Members
Posts: 118
Joined: 27-April 18
Member No.: 821,829



QUOTE(Eric BF @ Jul 29 2018, 09:12 AM) *
QUOTE(graynada @ Jul 29 2018, 06:46 AM) *
I think the method I am deploying Linux is the route cause. Through UserLAnd the debian image is one they supply so not the same as the one you are using . I think now you have let me check out the obvious I have enough to raise and issue on their project that shows it is a software issue rather than a Gemini issue so thank you.

Ah! You are not using gemian. (And apologies for missing that bit; you did say that in the OP.) That's a totally different kettle of fish.

You could always add the explicit xmodmap commands to rebind those particular keys to your ~/.bashrc?


Thank you for your help. I have tried xmodmap commands with I see taking effect in the return from xmodmap -pke but the behaviour of the keys does not change. Definitely one for the UserLAnd community I think but thanks anyway for helping me confirm that.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st November 2019 - 12:04 PM