All Posts

Oxygen font v0.2 New Eyecandy for my KDE Desktop

The new looking of Oxygen font (v0.2) is quite different with the previous one. Just grab it from here and enjoy the power of open source. A screenshot is worth thousand words: =-=-=-=-= Powered by Blogilo

Fix: Mic Mute Button not Detected on Lenovo T420i

Running on Slackware64-current, mic mute button is not detected. Here is my solution. Download and build thinkpad_acpi kernel module from ubuntu Reinstall (replace) original thinkpad_acpi kernel module: root@pcxthinkslack:/home/bowo/Build/tp_acpi# make make -C /lib/modules/3.7.10-zen-pcx/build M=/home/bowo/Build/tp_acpi modules make[1] : on entre dans le répertoire « /usr/src/zen-kernel-3.7-master » Building modules, stage 2. MODPOST 1 modules make[1] : on quitte le répertoire « /usr/src/zen-kernel-3.7-master » root@pcxthinkslack:/home/bowo/Build/tp_acpi# cp thinkpad_acpi.ko /lib/modules/3.7.10-zen-pcx/kernel/drivers/platform/x86/thinkpad_acpi.ko Remap keyboard root@pcxthinkslack:/home/bowo# grep -nir mute /lib/udev/keymaps/module-lenovo 15:0x16 mute 17:0x1A f20 # Microphone mute root@pcxthinkslack:/home/bowo# grep -nir Mute /usr/share/X11/XKeysymDB 14:hpmute_acute :100000A8 15:hpmute_grave :100000A9 16:hpmute_asciicircum :100000AA 17:hpmute_diaeresis :100000AB 18:hpmute_asciitilde :100000AC 171:SunAudioMute :1005FF78 207:XF86AudioMute :1008FF12 355:XF86MicMute :1008FFAA root@pcxthinkslack:/home/bowo# grep -nir MicMute /etc/X11/xkb/symbols/inet 119: key <FK20> { [ XF86MicMute ] }; Bind keyboard event with xbindkeys

KDE Plasmoid Kuota Paket Data Tri

Berawal dari ketidak praktisan membuka url internet.tri.co.id, untuk melihat sisa quota internet, saya iseng2 membuat plasmoid widget (KDE4). Prinsip kerja plasmoid ini kira2 begini (bayangan awal saya) Ambil url gambar sisa quota yang ada dihalaman internet.tri.co.id Buka url gambar tadi diplasmoid Sederhana..! Plasmoid widget dapat dibuat dengan berbagai macam pilihan bahasa pemrograman, saya coba pake favorit saya, python. Algoritma nya kira2 begini: Pertama, cari alamat url dari gambar yang ada di internet.

Fix: Ugly Fonts in KDM

Hanya mengatur hint+/antialias font untuk keseluruhan system. Caranya create /etc/fonts/local.conf with this content <?xml version='1.0'?> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> <fontconfig> <match target="font" > <edit mode="assign" name="rgba" > <const>rgb</const> </edit> </match> <match target="font" > <edit mode="assign" name="hinting" > <bool>true</bool> </edit> </match> <match target="font" > <edit mode="assign" name="hintstyle" > <const>hintslight</const> </edit> </match> <match target="font" > <edit mode="assign" name="lcdfilter" > <const>lcddefault</const> </edit> </match> <selectfont> <rejectfont> <pattern> <patelt name="scalable" > <bool>false</bool> </patelt> </pattern> </rejectfont> </selectfont> <match target="font" > <edit mode="assign" name="antialias" > <bool>true</bool> </edit> </match> </fontconfig> Result: =-=-=-=-=

Mengubah Tema Kursor pada KDM

By default, tema cursor di kdm Slackware kurang menarik, ini konfigurasi saya biar tema-nya sama dengan punya KDE bowo@pcxthinkslack:~$ v /usr/share/icons/ /usr/share/icons/: total 64 drwxr-xr-x 3 root root 4096 déc. 15 15:01 Oxygen_Black/ drwxr-xr-x 3 root root 4096 déc. 15 15:01 Oxygen_Blue/ drwxr-xr-x 3 root root 4096 déc. 15 15:01 Oxygen_White/ drwxr-xr-x 3 root root 4096 déc. 15 15:01 Oxygen_Yellow/ drwxr-xr-x 3 root root 4096 déc. 15 15:01 Oxygen_Zion/ drwxr-xr-x 7 root root 4096 déc.

Workaround: plasma-nm-applet Icon Does not Show GSM Signal Level

Instead of showing signal level, it shows mobile phone icon. This workaround work for me, at least: “restart plasma-desktop” (without logging-out KDE), here is the command kquitapp plasma-desktop kstart plasma-desktop > /dev/null 2>&1 We can wrap it to shell script called restart-plasma like: root@pcxthinkslack:/home/bowo# cat /usr/local/bin/restart-plasma #!/bin/bash kquitapp plasma-desktop > /dev/null 2>&1 kstart plasma-desktop > /dev/null 2>&1 Result Before: After: =-=-=-=-= Powered by Blogilo

Colorize Linux Log Files with ccze

Agar lebih mudah dibaca, terkadang kita ingin log file di Linux bisa dibaca dalam mode berwarna-warni. Semacam syntax highlighting kalau dalam programming. Dengan menggunakan tool yang bernama ccze di Linux, ini bukan hal yang mustahil. Untuk menginstall program tersebut di Slackware, kita dapat menggunakan sbopkg. CCZE description (from the Slackware slackbuild README): CCZE is a robust and modular log colorizer with plugins for apm, exim, fetchmail, httpd, postfix, procmail, squid, syslog, ulogd, vsftpd, xferlog, and more.

Rename Network Interface trough udev

Since kernel 3.7 my internal GSM modem interfaces name has changed from usb0 to wwan0 ,indeed it sounds good :) . However, it messed up Knemo traffic statistic, since I registered my internet connection based on its volume. So it’s better to use the same ifname. Using udev, I force my Slackware to use wwan0 as ifname. root@pcxthinkslack:~# cat /etc/udev/rules.d/10-network.rules SUBSYSTEM=="net", ATTR{address}=="02:80:37:ec:02:00", NAME="wwan0" =-=-=-=-= Powered by Blogilo

Nokia N900: Add a Reboot Button to the Quick Menu

When you press the power on/off-button, a quick-menu appears. It has poweroff, but no reboot. This can be easily fixed: Open /etc/systemui/systemui.xml in your favourite editor Remove the comment before the line “Reboot” down a few lines before the next menuitem. Save and reboot, and voila. You now have a reboot-button on your quick menu. =-=-=-=-= Powered by Blogilo

Instal tvtime on Slackware64-14.0 Kernel 3.5.x

All credit goes to Ubuntu team. Here is step by step installing tvtime on Slackware64-14.0, running kernel 3.5.x: Download tvtime-1.0.2 source Download tvtime patch for Ubuntu Quantal and apply the patch Compile the source ./configure --prefix=/usr && make && make DESTDIR=`pwd`/pkg install Make slackware package & install it makepkg -l y -c y /home/bowo/Packages/tgz/tvtime-1.0.2-x86_64-3pcx.txz installpkg /home/bowo/Packages/tgz/tvtime-1.0.2-x86_64-3pcx.txz Known problem (or feature perhaps) Suara yang sebelumnya muncul, sekarang tidak muncul dilaptop.