LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   4MLinux (https://www.linuxquestions.org/questions/4mlinux-115/)
-   -   Keyboard Issue (https://www.linuxquestions.org/questions/4mlinux-115/keyboard-issue-4175707985/)

Summer Deep 02-13-2022 08:52 PM

Keyboard Issue
 
Hello, I've just installed the latest 4M to an old laptop (Dell Latitude D530, with Core Duo 64-bit processor). The system runs fine and very quickly, but for one issue: even though my keyboard layout is set to UK, I cannot get the £ key to work (it gives me #), and also the @ and " signs are the wrong way round, just like on a non-UK (American?) keyboard. Is there any way to rectify this, or is it a feature that is built into the system? The keyboard itself isn't faulty by the way - I typed this post on the same machine in a Windows OS!

Also, I'm wondering whether there's a way to find out the processor temperature in this distro. None of the monitoring programs (htop, etc) seem to include this information and the 4M terminal doesn't recognize the 'sensors' command, which provides this data on a number of distros.

frankbell 02-13-2022 09:10 PM

The sensors command might not be installed out of the box. You might check whether it is installed. Using whereis or locate or even ls would be ways of doing that:

Code:

# whereis sensors
sensors: /usr/bin/sensors /etc/sensors3.conf /usr/share/man/man1/sensors.1.xz


RandomTroll 02-13-2022 09:16 PM

Code:

cat /sys/devices/virtual/thermal/thermal_zone0/temp
returns temperature for zone 0. You may have more than 1 zone.

You can change your keyboard map with loadkeys
Code:

loadkeys uk
works on my computer. There must be a way to build it into the kernel but I don't know what it is. You have to run it as root. You can put it in the startup.

zk1234 02-13-2022 11:37 PM

Quote:

Originally Posted by Summer Deep (Post 6329224)
Hello, I've just installed the latest 4M to an old laptop (Dell Latitude D530, with Core Duo 64-bit processor). The system runs fine and very quickly, but for one issue: even though my keyboard layout is set to UK, I cannot get the £ key to work (it gives me #), and also the @ and " signs are the wrong way round, just like on a non-UK (American?) keyboard. Is there any way to rectify this, or is it a feature that is built into the system? The keyboard itself isn't faulty by the way - I typed this post on the same machine in a Windows OS!

Also, I'm wondering whether there's a way to find out the processor temperature in this distro. None of the monitoring programs (htop, etc) seem to include this information and the 4M terminal doesn't recognize the 'sensors' command, which provides this data on a number of distros.

Hi,

You need to edit /etc/kbd.conf
Try to put "LAYOUT=en_GB" into it.

.


All times are GMT -5. The time now is 01:27 PM.