Changing Caps Lock to Shift Lock does not work

Bug #816588 reported by Jean-Louis Dupond
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libxklavier (Ubuntu)
Confirmed
Low
Unassigned
xkeyboard-config (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have a laptop with a Azerty keyboard.
Now I want to change the default behavior of the Caps Lock to make it a Shift Lock.

This can be change in the Regional Settings under Keyboard.
There I changed it to make 'Caps lock act as Shift with lock'.

But even after this, the 'Shift Lock' doesn't act like it should.
With Shift-Lock enabled it still gives '&É"'( instead of 1234 like it should.

The Caps-Lock is correctly seen:
keycode 66 = (keysym 0xffe5, Caps_Lock), state = 0x0
keycode 66 = (keysym 0xffe5, Caps_Lock), state = 0x2
keycode 66 = (keysym 0xffe5, Caps_Lock), state = 0x2
keycode 66 = (keysym 0xffe5, Caps_Lock), state = 0x2

Revision history for this message
Jean-Louis Dupond (dupondje) wrote :

After some testing I made a file with:
clear lock
keycode 66 = Shift_Lock
add lock = Shift_Lock

After running 'xmodmap file'.

The Caps lock is acting correctly as a Shift Lock

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-control-center (Ubuntu):
status: New → Confirmed
Changed in xorg (Ubuntu):
status: New → Confirmed
Revision history for this message
Bryan Richter (bryan-richter) wrote :

Technically, I have a slightly different problem, but it is similar enough that I marked this bug as "affecting me".

My problem is that I select the option "Make Caps Lock an additional Ctrl" and no change is apparent.

Revision history for this message
Bryan Richter (bryan-richter) wrote :

Here's some more info! There is a conflict between two settings under "Control key position". When I first opened the dialog, the "At bottom left" option was already selected. If that option is selected, the option "Make Caps Lock an additional Ctrl" has no effect. If, on the other hand, I deselect "At bottom left", "Make Caps Lock an additional Ctrl" works as desired.

> Control key position
  [ ] At bottom left
  ...
  [ ] Make Caps lock an additional Ctrl

==>

    lock Caps_Lock (0x42)
    control Control_L (0x25), Control_R (0x69)

********************************************************

> Control key position
  [ ] At bottom left
  ...
  [X] Make Caps lock an additional Ctrl

==>

    lock
    control Control_L (0x25), Control_L (0x42), Control_R (0x69)

********************************************************

> Control key position
  [X] At bottom left
  ...
  [X] Make Caps lock an additional Ctrl

==>

    lock Caps_Lock (0x42)
    control Control_L (0x25), Caps_Lock (0x42), Control_R (0x69)

Changed in gnome-control-center (Ubuntu):
importance: Undecided → Low
affects: gnome-control-center (Ubuntu) → libxklavier (Ubuntu)
Bryce Harrington (bryce)
affects: xorg (Ubuntu) → xkeyboard-config (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.