How to Install PyBluez

23 01 2009

PyBluez is an extension module that allowing access to system Bluetooth resources.

This software is needed for some purpose i,e anyremote (featured tutorial here) with PyBluez installed we can run ganyremote without - – npybluez options.

Software dependencies:

  • Python 2.3 or later

  • Python-dev package installed

  • Bluez-libs (I’m used bluez-libs-3.36)

In most distro, python 2.x and Python-dev can easily installed via apt-get or yum not like Bluez-libs, that have to compiled manually. Download bluez-libs here

We should installed bluez-libs with a general compilation procedure

$ ./configure

$ make

$ sudo make install

After all dependencies installed, go to downloaded PyBluez directory:

$ tar -xvzf PyBluez-0.15.tar.gz # I’m used 0.15 version of PyBluez

$ cd PyBluez-0.15

$ sudo chmod +x setup.py # to make setup.py executables

$ sudo ./setup.py install

If the software dependencies installed and our bluetooth is worked, the installation should be finished without any further errors.

Thx





Mem-Blog WordPress Menggunakan Drivel di Ubuntu

18 01 2009

Drivel ( A LiveJournal client for the GNOME desktop) adalah salah satu aplikasi blogging di Linux. Drivel memungkinkan kita untuk menulis bahkan dalam keadaan offline, sehingga kita dapat dengan mudah mem-publish tulisan yang telah kita buat sebelumnya (offline) ketika kita sudan online.

Drivel mendukung beberapa blog server terkenal, seperti Advogato, Blogger xmlrpc, Movabletype, Drupal,WordPress dan lain-lain. Karena saya menggunakan WordPress sebagai blog saya, maka berikut adalah konfigurasi drivel untuk menggunakan Wordpess sebagai server:

1. Pasang dahulu drivel, bila belum terpasang pada system (di sini saya menggunakan Ubuntu)

$ sudo apt-get install drivel


2. Luncurkan drivel (Alt+F2 > drivel)

Isikan Username dengan nama user WP kita. Begitu juga passwordnya.

Pada isian “Journal type” pilih “Movable Type” pada menu drop-down.

Lalu pada server address, isikan http://halaman_wp_kita/xmlrpc.php,

contoh: http://abz89.wordpress.com/xmlrpc.php

3. Tekan Log In, maka kita sudah siap me-WP, (bila ingin membuat draft dulu ketika offline, tekan Work Offline)

Terima Kasih, semoga bermanfaat.





Bugs: GNOME Settings Daemon on Hardy

18 01 2009

The following message are appeared after I upgrading my Hardy:

There was an error starting the GNOME Settings Daemon.

Some things, such as themes, sounds, or background settings may not work correctly.

The last error message was:

Failed to connect to socket /tmp/dbus-n9Y8sWjrkS: Connection refused

GNOME will still try to restart the Settings Daemon next time you log in.

It’s always appeared every system log in. My desktop appearance is look so bad. But when I reinstalling dbus, dbus-x11 and purging some setting (like delete .dbus directory on my HOME dir, etc), it never comes again :D