3

In Windows 10 when I press the Caps Lock key, I can type numbers and other special characters. Now, in Ubuntu 18.04, I have to keep pressing the shift button to do that. Since I switched from Windows 10 to Ubuntu 18.04, this was my biggest problem.

Also how can I remap my own custom keyboard layout? I searched a lot about this, but I can't find any comprehensible updated tutorial to do this.

5

1 Answer 1

5

[Answering the first question in your question. For the future, please submit a separate Ask Ubuntu question for each question you have.]

Install the gnome-tweaks package, if you haven't already done so.

sudo apt install gnome-tweaks

Then start Tweaks, navigate to Keyboard & Mouse -> Additional Layout Options -> Caps Lock behavior, and select Caps Lock toggles ShiftLock (affects all keys).

4
  • 1
    Sorry for the second question, I am still new to this..
    – Adolin
    Apr 15, 2020 at 18:20
  • 1
    @Adolin: No problem, it takes some time to get used to Ask Ubuntu. It doesn't work as a forum, but it's a strict question/answer resource. Apr 16, 2020 at 17:50
  • Thank you for this solution. it works when session is running but won't work on login screen. Any idea how to make it work everywhere ? regards
    – skonsoft
    May 31, 2021 at 12:04
  • @skonsoft: For that you can set XKBOPTIONS="caps:shiftlock" in /etc/default/keyboard. May 31, 2021 at 12:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .