Azerty keyboard CAPS LOCK Question

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
stefanv
White ninja
White ninja
Posts: 6
Joined: 27 Sep 2017, 09:48
Distribution: kiosk

Azerty keyboard CAPS LOCK Question

Post#1 by stefanv » 02 Oct 2017, 07:09

Hi,

Is there a way to let caps lock act like a windows caps lock with AZERTY keyboards?


To use the top line of numbers at top of the keyboard I need to use shift.
Tried to set CAPS LOCK to act as a shift lock but that has unwanted side effects.
I boot with caps lock on.
Thanks

stefanv
White ninja
White ninja
Posts: 6
Joined: 27 Sep 2017, 09:48
Distribution: kiosk

Azerty keyboard CAPS LOCK Question

Post#2 by stefanv » 03 Oct 2017, 06:31

Hi,
This seems to work for me, but noticed shutdown menu (ctrl-alt-del) does not work any more. Any idea?

run_command=xdotool key Caps_Lock; setxkbmap -option caps:none; xmodmap -e 'keycode 77 ='; xmodmap -e 'keycode 10 = 1 1'; xmodmap -e 'keycode 11 = 2 2'; xmodmap -e 'keycode 12 = 3 3'; xmodmap -e 'keycode 13 = 4 4'; xmodmap -e 'keycode 14 = 5 5'; xmodmap -e 'keycode 15 = 6 6'; xmodmap -e 'keycode 16 = 7 7'; xmodmap -e 'keycode 17 = 8 8'; xmodmap -e 'keycode 18 = 9 9'; xmodmap -e 'keycode 19 = 0 0'

stefanv
White ninja
White ninja
Posts: 6
Joined: 27 Sep 2017, 09:48
Distribution: kiosk

Azerty keyboard CAPS LOCK Question

Post#3 by stefanv » 03 Oct 2017, 10:17

Hi,

With this one excluded It works.
xmodmap -e 'keycode 77 ='

I need to disable switching on and off num lock and shutdown menu via ctrl alt del. Any idea?

Post Reply