Posts

Showing posts from 2013

Create Keyboard Shortcut with Razer Blackwidow

First, enable macro keys on Linux . Then, install xmacro: sudo apt-get install xmacro Record a macro: xmacrorec2 > test.macro Wrap it up in test.sh: #!/bin/bash cat test.macro | xmacroplay -d 0 $DISPLAY > /dev/null 2>/dev/null Finally, go to System Settings/Keyboard/shortcuts to create a custom shortcut to run test.sh.

Find Out Which Package A File Belongs To

Install apt-file: sudo apt-get install apt-file Update: sudo apt-file update Search: apt-file search easy.h

Set Default Magnet Link Handler for Chrome on Ubuntu 12.04

To use Deluge gvfs-mime --set x-scheme-handler/magnet deluge.desktop To use qBittorrent gvfs-mime --set x-scheme-handler/magnet qBittorrent.desktop