Hi there
I'm a newby with linux, beeing running Quiana Xfce on my two computers for 3 weeks now.
One of my issues is about the keyboard, running french layout under Xfce. With that layout and language, i'd like the "Caps Lock" key to behave the old way of typewriters: pressing "caps lock" put all the keys in upper mode, (including the upper row of keys for numbers). When in upper mode, pressing "shift" (left or right) brings all the keys back in lower mode.
This type of "caps lock" behaviour can be obtained with cinnamon (which is to heavy for my poor netbook), but not with Xfce.
Does anybody know a way to achieve that under Xfce???
"caps lock" behaviour with french keyboard under Xfce
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
"caps lock" behaviour with french keyboard under Xfce
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Linuxmint Cinnamon Tricia 19.3 64 bits
Asus UX430U
Asus UX430U
Re: "caps lock" behaviour with french keyboard under Xfce
Download, install, run and follow instructions in : xkeycaps
Re: "caps lock" behaviour with french keyboard under Xfce
hello millipond
Thanks for your suggestion...
At first, Xkeycaps works a little weirdly.
When I press some keys of my keyboard, it lits others on the keyboard image on the monitor!!!
(for example: pressing physical "Alt Gr" lits "enter" from num pad, while pressing "left arrow" lits "Alt Gr"...
Although my keyboard beeing a standard "pc105 intl" works well with corresponding keyboard Xfce parameters.
So, is it a bug in xkeycaps or some bad parameter???
Well, concentrating on my problem of "Ver_Maj" behaviour, I "succeeded" to find a sutable configuration , only editing "Ver Maj" key into "shift_lock, nosymbol, shift_lock".
Then, everything works well, including numbers on the upper row.
Just the caps led which doesn't lit... But that's a minor problem!
As I saved only this very one altered key, the problem mentionned first wasn't an obstacle.
But how do I do now to make that conf permanent, for the next start up???
Where do I find "the appropriate startup script, to add a line like "xmodmap ~/.xmodmap-`uname -n`"?????
Thanks for your suggestion...
At first, Xkeycaps works a little weirdly.
When I press some keys of my keyboard, it lits others on the keyboard image on the monitor!!!
(for example: pressing physical "Alt Gr" lits "enter" from num pad, while pressing "left arrow" lits "Alt Gr"...
Although my keyboard beeing a standard "pc105 intl" works well with corresponding keyboard Xfce parameters.
So, is it a bug in xkeycaps or some bad parameter???
Well, concentrating on my problem of "Ver_Maj" behaviour, I "succeeded" to find a sutable configuration , only editing "Ver Maj" key into "shift_lock, nosymbol, shift_lock".
Then, everything works well, including numbers on the upper row.
Just the caps led which doesn't lit... But that's a minor problem!
As I saved only this very one altered key, the problem mentionned first wasn't an obstacle.
But how do I do now to make that conf permanent, for the next start up???
Where do I find "the appropriate startup script, to add a line like "xmodmap ~/.xmodmap-`uname -n`"?????
Linuxmint Cinnamon Tricia 19.3 64 bits
Asus UX430U
Asus UX430U
Re: "caps lock" behaviour with french keyboard under Xfce
Hi there
Well, it looks that I (almost) succeeded, even if I'm not sure of what I've done...
After trying to use xkeycaps, without a full success, I tried the following:
I created a file /home/xxx/.shiftlock, containing only the following xmodmap command:
Then, I executed the following command in the terminal:
[/i]
It's done. The keyboard works the classical french way I wanted it to work, ie
Caps Lock key affects the upper row (numerical one), the same way it does for lower rows (alphabetic ones)
Shift key unlocks the keyboard and bring it back to lower mode
If somebody can explain to me why it works like that, i'd learn something.
And if somebody can tell me where I could store the terminal command in order to be executed automatically at start up, it would be wonderful.
Well, it looks that I (almost) succeeded, even if I'm not sure of what I've done...
After trying to use xkeycaps, without a full success, I tried the following:
I created a file /home/xxx/.shiftlock, containing only the following xmodmap command:
Code: Select all
keycode 0x42 = Shift_Lock NoSymb Shift_Lock
Code: Select all
sudo xmodmap /home/xxx/.shiflock
It's done. The keyboard works the classical french way I wanted it to work, ie
Caps Lock key affects the upper row (numerical one), the same way it does for lower rows (alphabetic ones)
Shift key unlocks the keyboard and bring it back to lower mode
If somebody can explain to me why it works like that, i'd learn something.
And if somebody can tell me where I could store the terminal command in order to be executed automatically at start up, it would be wonderful.
Linuxmint Cinnamon Tricia 19.3 64 bits
Asus UX430U
Asus UX430U