All Posts

Surprise lagi dari istri tercinta

Hari ini dapat kabar gembira lagi dari istriku, dia sedang mengandung anak kami yang pertama. Alhamdulillah… semoga senantiasa diberikan kesehatan untuk istri dan anak-ku. Amin.. >رَبِّ هَبْ لِي مِنْ لَدُنْكَ ذُرِّيَّةً طَيِّبَةً إِنَّكَ سَمِيعُ الدُّعَاءِ Ya Tuhanku, berilah aku dari sisi Engkau seorang anak yang baik. Sesungguhnya Engkau Maha Pendengar doa”.(QS Ali Imran:38) =-=-=-=-= Powered by Blogilo

Surprise dari istri tercinta

Hari ini dia pulang kantor agak telat, comme d’habitude lah… Tapi ada yang berbeda, dia beri aku tas plastik berwarna merah yang setelah aku liat isinya adalah Tablet Android keluaran SmartFren. Merci beaucoup ma cherie.. Saling memberi hadiahlah kalian, niscaya kalian saling mencintai –(HR al-Bukhari, al-Baihaqi, Abu Ya’la) =-=-=-=-= Powered by Blogilo

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:~$ 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 [ -f $1 ];then file=$1 else echo "Usage: $0code.c" echo "or e.g. head code.c|$0" exit 1 fi pygmentize -f terminal -g $file =-=-=-=-= 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