In order to set xterm as default terminal emulator for Ubuntu/Unity or IceWM and to make it a bit nicer (appearance and scrolling behaviour), I will give some short tips here. First we need to edit the $HOME/.Xresources file: ! Adjusting the font xterm*faceName: Monospace xterm*faceSize: 11 ! Changing foreground/background color xterm*background: #2B1520 xterm*foreground: …
Continue reading Setup and configure xterm as your default terminal emulator
Tag:Bash
Python autocompletion in VIM
Having autocompletion (and some other nice stuff) for Python in VIM is not only a nice feature, but something allowing you to be more efficient when programming Python. First see the result: Youtube: http://www.youtube.com/watch?v=TNMjbaimk9g To make the functionality (and color scheme) available, download the tarball (pythonVim.tar.gz) and extract it in your home directory (i.e. /home/your_user_name), …
Continue reading Python autocompletion in VIM
Linux: use SSH with X11 forwarding and compression for better performance
To get better performance when using X11 forwarding (either with the -X or -Y option) with a SSH connection, one should enable data compression: $ ssh -X -C -c blowfish-cbc,arcfour to avoid enabling compression with each command, one could enable it permanently in the configuration file ($HOME/.ssh/config): Cipher blowfish Ciphers blowfish-cbc,aes128-cbc,3des-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc Compression yes …
Continue reading Linux: use SSH with X11 forwarding and compression for better performance
Let VIM open file at last editing position
Simply put the following lines to your ~/.vimrc and all files will be opend at the last editing position. Saves a lot of searching time. 😉 if has(“autocmd”) au BufReadPost * if line(“‘\””) > 1 && line(“‘\””) <= line(“$”) | exe “normal! g’\”” | endif endif