Posts List

KLook: a KDE version of Mac OS X's Quick Look

Klook is a Quick Look like for KDE e.v. Here is how I run it on my Slackware64-current. Note that it requires KDE 4.9.x. Download Klook source from kde playground Build Klook from the source Create slackware package Install Klook package Patch dolphin As I use alien KDE v4.9.1, download all the slackbuild tree (dont need to download all the apps source). Put the patch on the patch/kde-baseapps edit patch/kde-base.

Fixing Low Sound on Linux Laptop Speaker

OS+Env: Slackware64-Current Hardware: Lenovo Thinkpad T420i Problem: Sound is working, but it isn’t loud enough Solution: Create a file /etc/asound.conf and paste this config: pcm.!default { type plug slave.pcm "softvol" } pcm.softvol { type softvol slave { pcm "dmix" } control { name "Pre-Amp" card 0 } min_dB -5.0 max_dB 20.0 resolution 6 } Restart ALSA (/etc/rc.d/rc.alsa restart) and there should be a new mixer channel called pre-amp in the mixer software (kmix/alsamixer).

Fixing Crossover Menu Missing on KDE4 Slackware

OS+Env:Slackware Linux -Current+KDE 4.5 Problem: CrossOver menu tidak tampil di KDE Application launcher Solution: Jalankan command berikut /opt/cxoffice/bin/cxmenu --crossover --install re-login KDE session jika belum tampil.. =-=-=-=-= Powered by Blogilo

Install Google Picasa 3.9 on Slackware Linux Fixing Login Issues

Intro: Google telah merilis versi terbaru dari Google Picasa yaitu versi 3.9. Versi ini menawarkan berbagai fitur baru, diantaranya adalah ditambahkannya berbagai macam effect yang siap pakai seperti vignetting,softing,etc, dan ditanbahkannya menu integrasi dengan Google+ [1]. Yang sangat disayangkan adalah belum dirilisnya versi 3.9 untuk platform Linux, sehingga banyak sekali pengguna Linux yang berusaha untuk memasang Google Picasa versi Windows dengan bantuan wine. Problem: Installasi di Slackware Linux dengan menggunakan CrossOver berjalan mulus.

Sync Local Machine Time to NTP Server

Menggunakan 0.id.pool.ntp.org sebagai ntp (network time protocol) server untuk sinkronisasi waktu: /usr/sbin/ntpdate -s -u 0.id.pool.ntp.org /sbin/hwclock --adjust Simpan konfigurasi waktu system ke hardware clock /sbin/hwclock --systohc =-=-=-=-= Powered by Blogilo

Fix: Right Click Issues on HP Mini 210 Series

OS: Slackware Linux 13.37 Hardware: HP Mini 210 Series Netbook Problem: A right-click on touchpad recognized as left-click Solution: This problem was solved by passing a specific parameter into psmouse kernel module. The detailed instruction on Slackware Linux is described below; Open the /etc/modprobe.d/psmouse.conf as root Remove comment on this line: #options psmouse proto=imps Change the proto option : options psmouse proto=exps reboot (what the.. ?

Resume Interrupted scp Command

Untuk me-resume perintah scp over ssh yang terputus disaat meng-copy file berukuran besar/banyak, bisa menggunakan command rsync, contoh kasus: root@gatotkaca:/data2# scp bowo@janoko:/media/server/128 . ... Write failed: Broken pipe root@gatotkaca:/data2# Padahal ukuran data yang ingin disalin pada perintah diatas sekitar 170GB dan proses sudah berjalan selama berjam-jam. Untuk meresume gunakan perintah: root@gatotkaca:/data2# rsync -vrPtz -e ssh bowo@janoko:/media/server/128 . Keterangan: -v : verbose -r : recursive -P: partial progress (continue if not complete)

Generate Password Using /dev/urandom on Linux

Untuk meng-generate 10 karakter password acak di Linux, bisa menggunakan perintah berikut ini < /dev/urandom tr -dc A-Za-z0-9 | head -c10 Artinya baca standar input dari /dev/urandom, dengan spesifikasi karakter alphabet uppercase (A-Z), alphabet lowercase (a-z), dan numeric (0-9). Kemudian perintah head digunakan untuk menampilkan 10 karakter pertama. =-=-=-=-= Powered by Blogilo

Melacak Unauthorized DHCP Server Dalam Sebuah LAN

Untuk mengetahui IP address dan MAC address dari sebuah DHCP server bayangan (baca:unauthorized) di sebuah LAN, bisa digunakan modul scapy bahasa pemrograman python. ┌─(root@pcxthinkslack) └─(:))(#)─> scapy INFO: No IPv6 support in kernel WARNING: No route found for IPv6 destination :: (no default route?) Welcome to Scapy (2.0.1) >>> conf.checkIPaddr = False >>> fam,hw = get_if_raw_hwaddr(conf.iface) >>> dhcp_discover = >>> Ether(dst="ff:ff:ff:ff:ff:ff")/IP(src="0.0.0.0",dst="255.255.255.255")/UDP(sport=68,dport=67)/BOOTP(chaddr=hw)/DHCP(options=[("message-type","discover"),"end"]) >>> ans, unans = srp(dhcp_discover, multi=True) Begin emission: Finished to send 1 packets.

Haier CE100 di Slackware Linux

Modem keluaran Haier ini, by default, akan terdeteksi sebagai CD Drive di Linux. Di ‘machine’ saya blok device CD Drive tersebut adalah /dev/sr1. Untuk mengubah menjadi interface modem, biasanya dilakukan dengan me-remove (baca:eject) CD Drive tersebut dari Linux, misalnya dengan perintah: eject /dev/sr1. Cara yang lebih efektif adalah dengan menggunakan program usb_modeswitch yang merupakan paket standar di Slackware. Berikut ini adalah dokumentasi langkah-langkah yang saya lakukan: Tambah konfigurasi baru di /etc/usb_modeswitch.