It's been a while (years!) that I sometimes find my keyboard's capslock/numlock keys
behaving reversed at times. This is often the case after: wackup-from-/any/, using qemu
or as the result of unidentified operations.
Does anyone here know how to get rid of this? Avoid it, restore the proper keys behavior,
etc.
Thanks a lot for sharing your experience.
Nicolas
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/4E1C6341...@yahoo.fr
> Hi ,
>
> It's been a while (years!) that I sometimes find my keyboard's
> capslock/numlock keys behaving reversed at times. This is often the
> case after: wackup-from-/any/, using qemu or as the result of
> unidentified operations.
>
> Does anyone here know how to get rid of this? Avoid it, restore the
> proper keys behavior, etc.
>
> Thanks a lot for sharing your experience. Nicolas
I did the following:
Edited:
$ sudo mcedit /etc/default/keyboard
XKBMODEL="pc105"
XKBLAYOUT="hu"
XKBVARIANT="nodeadkeys"
XKBOPTIONS="ctrl:swapcaps"
BACKSPACE="guess"
according to man keyboard
XKBOPTIONS may have values described here:
$ mlocate xorg.lst
/usr/share/X11/xkb/rules/xorg.lst
/usr/share/doc/keyboard-configuration/xorg.lst
These two files are identical.
$ less /usr/share/doc/keyboard-configuration/xorg.lst
The edited /etc/defalut/keyboard file came a live for the console after
the following command:
$ sudo setupcon
For X Window maybe one must relogin.
--
Regards, Paul
<http://csanyi-pal.info>
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/ivhosp$v5$1...@dough.gmane.org
Thank you so much, this looks great. I have no time this evening to try this, but for
sure I will tomorrow, I'll give you some feedback.
Nicolas
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
> It's been a while (years!) that I sometimes find my keyboard's
> capslock/numlock keys behaving reversed at times. This is often the
> case after: wackup-from-/any/, using qemu or as the result of
> unidentified operations.
>
> Does anyone here know how to get rid of this? Avoid it, restore the
> proper keys behavior, etc.
What exactly means "reversed"?
Getting a keyboard to work right can be a non-trivial
task. /etc/default/keyboard is /the/ place to start at, then there's
/etc/X11/xorg.conf, loadkeys, xmodmap, xset and, IIRC, xinput ...
There's also a package the name of which I don't remember
(console-setup?) you may want to run dpkg-reconfigure on.
--
html messages are obsolete
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Nicolas
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Nicolas
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
> On 12/07/2011 23:01, lee wrote:
>> What exactly means "reversed"?
> Sometimes the num/caps lock led is on, but the actual underneath
> function if off, and vice versa.
Hm, that's probably hard to fix. When I switch from X11 to a console,
the LED stays on and goes off when I switch back. NumLock remains
active, though. If you don't need CapsLock, you can put something else
on the key, like Control.
--
html messages are obsolete
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
> It's been a while (years!) that I sometimes find my keyboard's
> capslock/numlock keys behaving reversed at times. This is often the
> case after: wackup-from-/any/, using qemu or as the result of
> unidentified operations.
>
> Does anyone here know how to get rid of this? Avoid it, restore the
> proper keys behavior, etc.
Well, I see -from time to time- a similar behaviour with caps lock. They
are reversed (→ caps lock "on" gives lower case and caps lock "off"
produces uppercase) when running OpenOffice and only after restarting my
user session -relogin- is back to normal :-?
Greetings,
--
Camaleón
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Probably not relevant, but:
Some time ago, on the console, I noticed that the "windows key" would
turn the caps lock on and off (I think without turning on the led).
Though I just tested this and didn't reproduce it.
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/2011071322...@cs.utexas.edu
> On 12/07/2011 17:23, Csanyi Pal wrote:
>> XKBMODEL="pc105"
>> XKBLAYOUT="hu"
>> XKBVARIANT="nodeadkeys"
>> XKBOPTIONS="ctrl:swapcaps"
>> BACKSPACE="guess"
> I tried that and it was really ugly !!!
Do you have a Hungarian keyboard?
--
html messages are obsolete
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
I have had this happen to me, as well. Even more odd... We have three
people logged in to separate logins and X sessions most of the time.
Usually, the reversed Caps Lock led is only on ONE of these X sessions.
The other two will properly match the LEDs. The only way that I have
found to get the LEDs to be correct for all three logins is to power
down and reboot. It's not a catastrophe, but it is annoying.
Marc
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
> Nicolas Bercher <nber...@yahoo.fr> writes:
>
>> On 12/07/2011 17:23, Csanyi Pal wrote:
>>> XKBMODEL="pc105"
>>> XKBLAYOUT="hu"
>>> XKBVARIANT="nodeadkeys"
>>> XKBOPTIONS="ctrl:swapcaps"
>>> BACKSPACE="guess"
>> I tried that and it was really ugly !!!
>
> Do you have a Hungarian keyboard?
Yes, I have.
--
Regards, Pal
<http://csanyi-pal.info>
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/87fwm9z...@debian-asztal.excito
No, of course I tried this keeping the french layout.
But two options were really confusing to me and my muscle memory:
- "ctrl:swapcaps" : swaps left ctrl with caps
- "nodeadkeys" : wasn't able to do ^-e to get ê
Nicolas
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Nicolas
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
I'm not sure Dell is guilty for that, but to me it was associated because correlated in time.
Nicolas
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
> On 14/07/2011 02:44, lee wrote:
>> Do you have a Hungarian keyboard?
>>
>
> No, of course I tried this keeping the french layout.
> But two options were really confusing to me and my muscle memory:
> - "ctrl:swapcaps" : swaps left ctrl with caps
> - "nodeadkeys" : wasn't able to do ^-e to get ê
The "ctrl:swapcaps" option swaps left Control key with CapsLock key, so
if one hit on tty1 console left Control key, after that can write
uppercase letters only (however, the CapsLock LED remain off, but only
on tty(1-6) console; on X Window system LED works) and vica versa, the
CapsLock key behave as the left Control key, both on tty(1-6) console
and on X Window system too.
--
Regards, Pal
<http://csanyi-pal.info>
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/877h7ly...@debian-asztal.excito
> On 14/07/2011 02:44, lee wrote:
>> Do you have a Hungarian keyboard?
>>
>
> No, of course I tried this keeping the french layout.
You didn't say so.
> But two options were really confusing to me and my muscle memory:
> - "ctrl:swapcaps" : swaps left ctrl with caps
You can try nocaps:
,---- [ /etc/default/keyboard ]
| XKBMODEL="pc102"
| XKBLAYOUT="de"
| XKBVARIANT="nodeadkeys"
| XKBOPTIONS="ctrl:nocaps"
`----
,---- [ /etc/X11/xorg.conf ]
| Section "InputDevice"
| Identifier "Keyboard0"
| Driver "kbd"
| Option "XKBOptions" "ctrl:nocaps"
| Option "XkbModel" "pc102"
| Option "XkbLayout" "de"
| EndSection
`----
,---- [ ~/.Xmodmap ]
| [...]
| keycode 66 = Control_L Control_L Control_L Control_L
| [...]
`----
That works nicely with an IBM Model M with German layout. Better get
one of those with French layout; the Model M keyboards (built by Unicomp
now) are the only decent keyboards you can get for computers.
You can use xev to figure out what keycodes your keys have. First make
sure your keyboard works as it should. Then use "xmodmap -pke" to
create an ~/.Xmodmap which you can modify for the customisations you
need. Finally, add
,---- [ ~/.xinitrc ]
| xset r rate 250 95 &
| xset m 2.5 0 &
`----
to your ~/.xinitrc and enjoy :)
If you use KDE, it's buggy in that it doesn't load your ~/.Xmodmap, and
it ignores your ~/.xinitrc. So you might have to do something to get it
loaded --- and turn off the customisations KDE itself applies.
> - "nodeadkeys" : wasn't able to do ^-e to get ê
That's what it is for :)
Your keyboard configuration may stop working at some time. They keep
changing the keyboard stuff all the time without telling anyone and then
you can spend hours again to figure out how to get your keyboard to work
:(
Still all this doesn't really solve the original problem of the LEDs not
indicating the status of the keyboard correctly. Perhaps we should send
a bug report --- but about which package?
--
html messages are obsolete
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
No Windows key here. I have an ancient, solid, IBM keyboard with nice
tactile feedback. None of these new, flimsy keyboards for me. But I do
occasionally get this problem.
Marc
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org