Useful shell shortcuts

Here are some useful shell shortcuts that you can use to make your life easier:

CTRL+A - move to beginning of line
CTRL+E - move to the end of the line
CTRL+B - move backward
CTRL+F - move forward
CTRL+D - delete character under cursor
CTRL+K - deletes text from cursor to the end of line
CTRL+X+BACKSPACE - delete text from cursor to the beginning of the line
CTRL+T - exchange character under cursor with previous character
ESC+T - exchange two words before and under cursor
ESC+U - converts text from cursor to the end of the word to UPPERCASE
ESC+L - converts text from cursor to the end of the word to LOWERCASE
CTRL+X+CTRL+E - launch default editor
CTRL+L - Clears screen above current line
CTRL+W - Delete word from cursor position to the left
CTRL+R - Search through command history

Upgrade Xbian installation to support Raspberry Pi 3

Recently I bought two Raspberry Pi 3 devices, one for my RetroPie gaming center and one for my Kodi / Xbian always-on media-center.

Retropie with version 3.6 came out of the box with Raspberry Pi 3 support, so it was an easy to replace old unit with new one.

Xbian needs new kernel package (4.4.4+) to support Raspberry Pi 3. There are two ways to get your Xbian to support your new device: Continue reading “Upgrade Xbian installation to support Raspberry Pi 3”

Prevent kernel out of memory manager to kill processes on Raspberry Pi 2

I am using Raspberry Pi 2 with Xbian installed as my primary always on media-player device. Beside usual Kodi and few other services I also have MySQL, pihole, lighttpd, rtorrent, samba and few other.

Lately I am faced with kernel oops when trying to copy larger files, over 500MB. Rapsberry Pi becomes unresponsive, I can ping it but no longer connect to it. Continue reading “Prevent kernel out of memory manager to kill processes on Raspberry Pi 2”

Compile and install kfilebox 0.4.10 on Debian Jessie

If you using Dropbox client and you would like full system tray integration unfortunately you can not install a package that will work without issues with latest versions of dropbox client.

Solution is to download, compile and install kfilebox from source, but since kfilebox is unmaintained for long time I found this fixed version on github page: https://github.com/gtgt/kfilebox. Continue reading “Compile and install kfilebox 0.4.10 on Debian Jessie”