Category Archives: howto

A Complete Guide To Customize Gnome Panel

1. Basic customizations

– Make it transparent: Right click on Gnome panel and go to Properties. On tab Background, select Solid color and move the slider to choose your desire transparent level.

– Choose custom background image: on the same dialog, you can also choose the background image. For the background, you can search on Gnome-look with the keyword “gnome panel”. The screenshot below was taken with cKPanels.

2. Customize the menu bar

I’m talking about the custom menu bar with “Applications, Places and System”. You can edit those text with a little tweak.

– First, create a file with the content same as in here and save it as “messages.so” for example.
– Edit the file with your preferred text. I myself chose “Apps, Goto and System”.
– Issue the command below in the terminal. If you save the file as “messages.so” so the command would be “msgfmt messages.so”. If you got an error of missing ‘gettext‘ package, you can get it from the synaptic or from here.

msgfmt THE-FILENAME-OF-THE-TEXT-FILE
sudo mv messages.mo /usr/share/locale-langpack/en_US/LC_MESSAGES/gnome-panel-2.0.mo

– And restart gnome-panel at last to take effect.

pkill gnome-panel

3. Mac-like menu bar

If you are a Apple maniac, you would definitely love gnome-globalmenu. For Karmic Koaloa, add the PPA here to your source, update and install gnome-globalmenu. Other Ubuntu distro, you can grab gnome-globalmenu on its homepage.

There’s more? Share it with me and others : )

Automatically start iBus on startup on Ubuntu

On Karmic, go to System > Preferences > Startup Applications. Click the Add button and enter anything for name and comment. For command box: /usr/bin/ibus-daemon -d.  Click Add to confirm.

You’re done. IBus should automatically start everytime you login.

Lucid Lynx Mockup Theme for Karmic

I recently came cross the proposed artwork for Lucid Lynx and the Ubuntu Sun’s concept of showing the sun and the sky of different time of the day impressed me a lot.

Love it? Here you go. The package contains 3 metacity themes: Day, Dawn and Dusk.

Alternative link: from MediaFire

Try new Google Search

– Go to http://www.google.com

– Paste this small javascript code on the address bar and hit Enter.

javascript:void(document.cookie=”PREF=ID=20b6e4c2f44943bb:U=4bf292d46faad806:TM=1249677602:LM=1257919388:S=odm0Ys-53ZueXfZG;path=/; domain=.google.com”);

– Reload the page and you should be using the new Google Search by now.

New Google Search Interface

New Google Search Interface

Tweet from Terminal

– Install curl if you don’t have it yet.

sudo apt-get install curl

– Issue the following command in your terminal, using your Twitter username and password.

curl -u yourusername:yourpassword -d status=”Your Message Here” http://twitter.com/statuses/update.xml

How to create custom status icons theme for Empathy

Empathy comes with a very ugly status icons theme. I’m so sick of it so i made one based on Adiumy Status Icons Classic on adiumxtras.

– Create folders as the structure below.

$HOME/.icons/hicolor/
|-- 16x16
|   `-- status
|       |-- empathy-available.png
|       |-- empathy-away.png
|       |-- empathy-busy.png
|       |-- empathy-extended-away.png
|       `-- empathy-offline.png
|-- 22x22
|   `-- status
|       |-- empathy-available.png
|       |-- empathy-away.png
|       |-- empathy-busy.png
|       |-- empathy-extended-away.png
|       `-- empathy-offline.png
|-- 24x24
|   `-- status
|       |-- empathy-available.png
|       |-- empathy-away.png
|       |-- empathy-busy.png
|       |-- empathy-extended-away.png
|       `-- empathy-offline.png
|-- 32x32
|   `-- status
|       |-- empathy-available.png
|       |-- empathy-away.png
|       |-- empathy-busy.png
|       |-- empathy-extended-away.png
|       `-- empathy-offline.png
`-- 48x48
    `-- status
        |-- empathy-available.png
        |-- empathy-away.png
        |-- empathy-busy.png
        |-- empathy-extended-away.png
        `-- empathy-offline.png

– You can take those icons from the status icons theme for Pidgin on GNOME-LOOK or from a theme on adiumxtras, put them in the folders as structure above and restart Empathy. Boom, you’re done.

– If you’re so lazy to make one yourself, you can download my Adium status icons theme from here and extract to /home/username/.icons

Some workarounds to access Facebook

Dạo này thấy mấy đứa bạn kêu ko vào được Facebook. Mới confirm thông tin là FPT bị block rồi thì phải. Ai xài mạng nào mà bị block thì vào comment confirm lại cái nhé.

Có vài cách để vào Facebook, cách làm cũng khá đơn giản.

1. Sử dụng OpenDNS ( Recommended )

Từ trước đến giờ tớ vẫn xài OpenDNS là dns server mặc định. Nameservers của OpenDNS là

208.67.222.222

208.67.220.220

Những ai chưa biết cách thay đổi DNS nameserver thì xem hướng dẫn ở đây. Hướng dẫn cực kỳ chi tiết, ai cũng làm được hết ; )

2. Sử dụng Facebook Lite

Tớ set cái Facebook Lite này là mặc định luôn. Nếu bạn cũng ghét các notifications từ  các applications, quizzes thì còn chờ gì mà ko chuyển sang Facebook Lite ngay đi ^.^

http://lite.facebook.com

3. Opera Users

Opera có tính năng Opera Turbo. Tính năng này và cách sử dụng proxy chỉ là 1 vì khi bạn bật Opera Turbo lên, trình duyệt Opera sẽ tự động sử dụng proxy của Opera cho tất cả các trang.

4. More?

Còn nhiều cách lắm: socks, http tunnel nhưng tớ sẽ ko nói trong bài này vì sử dụng mấy cái này làm gì cho phức tạp =D.

Megaupload Tips

  • Download as free users without waiting for CAPTCHA?

Simply change the link as format below

Before -> http://www.megaupload.com/?d=XXXXX

After -> http://www.megaupload.com/mgr_dl.php?d=XXXXX

  • Download when you have already reached limit?

Change the link as www59.megaupload.com/?d=XXXXX

[How to] Install Adium message style for Empathy

Empathy has been shipped as default instant messenger on Karmic Koala. One good thing about Empathy is that, by default it supports Adium Message Styles.

First, make sure you have WebKit installed. If not, you can get it through PPA for WebKit Team.

deb http://ppa.launchpad.net/webkit-team/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/webkit-team/ppa/ubuntu karmic main

Remember to update and add key for this repo. After that, issue this command in the terminal

sudo apt-get install libwebkit-dev

Now, you are ready to go. You can simply download the style from adiumxtras and manually extract the tarball to ~/.local/share/adium/message-styles/*.AdiumMessageStyle or grab a script for automatically handling adiumxtras protocol right from the browser here.

Make sure to take a look at theme support status section to see whether the theme is fully supported.

Get Exaile works with last.fm on Ubuntu

It took me awhile to figure out how to get Exaile works with last.fm. Go to Edit->Preferences and enable the AudioScrobbler plugin by selecting the checkbox. “AudioScrobbler” should now appear under Plugins. Enter your last.fm user name and password and choose http://post.audioscrobbler.com in the drop-down list. Click Apply.

I actually went there to this dialog before but i didn’t notice the plugin’s name somehow :”>