Posts List

Trick: Installing steam client update

“Error: Steam needs to be online to update, Please confirm your internet connection.” Have you ever see those error message. I got those annoying error message whenever I tried to launch Steam client on Slackware Linux. Indeed, my machine was connected to internet. As many people suggest, I did change my registry.vdf value by setting ”Offline” […] Unfortunately some pieces not successfully recovered from web.archive.org

Use Google Chrome to open links in Thunderbird

Recently, I decided to switch-back to Google Chrome as my default web browser due to high CPU consumption in Firefox. Actually, it’s simple to set Google Chrome as default web browser. Just go to the Google Chrome’s preferences and select Google Chrome as default web browser. This step will also automatically change the value of […] Unfortunately some pieces not successfully recovered from web.archive.org

Drawing again: KDE start here Humanity icon

A modified version of KDE Logo start-here. Almost in orange, inspired by Ubuntu Humanity Icon. Final result: =-=-=-=-= Powered by Blogilo

Drawing new Audacious systray icon to match plasma desktop Ambiance theme

I modified original Audacious systray icon to match Ambiance theme on my current plasma-desktop. Tool used: Inkscape. Here is the result: When it lives in system tray: =-=-=-=-= Powered by Blogilo

Create udev rule to run Kppp when Haier CE682 plugged

Find device info with udevadm command: root@pcxthinkslack:~# udevadm info -a -n /dev/ttyUSB0 Udevadm info starts with the device specified by the devpath and then walks up the chain of parent devices. It prints for every device found, all possible attributes in the udev rules key format. A rule to match, can be composed by the attributes of the device and the attributes from one single parent device. looking at device '/devices/pci0000:00/0000:00:1a.

Per-application firewall on Linux

So, I tried to manage network packet per application because sometimes, my Akregator updates the RSS when I need a huge amount of network traffic. This is not real pain when I use network cable or on a fast internet access. But using a cellular network modem? It’s different story. The idea is using an application like Little Snitch on Mac OSX. There was –cmd-owner option in iptables to manage network packet per application.

Change graph color on system monitor plasmoid

Open-source is fun. This time I want to get my desktop colored a little. By modifying plasma-system-monitor source code and split it into several plasmoid such as personal cpu monitor, personal ram monitor. (inspired by plasma drive IO monitor). This is the final look of my top panel: From the left to the right (the plotted graph): CPU monitor, swap monitor, RAM monitor, net monitor, disk IO monitor. Next project is improving it by adding click event so it will start krunner System Activity when the user click on it.

Thinkpad Thinklight control from KDE panel

I added this line to my rc.local to allow normal user to control thinklight trough sysfs bowo@pcxthinkslack:~tail /etc/rc.d/rc.local -n2 # allow normal user to turn thinklight off/on trough shell chmod 666 /sys/class/leds/tpacpi::thinklight/brightness Create shell script to control thinklight from sysfs. When called, it will turn thinklight on/off bowo@pcxthinkslack:~tail /etc/rc.d/rc.local -n2 # allow normal user to turn thinklight off/on trough shell chmod 666 /sys/class/leds/tpacpi::thinklight/brightness Create shell script to control thinklight from sysfs. When called, it will turn thinklight on/off
bowo@pcxthinkslack:~
cat /usr/local/bin/toogle-thinklight.sh #!/bin/bash echo `cat /sys/class/leds/tpacpi::thinklight/brightness | grep -c 0` > /sys/class/leds/tpacpi::thinklight/brightnes Just for fun, I create also thinklight svg icon using inkscape :) and create thinklight.

ccat: coloured cat

Using python pygments module, we can create a coloured cat. Wrap it in a bash shell script called ccat: bowo@pcxthinkslack:~cat /usr/local/bin/ccat #!/bin/bash if [ ! -t 0 ];then file=/dev/stdin elif [ -fcat /usr/local/bin/ccat #!/bin/bash if [ ! -t 0 ];then file=/dev/stdin elif [ -f1 ];then file=1elseecho"Usage:0code.c" echo "or e.g. head code.c|0"exit1fipygmentizefterminalgfile =-=-=-=-= Powered by Blogilo

Install Dolphin APK thumbnailer

Download source code here root@pcxthinkslack:/tmp# src2pkg /home/bowo/Desktop/156421-kde-thumbnailer-apk-1.0.tar.bz2 root@pcxthinkslack:/tmp# mv 156421-kde-thumbnailer-apk-1.0-x86_64-1.txz /home/bowo/Packages/tgz/kde-thumbnailer-apk-1.0-x86_64-1pcx.txz root@pcxthinkslack:/tmp# installpkg /home/bowo/Packages/tgz/kde-thumbnailer-apk-1.0-x86_64-1pcx.txz And.. hey it works !! =-=-=-=-= Powered by Blogilo