Wednesday, 30 December 2009

HP LaserJet P1006

Driver:

  1. foo2xqx, bukan yang dari repository Ubuntu, dan ikuti langkahnya.


Sharing di Windows require samba.

Untuk pasang driver tanpa instalasi, unzip file .exe. Add printer, browse file, cari file .inf. Next, beres.

Thursday, 10 December 2009

Sylpheed di KDE

Ukuran font sylpheed+gtk yang running di KDE nggak mau tunduk sama font kde ataupun font gnome.
Ah, males nerusin.

Monday, 7 December 2009

Menulis buku: tools

Sepertinya word prosesor, yang banyak fitur seperti MS Word dan OpenOffice.org terlalu gemuk untuk penulisan buku. Selulit dari kedua contoh word prosesor tersebut membuat distraction penulisan, karena penulis seharusnya lebih konsen ke konten bukan tampilan dengan Heading, footnote, styles, dst.

Persis iklan TeX dan turunannya macem LaTeX, Lyx, dst.: konsentrasi ke konten, karena tampilan sudah diurus sama TeX.

Kalau nggak ada TeX mungkin cukup gedit, kate dan freemind. Atau openoffice.org draw, tapi bukan inkscape dan gimp karena akan jadi distraction baru.

Setoran ke penerbit cukup dengan rtf dan gambar dalam 1 folder. Atau pdf hasil editan TeX kalau nggak mau repot ngasih judul gambar dengan nama file.

Desember, musim durian, musim laporan...

Tuesday, 1 December 2009

PHP didalam Plone

Keynya adalah PHPParser. Berikut di cut and paste dari http://plone.org/documentation/how-to/integrate-php-applications. Males nerjemahin.


Integrating PHP applications in Plone

How to use PHPParser to display content from an external PHP application inside Plone.

Here are the steps to follow:

  • Install PHParser
  • From the ZMI, add a PHParser item that references each of your existing PHP page. For instance, if one of your PHP pages is located in /myphp/index.php, your PHParser item will contain:

  • In the ZMI, create a Page template for each PHP file. Each Page template will reference a PHParser item. For instance, if you have called your PHParser item mainPage:
  • You need the keyword structure if your PHP file generates HTML. If your PHP file generates plain text, you can simply use: content="here/mainPage".


Thanks to Wei He, creator of PHParser, for his help.

A more generic way

If you have many php files this is very tedious. There is in fact a more generic way, using one single template for all:

  • Create the template in your portal_skins/custom folder instead, call it php_view and modify it slightly
  • Replace
  • With
  • Then you access all your PHParser pages with myphppage/php_view

Note that you must consider security if you take the generic approach: remember that all your PHP files in that particular folder will be accessible.

Adobe AIR

Pengen install tweetdeck, tapi untuk download saja ternyata (homepagenya) perlu flashplugin terbaru. So, here's the clue:

  1. Download flash plugin dari adobe, atau run

  2. $ sudo apt-get install --reinstall flashplugin-nonfree. Permasalahan di Debian Lenny 5.0.3 karena libnspr4-dev dan libnss3-dev belum ada. Jadi, bisa install dulu keduanya dengan

  3. $ sudo apt-get install libnspr4-dev libnss3-dev

  4. Mungkin perlu juga $ sudo apt-get -f install, bergantung urutan yang dikerjakan. Kebalik-balik nggak pa-pa.

  5. Restart mozilla firefox atau iceweasel


Masuk ke www.tweetdeck.com, download tweetdeck, ia akan install (juga Adobe Air).

Monday, 30 November 2009

Mengolah file pdf

pdfedit bisa menggabungkan file2 pdf dan mengatur urutannya.

Plus, trimming lebar page.

Kalau mesti nulis petunjuknya disini, mungkin kelamaan. Lebih baik videonya aja. Dan biar ngirit, di blogspotkan saja, heh he

Mengolah banyak file pdf

pdfedit bisa menggabungkan file2 pdf dan mengatur urutannya.

Plus, trimming lebar page.

Kalau mesti nulis petunjuknya disini, mungkin kelamaan. Lebih baik videonya aja.

Monday, 16 November 2009

KDE + Compiz + Debian Lenny

Ada panduan lengkap masang compiz di kde3 lewat Lenny.

Debian: Compiz on KDE Installation How-To


Tapi dengan ATI x300, kayaknya males nyoba.

Sunday, 15 November 2009

Asus EAX 1300 (RV370)

$ lspci
04:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B60 [Radeon X300 (PCIE)]

Hardware tests and comments:
http://hardware4linux.info/type/5/
3D never be perfect
Suggest: dump this card, if you have chance for other stuff

Google search:
rv370 debian

Do:
$ sudo dpkg-reconfigure -phigh xserver-xorg
$ nano /etc/X11/xorg.conf
to contain Options at result below.

