I'm using a Macbook pro early 2015 with Debian and Xfce, and I wanted to have the same behaviour as on OSX, that is to say have the numbers be displayed when the caps lock key is on. I don't have a numerical pad on my laptop, so this is pretty tedious to have to press the shift key every time I want to type a number. So, to solve this problem, I used:
XKBOPTIONS="caps:shiftlock"
in my /etc/default/keyboard file in order to have this setting apply on startup. However, the problem is that this behaves as if I had shift on all the time and thus applies to the whole keyboard, so if caps lock is on, I can't for example alt-tab normally etc...
How can I do it so that caps lock applies to numbers only, and not to other parts of the keyboard?
I have already tried:
XKBOPTIONS="caps:numlock"
But it doesn't work as expected...
For additional information, here is my basic /etc/default/keyboard file:
XKBMODEL="pc105"
XKBLAYOUT="fr"
XKBVARIANT="mac"
XKBOPTIONS="ctrl:swap_lwin_lctl,lv3:lalt_switch"
BACKSPACE="guess"
For those not familiar with the French AZERTY layout, it is the one language layout that requires Shift to be pressed to access the numeric keys.
Thanks in advance for any help, and sorry if my explanations are not perfect, I'm very new to Debian/GNU Linux (and new here), so don't hesitate to tell me of any element I may have missed. : )