Category Archives: Linux

ThinkPad HDD Led

On some (any?) new ThinkPad models, Lenovo has chosen not to add a hdd-led. E.g. on my new ThinkPad Edge E540.

Who is used to look at this led, when pc is stuck (it doesen’t change anything, but it is nice to know if it is working), will shurely miss it someday.

Under linux it is very simple to control the led, Lenovo uses as tittle on the ThinkPad logo. Continue reading

Tagged , , , , , , , , , ,

(Deutsch) Resol VBus LAN in Python

Sorry, this entry is only available in German.

Tagged , , , , , , , ,

Screen tearing the second

After I switched my distro to arch linux, I had my  screen tearing problems back. This time under gnome shell.

To resolve this issue, just add the following line:




and reboot.

Install Ubuntu Server 13.04 on PandaBoard

What is needed:

What is to do:

  1. Download latest Ubuntu OMAP Image.
  2. Insert sdcard in card reader.
  3. Utilize ‘dmesg’ for checking which adress the scdard was give, schould look similar to this:
    [42941.351598] sd 6:0:0:0: Attached scsi generic sg2 type 0
    [42941.950455] sd 6:0:0:0: [sdb] 7744512 512-byte logical blocks: (3.96 GB/3.69 GiB)
    [42941.951532] sd 6:0:0:0: [sdb] Write Protect is off
    [42941.951543] sd 6:0:0:0: [sdb] Mode Sense: 03 00 00 00
    [42941.952596] sd 6:0:0:0: [sdb] No Caching mode page present
    [42941.952603] sd 6:0:0:0: [sdb] Assuming drive cache: write through
    [42941.956588] sd 6:0:0:0: [sdb] No Caching mode page present
    [42941.956596] sd 6:0:0:0: [sdb] Assuming drive cache: write through
    [42941.966124]  sdb: sdb1 sdb2
    [42941.969820] sd 6:0:0:0: [sdb] No Caching mode page present
    [42941.969830] sd 6:0:0:0: [sdb] Assuming drive cache: write through
    [42941.969837] sd 6:0:0:0: [sdb] Attached SCSI removable disk
    [42942.732880] EXT4-fs (sdb2): recovery complete
    [42942.732888] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)
  4. Write Image to sdcard:
    SDCARD=/dev/sdX # X=ermittelte SD-Karte
    gunzip {path_to_image}.img.gz
    sudo dd bs=64k of=$SDCARD if={path_to_image}.img

Windows users can use Win32DiskImager for steps 2-4:


Choose the unzipped image and drive letter and click write.

Note: I have not tested this, cause I don’t own a windows pc.


Insert sdcard in PandaBoard and power it on.
Your PandaBoard is now booting ubuntu and runs the installer. Installer will let you configure various settings, like services to install, language, keyboard layout an so on.

Once the installer finished, your server is ready to use. Continue reading

Tagged , , ,

crontab: Tipp

Just add followind comment to your crontab…

#* * * * * command to be executed
#| | | | |
#| | | | +—— day of week (0 – 6) (Sunday=0)
#| | | +———— month (1 – 12)
#| | +—————— day of month (1 – 31)
#| +———————— hour (0 – 23)
#+—————————— min (0 – 59)

By ( )

Tagged , , , ,

Screen tearing when playing flash-videos in unity

In Ubuntu 13.04, as already under 12.10 and 12.04, there is a notable screen tearing problem, when playing videos in fullscreen, using Intel HD 3000 graphics and Unity-Shell.

To resolve this issue, you’ll need CompizConfigSettingsManager:

sudo apt-get install compizconfig-settings-manager

Continue reading

Tagged , , , , , ,

Disable Touchpad while typing

When your curser changes it's position while you are typing, then you propably hit your touchpad accidently…

This should be prevented by a functionality named "disable Touchpad while typing", which should diable your touchpad for a specified interval after pressing a key.

On one of my laptops (a Lenovo IdeaPad Z580 – Synaptics Touchpad) this interval is to short under Ubuntu 12.10 and so is mostly useless.

Continue reading

Tagged , , , , ,