I advice you to use Xbindkeys utility instead. You can find a nice guide here.
Install xbindkeys, preferably through your package manager.
You can create a default configuration file with the command:
xbindkeys --defaults > $HOME/.xbindkeysrc
Open ~/.xbindkeysrc in your your favorite text editor. If you can’t find it, make sure you have Show ...
I just want to tack onto your own answer because some might prefer a more automated approach to this. So from the beginning:
Create script /usr/local/sbin/restart-bluetooth.sh
service bluetooth restart
Then(from Answer) create script in sleep directory /lib/systemd/system-sleep/00restart-bluetooth.sh
if [ $1 = post ] && [ $2 ...
I did a systematic check of the usb devices connected to the USB slots, and which bus and port belong to each slot using
I checked the status with lsusb -t first, unplugged one device if used, checked again and identified the bus and port number; then I plugged a USB memory stick to the tested slot to check its functionality. I did ...
My Logitech MX518 mouse was too slow on Ubuntu 18.04. I tried to set Accel speed prop to max (1), but it did not speed it enough.
After some more searching, found lomoco (Logitech Mouse Control) and installed it with
sudo apt install lomoco
The man page is here http://manpages.ubuntu.com/manpages/xenial/man1/lomoco.1.html
The manual is good, but for a ...