Disable power management for TL-WN725N (8188eu driver) in Raspbian
If your wifi connections switches off after being connected for some time sometimes it may be fixed by disabling the power management so it never goes to power saving mode. Create the file...
View ArticleInstall script for XBMC in Raspbian
# Install XBMC sudo sh -c "echo 'deb http://archive.mene.za.net/raspbian wheezy contrib' > /etc/apt/sources.list.d/mene.list" sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 5243CDED...
View ArticleAdd Shutdown option to XBMC in Raspbian
When I installed XBMC in Raspbian I noticed that the shutdown menu only had the “Exit” button, which returned me to the ussual terminal login screen. I want my parents to use this media center so I...
View ArticleLarger fonts for XBMC in Raspbian
Edit the file /usr/share/xbmc/addons/skin.confluence/720p/Font.xml and add the following code inside the <fonts> block: <fontset id="Massive" idloc="31393" unicode="true"> <!-- Normal...
View ArticleChange your shell prompt
The same way we added colors to the text in terminal application in Mac OS X, you can change the default shell prompt to something more meaning full to your needs. By default it looks something like...
View ArticleDelete backups after rpi-update
After installing rpi-update: sudo apt-get update sudo apt-get install rpi-update And doing an update of the firmware and the kernel with it: sudo rpi-update You can delete the backups done by...
View ArticleUpgrade/Downgrade to a specific firmware-kernel version with rpi-update in...
You can upgrade/downgrade to any revision of Raspbians firmware using rpi-update. For example if you want to install revision 3.10.25+ you should execute this: sudo rpi-update...
View ArticleNew script to compile TP-Link TL-WN725N version 2 lwfinger driver in Raspbian
This script overrides the old “Compile and install driver for TP-Link TL-WN725N version 2 in Raspbian“. I’ve tried it with 3.10.33+ and worked perfectly but it failed for 3.10.24+ (I got the usual...
View ArticleUbuntu: Fix “The disk drive for /tmp is not ready yet or not present”
Just run this in the terminal: sudo mv /tmp /tmp_old sudo mkdir /tmp sudo chmod -R 777 /tmp And then reboot the system. After rebooting delete the old tmp folder: sudo rm /tmp_old Ref:...
View ArticleUbuntu: Fix “The disk drive for /tmp is not ready yet or not present”
Adding explicitly the /tmp to fstab solves the problem. Just add this to your /etc/fstab file: tmpfs /tmp tmpfs defaults 0 0 Before rebooting you could run this to delete everything from the /tmp...
View ArticleSee CPU and harddrive temperature from the command line in Ubuntu
Install lm-sensors and then configure it. You’ll be asked to try different ways to interface with the hardware that interfaces with the temperature sensors. sudo apt-get install lm-sensors sudo...
View ArticleChange root’s password when sudoers file is misconfigured and sudo won’t work
If you misconfigure the sudoers file you may end up in a situation where you wouldn’t be able to use sudo. This could be easely fixed by just using su to became root and then fixing the sudoers file....
View ArticleOpen a file in Sublime Text 2 from command line
The idea is to create a symbolic link to the Sublime Text’s executable and put in the system’s path (execute “echo $PATH” to see your’s). I used /usr/local/bin:GNU/Linux:sudo ln -s...
View ArticleTurn off S/PDIF digital audio in Ubuntu installed on Mac computers
My Ubuntu running Mac mini got the S/PDIF light always on, like this:To deactivate it start by running this in the terminal:sudo alsamixerMove to S/PDIF with the arrow keys:Then press M to mute.Press...
View ArticleDisable automatic locale variables setting in terminal emulator for Mac OS X
Terminal emulators usually send your current locale when conecting to an SSH server. I use Mac OS X in spanish and when I connected to a CentOS server my locale was automatically configured to...
View ArticleCreate a bootable Ubuntu USB drive from an ISO in Mac OS X
Some months ago I burned a Xubuntu distro into a USB drive to use an old barebone computer (BTW I used this link as a guide).To do that from a Mac OS X system first you have to convert the ISO image to...
View ArticleCreate a tar.gz file excluding git metadata
When using tar it’s very important to obey the order of the options.The last option always has to be “f” to indicate the file we want to be created. If you want to exclude some files or folders you...
View Article