2011, Video, Dan Ulang Tahun

2011 ditandai dengan dua event (yup, yang saya tahu cuma dua ini. Kalau kalian tahu lainnya, share saja di komentar / trackback) ulang tahun yang perayaannya berhubungan dengan video. Yaitu 20 tahun Linux dan 50 tahun perjalanan pertama manusia, di antariksa.

Continue reading “2011, Video, Dan Ulang Tahun”

Share

Universal Scrolling Pada Windows

Pakai linux? atau mungkin Mac OSX? mungkin anda sering merasakan melakukan scrolling mouse pada window yang sedang tidak fokus? Bagaimana? bisa kan itu dilakukan? Nah, sekarang saya tanya lagi, pakai windows juga? kalau tidak, tutup saja tab ini, karena kemungkinan besar, anda tidak membutuhkan ;)). Tapi, kalau anda juga pakai windows dan juga sering mencoba melakukan scrolling mouse pada window yang sedang tidak fokus saat itu. Anda pasti jengkel, karena itu tidak bisa dilakukan.

Continue reading “Universal Scrolling Pada Windows”

Share

Symbolic Link Pada Windows

Saya kerja pada banyak komputer dan beragam OS (padahal sih, cuma Windows 7 dan Ubuntu 😀 ). Seperti yang sudah sering kali saya twitkan dan juga saya tulis di blog ini, untuk sinkronisasi dan backup data, saya menggunakan dropbox. Salah satu yang saya sinkronisasi adalah log pidgin. Ini penting, karena sering kali catatan kerjaan atau task yang harus dihandle, ada di sana. Termasuk juga informasi-informasi lainnya. Untuk anda ketahui, log pidgin saya, ada dari sekitar pertengahan 2007 sampai sekarang.

Kalau kita pakai linux, sangat mudah mengakali penempatan log ini. Di linux, ada yang namanya symbolic link, yang secara kasar, bisa disebut shortcut. Cara yang saya lakukan adalah, memindahkan file $home/.purple/logs ke direktori dropbox, lalu membuat symlink dari dropbox tersebut, ke lokasi awal:

cd $home/.purple;
ln -s $path/to/logs/on/dropbox logs

Mudah kan? Ternyata, hal yang sama juga bisa dilakukan pada windows. Yaitu, dengan menggunakan perintah mklink:

mklink /D "C:\users\{username}\roaming\.purple\logs" "E:\my dropbox\somepath\purplelogs"

Hanya saja, ada sedikit limitasi. Perintah ini, hanya bisa dijalankan di windows vista ke atas dan pada partisi NTFS.

Share

ImageShack Linux Uploader

Has been using imageshack for years, my only complain is the lack of desktop uploader for linux. However, few days ago, when I open up imageshack to upload some images, I stumble upon section called “More Ways to Upload”. Curious, I click it and I saw list of 3rd party apps. There’s an uploader for linux too!. A great feature that I find useful is, the ability to upload images into our account. So that I can delete some stuff that is no longer required. Oh, did I mention that it came in .deb? YES .DEB!

Share

How To Prevent Someone From Executing xkill

From wikipedia entry:

Xkill is a utility program distributed with the X Window System that instructs the X server to forcefully terminate its connection to a client, thus “killing” the client.

Someone at id-ubuntu mailing list asked how to prevent someone from executing xkill. After reading this, my evil mind popped a solution >:).

My strategy is rather simple, you rename that xkill and move it somewhere else and put a script in place of xkill. Here’s the run down:

  1. rename xkill and move it somewhere else: sudo mv /usr/bin/xkill /etc/init.d/llikx_hide
  2. put a script in place of xkill:
    sudo touch /usr/bin/xkill
    sudo chmod 555 /usr/bin/xkill
    sudo nano /usr/bin/xkill
    

    Put this script:

    #!/bin/bash
    
    logger "I'm trying to execute xkill";//logger will automatically save user who execute logger 
    zenity --info --text "What are you doing?\nxkill execution is locked and logged\!" --title "Operation failed";
    
  3. There you go. Everytime someone trying to execure xkill, they will see popup window.

Share

Multiple Boot Partition Tips

Yesterday, I had a chance to install ubuntu 9.10 ‘karmic koala’ on my laptop. Having read several online reviews made me rethink my strategy. Previously, whenever there’s new ubuntu release, I will always do fresh install. Now, several minor but annoying bug appeared in reviews where I had similar hardware :(. Kind of annoying, but, I’ll still try it.

Continue reading “Multiple Boot Partition Tips”

Share

Show/Hide Desktop Icon On Ubuntu

I like things on my laptop to be simple and easily accessible. From time to time, I download stuffs. Some tutorial files, new products to test, deb updates, and several other random stuffs. Most of the time, I just throws this trashes to my desktop to make me easily remember that I have this particular stuff to work with. The other stuffs I throw to my desktop is, ebooks. Most of it is references and cheat-sheet.

Continue reading “Show/Hide Desktop Icon On Ubuntu”

Share

How To Add New Profile In Gnome-Terminal

I got a case where I need to switch between different terminal font-size in many times a day. So, a profile in gnome-terminal is helping me very much. Here how you create a new profile in gnome-terminal:

  1. Fire up your gnome-terminal!
  2. Goto Edit » Profiles…
  3. Click on New and fill in your profile name. Then, select which profile you want to be as base of your new profile.
  4. Click Create.
  5. A new window will appear where you will be able to customize this new profile to your need.
  6. Save it! by clicking on Close.
  7. Now, you can use this new profile by going to menu Terminal » Change Profile » select which profile you want to use.
Share