Problem using US keyboard with ONE hand (Solved)

Core libraries and systems
Post Reply
Message
Author
oui

Problem using US keyboard with ONE hand (Solved)

#1 Post by oui »

I was operated this day on my main hand and write now with the other. I use the US keyboard but international version. I find it difficult with one hand! while it would be so simple if

- WINDOWS KEY was ALT (on both sides)

and

- ALT was ALT GR (so on both sides)

to reduce finger spreads!


je fus opéré ce jour à ma main principale et écris avec l'autre. j'utilise le clavier US mais version internationale. je constate que cést difficile d'une seule main! alors que ce serait si simple si

- WINDOWS KEY était ALT (des 2 côtés)

et

- ALT était ALT GR (donc des 2 côtés)

pour réduire les écarts de doigt!

Ich wurde an diesem Tag an meiner Haupthand operiert und schrieb mit der anderen. Ich benutze die US-Tastatur aber internationale Version. Ich finde es schwierig mit einer Hand! dabei wäre es so einfach wenn

- WINDOWS KEY (auf beiden Seiten) ALT

und

- ALT GR (also auf beiden Seiten) am gleichen Platz (also l dort wo ALT ist) wäre

um die Fingerspreizungen zu reduzieren!
Last edited by oui on Mon 14 Oct 2019, 20:05, edited 1 time in total.

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

#2 Post by mikeslr »

Sorry, Qui, about your condition and that I have to go out just now without doing a full search for solutions.

But this recent thread might help, http://murga-linux.com/puppy/viewtopic. ... 446#990446

oui

#3 Post by oui »

Hi
thank you very much mike but it is now to late to learn dvorak INTL and very difficult as not printed on the keys (my INT/U is a REAL INT/US hardware printed keyboard from SIEMENS! it is easy to find the places...)

http://arjenvankol.com/dvorak.php

HerrBert
Posts: 152
Joined: Thu 03 Nov 2016, 15:11
Location: NRW, Germany

#4 Post by HerrBert »

Ich habe meine linke WIN-Taste mit xmodmap zu Super_L gemacht.

Code: Select all

# cat ~/.Xmodmap 
keycode 115 = Super_L
Nach meinem Verständnis sollte das auch mit den von Dir genannten Tasten gehen.
Ich weiß allerdings nicht, ob die keycodes von der Tastaturbelegung abhängen.

Code: Select all

xmodmap -pke
zeigt die aktuelle Tastaturbelegung.
Mit

Code: Select all

xev
kannst Du die keycodes für jede einzelne Taste anzeigen lassen.
translate.google.com:
I made my left WIN key with xmodmap Super_L.

Code: Select all

 # cat ~ / .Xmodmap
keycode 115 = Super_L [/ code]

In my understanding, that should also go with the buttons you mentioned.
I do not know if the keycodes depend on the keyboard layout.
[code] xmodmap -pke [/ code]
shows the current keyboard layout.
With
[Code] xev [/ code]
you can display the keycodes for every single key.[/color]
Gute Besserung.

oui

#5 Post by oui »

Danke HerrBert

williams2
Posts: 337
Joined: Fri 14 Dec 2018, 22:18

#6 Post by williams2 »

Sticky keys is very useful.

If it is already set up, just press and release the shift key 5 times
to enable and disable.

To make it work when Xwindows starts, you need to add +accessx
to /usr/bin/xwin, like this:

Code: Select all

/usr/bin/xinit /root/.xinitrc -- -br +accessx -nolisten tcp
There are configuration options you can include.

Or you can run a program to enable and configure sticky keys.
https://pkgs.org/download/xkbset
https://pkgs.org/download/accessx
https://fedora.pkgs.org/29/rpm-sphere-x ... 4.rpm.html

You do not need to change xwin if you use one of these programs.

For example, using ax:

Code: Select all

ax -timeout +stickykeys +stickylatchtolock -stickytwokeydisable
This enables sticky keys, and prevents it from accidentally turning off.

I have these scripts:
ax2:

Code: Select all

#!/bin/ash

# Usage:
# ax2     --- enable sticky keys
# ax2 d   --- disable sticky keys

# ax help
# note, ax is not stripped

if test $# -eq 0
then
# enable, don't allow disable:
ax -timeout +stickykeys +stickylatchtolock -stickytwokeydisable
else
# disable:
ax +timeout -stickykeys -stickylatchtolock +stickytwokeydisable
fi
ax3:

Code: Select all

#!/bin/ash

# Usage:
# ax3     --- enable sticky keys
# ax3 d   --- disable sticky keys
# xkbset h --- help
# note: 5 shift-key presses to toggle sticky keys on/off

if test $# -eq 0
then
# enable:
xkbset exp 1 =accessx =sticky =twokey
xkbset accessx sticky -twokey
else
# disable:
xkbset exp 1 =accessx =sticky =twokey
xkbset -accessx -sticky -twokey
fi
After installing accessx, I can type ax2 to enable sticky keys
and type ax2 d to disable sticky keys.

You can enable sticky keys when Xwindows starts
from a script in /root/Startup

Sticky keys are easy to use.
You probably would not notice it is enabled.
But you can press and release the shift key
to make the next key a capital letter.
Like this:

<shift>Hello <shift>World

Press <shift> 2 times to keep the <shift> key pressed down.
For example,
1234 <shift><shift>!@#$ <shift> 4567

Same for control, alt, fn, win keys.

Very easy, no need to stretch to press 2 or more keys simultaneously.

For example:
<ctrl><alt><backspace>
pressed and released one after the other to kill X.

More examples, all can be pressed with just 1 finger.

<ctrl>q
<ctrl>c
<ctrl>v
<ctrl>home
<ctrl>end
<ctrl>F12
<ctrl><alt>v

Good luck with your hands.

Post Reply