Date: Wed, 26 Sep 2007 19:17:18 +0200 From: Harry Matthiesen Jensen <freebsd@elgert.dk> To: freebsd-questions@freebsd.org Subject: Keyboard without Scroll Lock Message-ID: <20070926171718.GA1155@mugin.localhost>
next in thread | raw e-mail | index | archive | help
Hi, I don't know where to post this, except from this list, so maybe someone will add it to a FAQ ;-). just for info, if you happens to buy a keyboard without the Scroll Lock key, as I did (Logitech EX110), and are missing this function in consoles, I found a solution with re-configuring the keymap (I'm probably not the first, but did not find a short solution on the web). As root: Dump the keyboard map to a file kbdcontrol -d >mykeys Change the file so "Ctrl+NumLock" will set "Scroll Lock". Find line with scancode "base" 069, or where "nlock" fills the entire line. Edit column 3 from "nlock" to "slock" The line now looks like: "069 nlock nlock slock nlock nlock nlock nlock nlock O" Edit /etc/rc.conf: keymap="/home/xxx/mykeys" #where the file is Reboot, and now "Ctrl+NumLock" will toggle the Scroll Lock bit. Before you reboot it is possible to try if it works. As root, issue the command: kbdcontrol -l mykeys -- Mvh/Brgds Harry FreeBSD mugin.localhost 7.0-CURRENT #8: i386
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070926171718.GA1155>