Using Luxafor with Linux

Luxafor makes a nice busy status indicator light for the office. Unfortunately it only provides software for Windows and Mac. But it’s not hard at all to get it working on Ubuntu with PyUSB.

1- You need PyUSB installed

pip install pyusb

2- PyUSB basically lets you do anything you want with the USB device including some pretty dangerous stuff so it’s naturally open to super users. It’d be really annoying to have to sudo every light control though, so we’ll open this one particular device to your user. Create a luxafor.rules file in /etc/udev/rules.d/ and put in:

SUBSYSTEM=="usb", ATTR{idVendor}=="04d8", ATTR{idProduct}=="f372" MODE="0664", OWNER="[your user name]"

Read More…

No Chinese Fonts on XBMC Eden 11.0

Simple solution. Many posts online points to replacing fonts etc but with Eden, the included Arial has unicode support. You just had a shitty theme with custom non-unicode font. Just go to the skinning section of your theme (skins can change the hierarchy) and change the font from default to Arial. Easy!

Solve XBMC Tearing on Ubuntu 12.04

Definitely not an exhaustive fix but did fix it for me on a Zotac ID80 with Nvidia GT 520m. Disable composite with

sudo nvidia-xconfig --no-composite

It’s a very obscure note on the XBMC’s unreachable wiki. It mentions that XBMC is not compatible with Compiz and has a link to a german site that among other things, has the code above. It works.

VMWare Tools vmware-open-vm-tools-kmod Install Issue

Trying to install VMWare tools fromĀ packages.vmware.com/tools repository in Ubuntu but getting a error while installing packages? There seems to be package dependency going back to open-vm-tools-kmod-generic but it doesn’t exist. When you try to install the next level of package, it would say

“PreDepends: vmware-open-vm-tools-kmod-… but it is not installable”

Unfortunately the VMWare Installation Guide isn’t clear on this matter whereas the Ubuntu documentation is much better. It shows that you can either use the open source version directly available via apt-get or you can build the kmod (kernel mods) from source using the source files in the VMWare repository.

BackTrack 4 Pre-Release Apache, PostgreSQL Autostart

BackTrack 4 is in pre-release and it’s a beautiful system. However, there seems to be a problem where after your first apt-get upgrade, the system will try to load Apache, PostgreSQL and other daemons on startup. Not exactly what you want when you want a clean system. To turn it off and prevent autostart:

sudo update-rc.d -f apache2 remove
sudo update-rc.d -f postgresql-8.3 remove
sudo update-rd.d -f dhcp3-server remove

This way, you can go on doing your thing without anything that leaves you open

 Scroll to top