Sunday, February 19, 2012

How to make logkeys autostart

Autorun at system start

sudo gedit /etc/init.d/logkeys-start

Paste this in there

#!/bin/bash

sudo logkeys --start --us-keymap

and save it

Run this

sudo su

cd

cd /etc/init.d/

update-rc.d logkeys-start defaults

chmod +x /etc/init.d/logkeys-start

reboot That's it

The log file will be the one that is at

sudo nano /var/log/logkeys.log

2 comments: