Use period instead of comma on the numeric keypad with Linux Mint

I'm using Linux Mint 19.1 Tessa

On my numeric keypad the dot button (.) clicking insert comma (,)

I tried to enter the settings but did not find the option that makes this change

Is there any way to configure my Button behavior to do this?

Author: ℛɑƒæĿᴿᴹᴿ, 2019-05-16

1 answers

Solution via command line:

To use the dot instead of the comma on the numeric keypad, open the terminal and run the following command:

echo 'xmodmap -e "keycode 129 = period"' >> ~/.bashrc

This command will fix this change even after restarting the computer

In this case this change will only be for the current user who uses the command


Solution Editing boot files:

To make the change manually by editing the files, look for the file .bashrc or bash.bashrc

First identify which boot file you intend to edit:

  • system boot file: /etc/bash.bashrc
  • personal boot file: /home/seuNome/.bashrc or ~/.bashrc

Choose one of these 2 files and add in the last line:

xmodmap -e "keycode 129 = period"

To know in which best boot file to edit, I recommend entering this link , that there is a more detailed explanation of the difference of these aquivi and what is the order of execution of them.


Reference:

Live Linux-how to use period instead of comma on numeric keypad

 1
Author: ℛɑƒæĿᴿᴹᴿ, 2020-06-11 14:45:34