May 01

The web application on http://e.hasil.org.my  is definitely my favorite one :-) . More or less around this time, a year ago I remember blogging on this topic. This time around I just reused the same image that I  created last year with Qemu. The certificate, browser and what not are already there. I’ll just have to make sure that this image is safely copied somewhere and that I won’t forget my own password or its hint for retrieving forgotten password, next year.

I also did my annual Windows update for the image :-) .  Since this is a last minute affair, I really didn’t have time to check if you could just do it directly with Firefox (or Iceweasel) on Linux. There shouldn’t be any issues i think.

 

written by adli \\ tags: , , ,

Apr 16

 

Ah, been a while, I know. After a few months on Enlightenment (E17 to be precise :-), I’m now back on Fluxbox!

written by adli

Dec 16

Actually, no, please  don’t steal it. It took me a while to actually ‘get it’ when it comes to layers (in Gimp) :-P

Beberapa minggu lepas isteri saya meminta saya menyiapkan image (diatas) untuk dijadikan banner yang akan digantung berdekatan tadikanya. Selepas siap dan digantung saya diberitahu beberapa hari kemudian banner tersebut telah dikebas orang! Kata orang banner besar-besar ini memang sesuai untuk melindungi motor dari hujan/panas/embun.

Walaupun banner tersebut nampak ’simple’, namun masa yang dihabiskan banyak juga memandang saya bukanlah orang yang artistik! Apapun nasib baik ada GIMP , tak perlulah ‘SME’ atau small medium enterprise isteri saya menggunakan perisian cetak rompak Photoshop.

Orang di kedai banner pun baru pertama kali dengar tentang GIMP. Promote, jangan tak promote.

 

written by adli

Nov 30

Saya membuat keputusan untuk menyahut pelawaan saudara Irwan dan menukar windows manager dari Fluxbox ke Enlightenment. Memang tiada sebab tertentu selain gatal tangan hendak mencubanya. Fluxbox memang hebat dan tetap dihatiku haha.

 

DR17 memang tiada dalam repository rasmit Debian akan tetapi anda boleh mendapatkannya di http://xsm.alphagemini.org/E17/repository/

Alang-alang bertukar ke Enlightenment saya turut menggantikan xdm dengan entranced.

Pada awalnya saya menghadapi masalah untuk mengubah setting dpi untuk xserver (xorg) tetapi akhirnya mendapati bahawa parameter untuk mejalankan X boleh dilakukan dengan arahan entrance_edit  . entrance_edit init akan mengubah file /etc/entrance_config.cfg . Berikut adalah arahan yang lengkap.

sudo entrance_edit --xserver "/usr/bin/X -dpi 75 -quite -nolisten tcp vt7"

English translation of the above:

I decided to switch to Enlightmentment. Thank you Fluxbox (the community and developers of course)!  I also decided to ditch xdm and use the Entranced login manager.

 

 

written by adli

Nov 22

Video di Youtube saya yang pertama! Itupun selepas berhempas pulas dengan OpenObex/ObexFTP.

Abdullah Jihad pun pengguna GNU Linux (sekarang Debian) sejak kecil. Kalau tak percaya tanya Irwan.:)

written by adli

Jul 01

This is probably not really important  for a lot of people, but my significant other and I agreed that its about time we get a vcd/dvd player. This is to increase the life expectancy of our PCs at home.

The fastest and it seems to me the easiest way to get this done is using ‘devede‘ . It’s pretty much a front-end for some other applications like mencoder, vcdimager, dvdauthor, etc. Another alternative is ‘tovid‘, but I didn’t have time to check it out.

For those who like the command-line route (or you do stuff remotely on your torrent server :-) ), here’s my own note on making vcd/svcd.

Before that you might want to get the jargons straightened out as you’ll come across them. You can start here.

(1) Convert the .avi to mpeg with ffmpeg
 
$ ffmpeg -i video.avi -target ntsc-vcd video.mpg

Some of the videos I have got are in widescreen format. So to retain the black bars on the top and the bottom, you got to apply some padding to it. If this is not done then you’ll find the video stretched.

$ffmpeg -i video.avi -target ntsc-vcd -s 352×176 -padtop 32 -padbottom 32 video.mpg

Apparently there’s a formula to apply for the values of s, padtop and padbottom depending on your system (ntsc vs pal thingy)

(2) Split the mpg file, if required.

In some cases, the mpg file created will be quite large and may not fit in a single CD. Since vcdimager, will not work with anything above 700MB, you really need to split the mpg.

$mpgtx -2 video.mpg -b  video

This will create  to files - video-1.mpg and video-2.mpg respectively. Now  I’ve encountered some problems with doing the above if you’re producing svcd (-target ntsc-svcd) with ffmpeg. vcdimager seems to have problem reading the 2nd portion of the mpeg even though there is no problem rendering it with mplayer. I’ll just use devede for now if I need to make svcd.

(3) Make the VCD

$vcdimager -t vcd2 -c video.cue -b video.bin video.mpg

This will produce two files of course, video.bin and video.cue . The *.cue file is just a text file containing some information, the *bin file is the video itself. Go ahead and try:  mplayer video.bin and you should be able to watch the video.