Result:
  1. fglrx driver ($ sudo aticonfig) freeze the system
  2. radeon is working (but not radeonhd), below are Option for 3D (http://www.linuxquestions.org/questions/debian-26/finally-got-3d-in-debian-lenny-with-a-radeon-9000-639869/?highlight=ati+radeon+lenny):
Section "Device"
Identifier "Configured Video Device"
Driver "radeon"
Option "XAANoOffscreenPixmaps"
Option "RenderAccel" "true"
Option "AGPFastWrite" "true"
Option "VBERestore" "true"
Option "AddARGBGLXVisuals" "true"
Option "EnablePageFlip" "true"
Option "AccelMethod" "XAA"
Option "AllowGLXWithComposite" "true"
Option "ColorTiling" "1"
EndSection

Monday, 9 November 2009

Acer Timeline 3810TG-944G50n end of search

The work on Debian on Acer Timeline 3810TG-944G50n has been concluded when Kubuntu Karmic Beta was published. CD installation was fine. At first, there are so many errors and bugs reported but until last week, the error diminished drastically following formal release of Karmic Koala.

I have returned the laptop since I think I resign from sirrma project next year and I only work on the rest of the task at office. So, Acer Timeline 3810TG-944G50n has come to an end of search, and if you'd love to have the machine with GNU/Linux, I suppose to use Karmic Koala. In addition to that, please do register to Acertimeline thread at launchpad.net (or any other GNU/Linux thread on the machine) since problems are still discussed actively there.

It's good to be with the community, anyway.

Sunday, 8 November 2009

Menggabung 2 partisi

Yang mau digabung hardisk eksternal hasil potongan /dev/sdb1 (belum dialokasikan) dan /dev/sdb2. Means that partisi yang belum dialokasikan ada dibelakang /dev/sdb2. Teorinya mestinya bisa meresize ke belakang, tapi ternyata tidak bisa. Karena membuat partisi baru, memindah data di /sdb2 ke partisi baru lalu resize partisi baru agar mengambil jatah /dev/sdb2 sama saja rsync ke data di /home hardisk internal, ya... potongan yg belum dialokasikan dan /dev/sda2 digabung dengan fdisk. Lebih cepat ketimbang parted.

Demikian catatan hari ini.

Resize ntfs

Sebelum melakukan resize, pastikan partisi tidak sedang dimount.

Bila resize ntfs dari GUI parted lama selesai, resize partisi bisa dikerjakan dari terminal dengan parted. Ketahuan, error ini muncul:
No Implementation: Support for opening ntfs file systems is not implemented yet.

Ada resolusi untuk itu, dengan menggunakan opsi -f (atau --force):

$ sudo ntfsresize -f /dev/sdb1 -s 25G

Untuk memaksa meresize /dev/sdb1 menjadi 25GB. Ketahuan lagi HD external saya punya eror fisik:
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name        : /dev/sdb1
NTFS volume version: 3.1
Cluster size       : 4096 bytes
Current volume size: 60102087168 bytes (60103 MB)
Current device size: 60102088704 bytes (60103 MB)
New volume size    : 24999993856 bytes (25000 MB)
ERROR: This software has detected that the disk has at least 1 bad sector.
****************************************************************************
* WARNING: The disk has bad sector. This means physical damage on the disk *
* surface caused by deterioration, manufacturing faults or other reason.   *
* The reliability of the disk may stay stable or degrade fast. We suggest  *
* making a full backup urgently by running 'ntfsclone --rescue ...' then   *
* run 'chkdsk /f /r' on Windows and rebooot it TWICE! Then you can resize  *
* NTFS safely by additionally using the --bad-sectors option of ntfsresize.*
****************************************************************************

Ah, saya kan tidak punya Windows. Jadi, backup datanya, buat partisi ulang saja dengan fdisk atau cfdisk. Eh, kayaknya pernah 'meresize' dengan fdisk/cfdisk datanya nggak hilang. Jadi, coba aja dengan cara itu.

Thursday, 5 November 2009

Install Openoffice 3 di Ubuntu 9.04

Notes dari pelatihan di Solo 29-31 November:

  1. Masukkan CD Openoffice yang dari Ristek, unzip/untar file openoffice.tar.gz. dengan cara double click dari file manager.

  2. Buka terminal dari accessories > terminal atau dengan alt+f2 lalu ketik gnome-terminal.

  3. Dari terminal, masuk ke folder hasil unzip/untar (dengan perintah "cd" dibawah). Cek apakah benar sudah ada di folder hasil unzip/untar dengan perintah "ls".

  4. Install semua file .deb yang ada di folder tsb dg perintah dpkg -i (lihat dibawah).

  5. Agar tidak perlu menulis nama file yang panjang dan menghindari kesalahan, ketik karakter2 awal file dan pijit tombol Tab, maka bash akan melanjutkan sendiri.

  6. Perintah Linux adalah CASE SENSITIF, jadi huruf kapital dan kecil dibedakan.





$ cd ./direktoriopenofficehasiluntar
$ ls

(kalau ada banyak file berekstensi .deb, maka anda sudah benar)
$ sudo dpkg -i *.deb

selesai.



Tulis komentar untuk memperbaiki catatan ini. Terima kasih.

Thursday, 22 October 2009

Plone in Debian Lenny

  • Anyone on Debian with add-ons? - http://plone.org/support/forums
  • Plone on Debian (Etch) - http://plone.org/documentation/how-to/plone-on-debian-etch

Check this too:
Training Announcements - http://plone.org/events/training

Saturday, 3 October 2009

Ngintip partisi lain

$ sudo fdisk -l

buat ngelist partisi yg ada. bisa juga dengan $ df

$ sudo mount /dev/sda1 /mnt

buat mounting partisi pertama di sda ke /mnt. Kalau mau di mount di tempat lain, misalnya /media/sda1, ya bikin foldernya dulu:

$ sudo mkdir /media/sda1

$sudo mount /dev/sda1 /media/sda1

Kalau mau agar user bisa mount sendiri, tambahkan di /etc/fstab

/dev/sda1 /media/sda1 ext3 users,atime,auto,rw,dev,exec,nosuid 0 1

Saturday, 12 September 2009

Acer Timeline 3810TG - Atheros 8131

https://answers.launchpad.net/ubuntu/+question/80493
http://atheros.wikidot.com/

Linux inside windows

For the sake of untarring and make-ing OpenCaster, I tried cygwin inside my winvista box since connection via atheros on eth0 af my acer timeling 3810tg doesn't resolved to work.
But after a while of trying and checking colinux, I think the best resolution for using Linux inside win box is Virtual Machine.
And it's worth with the 4GB of RAM in Acer Timeline.
Thank you!

Thursday, 10 September 2009

Plone 3 and GIS

Sepertinya ada banyak pendekatan.
  • primagis - 0.6 is not designed for plone 2 (http://lautaportti.wordpress.com/2007/02/12/primagis-in-plone-30/)
  • zgeo.wfs - issued 27 oct 08. Debian Lenny is with plone 3.1.3 which is released on 10 July 08. Should be fine.
  • mapnik
  • ?
oh, My

Wednesday, 2 September 2009

Acer Timeline 3810TG-944G50n - Desktop Manager

There's a kernel loops with ati catalyst driver (9.7 and 9.8).
Suppose ATI kernel source should be probed

Tuesday, 25 August 2009

pdf edit

Salam,

Saya lagi ngisi form yang dikirim dengan pdf.
Contraint:

  1. Menjaga konsistensi file pdf (tidak diedit)
  2. Menambahi kata2

Ada 3 clue:

  1. Form dibuka dengan gimp dan tiap halaman disimpan sbg file/halaman berbeda di openoffice writer, gambar dijadikan background.
  2. Dibuka make pdfedit, di-delinearized, disimpan, ditulisi.
  3. flpsed jauh lebih ringan dan cukup fungsional kalau untuk ngisi form, dibanding pdfedit yang (terlalu) kaya fitur sehingga berat.

Demikian, rojer. Mudah2an manfaat dan selamat puasa.

Wassalam,

--
Yus Budiyono

Wednesday, 19 August 2009

Sidux

Barusan nyoba Sidux (Debian sid live distro, kernel 2.6.30), dengan qemu dan ram 512.
Versi KDE: nggak kuat (sudah tentu, karena kde4 nggak mampu jalan dengan RAM 512 MB).
Versi XFCE: lambat.
Prosesor Athlon X2 dibaca 1 prosesor 3.2 G
Belum nyoba tanpa qemu.

Acertimeline 3810TG-944, masih dengan Debian Lenny tapi kernelnya 2.6.30-BIGMEM. Sepertinya nggak berani rely on Sidux. Tapi buat experimen di 1 partisi 10 GB sih oke. Buat apa juga 500 GB HDD, kalau nggak untuk full experimen.

Emulasinya untuk distro ringan dan lucu saja.

Btw, ada yang tahu distro ringan yang text based? Puppy dan Slitaz berbahaya karena potensial mengakses partisi Lenny atau widow$.

TQ

Friday, 7 August 2009

Acer Timeline 3810TG-944G50n - Wireless Intel 5100

Woohoo!
It's on now!

Got this tutorial here: http://wiki.debian.org/iwlagn.

And this is what I did:
  1. Download all the debian package in the tutorial, i.e. linux-image-2.6.30-bpo.1-686-bigmem_2.6.30-3~bpo50+1_i386.deb (the computer got 4GB RAM), firmware-iwlwifi, wireless-tools.
  2. Install the three using "sudo dpkg -i *.deb" (remember I am not connected into internet)
  3. It depends on some others but all can be done using Lenny DVD ($ sudo mount -o loop dvdlenny.iso /media/cdrom) using apt-get.
  4. And wicd_1.5.9-5~bpo50+1_all.deb that deletes network-manager.
  5. Open wicd and I'm connected!
If you need detail instruction, you may buzz me or go to http://www.ios.web.id/.
Thank you and have a nice weekend!

Wednesday, 5 August 2009

Boot Linux dari USB CDROM

suka gagal? Matiin powernya external CDROM/DVD. Nyalain lagi. Dikenali lagi.

Wednesday, 29 July 2009

grub prompt

Kemaren, partisi /dev/hda5 yang mengandung Scientific Linux di laptop lama Acer Travelmate 2423 saya hapus, karena pengen 'cut and paste' iOS. Karena cut and paste belum selesai sementara partisi sudah bersih (termasuk menu.lst), maka laptopnya hanya menampilkan grub prompt.

grub>

Pagi ini, saya nyontek loadernya grub menu.lst di desktop kantor karena sama2 Debian Lenny, cuman beda partisi doang.
Berikut urut2an perintah yang ditulis di grub prompt sampai komputer booting ke Debian di partisi /dev/hda6

grub> root (hd0,5)
grub> kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/hda6 ro quiet
grub> initrd /boot/initrd.img-2.6.26-2-686
grub> boot

Setelah masuk di Debian, tinggal install ulang grub:

$ grub-install /dev/hda

Dibawah adalah referensi panjang lebar hasil googling:

http://www.linuxjournal.com/article/4622

Acer Timeline 3810TG-944G50n

Alhamdulillah, I just got a new Acer Timeline 3810TG-944G50n. It's been a while for the wait 'til Hartono get it one for me this rare thing!

Bad news, the 8 hours battery life is for Vista and I don't really see that the OS is for me. Debian stable (Lenny) installs well but the kernel (2.6.26) is not very much for Su 9400, Intel WiFi Link 5100 neither Attansic Tech Corp Network. Note that I use Debian Lenny and iOS (Kubuntu 8.10, kernel 2.6.28-generic). Below is roadmap:

Screen
LED, 1366x768

Processor Intel SU9400
"Penryn-3M" (ultra-low-voltage, 45 nm, Small Form Factor), Core 2 Duo Mobile family (http://en.wikipedia.org/wiki/List_of_Intel_Core_2_microprocessors#.22Penryn-3M.22_.28medium-voltage.2C_45_nm.29)

Graphic cards (ATI Radeon HD 3300)
Debian Lenny runs VESA on this machine but I can't hack any further to make the LED monitor to run 1300x768.
Search on ati.com shows Radeon HD 3300 is with ATI Catalyst driver (download file is 83MB, which is sad for my internet connection).
Thread in Ubuntu forum (http://ubuntuforums.org/showthread.php?p=7680447) tells Debian Sid make ATI HD 4330 work with fglrx driver. Hum.. lovely.

Wireless network (Intel WiFi Link 5100)
Debian Lenny (kernel 2.6.26-2-686) don't turn wireless on. However, iOS (kubuntu 8.10, kernel 2.6.28-generic) enlive it fine. Copying the latest kernel into Lenny don't help. Search is still on.

Wired ethernet (Attansic Tech Corp Dev 1063)
http://www.hogchain.net/attansic/attansic.html tells that the hardware is with Attansic L1 product family.
Search is still on.

Debian testing CD
Done with both netinst and KDE installer, stops at
INFO: kbd-mode: setting console mode to Unicode (
UTF-8)

To do:
1. Debian Lenny
- Pasang ulang
- Install kernel 2.6.30 atau 2.6.31 sekalian (atau ngikut thread di sid)
- nyalain wlan
- edit xorg seperti puppy (vesa?), upgrade dengan ati catalyst 2.7
2. iOS
- Kopi dari Acer lama
- dioprek selayaknya Lenny atau ngikut thread di launchpad

Tuesday, 21 July 2009

Synaptic via proxy

Kalau sering pindah network antara yang berproxy dan tidak, perlu diperhatikan file eksistensi file /etc/apt/apt.conf atau yang semacam.
Di lingkungan dengan proxy, perlu diset satu file diatas dengan cara:
$sudo nano /etc/apt/apt.conf
tuliskan 1 baris dibawah:
Acquire::http::Proxy "http://202.46.240.76:3128/";
ctr+x (save and quit)
$ sudo apt-get update
$sudo apt-get install aplikasi-pilihan-anda

Lingkunan tanpa proxy biasanya lingkungan umum yang koneksi internetnya dengan modem. Misalnya dari rumah dengan modem GSM, HSDPA, CDMA, kabel atau jalur umum lain yang tanpa proxy (lingkungan wireless/hotspot).
Lingkungan berproxy misalnya jaringan terbatas seperti di lingkungan perkantoran.

Friday, 26 June 2009

Sun virtual box

Gara-gara gagal ngejalanin iso ios dengan qemu, terpaksa pasang sun virtualbox.

apt-getnya ada disini: http://www.virtualbox.org/wiki/Linux_Downloads

Termasuk adding secure apt dengan asc file dan ngoprek sourcelist agar memasukkan repo sun-virtualbox.

Tuesday, 16 June 2009

OpenOffice + Bibliography

Saya pikir, ada addon yang mengintegrasikan bibtex kedalam OpenOffice. Ternyata, OpenOffice lebih baju dibanding pikiran saya.

Untuk yang membuat artikel ilmiah, bisa buka Tools > Bibliography database. Atau lebih komplit lagi, buka Help Openoffice, pindah ke tab Find, ketikkan "bib" dan selamat membiasakan diri dengan Bibliography yang dibuat dengan SQLite.

Jadi ingat betapa sepuluh tahun yang lalu pernah die hard mencari pengganti fitur/software endnote yang terasa begitu indah tapi tidak terbeli!

Monday, 15 June 2009

Image viewer kphotoalbum

Bingung dimana kphotoalbum menyimpan konfigurasi letak image yang discan?
Udah muter2 di help dan wiki kphotoalbum, jawabnya didapat dari

$ locate kphotoalbum
$ nano .kde/share/config/kphotoalbumrc

ganti lokasi folder imagenya!

Sunday, 7 June 2009

Menghapus CD/DVD

Kalau tidak berhasil dengan k3b atau metode semacam, gunakan:
$ wodim blank=all

lebih sakti.

Saturday, 6 June 2009

mounting ntfs

Sudah install ntfsprogs/ntfs-3g tapi belum bisa mounting?

Perintahnya

$ sudo ntfsmount /dev/hda1 /media/hda1

Tentu dengan penjelasan bahwa partisi ntfs ada di hda1 dan direktori /media/hda1 sudah dibuat.

Kalau mau user bisa mount, tinggal ditambah di /etc/fstab. Kayaknya di posting terdahulu sudah dibahas tentang fstab. Begitu juga kalau ingin mounting bisa diakses dengan file manager, bahkan yang paling sederhana seperti pcmanfm.

Wednesday, 27 May 2009

Evolusi gadget

Dulu, waktu tiap hari nongkrong di bis kota Rambutan-Kota, ada 3 hal yang klasik: nyari teman sebelah yang ehem, bawa koran tempo seribu perak (sampe tukang korannya hafal) dan scratch book. Yang pertama rasanya adalah basic instinct; semua orang sudah tahu maksudnya. Yang kedua, paling penting rubrik Teknologi karena New Scientist harganya 2 juta setahun. Yang ketiga, memformulasikan input yang sudah didapat.

Dari scratch book yang seukuran palmtop sekarang (motong sendiri dari bundel buku gambar yang besar dan yang salah satu potongannya dikasih ke mbak Odil) plus pinsil, saya mikir kalau make HP pasti enak.

Alhamdulillah, Allah yang Maha Mendengar menghadirkan Ericsson R380 dengan stylus. HP tsb hadir di Indo atas jasa pasar gelap. Harganya 350k. Sempat bikin heboh anak nongkrong karena harga & fungsionalitasnya. Ternyata HP biru gelap ini cepat gelap total alias kacau softwarenya.

Dari nutul dengan stylus yang membosankan, sepertinya enak kalau gadgetnya bisa seperti buku gambar lama. Maka, Allah menurunkan HP Ipaq 1560 (?) yang hanya bisa buat catetan doang minus online. Wah, senang sekali. Tito yang paling berjasa atas turunnya gadget ini. Cuman, ternyata nulis dengan stylus tidak seindah yang dibayangkan. Bahkan nutul keyboard virtual dengan stylus lebih baik.

Pergilah Ipaq karena layarnya leak, datang Nokia 9210i. Allahu Akbar! Ternyata keyboard QWERTY yang paling nyaman untuk mengelola ide. Sayang gadget satu ini ringkih di engsel. Udah gitu, ukurannya bikin orang klenger.

Sekarang, Alhamdulillah, 9300 bekas yang dibeli dari Budi masih bagus. Cuman batrenya aja yg udah melembung. SAYANGNYA gak komunikasi sama komputer.

So, sepertinya bagus kalau hand gadget yang akan datang dari OPENMOKO atau GOOGLE ANDROID. Yang pertama, di Indo belum beredar, yang kedua (http://yusbu.blogspot.com/2009/05/google-android.html) masih mahal buat PNS Gol. III/c.

In the mean time, untuk ide yg lebih serius (i might call a think pad), Acer 14" dengan Puppy Linux atau sedang dicari yg lebih ringan macem tomsrtbt bisa load lebih cepat ketimbang waktu load bios sekalipun! Gotta check http://www.linuxlinks.com/Distributions/Mini_Distributions/ for this. However, I'm not to implant that into my old Acer 14" soon. Hoping the new 12" one will arrive soon and I can fly with it.

Lastly, if you have head that is blown by ideas very often like what Allah brings to me and it takes gadget to contain, I might suggest a 10" flybook a.k.a netbook, and not any smaller thing. Of course, beside OPENMOKO or GOOGLE ANDROID. And safe the rest for those who need!

Hosting multiple websites with apache2

Ada banyak aplikasi cms yang dimuat di Debian Lenny. What's good with that is that those apps reside in /usr/share dan datanya tersimpan di direktori server yang normalnya adalah /var/www.

Waktu nyoba ngeset wordpress, ada masalah di seting apache.conf seperti yang dicontohkan di dokumentasinya di /usr/share/doc/wordpress.

Hence, I was lead to dig down the concept and found this site with same tittle as above:

http://www.debian-administration.org/articles/412

It's comprehensiveness takes time to learn but it clarifies what's on.

Astep by step guide is also available here:

http://linux.justinhartman.com/Wordpress_Installation_on_Debian

Selamat mencoba!

Tuesday, 12 May 2009

Google android

Lagi pengen ngelist qwerty phone yang talk as much with my Linux Box.
I don't see OpenMoko has that much keys, like major Google Android phone does.

HTC G1 (http://androidphone.org.uk)
Samsung i7500 (http://phandroid.com/)

Epiphany-browser

Ada browser that's meant to be fast light but in the end, I can't load some pages or it turns too slow to upload.

Well, that's a short brief and straight to the point review on epiphany-browser on Debian Lenny.

Sunday, 10 May 2009

Memindah DVD ke HD

Teknologi micro-holographic GE untuk menghasilkan HD 500 GB (Tempo Interkatif 11 Mei 2009: Kisah Perjalanan Cakram Jumbo) bisa digunakan untuk menyelamatkan koleksi DVD yang sering ngadat setelah disimpan beberapa waktu.

Ceritanya, 1 DVD bisa dikompresi jadi 1 file iso. Dengan demikian, nggak perlu ada folder movie yang berisi folder DVD. Dengan format iso, nyaris nggak mungkin ada 1 file didalam 1 judul filem yang tergeser sehingga filem nggak bisa diputer. Kalau perlu diputer, tinggal mount iso dengan loop. Kalau diperlukan diputer diluar Linux, bisa diburn di DVDRW.

Selanjutnya, file iso bisa ditempel metadata agar koleksinya lebih gampang dicari.

Thursday, 7 May 2009

Dari ppt ke swf

Dari pengalaman convert file presentasi ke flash untuk artikel presentasi Situ Gintung yang diupload di http://sirrma.bppt.go.id, ada beberapa cara konversi ppt ke swf:

  1. Dari ppt di save as ke odg, dibuka dengan open office draw, di save as ke swf. Slide transition di swf clickable.

  2. Dari open office impress, tiap slide disimpan jadi gambar tersendiri dan masing-masing dijadikan layer di Gimp dan di save as (animated) gif. Maka tiap slide akan otomatis berubah dalam periode per milisecond yang diinput waktu konversi ke animated gif. Dan karena animated gif, ya muter ke depan lagi.

  3. Presentasinya di preview dan ditangkap dengan wink. Maka swf-nya persis seperti preview presentasi. Rendering dengan wink tentu butuh resource lebih besar.


Demikian selamat mencoba.

Tuesday, 5 May 2009

Google Earth di Debian Lenny

Jaman dulu banget, mainan Linux nggak enak karena Google Earth belum di port di Linux. Lalu, waktu versi Linuxnya keluar, masih nggak enak karena GLX masih susah diset. Sekarang, Wow!

Pasang Google Earth terbaru (5, tapi kayaknya sudah sejak 4 di Etch dulu), segampang apt-get.
$ apt-get install googleearth-package

$ make-googleearth-package

Maka akan di download binary google earth, lalu dibuatkan debnya. Kalau cara tradisional, tentu tinggak kick
$ chown +x googleearth.bin

$ sudo ./googleearth.bin

Kalau sudah ada debnya ya tinggal
$ sudo dpkg -i googleearth.deb

Catatan, komputer tua dengan VGA nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] bisa menjalankan google earth dengan baik hanya dengan driver nv! As I mentioned long before that nv open source driver is ready for google's GLX!

Running Consideo without Wine

extract consideo_4.5.zip onto /tmp or /opt
$ java -jar /opt/consideo_4.5/consideo.jar

I already wrote this (and all things related to Linux on http://migrasioss.web.id/). Thank you for visiting.Link

Wednesday, 15 April 2009

Menghapus password Windows

Masih nyambung dengan Live USB System Rescue CD buat membunuh password Cak Muslim kemarin (cek di previous post), setelah ngenet buat nyari cara nemuin file SAM plus sedikit ngulik, ketemu caranya.

Intinya:

  1. Boot dengan Live USB System Rescue CD (yg dipake 1.0.1, karena adanya itu). Ukurannya masih 100-an MB. Yang versi terbaru yaitu 1.1.7 udah gembul. Mungkin juga penggunaannya lebih mudah.

  2. Tendang enter aja, kerena pilihannya khusus untuk itu nggak ada (kecuali masu masuk modus floppy). Jadi beda metodenya dibanding Austrumi 0.9.2

  3. Mount hardisk yang ada system "OS yang itu"

  4. file SAM (persis, nama filenya cuman itu) punya "OS yang itu XP" ada di folder /mnt/sda1/WINDOWS/system32/config. Folder /mnt/sda1 karena "OS yang itu"nya diinstall di partisi pertama hardisk SATA. Clue nyari SAM file disini, karena nyari READMEnya nggak ketemu.

  5. Abis itu liat helpnya chntpw. Tutorial buat impatience ada dibawah.

  6. Reboot, masuk ke "OS yang itu".

  7. Kalau Administrator nggak di list, press CTR+ALT+DEL DUA KALI. Isikan Administrator di bagian login atau user lain yang passwordnya sudah dihapus/diganti dengan chntpw di System Rescue CD.


$ mount /dev/sda1 /mnt/sda1

$ chntpw -u Administrator /mnt/sda1/WINDOWS/system32/config/SAM

Pilih 1 (untuk menghapus password Administrator)

Jawab y

Reboot komputer, masuk ke "OS yang itu", baca step diatas lagi.

Smile.

Monday, 13 April 2009

USB live distro

Ceritanya, pulang dari mesjid Cak Muslim mesam-mesem nunggu di pintu keluar. Ternyata beliau ngaduin laptopnya yang nggak bisa login di 'OS yang itu'.

Celakanya, CDROM drivenya juga mabuk, jadi nggak bisa booting dari CDROM yang bertebaran di rumah.

Saya inget System Rescue CD punya fitur menghapus password di 'OS yang itu'. Disamping distro SysRescCD, Austrumi 0.9.2 juga bisa, tapi versi sesudahnya tidak menyertakan fitur itu lagi. Sayang, padahal pendekatannya lebih mudah.

Kebetulan, USB saya sudah ada Ubuntu 8.10 Live, meski waktu di tes di laptop Cak Muslim hanya bisa masuk busybox. Gpp, tujuannya memang cuman ngetes apakah bisa boot dg USB.

Nah, sekarang tinggal bikin USB Live System Rescue CD. Prosedurnya dasarnya cuman 2, yaitu menyalakan MBR usb flashdisk agar bisa buat booting dan mengkopi flashdisk dengan isi CDROM Live yang dalam hal ini System Rescue CD.

Langkah pertama (tidak dikerjakan karena USB saya bekas buat Live Ubuntu 8.10. Cuman dihapus sistem Ubuntunya aja, biar nggak ruwet sama SysRescCD):
dd if=mbr.bin of=/dev/sdb1

syslinux /dev/sdb1

Langkah kedua (waktu itu menggunakan konqueror, jadi tinggal click and drag):
cp -af /mnt/cdrom/* /mnt/sdb1/

Data yang sudah ada di USB biarin aja. USBnya gak usah diformat.

Tahu kan prinsipnya?

Kalau mau lengkap, ya baca manualnya di Sysresccd-manual-en_How_to_install_SystemRescueCd_on_an_USB-stick.

Monday, 30 March 2009

Adzan

Minbar (gtk2 dari itools) sudah ada di Debian Lenny.
So, kalau pengen diingetin soal adzan tinggal
$ sudo apt-get install minbar
Jangan lupa ganti waktunya 7.0 (maksudnya GMT+7) di screen depan DAN pilih kota Jakarta (ada dibawah Australasia & Oceania).
Lainnya default.

Thursday, 26 March 2009

Mounting pup_safe.2fs

Playing enough with puppy and safe some data?

Mount the file as loop file if you mean to read the content from outside of puppy:

$ sudo mount -o loop ./pup_save.2fs  /mnt

You'll find your saved puppy data under /mnt/root/

xjig

Finally I know how to work on with xjig, the jigsaw puzzle game! I've been browsing /usr/share/doc/xjig with no clue until I read posting about the manual. The guy mentioned he didn't get it, but I just do

$ man xjig

And, yes! I play xjig now! re's some of the key  resume (try on and see what happen):

Zooming: Home, End, Pageup and Pagedown

Moving: arrow keys

Mouse: left (rotate), middle (flip), right (move).

Good game!

Wednesday, 25 March 2009

Desktop Wiki

Aplikasi wiki bisa dikategorikan dalam 2 golongan: server based yang butuh apache dan desktop based yang jalan di desktop.
Contoh populer di golongan pertama tentu media wiki, emboknya artikel di wikipedia. Sisanya ada buanyak, dari yang ringan sampai yang rumit. Kalau perlu informasi detil, silahkan googling "wikimatrix".
Di golongan berikutnya ada zim dan didiwiki. Itu dua yang paling banyak (saya/di)gunakan. Yang satu running murni di desktop, persis aplikasi biasa. Dibangun dengan perl, jadi nggak butuh gtk atau kde. Didiwiki nyala di web browser. Kalau nggak salah nggak butuh apache (seperti halnya web managernya cupsys) dan nyala di port 8000. Atau dipanggil dengan http://localhost:8000/.
Buat apa pasang didiwiki atau zim? Well, penerapannya bisa buat kepanjangan tangan mind map, bisa buat bikin draft buku, atau buat blog, kalau nggak ingin catetan hariannya dibaca orang!

Zim

Nyari tutorial zim yang offline (link di aplikasi) nggak ada. Belum ngecek /usr/share/doc/zim. Hanya saja, di website lumayan lengkap. Atau karena penggunaannya sangat sederhana?

Bingungnya sih waktu bikin new zim book, nggak tahu apa itu Document Root. Biar gampang, mari kita sederhanakan: Document root diisi saja dengan /home/user atau Document root user yang sedang aktif.

Kalau mau ribet, boleh baca sitenya:

http://zim-wiki.org/Usage/Attaching_Files.html

Begitu bleh!

Sources.list

Kalau ada komplain:
administrator@Linux-desktop:~$ sudo apt-get install wine
Reading package lists… Done
Building dependency tree
Reading state information… Done
Paket wine tidak tersedia, tapi menunjuk ke paket yang lain.
Ini bisa berarti paket tersebut hilang, telah kadaluarsa, atau
hanya tersedia dari sumber lain
E: Tidak ada paket yang memiliki hubungan dengan paket wine

Bisa:

1. Tambahkan kata-kata: main contrib non-free (debian) atau universe multiverse (ubuntu) di /etc/apt/sources.list, seperti:

deb http://kambing.vlsm.org/debian/ main contrib non-free

2. Distro (ubuntu) anda sudah lewat LTS sehingga repositorynya tidak lagi memuat semua aplikasi yang tersedia. Bisa upgrade ke seri yang lebih baru atau

3. "don't touch a working system"

Perubahan juga bisa dari Synaptic Package Manager.

Demikian..

Tuesday, 24 March 2009

Ati Radeon X1200 Series

First of all, the chipset works fine with xserver-xorg-video-radeon. Problem is with my M2A-VM HDMI mainboard that's been more than one year now and defected on the bus that control the video chipset.
The driver contain 2 keywords for xorg.conf. They are radeon and radeonhd. The first one stays about 6 hours until it freezed my system (slow mouse movement and no further respond, including from keyboard input). The second keyword looks fine.
Below is the configuration detail. Notes that it's been tuned than ordinary xorg.conf from
$sudo dpkg-reconfigure xorg-xserver
---
Section "Device"
Identifier "Radeon X1200"
Driver "radeonhd"
VideoRam 131072 #kalau aktif dg driver ati, Xnya crash
Option "AGPMode" "8"
Option "AccelMethod" "EXA"
Option "AccelDFS" "1"
Option "EXAVSync" "1"
EndSection

Mudah2an manfaat.

Thursday, 19 March 2009

Ngeprint ke windows

Bingung kprinterwizard menonaktifkan bagian printing ke windows?
Pasti karena smbclient belum dipasang.
Komplitnya begini:
$ sudo apt-get install cupsys cupsys-bsd cupsys-client foomatic-filters foomatic-db-engine samba smbclient gs-esp a2ps
(dari Debian and Windows Shared Printing mini-HOWTO yg ditulis tahun 2002, tapi pahalanya masih mengalir sampai sekarang).

Monday, 16 March 2009

LG Studioworks 452v

Jika X nggak nyala baik, salah satu sebab adalah konfigurasi monitor yang tidak pas di /etc/X11/xorg.conf.
Kalau monitorworld.com ngelist HorizSync dan VertRefresh ya sukur. Kalau enggak, bisa dicari di website pabrik (bagian archive atau legacy product) atau site third party/komunitas. LG Studiworks 452v ketemu di http://wahjava.wordpress.com/2007/08/.
Detilnya:
HorizSync 31.5 - 54.0
VertRefresh 50.0 - 120.0
Bisa juga make live CD Knoppix atau turunannya. Biasanya pas awal loading detect.

Data tsb tinggal simasukin ke xorg.conf.

solusi ringkasnya adalah lari ke console dengan menekan ctr+alt+f1 (atau f2 dst s/d f6), lalu beri perintah dibawah (untuk perintah lengkapnya silahkan lihat di tag xorg.conf).
$ sudo init 2
untuk mematikan X (maaf kalau nggak tepat) atau
$ sudo /etc/init.d/gdm stop
atau ganti gdm dengan kdm atau mungkin juga xdm, lalu eksekusi
$ dpkg-reconfigure xserver-xorg
maka akan ada file konfigurasi baru /etc/X11/xorg.conf.

Thursday, 12 March 2009

gdm atau kdm?

Pertanyaan yang susah dan nggak penting2 juga. Tapi ya.. dijawab aja:
1. Ukuran filenya (termasuk requirementnya) hampir sama (gdm 4.788 kb, kdm 1.548 bytes)
2. Customize gdm di gdm. kalau kdm didalam window manager (kde, kcontrol/control center)
3. gdm defaultnya nulis user, kdm nulis password untuk default user.
Tapi bukan itu alasan menulis notes ini. Dimana ditaruh default display manager? Karena lagi malas buka internet. Search aja semua file di folder /etc/X11 yang contentnya mengandung kata gdm.
Ketemu /etc/X11/default-display-manager. Tinggal diedit, huruf g diganti k. Logout, restart display manager/simply reboot.

Bisa juga:
$sudo dpkg-reconfigure kdm
muncul dialog box, jawab kdm.
Restart display manager.

Friday, 6 March 2009

Flashplugin-nonfree di Debian Lenny

When doing
$sudo apt-get install flashplugin-nonfree

in Lenny, it will return:
Package flashplugin-nonfree is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package flashplugin-nonfree has no installation candidate

That's because Lenny (stable) don't list the package anymore. Detailed policy here says the package go to testing. Below is the summary taken from the site.
The decision made on 2007-12-21 is, starting with Lenny, that
flashplugin-nonfree is to be maintained in "unstable" for users of
"unstable" and "testing", and is to be maintained at "backports.org" for
users of "stable".

I think that's because Debian concern alot on the term GNU/Linux.

Comprehending the policy, the package can be installed via adding backport repository into /etc/apt/source.list. Add the line below into the file:

deb http://www.backports.org/debian lenny-backports main contrib non-free
$ sudo apt-get update
$ sudo apt-get -t lenny-backports install flashplugin-nonfree


Detailed instruction can be found in backports site here.

Tuesday, 3 March 2009

Tentang Video Card di Linux

Ada beberapa video card yang ribet untuk urusan driver. Di intel ada seri 915, di NVIDIA ada MX400. Chip VIA laptop Axioo punya Pak Nano juga bermasalah kalau direlay ke proyektor. Saya bilang, laptop dia canggih tapi nggak suka berbagi. Mending laptop saya: tua tapi masih bisa diajak ngomong.

Di Linux, sebenarnya video bisa dipaksa menggunakan nv (versi komunitas untuk VGA NVIDIA). Selain card tersebut, bisa menggunakan fb(dev) atau vesa. Untuk keampuhan vesa bisa dilihat di review dengan tag video_card.

Berikut ini contekan /etc/X11/xorg.conf dan sedikit penjelasannya:
Section "Device"
Identifier      "Radeon X1200"
Driver          "vesa"
VideoRam        131072  #kalau aktif dg driver ati, Xnya crash
EndSection

Section "Monitor"
Identifier      "HP A4330A"
HorizSync       20-85
VertRefresh     50-120
EndSection

Section "Screen"
Identifier      "Default Screen"
Device          "Radeon X1200"
Monitor         "HP A4330A"
DefaultDepth    24
SubSection "Display"
Depth           24
Modes           "1280x1024" "1024x768"
EndSubSection
EndSection

Identifier di Section "Device" dan "Monitor" boleh diisi frasa apa saja, yang penting match dengan  Identifier dan Monitor pada Section "Screen" dibawahnya.

Driver di "Device" bisa langsung diganti-ganti dengan nv, vesa atau fbdev. Kalau pada saat ngetes X nggak nyala, lihat pesannya. Kemungkinan besar karena drivernya nggak cocok. Di Debian dan Ubuntu, hampir semua driver VGA sudah secara otomatis diinstall. Jadi tinggal pilih saja. Kalau toh yang tidak terkait hendak dihapus, itu hanya ngirit beberapa ratus kilo atau beberapa mega space Hardisk, bukan di memori.

HorizSync dan VertRefresh boleh tidak diisi. Tapi kalau punya data detil (bisa cek di monitorworld), baiknya dideclare. Video dan monitor masih bisa dipaksa untuk bekerja maksimum, tapi beresiko menjebolkan hardware.

Modes bisa diisi berurutan dari besar ke kecil. Maksudnya, kalau yang pertama nggak mampu, xorg akan langsung memilih mode berikutnya. Kalau ada masalah di modes, biasanya terkait dengan HorizSync dan VertRefresh.

Terakhir, perintah berikut terkait ketika pengetesan X:
Ctr+Alt+F1 =untuk keluar ke conole mode (TTY1)=

$ sudo nano /etc/X11/xorg.conf =untuk mengedit konfigurasi manual=

$ X =untuk ngetes xorg jalan apa enggak dengan konfigurasi yang sudah ditulis=

Ctr+Alt+Backspace =untuk keluar dari mode X ke konsole (misal kalau X yang nyala tidak cocok)=

$ sudo /etc/init.d/gdm start|restart|stop =untuk nyetop gdm(atau kdm), dst=

$ dpkg-reconfigure xserver-xorg =untuk mengubah xorg.conf dengan menu interaktif. Kalau bisa menggunakan urutan diatas, cara ini lebi ribet dan tidak terlalu precise)=)

Demikian, mudah2an manfaat.

Thursday, 26 February 2009

web server ready on slitaz

lighttpd, php, mysql, joomla, all are contained in slitaz server forum and there exists two isos:

  1. Joomla on LightTPD/Slitaz

  2. slitaz with apache php mysql and without Desktop?


sqlite dan cms

Gara-gara Slitaz, I turned to lighttpd, php dan sqlite. Mestinya menarik ketika kita punya webserver dari gabungan 2 hal ringan dan kecil. But when it comes to CMS yang sudah ada (misal cms made simple, wordpress dan mediawiki all at once), permasalahannya jadi tidak sederhana. I haven't dig deep but it seems perlu penyesuaian-penyesuaian agar db dari banyak CMS yang umumnya menggunakan mysql sebagai basis, dirubah ke sqlite. In summary, things don't work out of the box.

These two links may tell more:

  1. CMSMADESIMPLE AND SQLITE - HOW TO SETUP


  2. Tentang ADOdb dan Class MySQL, SQLite




This posting "sqlite vs mysql" clarifies well.

Monday, 23 February 2009

Running consideo.jar

I finally got the clue to run Consideo modeller on my Debian Lenny.
The quick fix was here:
extract consideo_4.5.zip onto /tmp or /opt
$ java -jar /opt/consideo_4.5/consideo.jar

Oh my Goodness!
By the way,
$ java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (build 1.6.0_0-b11)
OpenJDK Server VM (build 1.6.0_0-b11, mixed mode)

The second and the third I think is redundant. Also particularly, OpenJDK doesn't run Freemmind 0.8.1. But as long is it doesn't crash my system then it's ok. We might leave stripping for later work.

Radeon X1200 and Debian Etch

Notes:

  1. ati driver works but crash after a while. Forcing xorg.conf to use 256MB of Video memory makes xorg unable to load driver.

  2. vesa driver works, but flicker. Forcing to use 256MB of RAM make screen better but still flicks.

  3. fglrx and fbdev don't work.


Good notes, perhaps but need to be verified.

Most importantly, my ASUS mobo with HDMI is defect in its VGA since it was bought in December 2007. It was got serviced lately. Sympthom like above enlived the Video but then crashed.

Friday, 20 February 2009

xorg.conf Debian Lenny

Waktu pasang Debian Lenny dengan cara 'frugal install' (ini istilah sendiri yang dicomot aja dari DSL/Slitaz), ada kebingungan karena xorg.conf persis dengan style Ubuntu.

Pendekatan baru ini cocok untuk laptop, saya kira, tapi nggak cocok untuk desktop yang hampir nggak pernah ganti monitor. Memang user yg belum paham setingan xorg dengan terminal akan bingung kalau ganti dari monitor CRT yang Horizontal Sync dan Vertical Refresh ratenya jauh diatas ke monitor LCD yang ratenya rendah.

Solusinya sederhana. Insert aja line HorizSync, VertRefrresh, dan Modes. Yang pernting 3 ini, kalau Identifiernya mau diganti sesukanya ya terserah, asal konsisten dari atas ke bawah.

Tambahan, drivernya langsung aku ganti "ati". Bener juga, driver ini sudah ada di kernel.

Berikut, lines yang bisa buat contekan. Kalau mau ganti LCD, tinggak hapus/sesuaikan HorizSync dan VertRefresh. Gicu, bok.
Section "Device"
Identifier      "Configured Video Device"
Driver          "ati"
EndSection

Section "Monitor"
Identifier      "HP A4330A"
HorizSync       20-85
VertRefresh     50-120
EndSection

Section "Screen"
Identifier      "Default Screen"
Monitor         "HP A4330A"
DefaultDepth    24
SubSection "Display"
Depth           24
Modes           "1280x1024"
EndSubSection
EndSection

Wednesday, 18 February 2009

Freemind at Debian Lenny

I believe the procedure is for etch too.

The mostly used Freemind that is for mind mapping (to note in meeting) is now enliven in my new Lenny. here's the summary:
$ sudo apt-get install sun-java6-jre libcommons-lang-java
$ sudo dpkg -i freemind_0.8.1-1_all.deb

And here's the full notes:
$ sudo dpkg -i freemind_0.8.1-1_all.deb
Selecting previously deselected package freemind.
(Reading database ... 152886 files and directories currently installed.)
Unpacking freemind (from freemind_0.8.1-1_all.deb) ...
dpkg: dependency problems prevent configuration of freemind:
freemind depends on libcommons-lang-java; however:
Package libcommons-lang-java is not installed.
freemind depends on libforms-java; however:
Package libforms-java is not installed.
freemind depends on libjaxp1.2-java; however:
Package libjaxp1.2-java is not installed.
freemind depends on librelaxng-datatype-java; however:
Package librelaxng-datatype-java is not installed.
dpkg: error processing freemind (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
Processing triggers for menu ...
Errors were encountered while processing:
freemind
$ sudo apt-get install libcommons-lang-java
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:

Debian Lenny

The nowly issued Debian is 5.0 (Lenny) right on 14 February 2009.

I might comment this is a Desktop Linux rather than an ordinary Debian.

And there's no much to say but kick your computer with DVD 1 and add it into your grub boot loader.

The bad is I might soon forget how to administer my system with console...

Mounting hardisk as user

Doing
$ sudo mount /dev/sda5 /mnt

may result user unable to read or write the drive. If you want to mount the drive and utilize it as user, do
$ sudo mkdir /media/sda5

then add the line into /etc/fstab
/dev/sda5       /media/sda5     ext3    ro,user,noauto  0       0

Note that 'ro' means the drive is mounted read only and 'user' gives all user to drive the mount. Now you can mount the drive as user:
$ mount /media/sda5

Or better create a desktop icon telling to point to /media/sda5 so you can double click it to mount the drive.

Sunday, 15 February 2009

MySQL on localhost

sirrma.bppt.go.id that's meant for disaster mitigation site (and is short of Sistem Reduksi Risiko Multi Bencana) is on. Time to restrict the database server!

Here's the clue when you require to do so:

To make mysql listen only on the localhost interface, add the following to each of the three sections in /etc/my.cnf (googled reference)




bind-address = 127.0.0.1


Or control from within phpmyadmin's .htaccess:




hostOrder deny,allow
Deny from all
Allow from localhost


Friday, 13 February 2009

About Puppy Linux

http://www.murga-linux.com/puppy/viewtopic.php?t=30136

Choosing a Linux Distro

As I previously wrote about my old Armada M300 laptop, I quickly realize that DSL, despite its speed, is not ready for productive environment. The laptop may roam around as a presentation tool to show computer user that Linux may live in an old machine and still usable. Hence, I grab Puppy and Slitaz that've been recognized to comprehend my consideration.

Slitaz is small and beatiful. More, the cooking edition is nearly 1 GB so I assume it must be very ready for office works. However, but it doesn't run well in the machine. I assume it must be because it runs on RAM and take 80s out of 128 MB M300 RAM. Secondly, it uses Enlightenment that runs GLX. But I must check it up again.

Puppy looks happy in the machine and runs fast enough even though it looks fatty.

On LUG meeting yesterday (Friday 13 Feb 2009), where discussion is on 'Selecting a Distro', I sum up my experience that machine with 128 MB of RAM may take Puppy, while 256 MB machine may take Slitaz. Pentium 4 class better use Desktop approach with Distro such as Ubuntu, Mandriva or SuSE.

A server might consider Debian and Centos.

Ok, hope this will add what's been reported in LUG meeting.

Thank you.

Monday, 2 February 2009

Damn Small Linux 4.4

My Compaq Armada M300 has finally embraced Damn Small Linux 4.4 after long been enlived with Xubuntu. The latest felt slow for most of time, particularly when i need to blog in my wordpress like now. Even on local wordpress. I think the hardware gets old.
I'm happy to see DSL works well. Thought Linux 2.4 is old and unable to handle hardware heaps such as USB and wireless card but the menu is there, even though I haven't try anything on.
Some note, it's easier to turn NIC on before attempting dsl-hdinstall.
My big thanks to DSL team! The new version 4.4 really gives alot, including remastering a DSL. Bravo folks!

Friday, 30 January 2009

adobe flash player

masang adobe flash player di redhat/fedora/scientific linux dan mestinya juga di centos:
1. masuk ke http://get.adobe.com/flashplayer/, download yang yum
2. double click hasil download
3. buka applications -> add/remove software
4. search flash
5. put a check mark
6. apply
7. Jangan lupa restart mozilla (tutup lalu buka lagi)

Friday, 23 January 2009

Card ATI, drivernya vesa

Video Card ATI pagi ini sepertinya jebol. Bingung juga waktu nyala pertama kok gak dapat X. Kirain my system was broken. Alhamdulillah, enggak. Soalnya waktu masuk ke single nyala baik. Baru setelah masuk kdm atau X bermasalah. Lalu driver ati aku ganti vesa.

Yang canggih, vesa yg di Debian etch sudah mampu nyalain google earth yg menggunakan glx. Padahal dulu nggak mampu...
Otre, segicu dulu ya ... Nti kalau abis launching SiRRMA bisa ke service ASUS buat ganti mobo.

Video card ATI, drivernya vesa

Video Card ATI pagi ini sepertinya jebol. Bingung juga waktu nyala pertama kok gak dapat X. Kirain my system was broken. Alhamdulillah, ternyata my linux yang sistemnya ribuan tahun cuman dikopi dari hardisk lama ke hardisk baru sampe bosen enggak crash. Faktanya waktu masuk ke linux single nyala baik. Baru setelah masuk kdm atau X bermasalah. Lalu driver ati di xorg.conf aku ganti vesa.
Yang canggih, vesa yg di Debian etch sudah mampu nyalain google earth yg menggunakan glx. Padahal dulu ngotot make ATI karena pengen ngerasain driver fgrlx yg work out of the box.

Otre, segicu dulu ya … Nti kalau abis launching SiRRMA bisa ke service ASUS buat ganti mobo.

mapserver and CMS

I'm thinkin of an already CMS integrated mapserver apps and happy that plone is the most possible solution. The two links below are fine.

  1. Nabble mailist
  2. PrimaGIS
  3. Last but not least is CartoWeb (But it require mapserver >=4.4 while Debian Etch is with 4.10.0)

Monday, 19 January 2009

Ganti MAC Address di Debian/Ubuntu

Kalau dengan aplikasi namanya macchanger.
sudo apt-get install macchanger

Ngubah MAC address is a matter of nambahin 1 line berisi deklarasi MAC address
auto eth0
iface eth0 inet dhcp
hwaddress ether 01:02:03:04:05:06

di /etc/network/interfaces.

Quote (aslinya disini):

Change your Network Card MAC Address on Ubuntu


There are a lot of reasons you might want to manually set your MAC address for your network card. I won't ask you what your reason is.

To change this setting, we'll need to edit the /etc/network/interfaces file. You can choose to use a different editor if you'd like.
sudo gedit /etc/network/interfaces

You should see the line for your network interface, which is usually eth0. If you have dhcp enabled, it will look like this:
auto eth0
iface eth0 inet dhcp

Just add another line below it to make it look something like this:
auto eth0
iface eth0 inet dhcp
hwaddress ether 01:02:03:04:05:06

Obviously you would want to choose something else for the MAC address, but it needs to be in the same format.
sudo /etc/init.d/networking restart

You will need to restart networking or reboot to take effect.

Friday, 16 January 2009

LEMON POS

Cihui! Baru tahu kalau Lemon POS, dilisting sebagai aplikasi kde yang diperuntukkan bagi Small and Medium size retailer sudah release di Intrepid Ibex. Setelah install, wah keren. cuman ada masalah, databasenya kok nggak konek?

Setelah dan ngubek manual offline (karena installnya udah malem dan terpaksa meninggalkan "Warnet Siti Hinggil") yang sangat minim dan coba2 ngubah konfigurasi, besoknya sambil nyantai akhirnya nemu dump sql yang dipersyaratkan di website kde-apps.org. Ini cut and paste dari hal penting di diskusinya:Re: Username and passwor

by powersupply on: Jan 14 2009
powersupply powersupply
-

power supply
last visit Jan 15 2009
0 friends
0 groups

other contents
send a message
add as friend
more info

- -
If you read the database creation script the default username is in a list at the bottom.
Look for this line:

INSERT INTO lemondb.users (id, username, password, salt, name, role) VALUES (1, 'admin', 'C07B1E799DC80B95060391DDF92B3C7EF6EECDCB', 'h60VK', 'Administrator', 0);

So, try using 'admin' as the username and 'linux' as the password (ignoring the speech marks obviuosly). Hope this helps.

Waah... tinggal ngubek lagi, nih. Abis itu, mestinya urusan Warung Nenek lebih smooth... Allahumma.

Sunday, 11 January 2009

j!research

require php-pear

Warning
: require_once(PEAR.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/test/joomla/components/com_jresearch/includes/BibTex.php on line 26

Thursday, 8 January 2009

Joomla and extensions

Joomla

mailing list:
http://www.tnrjoomla.com/joomla-extensions/cat_view/15-tnr-mailinglist-extension-free.html
mailinglist plugin ada di tempat sama.

bibtex:
joomlabibtex (1.0, di 1.5.8 legacy ga nongol do components)
jresearch (1.5.8 native, installed from Joomla's tmp folder - jresearch 1.0.3 for unix unpacked in advance)

Forum:
Fireboard, dll kayaknya gak jadi aja. Not the thing we need.

Monday, 5 January 2009

Scilab, Octave, Gnuplot

Good discussions:
http://ubuntuforums.org/showthread.php?t=594737
Recommendations for Scilab.

And yet good listing of scientific software:
http://wikicompany.org/fs//science.html

Friday, 2 January 2009

HP Laserjet P1006

HP Laserjet P1006 was priced at Rp. 975.000,- at HP shop at POINS square Lebak Bulus. Was the last piece and I am happy to have it.

If you have one, it must work with this instruction. Just follow the instruction thoroughly!

Add printer using web cups manager (http://localhost:631/). It should work.

Contact me if you also have one.

screen capture in gnome

gnome-screenshot from terminal.

GD Library

GD library, explained as:
GD is a graphics library. It allows your code to quickly draw images
complete with lines, arcs, text, multiple colours, cut and paste from
other images, flood fills, and write out the result as a PNG file.
This is particularly useful in World Wide Web applications, where PNG is
one of the formats accepted for inline images by most browsers.

This is the runtime package of the library, built with XPM (X pixmap)
and fontconfig support.

Homepage: http://www.boutell.com/gd/

is mandatory when installing CMS Made Simple. Here's link for the doc.

But connection to php5 for this library is not in Debian etch. But cms made simple docs mention there are 3 choices. And in Debian etch, php5-imagemagick is exist. Here's what the description sez:
This package provides a wrapper for ImageMagick library
directly from PHP scripts.

PHP5 is an HTML-embedded scripting language. Much of its syntax is borrowed
from C, Java and Perl with a couple of unique PHP-specific features thrown
in. The goal of the language is to allow web developers to write
dynamically generated pages quickly.

Homepage: http://pecl.php.net/package/imagick

Notes:

  1. Don't forget to install php5-gd and restart apache! This why you turned around and around.

  2. After php5-gd installation, cmsms said I have 2!








Checking for GD libraryYou have 2

Checking for GD library You have 2

Grub splash

There are images to pick up when install grub-splashimages. Or better still, add your own image inide the system.

There's GUI to manage grub namely Startup Manager (SUM) for Ubuntu but is not available in Debian etch.
I found the tutorial at debianadmin.org. Here's some quote:
If you want to Configure grub and usplash using Simple GUI Interface here is the tool called Startup Manager.This is a simple pyton script.

Startup Manager Features

You can Change grub timeout, default boot title, visibility of grub menu and usplash text,bootup resolution and color

depth,grub menu colors and background,usplash theme.

Password protect grub menu from editing

Install new grub backgrounds(either from a png, or a correctly sized and colored .xpm or xpm.gz)

Install new usplash themes(from a correctly made .so file)

Preparing your system

First thing you need to install imagemagick

sudo apt-get install imagemagick