Linux Newbie Report

Saturday, January 21, 2006

Moved to ...

Sorry to tell you this but I decide to moved this site to http://alvonsius.wordpress.com

Thanks ...

Sunday, November 27, 2005

Running Java, The Last Part I Didn't Notice

Few hours ago I was chatting with Belutz, one of Indonesian Ubuntu Ultimate Geek (hehehe, you must thank me for this new call I gave to you). And in the middle of our conversation (who was somehow always connect to girl, wakakak), he reminds me to a post I send to Indonesian Ubuntu Mailing List, about failing running Java Application from console. He told me to run this command at shell ...

sudo update-alternatives --config java

And choose J2SDK option. Thank God, it's working now ... Fewh, next time I read another tutorial or Howto, I should read it carefully, coz sometimes this kind of problems happend and I trapped in a 'search al over the world' work just for only a simple shell script to run ... Geez, bad habbit and bad english grammar, should take a course I think ...

Tuesday, November 22, 2005

Middle and right button on touch pad

Actually I have write the same blog, but because of my X11 suddenly restart by accident, so I lost all my writing. Well ... here are the summary ...
  • To perform middle click on touch pad just tap with two fingers at the same time, and
  • To perform right click just tap three fingers
I did that with my Synaptics(not Synaptic) setting like this on my /etc/X11/xorg.conf :

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

done for today reports ...

Wednesday, November 16, 2005

Suspend and Hibernate

Few days ago I was playing with KLaptop (you can find it on System > Laptop and Power> Laptop Battery). Few seconds later I discovered a tab which have a menu to control the action of our laptop if the lid is closed. There are suspend, hibernate, power off, and off. Well, I pick the Suspend action and try it.

1 ... 2 ...3 ...4 ...

Nothing happened ...

Well, try the hibernate then ...

1 ... 2 ... 3 ... 4 ..

Nothing happened also

What the hell happened here? Look here and there, I remember long time ago (the time I use hoary) Criss told me that hibernate wont work if mysql daemon is still running. Well, should check that and yes, after doin

/etc/init.d/mysql restart

my machine goes off and when I turn it on again, it resume to my last state (the process begin just after loading modules on usplash).So the hibernate works ... now the suspends.

This afternoon finally I found the source of the problem (dunno if this is true, but at least I found it this way). If you want to use suspend, you must make sure there is a jobs running in the background. Last time I fail to suspend I have a ping working in the background. Dunno if this is have some connection but I somehow think opening a window in your desktop will prevent the suspend too ... should check it now ... wait

click ... my hardisk LED blinking .. yep, it goes suspend

Yup ... the main problem is that. Please ignore my last tought ... the source of the problem is opening a window in your desktop.

Hoahm ... should do more jobs. See ya then ...

Monday, November 14, 2005

Hard day ...

This morning my friend Fadel shout to me "Sonx, kenapa kuduisolinux nggak diupdate lagi? --> in english: Sonx, why is kuduisolinux is not updated again?" Phew, I'm sorry if this blog is not updated lately. I was so busy making my jobs done and dont have a space in my brain to write blog. Maybe I'll write some later, hope this afternoon there will be a free time. Ohw I forgot to mention ... I have an invitation on wordpress to blog at their place. So maybe I'll think to change my personal blog address to there. Let see about that ...



That's my new blog ... hope will be filled soon ...

Thursday, November 10, 2005

Finally registered ^o^\/



I finally made myself registered at Linux Counter. Come on ... make yourself registered. You dont have to pay for this hehehe. By the way, when I was browsing at the ubuntuforums, I found a sticker design that seems so cool when you stick it at your computer case or laptop dashboard. Look at this ...



Cool huh? I hope there will be some of it ou there. I don't care if it is free, sold, barter, anything. I just want it on my laptop.

*learning again about repository*

Tuesday, November 08, 2005

HOWTO : Creating Simple Local Repositories [part 1]

OK, how many of you who fails to convince your friend to use Kubuntu? How many of you who fails just because Kubuntu (or Ubuntu) are "just work" with so little application on it, so they prefer going back to Wind*ws or other distros like Mandriva, SuSe, or Fedora??? How many of you who heard this words come out from your fellas "ough man, I don't have internet connection in my house. How can I download lots of applictions?? Blah better choose other ... humm, this SuSe thing look nice, it has 5 CDs on it's box" ?????