(4) Burn the files.

$cdrdao write –device /dev/cdrw video.cue

cdrdao will figure out where to get video.bin from the information extracted from the cue file.

If you have wodim, a cdrecord replacement,  you could also do:

$wodim dev=/dev/cdrw -dao  cuefile=video.cue

I pretty much extracted the steps in 1-4  above from gentoo-wiki.

written by adli

May 22

I tried to get the latest Ubuntu on the kids PC at home but somehow I couldn’t get the monitor resolution to go beyond 800×600. Weird.

As I am getting too old for Gentoo :-), I went ahead with Debian  plus Xfce as the desktop environment. I haven’t used xfce for a while, but its looking good allright.

Maybe I should get the 4Mbps Streamyx package ? Is that for real? hehe

Debian and Xfce4
Too legit to quit!

written by adli

May 19

Screenshots!

I was going through some old images using Picasa and found some old desktop screenshots. They definitely bring back good and funny memories.

RedHat days (1999-2000ish)

If you look close enough you can see my nikah video played using Real Player. That was the pre-youtube era. (Shakir pay attention, mmkay). The following screenshots are probably from RedHat 8 (or 7 ish?)



Playing with Gimp here, w00t!



Mandrake

I switched to Mandrake Linux 2001 onwards I think. I remembered building rpms for the modem that came with the Compaq-sub-4kg hehe notebook that I was using. I stayed with Mandrake until at least 2004. I also switched to xfce for a while.


Yup, I was using dial-up allright. Pre-paid too, and it wasn’t so bad as far as I can remember. Must be in 2001.



(Legally, ahem) accessing a windows desktop in the same LAN using TightVNC.

Gentoo
I got Streamyx at home and plenty of time :-). That was the time when I started to use fluxbox. Gentoo stayed on the desktop until the mid 2006. I’m pretty much on Debian these days.



written by adli

May 18

Don’t forget to update your OS. Even if its running on a virtual machine :-)

written by adli

May 09

Salam smua,
Sejak kenal linux, saya menconfigur pc/laptop kepada dual boot, windows dan ubuntu(of course). Untuk itu saya akan pecahkan harddisk kepada 3 partition.
1- NTFS  untuk windows
2- Ext3 untuk Linux
3- Fat32 untuk data agar kedua-dua OS boleh baca dan tulis ke partition ini.

Sebenarnya saya kurang selesa dengan partition ke tiga kerana Fat32 tidak memberikan kawalan capaian data seperti yg terdapat pada NTFS dan ext3. Tetapi kerana tiada pilihan, terpaksa dikekalkan begitu.
Tetapi kini dengan adanya Ext2IFS saya boleh membaca/tulis ke Ext3 dari OS windows(seronoknya).  Cuma walaupun ianya boleh baca ext3, namun ia tidak support journaling.

"The Ext3 file system is the Ext2 file system which has been extended by journaling. Ext3 is backward-compatible to Ext2 - an Ext3 volume can be mounted and used as an Ext2 volume. Just as older Linux Kernels which do not know the Ext3 file system can mount Ext3 volumes (as Ext2 volumes), the Ext2 file system driver ext2fs.sys for Windows incorporated in this software package can do it without any problems, too. Of course you do not take advantage of the journaling of the Ext3 file system if you mount it as an Ext2 file system.

If you mount an Ext3 file system as an Ext2 file system and the file system is not cleanly dismounted, (e.g. due to a system crash), you have to run the e2fsck tool. (Linux does it automatically.) Running e2fsck can take several hours on large volumes. You do not benefit from journaling the Ext3 file system, because you have to run e2fsck.

If you mount an Ext3 file system as an Ext3 file system (journaling) and the file system is not cleanly dismounted due to a system crash, things are much better: When the volume is mounted next time as an Ext3 file system, a replay of the journal will be done, after which the file system will be consistent. You need not run e2fsck. (If you run e2fsck nevertheless, it won’t find any errors of the Ext3 file system, because there will not be any errors after replaying the journal.)

If a volume is mounted as Ext3 file system, any new data is first completely written into the journal, and then into the file system. This is also called a transaction. Finally, the data is removed from the journal. So a journal only contains data when you are writing to the file system. After a clean dismount of the Ext3 file system, the journal is empty.

When the Linux kernel mounts an Ext3 file system, it first checks whether the journal contains complete transactions (not written yet due to a prior crash). If there are any, it does the already mentioned replay of the journal, which means that all data of the journal is written to the file system, and any data will be removed from it. So a replay always repairs any damage caused by a prior crash.

With the described way of writing the journal and the file system’s data and with a replay of the journal after a crash, consistency of the file system is always achieved. Thus, e2fsck will not find any error.

The Ext2 file system driver of the Ext2 IFS software will refuse mounting an Ext3 file system which contains data in its journal, just like older Linux kernels which have no Ext3 support. In this way data loss and damaging the file system is avoided when the journal is subsequently replayed. So you can access only those Ext3 volumes with the Ext2 IFS software which have been cleanly dismounted beforehand."

oh ya hampir terlupa nak beri url :)
http://www.fs-driver.org/index.html
ok, selamat mencuba….

written by cperdana

my pass