Other articles


  1. Linux: Fix pipe character on ASUS laptops

    Is your pipe/backslash key not typing pipes and backslashes? Is it typing less-than and greater-than symbols? If so, add...

    key <LSGT> { [ backslash, bar, backslash, bar] };
    

    ..to /usr/share/X11/xkb/symbols/us in the kxb_symbols "basic" section.

    This seems to be a problem with ASUS laptops, I've seen ...

    read more
  2. Disable 'locate' Command Index Databases

    If you use Truecrypt on GNU/Linux, you will want to stop mlocate (the locate command) from automatically indexing your files and compromising your privacy.

    To do so on Debian Squeeze:

    apt-get remove mlocate rm /etc/cron.daily/mlocate
    

    The database files are stored in:

    /var/lib/mlocate/
    

    Delete them ...

    read more
  3. Awesome Desktop Calculator using Ruby's IRB

    Ruby is an awesome programming language. Its metaprogramming capabilities make it easy to turn the interactive ruby interpreter (irb) into an awesome desktop calculator. To do so, we can make irb execute a ruby script, containing some calculator extensions before it starts, with the following command:

    irb -r /path/to ...
    read more
  4. Clipboard over SSH with Vim

    The following is a simple and easy way to get clipboard sharing with Vim working between two Linux installations (specifically a desktop and remote server).

    First install xclip on both your local machine and the server:

    apt-get install xclip
    

    Installing xclip will bring along some dependencies like x11-common, but don ...

    read more

social