Well, if only you have one or two more CD with lots of package, themes, you-compiled-yourself package, color scheme, icons, and more ... it will be easier to convince them right? Or even you can use it for yourself, if you are like me ... living on a house without internet connection (gosh, this happened to me, so sadly I prefer to install SuSe on my desktop computer .lol.)

According to this page, this page, and this page ... we can make our own repository CD with all the package you already downloaded, and you can add it of course. Well, I won't give you all the recipe but just a simple howto make it simple (blah, my english is bad ... should take a course soon)

Okay, first you must know how the repositories works. You could read more in this page if somehow you feel confused with my explanation.

A repository (I call it repo from now) consists of one directory with lot of DEB package and two special file, Packages.gz and Source.gz. Explained as below :


Packages.gz
contains the name, version, size, the short and the long description, and the dependencies of each package, plus some additional information which is not of interest for us. All that information is listed (and used by) the Debian package managers such as dselect or aptitude.
Sources.gz contains the name, version and the build dependencies (the packages needed to build) of each package (plus some information which is not of interest for us, too); that information is used by apt-get source and similar tools.

When you doing apt-get (maybe apt-get update), if your repo is correctly listed on /etc/apt/source.list then it will fetch the Packages.gz for the binary package (deb) and fetch Source.gz for the source package (deb-source).

*wait, have to drink some coffee*

*damn, no glass here T_T*

Well, just that you said??? Ha ha ... with the repositories created properly, it could be used to supply different target architecture with of course different packages on it. Imagine if you are using Kubuntu on an iBook and your friend next to you are using Intel Pentium M, and running the same Kynaptic or Adept application. What you'll get on the package list is the same as your friend, right? It's because the (K)Ubuntu people has manage it with proper architecture, wich I'll explain to you soon.

Okay, next ... there are currently two type of repo. First is the Automatic Repositories and the latter Trivial Repositories.

The Automatic Repositories (AR) is the one that Debian used. It has a very complex directory structure. Here are the view ...

(your repository root)
|
+-dists
|
|-stable
| |-main
| | |-binary-alpha
| | |-binary-arm
| | |-binary-...
| | +-source
| |-contrib
| | |-binary-alpha
| | |-binary-arm
| | |-binary-...
| | +-source
| +-non-free
| |-binary-alpha
| |-binary-arm
| |-binary-...
| +-source
|
|-testing
| |-main
| | |-binary-alpha
| | |-binary-arm
| | |-binary-...
| | +-source
| |-contrib
| | |-binary-alpha
| | |-binary-arm
| | |-binary-...
| | +-source
| +-non-free
| |-binary-alpha
| |-binary-arm
| |-binary-...
| +-source
|
+-unstable
|-main
| |-binary-alpha
| |-binary-arm
| |-binary-...
| +-source
|-contrib
| |-binary-alpha
| |-binary-arm
| |-binary-...
| +-source
+-non-free
|-binary-alpha
|-binary-arm
|-binary-...
+-source
Well, not going far with that coz this is a simple howto .LOL. If you are curious, keep reading at the page. Wanna some sample? Look at http://archive.ubuntu.com/ubuntu/dists/hoary/

Okay the second is Trivial Repositories (TR). According to the page, TR consist of one root directory and of as many subdirectories as you wish. As the users have to specify the path to the root of the repository and the relative path between the root and the directory with the index files in it, you are free to do whatever you want (even to put everything into the root of the repository; then, the relative path will be simply “/”). Seems easy huh? Well, here's the view of TR.

(your repository root)
|
|-binary
+-source

TR is very suitable for creating our own repo. Why do I dare to say it? Well, I think with it's simple [quote]you are free to do whatever you want (even to put everything into the root of the repository; then, the relative path will be simply “/”)[/quote], I could build a repo in a minute and save it into a CD or another partition of my notebook.

Okay, that's all for now. If you are curious, like I said before ... just read the reference page. If not ... wait till tommorow or the next tommorow or next .... Haha, just a joke ... I'll continue this howto soon ... I promise dat ...

Good night and God Bless You All !!!!!