Use semicolon instead of comma on numeric keyboard with Linux Mint

Asked

Viewed 412 times

0

I’m using the Linux Mint 19.1 Tessa

On my number pad the dot button (.) click inserts comma (,)

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

There is how to configure my button’s behavior to do this?

1 answer

1


Solution via command line:

To use the dot instead of the comma on the number pad, 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 startup files:

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

First identify which Startup File you intend to edit:

  • System startup file: /etc/bash.bashrc
  • Personal boot file: /home/seuNome/.bashrc or ~/.bashrc

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

xmodmap -e "keycode 129 = period"

To know which boot file to edit best, I recommend going into this link, that there is a more detailed explanation of the difference between these acquisitions and what is the order of their execution.


Reference:

Viva o Linux - How to use a dot instead of a comma on the number pad

Browser other questions tagged

You are not signed in. Login or sign up in order to post.