<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3996571390508976861</id><updated>2011-11-27T17:27:50.036-08:00</updated><title type='text'>Xiong's Journal</title><subtitle type='html'>This blog is for my personal notes. About Kubuntu mostly, programming and some of my life...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>45</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-8263485185382556401</id><published>2010-02-07T06:14:00.000-08:00</published><updated>2010-02-07T06:38:29.692-08:00</updated><title type='text'>Changing Agora Forum using Joomla users' name rather username</title><content type='html'>Agora Forum is an excellent extension for Joomla as an Forum. Rather using bridge to phpBB which causes the system overhead (since it runs 2 system: Joomla &amp;amp; phpBB), we only run one system.&lt;br /&gt;&lt;br /&gt;Anyway, the problem that I encounter is I don't want Agora using my Joomla username, but I prefer it to use Joomla name. But I've never found any settings or configurations about this. So the only way is to hack it a little. It is kinda hard to find where the code to change it, since I am not so familiar with its code anyway. But at least today, I've successfully change it to using name :D&lt;br /&gt;&lt;br /&gt;I am not sure whether this setting is already sufficient or not. So there might be a additional hack in the future.&lt;br /&gt;&lt;br /&gt;First of all I must create a function that change all the &lt;span style="font-style: italic;"&gt;username&lt;/span&gt; in #__agora_users to &lt;span style="font-style: italic;"&gt;name &lt;/span&gt;of #__users. For me, I create a component called &lt;span style="font-style: italic;"&gt;com_tar_setforum&lt;/span&gt; in administrator, and put the code like this.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;class Tar_setforumController{&lt;br /&gt;...&lt;br /&gt;function setUsername(){&lt;br /&gt;       $model = &amp;amp; $this-&gt;getModel('forum');&lt;br /&gt;&lt;br /&gt;       foreach($model-&gt;listIdUsers() as $value){&lt;br /&gt;           $model-&gt;updateUsername($value);&lt;br /&gt;       }&lt;br /&gt;       $link = JRoute::_('index.php?option=com_tar_setforum');&lt;br /&gt;       $this-&gt;setRedirect($link,'Nama berhasil di-set');&lt;br /&gt;       $this-&gt;redirect();&lt;br /&gt;}&lt;br /&gt;....&lt;br /&gt;}&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;And put a model with function like this :&lt;br /&gt;&lt;blockquote&gt;class Tar_setforumModelForum extends JModel{&lt;br /&gt;   function updateUsername($jos_id){&lt;br /&gt;       $query = "UPDATE #__agora_users SET username=(SELECT name FROM #__users WHERE id='$jos_id')&lt;br /&gt;             WHERE jos_id='$jos_id'";&lt;br /&gt;       $this-&gt;_db-&gt;Execute($query);&lt;br /&gt;   }&lt;br /&gt;.....&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;But only update the name in the #__agora_users doesn't solve the problem. Somehow everytime users access the forum, the table is updated to old value. That's why we need to hack the Agora code.&lt;br /&gt;Here what I change the code :&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;/components/com_agora/model/user.php&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;function loadCurrent(){&lt;br /&gt;....&lt;br /&gt;              &lt;span style="color: rgb(0, 102, 0);"&gt; // Update loaded user to not load it again &lt;/span&gt;&lt;br /&gt;               foreach ($data as $param=&gt;$value) {&lt;br /&gt;                   $user[$param] = $value;&lt;br /&gt;               }&lt;br /&gt;              &lt;br /&gt;              &lt;span style="color: rgb(0, 102, 0);"&gt;//Here my additional code&lt;/span&gt;&lt;br /&gt;              &lt;span style="color: rgb(153, 51, 153);"&gt; $user['username'] = $my-&gt;name; &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;                $data['username'] = $my-&gt;name;&lt;/span&gt;&lt;br /&gt;         &lt;br /&gt;               $this-&gt;edit($user['id'],$data);&lt;br /&gt;....&lt;br /&gt;}&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;and one more&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;/components/com_agora/model/online.php&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;function getOnline()&lt;br /&gt;{&lt;br /&gt;     ....&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;            /*$query = 'SELECT a.id, a.username' .  &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;                        ' FROM #__session AS s INNER JOIN ##__users AS a ON s.userid=a.jos_id' . &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;                        ' WHERE client_id = 0 AND s.guest=0';&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;            *///commented. This is the old one. Replace with below codes&lt;/span&gt;&lt;br /&gt;           &lt;span style="color: rgb(153, 51, 153);"&gt;$query = 'SELECT a.id, u.name&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;                 FROM #__session AS s INNER JOIN ##__users AS a ON s.userid=a.jos_id&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;                            INNER JOIN #__users AS u ON u.id=s.userid&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;                            WHERE client_id = 0 AND s.guest=0'; &lt;/span&gt;&lt;br /&gt;     ....&lt;br /&gt;            if (count($sessions)) {&lt;br /&gt;               foreach ($sessions as $session) {&lt;br /&gt;                  &lt;span style="color: rgb(0, 102, 0);"&gt; //$user_array[] = array('id' =&gt; $session-&gt;id, 'name' =&gt;$session-&gt;username); //commented by Xiong&lt;/span&gt;&lt;br /&gt;                  &lt;span style="color: rgb(153, 51, 153);"&gt; $user_array[] = array('id'=&gt; $session-&gt;id, 'name'=&gt;$session-&gt;name); &lt;/span&gt;&lt;br /&gt;               }&lt;br /&gt;           }&lt;br /&gt;         ....&lt;br /&gt;}&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;After changing this, it should  can preserve the username in #__agora_users&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-8263485185382556401?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/8263485185382556401/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=8263485185382556401' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/8263485185382556401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/8263485185382556401'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2010/02/changing-agora-forum-using-joomla-users.html' title='Changing Agora Forum using Joomla users&apos; name rather username'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-2420528799952397446</id><published>2010-01-28T20:18:00.000-08:00</published><updated>2010-01-31T05:34:32.721-08:00</updated><title type='text'>FireGesture causes TinyMCE's context menu disabled</title><content type='html'>If you enable the &lt;span style="font-weight: bold;"&gt;context menu&lt;/span&gt; on &lt;span style="font-weight: bold;"&gt;TinyMCE&lt;/span&gt;, then whenever you right click on the TinyMCE textarea it supposed to pop up a menus. But somehow my Firefox doesn't show anything. It seems like the right click doesn't show anything!&lt;br /&gt;&lt;br /&gt;So the first thing come to my mind is must be one of my Firefox's add-ons causes this. Later by disabling all the add-ons, and restart the Firefox, the context menu is working!! :)&lt;br /&gt;Then I just enable one by one add-ons until I enable the &lt;span style="font-weight: bold;"&gt;FireGesture&lt;/span&gt;, the context menu is not working again. Aha! I've found the culprit. :D&lt;br /&gt;&lt;br /&gt;FireGesture is an add-on enables user to use mouse gesture (just like mouse gesture in Opera or Maxthon) to operate Firefox. Since FireGesture use right click, I think it somehow conflicts with TinyMCE context menu javascript. I haven't found the solution though except disabling this add-ons.&lt;br /&gt;&lt;br /&gt;Update:&lt;br /&gt;Later, I uninstalled FireGesture, and install All-In-One Gesture. It's doesn't conflict with TinyMCE. So this is my solution, but I hope one day I found the solution for FireGesture.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-2420528799952397446?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/2420528799952397446/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=2420528799952397446' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/2420528799952397446'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/2420528799952397446'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2010/01/fire-gesture-causes-tiny-mces-context.html' title='FireGesture causes TinyMCE&apos;s context menu disabled'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-6304106720847337769</id><published>2009-05-12T22:52:00.000-07:00</published><updated>2009-05-13T08:44:19.427-07:00</updated><title type='text'>Upload to FTP using PHP script</title><content type='html'>For some reasons maybe you need to upload files to ftp. In my case, I need to upload the image files to ftp account because the capacity of the hosting is limited. So in order to upload the image to ftp account we using cURL. Here is the code&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;?php&lt;br /&gt;// FTP access parameters:&lt;br /&gt;$host = 'www.ftp.com';&lt;br /&gt;$usr = 'username';&lt;br /&gt;$pwd = 'passw0rd';&lt;br /&gt;&lt;br /&gt;// file to upload:&lt;br /&gt;$local_file = 'test.png';&lt;br /&gt;$ftp_path = 'test.png';&lt;br /&gt;&lt;br /&gt;// connect to FTP server (port 21)&lt;br /&gt;$conn_id = ftp_connect($host, 21) or die ("Cannot connect to host");&lt;br /&gt;&lt;br /&gt;// send access parameters&lt;br /&gt;ftp_login($conn_id, $usr, $pwd) or die("Cannot login");&lt;br /&gt;&lt;br /&gt;// turn on passive mode transfers (some servers need this)&lt;br /&gt;// ftp_pasv ($conn_id, true);&lt;br /&gt;&lt;br /&gt;// perform file upload&lt;br /&gt;$upload = ftp_put($conn_id, $ftp_path, $local_file, FTP_ASCII);&lt;br /&gt;&lt;br /&gt;// check upload status:&lt;br /&gt;print (!$upload)? 'Cannot upload' : 'Upload complete';&lt;br /&gt;print "\n";&lt;br /&gt;&lt;br /&gt;/*&lt;br /&gt;** Chmod the file (just as example)&lt;br /&gt;*/&lt;br /&gt;&lt;br /&gt;// If you are using PHP4 then you need to use this code:&lt;br /&gt;// (because the "ftp_chmod" command is just available in PHP5+)&lt;br /&gt;if (!function_exists('ftp_chmod')) {&lt;br /&gt;   function ftp_chmod($ftp_stream, $mode, $filename){&lt;br /&gt;        return ftp_site($ftp_stream, sprintf('CHMOD %o %s', $mode, $filename));&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;// try to chmod the new file to 666 (writeable)&lt;br /&gt;if (ftp_chmod($conn_id, 0666, $ftp_path) !== false) {&lt;br /&gt;    print $ftp_path . " chmoded successfully to 666\n";&lt;br /&gt;} else {&lt;br /&gt;    print "could not chmod $file\n";&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;// close the FTP stream&lt;br /&gt;ftp_close($conn_id);&lt;br /&gt;&lt;br /&gt;?&gt;&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-6304106720847337769?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/6304106720847337769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=6304106720847337769' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/6304106720847337769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/6304106720847337769'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2009/05/upload-to-ftp-using-php-script.html' title='Upload to FTP using PHP script'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-5640111844184246690</id><published>2009-05-11T08:11:00.000-07:00</published><updated>2009-05-11T08:15:38.038-07:00</updated><title type='text'>Reason why mother want you to use Linux</title><content type='html'>Today I found a funny article at &lt;a href="http://www.junauza.com/2009/05/why-your-mother-wants-you-to-use-linux.html"&gt;here&lt;/a&gt;  about the reasons why your mother would want you to use Linux. Seems like because yesterday is Mother's Day (Happy mother's day!!), the author create this funny articles.&lt;br /&gt;&lt;br /&gt;Here I copy the article to here:&lt;br /&gt;&lt;br /&gt;1. Since Linux is free, you have no more reason to ask her for money every time you install, upgrade, and get new software applications. Now instead of buying you a Windows Vista Ultimate Edition, she now has extra money to spare for a spa.&lt;br /&gt;&lt;br /&gt;2. Because she loves you so much, she wants you and your computer to be free from virus always. In addition, most mothers want the house to be always clean, and just hearing the words like bacteria, fungi, and virus make them angry.&lt;br /&gt;&lt;br /&gt;3. She wants you to learn new things and gain deeper knowledge on how computers work instead of playing Xbox all day. Linux will greatly enhance your computer skills since you are free to explore its inner workings.&lt;br /&gt;&lt;br /&gt;4. You don't have to ask her for money to buy new computer hardware to cope up with the latest software since there are lightweight and resource-efficient Linux distros that could make your old computer fly. So another money saved and another spa for your mother.&lt;br /&gt;&lt;br /&gt;5. She wants you stop using bad words after a BSOD. Linux rarely crashes so she should be happy hearing you say "Wow" instead of "F*@k!" or "S#%t!" :-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-5640111844184246690?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/5640111844184246690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=5640111844184246690' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/5640111844184246690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/5640111844184246690'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2009/05/reason-why-mother-want-you-to-use-linux.html' title='Reason why mother want you to use Linux'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-4474107929207290993</id><published>2009-01-04T05:56:00.000-08:00</published><updated>2009-01-04T06:21:23.335-08:00</updated><title type='text'>Connect guest with host in virtualbox</title><content type='html'>Now is the fifth semester in my study at university. My friends who take Networking must do a Network Programming project. So, you must create a application which can play game from different computer with some constraint. The server must on Linux, while the client application must in other system operation. Since, most of the student using Windows, no need to mention all of them using Windows. There still another constraint on client. The application must be graphical user interface (GUI). They are free to use any developing program to make. But most of them choose to use Visual Basic or Java. &lt;br /&gt;&lt;br /&gt;Ok, since there are 2 friends of mine (Aping and Awui) is having this project, I help a little. First thing first, I suggest them to install Virtualbox in their computer. Why? Because we must run server and client on different system operation, I don't think there is other way except using Virtual Machine. Because their computer only installed Windows, then the guest OS on virtualbox is Linux. I install Ubuntu to Aping's Virtualbox and Kubuntu to Awui's. Why I installed different OS, you might wonder. I just want to do it, no any special reason. :p&lt;br /&gt;&lt;br /&gt;Ok. After installing it now is the time for testing whether the guest computer (linux) can connect to the host (Windows). Actually they can access our boarding host LAN network and browsing Internet. But, guest computer can't ping to host computer  and vice versa. Ok now is time for investigation.&lt;br /&gt;&lt;br /&gt;I try using my own Virtualbox. I boot to my Windows XP, fire up my Virtualbox with CentOS 5.2 as guest. And try to ping. The result is same. So I try to browse in Internet to see, whether there is any information regarding this. I found out that by default the Virtualbox is using NAT as network on its guest. And because by using NAT, it make the guest computer appear to be connected directly to the network. This explain why I can browse internet or browse the LAN network but can't ping the host computer. &lt;br /&gt;I try to find out, but most of forum suggest to read the manual. Nothing can be done, I download the manual then. &lt;br /&gt;&lt;br /&gt;After read a while, at last I found the point in the manual. Actually its very simple indeed. I just need to set the NAT connection become &lt;span style="font-weight:bold;"&gt;Host Interface&lt;/span&gt; and select the host's network interface to connect with. Geez~ it's so simple. Ok then, so I close my CentOS (host) and change the setting in Setting-&gt;Networks. And run my CentOS once again. But this time is strange, the CentOS unable to ping the gateway causing it doesn't connect to anywhere, causing its eth0 is not set. Feeling strange, I try to googling. There, I found somebody claim that Redhat 5.2 cannot connect using &lt;span style="font-weight:bold;"&gt;Host Interface&lt;/span&gt;. As you know, CentOS is almost same with Redhat, except the name and the logo. Knowing this, I try my other guest computer. I run my Kubuntu 8.04 using &lt;span style="font-weight:bold;"&gt;Host Interface&lt;/span&gt;. Aha! This time, its eth0 is not empty. In fact the IP address is different with before. Usually if you using NAT to connect, the IP address will always 10.0.2.15. Now it change to other IP Address(I forgot what is it). Try to ping it from Windows command prompt. Bingo! It replies. So actually it is simple. You just need to change it to &lt;span style="font-weight:bold;"&gt;Host Interface&lt;/span&gt;. But as you can see CentOS 5.2 and Redhat 5.2 is somehow cannot detected the connection.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-4474107929207290993?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/4474107929207290993/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=4474107929207290993' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/4474107929207290993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/4474107929207290993'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2009/01/connect-guest-with-host-in-virtualbox.html' title='Connect guest with host in virtualbox'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-8979303776134009635</id><published>2008-12-19T09:25:00.000-08:00</published><updated>2008-12-19T10:36:44.603-08:00</updated><title type='text'>Adding username and password for Proxy authentication</title><content type='html'>Not long ago, because of some reasons, my ISP add user authentication on the proxy. Which means we must enter username and password everytime want to connect to Internet (HTTP protocol, other protocol such as YM and MSN don't need to set proxy). Last time to set proxy in terminal, we can use &lt;br /&gt; &lt;br /&gt;export http_proxy="http://proxy:port"&lt;br /&gt;&lt;br /&gt;Now since it need to authentication user, we must add a little. So, just add the username and password at here:&lt;br /&gt;&lt;br /&gt;export http_proxy="http://username@password:proxy:port"&lt;br /&gt;&lt;br /&gt;That's all.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-8979303776134009635?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/8979303776134009635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=8979303776134009635' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/8979303776134009635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/8979303776134009635'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/12/adding-username-and-password-for-proxy.html' title='Adding username and password for Proxy authentication'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-900486997183563972</id><published>2008-12-10T07:56:00.000-08:00</published><updated>2008-12-10T08:09:15.672-08:00</updated><title type='text'>Fix the ugly font in Firefox</title><content type='html'>After a long time, I finally have bought the 320 GB. And I have installed Kubuntu Intrepid Ibex (8.10), using KDE4 is quite awesome. But still I need to adept the new way. This time when I open my Firefox, the first thing I've notice is the font is too ugly :p&lt;br /&gt;&lt;br /&gt;So I googling and found somebody also has a same opinion with me and also the solution to fix this. He give a first solution, but later I realize that actually I just need to do the second one.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://ubuntusite.com/fix-get-best-firefox-font-linux/"&gt;http://ubuntusite.com/fix-get-best-firefox-font-linux/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;What we need is to download :&lt;br /&gt;&lt;a href="http://www.fileden.com/files/2008/2/9/1749988/segoe_ui.zip"&gt;http://www.fileden.com/files/2008/2/9/1749988/segoe_ui.zip&lt;/a&gt;&lt;br /&gt;extract and put it in &lt;br /&gt;~/.font&lt;br /&gt;&lt;br /&gt;If you haven't have .font directory, just create it. Then I set the font in System Settings-&gt;Appearance-&gt;Fonts&lt;br /&gt;Set all the fonts to become Segoe UI, click Apply&lt;br /&gt;&lt;br /&gt;And that's it now my Firefox font is more decent.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-900486997183563972?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/900486997183563972/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=900486997183563972' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/900486997183563972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/900486997183563972'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/12/fix-ugly-font-in-firefox.html' title='Fix the ugly font in Firefox'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-5000714732077769904</id><published>2008-11-24T15:39:00.000-08:00</published><updated>2008-11-24T15:56:44.706-08:00</updated><title type='text'>Case : Fedora 9 on KDE4 black screen</title><content type='html'>One of my friend, Ping, is taking Networking. Because it need Linux to learn network programming, I choose Fedora 9 with KDE4 for him. Everything working fine (except a little glitch on KDE4, still acceptable). Because we want this computer can be play Windows game, so we try to install the proprietary driver. Before installing the driver, he can open those games through Wine but it is too slow. He is using Geforce 6600 series. There is no problem in installing the driver. Everything working fine, till entering the KDE4 until suddenly it goes black. In a glance, we can see actually it successfully goes to desktop. But something has cause it become black. &lt;br /&gt;&lt;br /&gt;After doing googling, later it is found the causer. It is the KDE4 compositing cause this. So what we need only do a little change on ~/.kde/share/config/kwinrc&lt;br /&gt;in the file find  &lt;b&gt;[compositing]&lt;/b&gt; section. In there change the &lt;br /&gt;&lt;b&gt;enable = true&lt;/b&gt;&lt;br /&gt;to &lt;br /&gt;&lt;b&gt;enable = false&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;After doing the changes then restart X (just log out the computer). The screen won't goes black anymore! And now he can open Warcraft III and other games with no noticeable slow down.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-5000714732077769904?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/5000714732077769904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=5000714732077769904' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/5000714732077769904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/5000714732077769904'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/11/case-fedora-9-on-kde4-black-screen.html' title='Case : Fedora 9 on KDE4 black screen'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-6407109865175873444</id><published>2008-11-22T08:47:00.000-08:00</published><updated>2008-11-22T08:59:27.768-08:00</updated><title type='text'>The problem with Vi and VIM</title><content type='html'>If you are using Vi or Vim in Kubuntu version 7.10 till 8.04 you might notice some unusual things. Lets talk about vi first. When I use vi, you might see how the vi seems doesn't respond with the arrow key or somehow doesn't recognize the i button(for insert). That's why I always use Vim instead Vi. &lt;br /&gt;&lt;br /&gt;The second is about the Vim. There is one feature provided by Vim called syntax highlight. To enable it we just need to type &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;:syntax enable&lt;/span&gt; or &lt;span style="font-weight:bold;"&gt;:syntax on&lt;/span&gt;&lt;br /&gt;But somehow it can't. It said like this&lt;br /&gt;&lt;span style="font-style:italic;"&gt;E319: Sorry, the command is not available in this version: syntax on&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Later, after some googling I got the answer for the latter problem. The problem is I never installed Vim on my Kubuntu! So the Vim I use until that day is from vim-common. So using synaptic package manager, I installed the vim package. It begin to download files, one is vim, the other vim-runtime. After the installation complete, now I can use my Vim to highlighting the syntax. Beside that the vi strange behaviour seems disappear. So well... one stone kill two birds, isn't it? :D&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-6407109865175873444?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/6407109865175873444/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=6407109865175873444' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/6407109865175873444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/6407109865175873444'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/11/problem-with-vi-and-vim.html' title='The problem with Vi and VIM'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-9085750820221165885</id><published>2008-11-17T09:59:00.000-08:00</published><updated>2008-11-17T10:18:13.123-08:00</updated><title type='text'>Remote to my Kubuntu</title><content type='html'>Today, I have successfully remote to my computer from other computer. I am using VNC (Virtual Network Computing). It is a graphical desktop sharing using RFB Protocol. If only want to remote in terminal ssh is the best (as far as I know, most of people recommended it). &lt;br /&gt;&lt;br /&gt;So I install &lt;span style="font-weight:bold;"&gt;vnc4server&lt;/span&gt; on my Kubuntu Hardy Heron. As usual I can found it on my Synaptic package manager, just check it, click apply and it does the rest. After installing it, now we can try it. First you must decide on which user account will be used when someone remote to this computer. Because I am the only the user, so I don't need to change user name. If you want to change user just type &lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;su user_name&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;To start the vnc4server just type :&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;vncserver -geometry 1024x768 -depth 24&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;I haven't mastered all the syntax parameter, but these parameters, I think everyone will understand it. So it means, if someone remote to this computer, it will got a 1024x768 pixels view with color depth 24 bits. It will prompt to fill the password. This typing password only once, the next time you run the server, it won't ask the password anymore. After this, it will create some files to you(which is located on your home directory, folder .vnc )&lt;br /&gt;&lt;br /&gt;Now I try to remote myself, but before doing it, I use one of my remote computer program which come with other KDE applications, called &lt;span style="font-weight:bold;"&gt;Krdc&lt;/span&gt;&lt;br /&gt;This program is simple to use. I successfully log in, it only show the grey screen with a "X" cursor. At first I don't understand what happened. But the thing become clearer after doing some googling. I must add something on the files!&lt;br /&gt;&lt;br /&gt;As you know, when the first time we run the server, it will create some files located on your ~/.vnc/  One of this file is called &lt;span style="font-weight:bold;"&gt;xstartup&lt;/span&gt;. Seems like this file is execute when the someone successfully remote to this computer. So I must add:&lt;br /&gt;&lt;br /&gt;startkde &amp; &lt;br /&gt;&lt;br /&gt;at the bottom of the file. So it looks like this :&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;font color=blue&gt;#!/bin/sh&lt;br /&gt;&lt;br /&gt;# Uncomment the following two lines for normal desktop:&lt;br /&gt;# unset SESSION_MANAGER&lt;br /&gt;# exec /etc/X11/xinit/xinitrc&lt;br /&gt;&lt;br /&gt;[ -x /etc/vnc/xstartup ] &amp;&amp; exec /etc/vnc/xstartup&lt;br /&gt;[ -r $HOME/.Xresources ] &amp;&amp; xrdb $HOME/.Xresources&lt;br /&gt;xsetroot -solid grey&lt;br /&gt;vncconfig -iconic &amp;&lt;br /&gt;xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &amp;&lt;br /&gt;twm &amp;&lt;br /&gt;startkde &amp;&lt;br /&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;After changing this file, I stop the server by typing this :&lt;br /&gt;&lt;br /&gt;vncserver -kill :1&lt;br /&gt;&lt;br /&gt;That's mean I stop the first running server. As far as I know, if you only run one server then you only need to know to type that.&lt;br /&gt;&lt;br /&gt;After stop the server and start the server again. Now I can remote my computer. Later I try to remote from my friend's computer(his name is Cloud as I ever mention on other post). Because he is using Windows XP, I have downloaded the Real VNC Viewer which is freeware and portable. The result, of course is successfully to remote to my Kubuntu desktop. :D&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-9085750820221165885?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/9085750820221165885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=9085750820221165885' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/9085750820221165885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/9085750820221165885'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/11/remote-to-my-kubuntu.html' title='Remote to my Kubuntu'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-5269669075399367330</id><published>2008-11-04T23:00:00.000-08:00</published><updated>2009-01-08T02:27:40.268-08:00</updated><title type='text'>Installing CentOS (III)</title><content type='html'>Ok I figure out now. Yum need proxy to get connection of Internet. Even you are using CentOS on the Virtualbox. Initially, I thought that since I got internet connection from my host computer, so it doesn't need the proxy. I believe this hypothesis since I can wget without any problem. But later I realized Yum need it. Since like the way they got package is different. &lt;br /&gt;&lt;br /&gt;Ok so I export http_proxy and export ftp_proxy to the computer. And yup my computer can install package. Now is the time to install the X Window System and GNOME Desktop Environment. I type :&lt;br /&gt;&lt;br /&gt;yum groupinstall "X Window System" "GNOME Desktop Environment"&lt;br /&gt;&lt;br /&gt;The process itself is quite long, so I let the computer on while I go to work. After back from work, I found the packages have been installed. Now I type startx&lt;br /&gt;and yohoo the GNOME is starting, now I got the GUI in my CentOS...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-5269669075399367330?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/5269669075399367330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=5269669075399367330' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/5269669075399367330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/5269669075399367330'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/11/my-hack-on-centos-iii.html' title='Installing CentOS (III)'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-8909515102283270983</id><published>2008-10-22T17:45:00.000-07:00</published><updated>2009-01-08T02:27:01.196-08:00</updated><title type='text'>Installing CentOS (II)</title><content type='html'>Wew.. I just realize one thing. The reason I can't ping outside is because I am using static IP, while in VirtualBox it got connection through DHCP. This is realised after I look the ifcfg-eth0 file in livecd. It is DHCP....&lt;br /&gt;&lt;br /&gt;So I change the interface to DHCP. Also I undo the last time move(ifconfig, route add) Now I also realize  there are rpms file in the bin cd. So I install a few package for my new computer, man, wget, tree and the others..&lt;br /&gt;&lt;br /&gt;To prove that using DHCP is the right one. I try to download file in one of my internet file hosting using wget. And yes.. I successfully download the file. Now it seems the problem is in the yum itself. Need to figure out.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-8909515102283270983?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/8909515102283270983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=8909515102283270983' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/8909515102283270983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/8909515102283270983'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/10/my-hack-on-centos-ii.html' title='Installing CentOS (II)'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-3683910422655818407</id><published>2008-10-21T09:43:00.000-07:00</published><updated>2009-01-08T02:26:30.920-08:00</updated><title type='text'>Installing CentOS (I)</title><content type='html'>After a year trying Kubuntu, now I am trying to use CentOS. For information, CentOS is derivative from Redhat Enterprise. Now I am still waiting a perfect time to buy a new harddisk 320 GB. My old one only 80 GB is already about to full. &lt;br /&gt;&lt;br /&gt;Before to install to my harddisk, I tried CentOS to Virtualbox. This is the first time I found that the livecd is can't be used to install to harddisk. So I download another iso which is bin. There are 6 bin files. And of course to full install you must download 6 files, which each burn to each disk. So we need 6 cds. Geez. Because I don't want to download to many iso just for this. I found there is a way to minimal install. Just need the first cd to install. &lt;br /&gt;&lt;br /&gt;The first attempt failed. Coz even I have deselected all the package. It still require 3 cds. The second time it only require one cd. Strange huh? May be because the second time I have put the IP and mirror of CentOS before proceed. That's why it get from Internet? Dunno. The point is I have successfully install CentOS 5.2 :D&lt;br /&gt;&lt;br /&gt;This CentOS only terminal, since I do minimal install. Just unbelievable, a cd only terminal, no man (yes! man ), no a lot of thing. I just wonder why it require one cd. Ok, not problem. Now try to install GNOME Window Manager....... ups.&lt;br /&gt;It cannot connect to Internet. How could it be? I can connect perfectly in Livecd, why I can't at here. No problem I try googling. And thank goodness I found the answer at here : &lt;br /&gt;&lt;a href="http://www.linuxquestions.org/questions/linux-networking-3/network-is-unreachable-81728/"&gt;http://www.linuxquestions.org/questions/linux-networking-3/network-is-unreachable-81728/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So now I have successfully ping to DNS, which is used to be result : connect : Network is unreachable&lt;br /&gt;&lt;br /&gt;Ok the first problem has solved. But still..... I can't install..&lt;br /&gt;this time it show :&lt;br /&gt;Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&amp;arch=i386&amp;repo=os error was [Errno 4] IOError: &lt;urlopen error (113, 'No route to host')&gt;&lt;br /&gt;Error : Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again.&lt;br /&gt;&lt;br /&gt;Hm... what the heck is this? Dunno. So I will continue to investigate tomorrow...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-3683910422655818407?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/3683910422655818407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=3683910422655818407' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/3683910422655818407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/3683910422655818407'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/10/my-hack-on-centos.html' title='Installing CentOS (I)'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-1684857369269849988</id><published>2008-10-13T09:12:00.000-07:00</published><updated>2008-10-13T09:30:07.039-07:00</updated><title type='text'>The craziest problem after one year using Kubuntu</title><content type='html'>I still remember about one year ago, when I first use Kubuntu. It was Feisty Fawn, 7.04. I installed from my friend's disc. Everything work fine except that it didn't recognize my LAN card. And that thing almost made me to dump the Linux. Luckily, I with my friend (a.k.a Cloud) later figured out the problem. The Feisty Fawn was not detected my LAN Card, that couldn't be help. I upgraded to Ubuntu Gutsy Gibbon, 7.10.&lt;br /&gt;I have used almost it half year without any major problem. And then do a upgrade to Hardy Heron 8.04. And of course without any problem too, except I need to install some packages, because they are not compatible with the new Kubuntu, and automatically delete them. &lt;br /&gt;And today, I meet the most weird problem that ever exist after using Kubuntu one year. &lt;br /&gt;If I move, copy or delete file (any file) at desktop, it will hang. I mean the KDesktop will hang. Other process still normal. But if I wait for a little longer, I will got my Kicker hang. And not long to see the inputbox will "locked", cannot been input. Any inputbox, Firefox search input box, aMsn's typing message box, any inputbox!! And then I cannot move the window. Seems like the window manager is die too. What happened actually? It still a mystery. And I forgot what have I done, to make it become like this. Nobody know.....&lt;br /&gt;&lt;br /&gt;Maybe I just shall wait a few days and get ready to upgrade to 8.10&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-1684857369269849988?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/1684857369269849988/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=1684857369269849988' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/1684857369269849988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/1684857369269849988'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/10/craziest-problem-after-one-year-using.html' title='The craziest problem after one year using Kubuntu'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-7297249338270580891</id><published>2008-09-15T05:44:00.000-07:00</published><updated>2008-09-15T06:02:00.232-07:00</updated><title type='text'>Setting terminal high resolution</title><content type='html'>Yesterday, I found one interesting blog about how to set Ubuntu terminal into high resolution. &lt;br /&gt;&lt;br /&gt;You see, everytime Kubuntu startup there is terminal explaining what are the kernel doing. For some people, including me, prefer to look those things rather than watch the splash(showing bouncing bar and then the bar getting full). But some of these people don't like the size of the terminal. The characters just too big. The solution of these is to make the higher resolution.&lt;br /&gt;Here is the blog, that I mentioned : &lt;a href="http://joeamined.wordpress.com/2008/02/25/enabling-high-resolution-console-in-ubuntu/"&gt;http://joeamined.wordpress.com/2008/02/25/enabling-high-resolution-console-in-ubuntu/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here, I quoted it:&lt;br /&gt;&lt;blockquote&gt;sudo gedit /etc/modprobe.d/blacklist-framebuffer&lt;br /&gt;&lt;br /&gt;then comment the line : blacklist vesafb&lt;br /&gt;&lt;br /&gt;Save the modifications and close the text editor. Now, still in a gnome terminal, type :&lt;br /&gt;&lt;br /&gt;sudo gedit /etc/initramfs-tools/modules&lt;br /&gt;&lt;br /&gt;At the end of the file, add these two separate lines :&lt;br /&gt;&lt;br /&gt;fbcon&lt;br /&gt;vesafb&lt;br /&gt;&lt;br /&gt;Close the edited file and type :&lt;br /&gt;&lt;br /&gt;sudo update-initramfs -u&lt;br /&gt;&lt;br /&gt;Finally, open your menu.lst file :&lt;br /&gt;&lt;br /&gt;sudo gedit /boot/grub/menu.lst&lt;br /&gt;&lt;br /&gt;In the kernel line for ubuntu delete ’splash’ (so you no longer have the usplash displayed) and add vga=791 (to have a 1024*768 resolution)&lt;br /&gt;&lt;br /&gt;That’s it ! One last tip, to have more messages displayed you can change ‘quiet’ to ’services’ or to ‘verbose’ in the kernel line.&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-7297249338270580891?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/7297249338270580891/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=7297249338270580891' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/7297249338270580891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/7297249338270580891'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/09/setting-terminal-high-resolution.html' title='Setting terminal high resolution'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-6317643671224859141</id><published>2008-09-13T10:21:00.000-07:00</published><updated>2008-09-13T10:34:45.713-07:00</updated><title type='text'>A little partition disaster</title><content type='html'>Today I decide to delete one of my 3 GB partition. (Initially I want this partition merged back to my Linux partition. It is impossible though). I remove all the files and directories at there. And lastly I delete the partition and re-format to ext3. And install Fedora 9 just for fun. ^^. Beside this, I also merge 2 swap partitions into one partition. Here comes a little disaster.&lt;br /&gt;&lt;br /&gt;Because I delete the partition and re-create it. It seems like the name of partition has been shifted. My Linux partition is used to be sda7, becomes sda6. The Fedora 9 becomes in sda7 partition. And my swap become sda8. The problem is, the Master Boot Record used to be find grub file at sda7. I don't want it, because I never intend to use it in long term. But I can't change it to find partition sda6. Later, I found one way to solve it. It is easy though. &lt;br /&gt;&lt;br /&gt;So what I need just open terminal or Konsole. Type the following words, step by step.&lt;br /&gt;sudo grub&lt;br /&gt;root (hd0,5)&lt;br /&gt;setup (hd0)&lt;br /&gt;quit&lt;br /&gt;&lt;br /&gt;Here, root (hd0,5), why do I use '5'?? That's because the number of partition at grub begin from zero. So need to remember that, the number in grub is begin from zero. In real life the naming of partition is begin from one. After that I restart the computer and... yups! The grub found menu.lst at sda6.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Beside changing grub, I have found out that why the swap uuid can be changed. See the achieves at April 2008 for more information. That's because I change the partition of swap. That's why the Linux didn't know that the partition of disk has changed. That's why the /etc/fstab file never been changed. We must change it manually. Maybe there is better way, but that is all what I can do.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-6317643671224859141?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/6317643671224859141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=6317643671224859141' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/6317643671224859141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/6317643671224859141'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/09/little-partition-disaster.html' title='A little partition disaster'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-2378352348778148712</id><published>2008-09-03T19:37:00.002-07:00</published><updated>2008-09-03T19:44:03.747-07:00</updated><title type='text'>No soundcard detected?</title><content type='html'>After upgrading the kernel linux to 2.6.24.20 my computer encounter two problems. First one is the driver for Geforce 6200 LE(same problem that occured last time) and the second is rather special. &lt;br /&gt;I never encountered this before, after entering the desktop the Kmix report "Mixer cannot be found", Amarok report "xine cannot found sound driver".  &lt;br /&gt;&lt;br /&gt;Later I found out that the modules for kernel 2.6.24.20 haven't installed. The solution is simple. Use Adept or Synaptic to install &lt;span style="font-weight:bold;"&gt;linux-ubuntu-modules-xx.xx.xx.xxx&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;xx.xx.xx.xxx is your kernel version. You can find out by typing&lt;br /&gt;uname -r&lt;br /&gt;For mine it will be &lt;span style="font-weight:bold;"&gt;linux-ubuntu-modules-2.6.24.20&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After restart my computer, the sound modules loaded successfully.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-2378352348778148712?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/2378352348778148712/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=2378352348778148712' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/2378352348778148712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/2378352348778148712'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/09/no-soundcard-detected.html' title='No soundcard detected?'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-8803324169515020155</id><published>2008-09-01T20:17:00.000-07:00</published><updated>2008-09-01T20:31:55.499-07:00</updated><title type='text'>QSyntaxHighlighter little code</title><content type='html'>In process to create a editor that can highlight words in QT. I have try to do a little research. Here is my code. This code is written on form1.ui.h . While in form1.ui there is one textEdit which names textEdit1.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;#include &amp;lt;qsyntaxhighlighter.h&amp;gt;&lt;br /&gt;&lt;br /&gt;class Highlight : public QSyntaxHighlighter&lt;br /&gt;{&lt;br /&gt;public:&lt;br /&gt;Highlight(QTextEdit * textEdit);&lt;br /&gt;int highlightParagraph ( const QString &amp;amp; text, int endStateOfLastPara ) ;&lt;br /&gt;virtual ~Highlight(){}&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;Highlight :: Highlight(QTextEdit * textEdit) : QSyntaxHighlighter(textEdit)&lt;br /&gt;{&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;int Highlight::highlightParagraph ( const QString &amp;amp; text, int endStateOfLastPara )&lt;br /&gt;{&lt;br /&gt;setFormat(1,20,Qt::blue);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void Form1::init()&lt;br /&gt;{&lt;br /&gt;Highlight *newHighlight;&lt;br /&gt;newHighlight = new Highlight(textEdit1);&lt;br /&gt;}&lt;/qsyntaxhighlighter.h&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;After compile it generate a strange error:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;.obj/moc_form1.o:(.gnu.linkonce.r._ZTV5Form1[vtable for Form1]+0x1cc): undefined reference to `Form1::highlightParagraph(QString const&amp;amp;, int)'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After doing some search in Qt forums, I found the reason behind this. The forum I have read is here : &lt;a href="http://www.qtforum.org/article/1381/2/qsyntax-highlighter.html"&gt;http://www.qtforum.org/article/1381/2/qsyntax-highlighter.html&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;The conclusion is, somehow, Qt Designer has created highlightParagraph in Form1. That's why compiler couldn't find the function.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-8803324169515020155?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/8803324169515020155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=8803324169515020155' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/8803324169515020155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/8803324169515020155'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/09/qsyntaxhighlighter-little-code.html' title='QSyntaxHighlighter little code'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-6916672053174245489</id><published>2008-09-01T10:37:00.000-07:00</published><updated>2008-09-01T11:49:08.977-07:00</updated><title type='text'>Scheduling the task</title><content type='html'>In Linux, there is a program for manage scheduled task. The program itself is cron. While to put the list of schedules we use crontab. Usually we won't do anything with cron. What we only need to do is put the description of time and task. &lt;br /&gt;&lt;br /&gt;Firstly we need to create a file. Later this file will be put into the crontab. One thing, the file extension should be .cron, for examples foo.cron.  Here is an explanation with examples, taken from &lt;a href="http://www.scrounge.org/linux/cron.html"&gt;http://www.scrounge.org/linux/cron.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Here is the format of a cron job file:&lt;br /&gt;&lt;br /&gt;[min] [hour] [day of month] [month] [day of week] [program to be run]&lt;br /&gt;&lt;br /&gt;where each field is defined as&lt;br /&gt;[min] Minutes that program should be executed on. 0-59. Do not set as * or the program will be run once a minute.&lt;br /&gt;[hour] Hour that program should be executed on. 0-23. * for every hour.&lt;br /&gt;[day of month] Day of the month that process should be executed on. 1-31. * for every day.&lt;br /&gt;[month] Month that program whould be executed on. 1-12 * for every month.&lt;br /&gt;[day of week] Day of the week. 0-6 where Sunday = 0, Monday = 1, ...., Saturday = 6. * for every day of the week.&lt;br /&gt;[program] Program to be executed. Include full path information.&lt;br /&gt;&lt;br /&gt;Here are some examples:&lt;br /&gt;&lt;br /&gt;0,15,30,45 * * * * /usr/bin/foo&lt;br /&gt;&lt;br /&gt;Will run /usr/bin/foo every 15 minutes on every hour, day-of-month, month, and day-of-week. In other words, it will run every 15 minutes for as long as the machine it running.&lt;br /&gt;&lt;br /&gt;10 3 * * * /usr/bin/foo&lt;br /&gt;&lt;br /&gt;Will run /usr/bin/foo at 3:10am on every day.&lt;br /&gt;&lt;br /&gt;10 * 1 * * /usr/bin/foo&lt;br /&gt;&lt;br /&gt;Will run /usr/bin/foo at 12:10am on the first day of the month.&lt;br /&gt;&lt;br /&gt;10 * * 1 * /usr/bin/foo&lt;br /&gt;&lt;br /&gt;Will run /usr/bin/foo at 12:10am on the first month of the year.&lt;br /&gt;&lt;br /&gt;10 14 * * 1 /usr/bin/foo&lt;br /&gt;&lt;br /&gt;Will run /usr/bin/foo at 2:10pm on every Monday. &lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;After created the file, we put the task, descripted in the file to the crontab. By doing this, the crontab will load the cron jobs to the &lt;span style="font-style:italic;"&gt;cron&lt;/span&gt;. For example, you want to load foo.cron to crontab :&lt;br /&gt;crontab foo.cron&lt;br /&gt;&lt;br /&gt;Check to see if it was loaded by typing &lt;br /&gt;crontab -l&lt;br /&gt;&lt;br /&gt;PS:Before adding the cron jobs, it's better to see whether there are any cron jobs running (type: crontab -l). If there is no cron jobs loaded currently, then it is safe to add it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-6916672053174245489?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/6916672053174245489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=6916672053174245489' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/6916672053174245489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/6916672053174245489'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/09/scheduling-task.html' title='Scheduling the task'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-5469271388483273430</id><published>2008-07-11T10:00:00.000-07:00</published><updated>2008-11-05T01:23:15.491-08:00</updated><title type='text'>Linux 072 ver 1.0 has been created on 11-7-2008</title><content type='html'>At last...... the livecd which I remaster has come to its first version. The name is Linux 072. Why 072? That's because I am software laboratory assistant in Binus university, the 2007 generation second semester. Thanks to Virtualbox, without this program, I don't know how many cdroms wasted. &lt;br /&gt;Also many thanks to this link, &lt;br /&gt;&lt;a href="http://www.linux.com/feature/137524"&gt;http://www.linux.com/feature/137524&lt;/a&gt;&lt;br /&gt;without it I don't what can I do....&lt;br /&gt;&lt;br /&gt;I successfully install the most important part of this project. That is Qt3 Designer. This application is quite important so my trainees can try this program at home. But the size of this application is big, kinda afraid that the spaces of disc is not enough. In reality it is really not enough (if I don't remove some packages). So I remove some language support packages, burner packages (forgot the name), photo editor packages (F-Spot). Then I install g++, and it dependencies. After installing and removing, at last the disk spaces left 1% from 3 GB. &lt;br /&gt;The next step is change the wallpaper of Ubuntu. I use one of my scenery picture (wet grasses in morning with "Linux 072" on the top left corner) to replace the default wallpaper from Ubuntu. I prefer fresh and colourful picture rather than Ubuntu's rather-dark wallpaper of heron. :p&lt;br /&gt;&lt;br /&gt;Note the above step is not done only once. But many times, since I need to install/remove and see the changes. Keep doing those steps until every packages that I want is installed all.&lt;br /&gt;&lt;br /&gt;When creating livecd I encountered a few minor problems. The first problem is, I uninstall all of Evolution packages. I thought surely the trainees don't need this software. Evolution is a mail client. Little do I know that one of evolution package must not be removed. It is evolution-data-server-common is one of gnome-panel dependency. Delete this package also cause gnome-panel be removed. Gnome-panel it self is Gnome taskbar. No panel means no access program. Even Alt+F2 can't do a thing(the run window won't open). That's why I install back gnome-panel with evolution-data-server-common and other gnome-panel dependencies. But the other evolution packages, I still didn't install them.&lt;br /&gt;&lt;br /&gt;The second problem is when I enter the GUI, suddenly show 3 windows. One of them said "The panel encountered a problem while loading "OAFIID:GNOME_MixerApplet" ". The other 2 almost the same with different name "OAFIID:GNOME_FastUserSwitchApplet" and "OAFIID:GNOME_TrashApplet". After looking at Ubuntu forum, it is gnome-applets. Seems like because gnome-panel been removed also cause gnome-applets been removed. But when I install gnome-panel, gnome-applets didn't be installed. Because gnome-panel itself doesn't depend on gnome-applets. So I install it. And try again with Virtualbox. Now it only pop one window said that "The panel encountered a problem while loading "OAFIID:GNOME_FastUserSwitchApplet"". So there is still one package need to be installed. this is fast-user-switch-applet. After install this last package, at last.......&lt;br /&gt;the Linux 072 ver 1.0 is out.&lt;br /&gt;&lt;br /&gt;Still remember last year, when I am still a trainee, I saw my trainer's livecd named Lidya Linux. I just wonder, could I next year create my own livecd, when I become trainer. I never used Linux before. So that's was my first time to use Linux. Seems impossible to me then. How could a merely beginner who know nothing about Linux, can create own livecd. But hehe.. thanks to my interest in Linux and abundance of guides in internet about how to create livecd, A livecd which last year, my little dream, fulfilled. :)&lt;br /&gt;&lt;br /&gt;Actually before using Ubuntu to remastered, I already had remastered Knoppix 5.1, which I called it Linux 072 version 0.1. Later, after some thoughts, I change to Ubuntu. Because Knoppix can't detect my ethernet card, Realtek(actually Kubuntu Feisty Fawn also fail to detect this card until Gutsy Gibbon out). Without link to internet it is impossible for me to install package to the livecd. That's all folk, today shall be a little achievement from me. Kinda happy... :)&lt;br /&gt;If you think, nothing can be proud from this, never mind. Because I am still just a newbie. :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-5469271388483273430?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/5469271388483273430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=5469271388483273430' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/5469271388483273430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/5469271388483273430'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/07/linux-072-ver-10-has-been-created-on-11.html' title='Linux 072 ver 1.0 has been created on 11-7-2008'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-4428961922394580481</id><published>2008-07-07T04:23:00.001-07:00</published><updated>2008-07-07T04:32:04.241-07:00</updated><title type='text'>Qemu cannot run Ubuntu 8.04 livecd</title><content type='html'>Still continue the last time to try make a livecd. After following every step, at last it produce an iso file. Yeah.. It's time to try it. then I try to run this iso file with Qemu with like this :&lt;br /&gt;qemu -cdrom ubuntu-8.04-desktop-i386.iso -boot d&lt;br /&gt;It can run until when it's gonna enter GUI. It is said, the xserver hasn't been configured. &lt;br /&gt;&lt;br /&gt;So I swith to use virtualbox and it runs the livecd of Ubuntu 8.04 successfully from start to the end flawlessly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-4428961922394580481?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/4428961922394580481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=4428961922394580481' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/4428961922394580481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/4428961922394580481'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/07/qemu-cannot-run-ubuntu-804-livecd.html' title='Qemu cannot run Ubuntu 8.04 livecd'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-2194795527126212444</id><published>2008-07-04T05:50:00.000-07:00</published><updated>2008-07-04T06:05:44.398-07:00</updated><title type='text'>Only one loop device file</title><content type='html'>I am trying to remaster Ubuntu Hardy Heron, by following steps provided in this link &lt;br /&gt;&lt;a href="http://http://www.linux.com/feature/137524"&gt;http://www.linux.com/feature/137524&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Everything is normal, till this step&lt;br /&gt;sudo mount -t squashfs -o loop mnt/casper/filesystem.squashfs squashfs&lt;br /&gt;&lt;br /&gt;When I try this it is said that, something like not enough loop device, or maybe device is busy. Sorry I've forgotten what did it say exactly. The problem become clear after I checked at /dev/ , there is only one loop device file : loop0&lt;br /&gt;&lt;br /&gt;Normally, Ubuntu should have 8 loop device files, loop0, loop1, loop2, .., loop7. I don't understand why, but after doing some googling, it is easy to fix this. Just edit /etc/modules&lt;br /&gt;There just add "loop" (without quotes) at the last line, then restart your pc. After restart, the amount of loop device files increase to 8.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-2194795527126212444?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/2194795527126212444/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=2194795527126212444' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/2194795527126212444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/2194795527126212444'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/07/one-one-loop-device.html' title='Only one loop device file'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-816576404672598117</id><published>2008-07-03T10:57:00.000-07:00</published><updated>2008-07-03T11:18:01.227-07:00</updated><title type='text'>Nvidia.ko not found after upgrade kernel</title><content type='html'>Few days ago, I upgrade my kernel version from 2.6.24-17 to 2.6.24-19. The installation is successful, nothing special. I didn't restart immediately. The next day when I started the computer, the problem occurred. It failed to enter KDM mode. &lt;br /&gt;&lt;br /&gt;I tried to startx from terminal, and it said &lt;br /&gt;/lib/modules/2.6.24-19-generic/volatile/nvidia.ko not found&lt;br /&gt;&lt;br /&gt;Luckily there is nvidia.ko at my /lib/modules/2.6.24-17-generic/kernel/drivers/video directory. So I copied the file to there and startx one more time. This time it success to enter KDM.&lt;br /&gt;Note : Others install the nvidia-glx-driver to fix it.&lt;br /&gt;&lt;br /&gt;But that not solved the problem. Because when I restarted the computer, it happened again. The file that I copied was disappeared. And this happened everytime I boot the PC. (The problem happened to the one install nvidia-glx-driver).&lt;br /&gt;&lt;br /&gt;Then someone said that the graphic card driver might be not match with my current kernel version. I often upgrade kernel, but not for graphic card driver. So I download the newest graphic card driver and install. It replaces automatically my old nvidia driver. When I boot again, the problem didn't show up anymore. So the conclusion I can get is, sometimes the newer kernel version might not match with older version of other device driver, so make sure to upgrade driver frequently too.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-816576404672598117?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/816576404672598117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=816576404672598117' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/816576404672598117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/816576404672598117'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/07/nvidiako-not-found-after-upgrade-kernel.html' title='Nvidia.ko not found after upgrade kernel'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-7200607998781032278</id><published>2008-06-26T06:12:00.000-07:00</published><updated>2008-06-26T06:22:12.463-07:00</updated><title type='text'>Firefox Always Start With Work Offline</title><content type='html'>After upgrade Firefox 2 to Firefox 3 in Kubuntu Hardy Heron, the browser always begin with work offline. After finding in forum, at last I found the solution. &lt;br /&gt;Here is the link : http://ubuntuforums.org/showthread.php?t=800179&lt;br /&gt;&lt;br /&gt;Well, it is said the cause of the problem is the Firefox try to communicate with NetworkManager. And because Network Manager doesn't recognize there is internet connection, it tells Firefox that this computer has no internet connection. This is a bug from Network Manager not Firefox. To fix it:&lt;br /&gt;you must edit a file. Type : &lt;br /&gt;kdesu kate /etc/dbus-1/system.d/NetworkManager.conf&lt;br /&gt;&lt;br /&gt;find 3 &lt;br /&gt;&amp;lt;allow send_interface="org.freedesktop.NetworkManager"/&amp;gt; &lt;br /&gt;and change it to &lt;br /&gt;&amp;lt;deny send_interface="org.freedesktop.NetworkManager"/&amp;gt; &lt;br /&gt;&lt;br /&gt;It is said, it will prevent Firefox (or Pidgin) to communicate with Network Manager, so it will always in online state.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-7200607998781032278?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/7200607998781032278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=7200607998781032278' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/7200607998781032278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/7200607998781032278'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/06/firefox-always-start-with-work-offline.html' title='Firefox Always Start With Work Offline'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-3500318493557223216</id><published>2008-06-04T09:10:00.001-07:00</published><updated>2008-06-04T09:24:27.194-07:00</updated><title type='text'>临时抱佛脚</title><content type='html'>The time of project deadline is getting nearer. Most of the student are getting worried about their task. As lab software assistant, I am quite happy. At least, they care their grade don't they. But I just wonder, why don't they begin from the first. They have almost half year to do project. Most of the cases usually 2 weeks before the deadline, they become more active to asking about project to me(I assume on that time, they just begin). Including my ex-student. T_T. She only left a few days, and yet nothing is made yet!!! This case, no hope to get full mark for project. (A still possible :) )&lt;br /&gt;Some come to my boarding house to ask about the project. Some make appointment with me to ask about their project. &lt;br /&gt;    In Chinese we called that "临时抱佛脚" Litteraly means immediatly "Hug Buddha's feet n one's hour of need". Meaning they only find me (as assistant) when the project is getting nearer. Haih.... You see, I have a lot of tasks to do too. But I just can't ignore them. So yeah, never mind. Let's hope all of their project score a good mark. :)&lt;br /&gt;Good luck everyone!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-3500318493557223216?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/3500318493557223216/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=3500318493557223216' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/3500318493557223216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/3500318493557223216'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/06/blog-post.html' title='临时抱佛脚'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-2516461697571391979</id><published>2008-06-01T08:21:00.000-07:00</published><updated>2008-06-01T08:47:37.273-07:00</updated><title type='text'>The Nvidia 6200 LE and Hardy Heron</title><content type='html'>When I upgrade my Kubuntu from Gutsy Gibbon to Hardy Heron, it is quite easy. Everything goes well, except some program is lost, such as apache2, mysql, phpmyadmin, Smart Common Input Method(SCIM) for Chinese. Hm.. although one of my reason why I don't want to clean install is to preserve those programs, but Ok, maybe the old package is not suitable for Hardy Heron.&lt;br /&gt;The main problem is my graphic card. It used to be easy to install Nvidia driver. I still remember, when I am using Gutsy, how I downloaded the driver and just a few step, I can use my graphic card perfectly). But now, it is not so easy. &lt;br /&gt;&lt;br /&gt;After the installation, I downloaded the driver from Nvidia website. The driver for Linux-32 bit is NVIDIA-Linux-x86-169.12-pkg1.run (I still remember it was when Hardy Heron was been launched not so long before). I try to install it. At first, it said I cannot install, cause I still at X Server. Ok, I kill the kdm with&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;sudo /etc/init.d/kdm stop&lt;/span&gt;   &lt;br /&gt;&lt;br /&gt;After that, it installed to my computer. But after the restart, I can't enter to GUI. The problem is simple though. I just need to get the xorg.conf where the line wrote:&lt;br /&gt;&lt;br /&gt;modules "nvidia"&lt;br /&gt;&lt;br /&gt;change to&lt;br /&gt;&lt;br /&gt;modules "nv"&lt;br /&gt;&lt;br /&gt;That's mean I can't use the driver from Nvidia. I must use the restricted kernel from Linux which called NV44 (for 6200). Using this driver, I can't activate my compiz fusion and can't open glxgears.&lt;br /&gt;&lt;br /&gt;At last a few days ago, after using NV44 for about a month, I upgrade my Linux kernel from 2.6.24-16-generic to 2.6.24-17-generic. After that, I also check whether there any new driver from Nvidia. And yes, there is! It was NVIDIA-Linux-x86-173.14.05-pkg1.run&lt;br /&gt;&lt;br /&gt;At last I tried to install. Still the same, it asked me to not install with the X Server open. I killed the kdm. And then it asked me whether want to find the precompiled kernel. I didn't know what was that. But the driver was failed to connect to Nvidia website. It asked something after saying it was failed. I just pressed OK. ANd yes it installed succesfully. After a restart, I could saw there is Nvidia logo again...! :)&lt;br /&gt;&lt;br /&gt;After that, I also tried to open glxgears and compiz fusion. And it worked too. So, I guest the reason why my computer couldn't run properly if install nvidia driver is lay on the kernel version of Nvidia driver with the linux version. The older driver of Nvidia, seems like not support the Hardy yet(I guest).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-2516461697571391979?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/2516461697571391979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=2516461697571391979' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/2516461697571391979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/2516461697571391979'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/06/nvidia-6200-le-and-hardy-heron.html' title='The Nvidia 6200 LE and Hardy Heron'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-5221725042924653618</id><published>2008-04-10T08:29:00.000-07:00</published><updated>2008-04-10T08:40:19.833-07:00</updated><title type='text'>Problem in activating swap partition</title><content type='html'>One day, I found my computer often hang everytime if the program is too busy. Later it was revealed that the swap is not on. So I check a few thing.&lt;br /&gt;I look the swappiness with "cat /proc/sys/vm/swappiness " and it show 60. Meanings Linux has tendency to use swap rather than ram. &lt;br /&gt;So the problem is not swappiness. &lt;br /&gt;&lt;br /&gt;After some googling, to activate swap partition we can use "swapon". So I type "sudo swapon -a /dev/hda6" (my swap partition is hda6). It said that there is something wrong in /dev/disk/by-uuid/ &lt;br /&gt;So I check at there using "ls-l"&lt;br /&gt;This is the result:&lt;br /&gt;total 0&lt;br /&gt;lrwxrwxrwx 1 root root 10 2008-04-11 03:51 21d592f8-c644-4605-85a4-781e216cddb0 -&gt; ../../hda6&lt;br /&gt;lrwxrwxrwx 1 root root 10 2008-04-11 03:51 48AC1356AC133E3E -&gt; ../../hda5&lt;br /&gt;lrwxrwxrwx 1 root root 10 2008-04-11 03:51 5245c180-9a8b-4465-a8f8-d92902fc329a -&gt; ../../hda7&lt;br /&gt;lrwxrwxrwx 1 root root 10 2008-04-11 03:51 68FB-5937 -&gt; ../../hda1&lt;br /&gt;lrwxrwxrwx 1 root root 10 2008-04-11 03:51 8748fcad-6e66-4339-b046-14f1395765e3 -&gt; ../../hda8&lt;br /&gt;lrwxrwxrwx 1 root root 10 2008-04-11 03:51 af63a094-ec51-11dc-8244-d1cfae280f6f -&gt; ../../hda9&lt;br /&gt;&lt;br /&gt;And then I see the fstab to compare the swap. And what I found is ......&lt;br /&gt;&lt;br /&gt;...&lt;br /&gt;# /dev/hda6&lt;br /&gt;UUID=9cc2b9d5-0b39-4724-82de-01e80ba5e6ed none            swap    sw              0       0&lt;br /&gt;# /dev/hda8&lt;br /&gt;UUID=dc9dcecf-bde9-487a-ae54-f7c204d6fefe none            swap    sw              0       0&lt;br /&gt;....&lt;br /&gt;&lt;br /&gt;The UUID variable is not same!!!. So I replace the value in fstab with the value from /dev/disk/by-uuid .And after I save the file, and open KSysGuard (shortcut : Ctrl+Esc), it detected swap is working. &lt;br /&gt;&lt;br /&gt;Although I manage to activate the swap, but the reason why UUID value changed is a real mystery.&lt;br /&gt;&lt;br /&gt;The second step I look the /etc/fstab file . And&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-5221725042924653618?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/5221725042924653618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=5221725042924653618' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/5221725042924653618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/5221725042924653618'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/04/problem-in-activating-swap-partition.html' title='Problem in activating swap partition'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-450823955084463349</id><published>2008-01-23T17:17:00.000-08:00</published><updated>2008-01-23T17:25:50.542-08:00</updated><title type='text'>Input Chinese Characters</title><content type='html'>Here is a link to the how-to : &lt;br&gt;&lt;br /&gt;&lt;a href="http://foolip.org/blog/2006/09/12/chinese-fonts-and-input-in-ubuntu/"&gt;http://foolip.org/blog/2006/09/12/chinese-fonts-and-input-in-ubuntu/&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;To put it simple, you just need to type a few lines of command.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;$ sudo aptitude install language-support-zh&lt;/b&gt;&lt;/br&gt;&lt;br /&gt;This command to install the Chinese languange. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;$ im-switch -s zh_CN&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This creates a link in ~/.xinput.d/ for your current locale.&lt;br /&gt;&lt;br /&gt;After a restart, you should be able to use chinese character input&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-450823955084463349?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/450823955084463349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=450823955084463349' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/450823955084463349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/450823955084463349'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/01/input-chinese-characters.html' title='Input Chinese Characters'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-3726186678978041438</id><published>2008-01-22T18:57:00.000-08:00</published><updated>2008-01-22T19:15:03.464-08:00</updated><title type='text'>Superkaramba and Compiz problem</title><content type='html'>If you enable Compiz and run Superkaramba, you might encounter some problems. For example, the superkaramba themes only show in one Desktop (even you have choose "All Desktop"). When you "Show Desktop", all the themes will disappear. Or when you restart or log off and then return to session, the themes won't show, even when you see at Superkaramba it is "running". To fix it :&lt;br /&gt; 1. Activate Regex Matching! Otherwise Window Rules have no effect.&lt;br /&gt; 2. Go to Window Rules in Utility&lt;br /&gt;      Input these labels to its text field:&lt;br /&gt;      &lt;strong&gt;Below&lt;/strong&gt;&lt;br /&gt;      class=Superkaramba &amp;amp; type=dock&lt;br /&gt;     &lt;strong&gt;Sticky&lt;/strong&gt;&lt;br /&gt;      class=Superkaramba &amp;amp; type=dock&lt;br /&gt;     &lt;strong&gt;Non Minimizable Windows&lt;/strong&gt;&lt;br /&gt;     class=Superkaramba &amp;amp; type=dock&lt;br /&gt;&lt;br /&gt;     The &lt;strong&gt;Below &lt;/strong&gt;is  to prevents superkaramba to be on top of other app. &lt;strong&gt;Sticky &lt;/strong&gt;to let Superkaramba in all desktops. &lt;strong&gt;Non Minimizable Windows&lt;/strong&gt; won't let your superkaramba  disappear when you hit the show desktop button. But somehow it still disappear. But it is better, because it can be restored when you click show desktop button again.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-3726186678978041438?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/3726186678978041438/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=3726186678978041438' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/3726186678978041438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/3726186678978041438'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/01/superkaramba-and-compiz-problem.html' title='Superkaramba and Compiz problem'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-7701196207538094281</id><published>2008-01-20T19:09:00.001-08:00</published><updated>2008-01-20T19:31:19.076-08:00</updated><title type='text'>Adept Installer Always Error</title><content type='html'>Some users may encounter the problem when installing packages with Adept Installer. They always encounter message like this :&lt;br /&gt;&lt;br /&gt;"There was an error commiting changes. Possibly there was a problem downloading some packages or the commit would break packages."&lt;br /&gt;&lt;br /&gt;One of solution is, type :&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;sudo dpkg --configure -a&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;sudo apt-get install -f&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Meaning of these steps:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;sudo dpkg --configure -a &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Reconfigure all (because we give -a) unpacked packages but unfigured packages are configured.&lt;br /&gt;Configuring consists of the following steps:&lt;br /&gt;1. Unpack the configuration files, and at the same time back up the old configuration files, so that they can be restored if something goes wrong.&lt;br /&gt;2. Run postinst script, if provided by the package.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;sudo apt-get install -f&lt;/span&gt;&lt;br /&gt;Fix; attempt to correct a system with broken dependencies in place.&lt;br /&gt;This option, when used with install/remove, can omit any packages to&lt;br /&gt;permit APT to deduce a likely soltion. Any Package that are specified must&lt;br /&gt;completly correct the problem.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-7701196207538094281?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/7701196207538094281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=7701196207538094281' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/7701196207538094281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/7701196207538094281'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/01/adept-installer-always-error.html' title='Adept Installer Always Error'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-2297864432277590421</id><published>2008-01-09T07:26:00.000-08:00</published><updated>2008-01-09T07:40:14.402-08:00</updated><title type='text'>Gameboy Advance Emulator</title><content type='html'>To play gameboy advance games... you can use emulator. You may want to try visualboyadvance (vba). Once you have installed, you can run the gameboy games by type:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;vba &lt;/span&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;filename&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;the filename should be ROM files, like *.gba .&lt;br /&gt;&lt;br /&gt;vba doesn't have GUI. But if you want GUI you can install vba express. This is GUI design for vba. And it is more easy for use. But for power user, you might found not all options included in vba express. One of them is there is no option for setting flash size(some games need to be set 128k to run). To see all options just type&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;vba&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you want to save the games, you may hold Shift + F1 , Shift + F2 until Shift + F10.&lt;br /&gt;To load just press F1 or F2 or etc (until F10).&lt;br /&gt;So there are 10 slots for you to save.&lt;br /&gt;The default path for save game is at your home directory , in .vba directory(it is hidden)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-2297864432277590421?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/2297864432277590421/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=2297864432277590421' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/2297864432277590421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/2297864432277590421'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2008/01/gameboy-advance-emulator.html' title='Gameboy Advance Emulator'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-1969465298723739122</id><published>2007-12-26T07:20:00.000-08:00</published><updated>2007-12-26T07:30:58.097-08:00</updated><title type='text'>Setting 2 IP in one NIC</title><content type='html'>I have to set 2 IPs for my computer. The reason is simple one is for internet and another is for LAN. (I don't understand either why must 2 IPs). So there is no way I can set 2 IP in System Settings. I must manual edit the &lt;span style="font-weight: bold;"&gt;interfaces &lt;/span&gt;files in /etc/newtork/ .&lt;br /&gt;I just have one ethernet card, so the file only have eth0. So in order to add the other IP,  I use eth0:0 here is my &lt;span style="font-weight: bold;"&gt;interfaces&lt;/span&gt; file&lt;br /&gt;&lt;br /&gt;auto lo&lt;br /&gt;iface lo inet loopback&lt;br /&gt;address 127.0.0.1&lt;br /&gt;netmask 255.0.0.0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;iface eth0 inet static&lt;br /&gt;address xx.xx.xxx.xxx&lt;br /&gt;netmask 255.255.255.252&lt;br /&gt;gateway 27.227.27.254&lt;br /&gt;&lt;br /&gt;auto eth0&lt;br /&gt;&lt;br /&gt;auto eth0:0&lt;br /&gt;iface eth0:0 inet static&lt;br /&gt;address yy.yyy.yy.yyy&lt;br /&gt;netmask 255.255.0.0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So the xx.xx.xxx.xx is my IP for internet, while yy.yyy.yy.yyy is for LAN. After edit it I restart using&lt;br /&gt;/etc/init.d/networking restart&lt;br /&gt;and I can access my network now (using samba)....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-1969465298723739122?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/1969465298723739122/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=1969465298723739122' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/1969465298723739122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/1969465298723739122'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2007/12/setting-2-ip-in-one-nic.html' title='Setting 2 IP in one NIC'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-6179876931807909713</id><published>2007-12-25T07:57:00.000-08:00</published><updated>2007-12-25T19:31:10.064-08:00</updated><title type='text'>Autostart the Application</title><content type='html'>In order to add application to start up, there are a few ways.&lt;br /&gt;1. There are application shortcuts(*.desktop) in /usr/share/autostart/ . To edit, add or remove these shortcuts, you need root access.&lt;br /&gt;2. There are also application shortcuts in your home directory ~/.kde/Autostart/ . This one you don't need root access to use it.&lt;br /&gt;3. Install kde autostart package( name &lt;span style="font-weight: bold;"&gt;kcontrol-autostart&lt;/span&gt; in repository manager)&lt;br /&gt;&lt;br /&gt;For me, it is better to configure autostart at /.kde/autostart because everything without root access is always safer.&lt;br /&gt;If you have installed kcontrol-autostart package, then you can manage startup at kcontrol(labeled &lt;span style="font-weight: bold;"&gt;control center&lt;/span&gt;). I can't find the kcontrol at KDE menu, so I run application (Alt+F2) and type "kcontrol" (without quote). In Control Center go to &lt;span style="font-weight: bold;"&gt;KDE Components. &lt;/span&gt;And choose Autostart. We can add or remove any application at here.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-6179876931807909713?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/6179876931807909713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=6179876931807909713' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/6179876931807909713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/6179876931807909713'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2007/12/autostart-application.html' title='Autostart the Application'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-1680673705593799616</id><published>2007-12-24T22:58:00.000-08:00</published><updated>2007-12-25T07:57:37.049-08:00</updated><title type='text'>Add Startup</title><content type='html'>In order to add application to start up, there are a few ways.&lt;br /&gt;1. There are application shortcuts(*.desktop) in /usr/share/autostart/ . To edit, add or remove these shortcuts, you need root access.&lt;br /&gt;2. There are also application shortcuts in your home directory ~/.kde/Autostart/ . This one you don't need root access to use it.&lt;br /&gt;3. Install kde autostart package( name &lt;span style="font-weight: bold;"&gt;kcontrol-autostart&lt;/span&gt; in repository manager)&lt;br /&gt;&lt;br /&gt;I never use kcontrol-autostart. But I think it should be same as we add in the autostart directory. For me, it is better to configure autostart at /.kde/autostart because it only effect you.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-1680673705593799616?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/1680673705593799616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=1680673705593799616' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/1680673705593799616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/1680673705593799616'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2007/12/add-startup.html' title='Add Startup'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-6910246250892921805</id><published>2007-12-18T07:03:00.000-08:00</published><updated>2007-12-18T07:25:03.480-08:00</updated><title type='text'>Make OpenOffice Start Faster</title><content type='html'>OpenOffice is quite slow when starting. Everybody knows it. Me too. So how to make it faster? Here some tips :&lt;br /&gt;1. Go to &lt;span style="font-weight: bold;"&gt;Tools-&gt;Options-&gt;Memory&lt;/span&gt;&lt;br /&gt;2. Reduce &lt;span style="font-weight: bold;"&gt;Numbers of step&lt;/span&gt; Undo. Mine is 20.&lt;br /&gt;3. &lt;span style="font-weight: bold;"&gt;Graphics Cache , &lt;/span&gt;set &lt;span style="font-weight: bold;"&gt;Use for OpenOffice.org&lt;/span&gt; to 128 MB(if  you have at least 512 mb)&lt;br /&gt;4.  Check &lt;span style="font-weight: bold;"&gt;OpenOffice.org Quickstarter&lt;/span&gt; (be sure to install the Quickstarter package names oooqs )&lt;br /&gt;5. Uncheck &lt;span style="font-weight: bold;"&gt;Use a Java runtime environment &lt;/span&gt;in &lt;span style="font-weight: bold;"&gt;Tools-&gt;Options-&gt;Java&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-6910246250892921805?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/6910246250892921805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=6910246250892921805' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/6910246250892921805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/6910246250892921805'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2007/12/make-openoffice-start-faster.html' title='Make OpenOffice Start Faster'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-7858815725645219850</id><published>2007-12-15T23:27:00.000-08:00</published><updated>2007-12-17T07:39:51.527-08:00</updated><title type='text'>No Sound in Pidgin and aMSN</title><content type='html'>I am using pidgin and aMSN for chatting. Pidgin is fine. But there is one thing I dislike until yesterday. My pidgin never sounds. So I try a few ways to force this application sounds.&lt;br /&gt;&lt;br /&gt;Later I use command since all fail. So, here step by step:&lt;br /&gt;1. Open your pidgin ( :P )&lt;br /&gt;2.  go to Tools -&gt; Preferences -&gt; Sounds&lt;br /&gt;3. at Sound Methods choose : Command&lt;br /&gt;4. on Sound Command type this :&lt;br /&gt;         aplay %s&lt;br /&gt;5. Click close&lt;br /&gt;&lt;br /&gt;Same with aMSN too. Mine never sounds since installed. So I try to change its command.&lt;br /&gt;1. Preferences-&gt;Others-&gt;Sound Server&lt;br /&gt;2. Check the "Use a different program"&lt;br /&gt;3. then type :&lt;br /&gt;aplay $sound&lt;br /&gt;4. Click Save&lt;br /&gt;5. Make sure "Sound Alarm" is checked. (Go to "Configure/Add/Remove Global Alarm"). Click "Ok"&lt;br /&gt;&lt;br /&gt;That should fix the problem.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-7858815725645219850?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/7858815725645219850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=7858815725645219850' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/7858815725645219850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/7858815725645219850'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2007/12/no-sound-in-pidgin.html' title='No Sound in Pidgin and aMSN'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-7770433620339518174</id><published>2007-12-12T03:01:00.000-08:00</published><updated>2008-01-15T20:02:43.656-08:00</updated><title type='text'>No stdio.h in Kubuntu?</title><content type='html'>One day I just try learn C language and try to compile my just-made hello world program. And guests what? The gcc said I don't have stdio.h. So I think, I must install something. And what should I install. The answer is simple build-essential. Yes that's it.&lt;br /&gt;Just type :&lt;br /&gt;sudo apt-get install build-essential&lt;br /&gt;&lt;br /&gt;Before installing it may ask you to insert Kubuntu installation disc. Just insert it.&lt;br /&gt;After installing you can use most of standard library now.&lt;br /&gt;&lt;br /&gt;If you want to install the man pages for development syntax. For example how to use shmget(share memory function), semget( semaphore function), printf( stdio function) and the others. You need to install a package names &lt;span style="font-weight: bold;"&gt;manpages-dev&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;You may try to install it via Adept Manager. Just find a package name &lt;span style="font-weight: bold;"&gt;manpages-dev&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;NOTE: for somebody who don't know what is gcc and stdio.h, let me explain a little.&lt;br /&gt;GCC formerly is known as Gnu C Compiler. Later it changes become Gnu Compiler Collection. The reason is now GCC not only can compile C, but it also can compile other languanges.&lt;br /&gt;GCC is a compiler that can compile a lot of languages. One of them is C Language( my favourite language after Mandarin ;) ) Stdio.h (stands for standard input and output) is one of standar library that a C Compiler must have( according to ANSI standard and ISO). Without stdio.h your  program can't print anything to screen. That's why almost every C language code includes stdio.h (as far as I know).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-7770433620339518174?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/7770433620339518174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=7770433620339518174' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/7770433620339518174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/7770433620339518174'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2007/12/no-stdioh-in-kubuntu.html' title='No stdio.h in Kubuntu?'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-3541455685785234240</id><published>2007-12-12T03:00:00.000-08:00</published><updated>2008-01-15T20:00:03.700-08:00</updated><title type='text'>No GCC in Kubuntu!?</title><content type='html'>When first time after installing Kubuntu, I tried to compile my hello world program to test whether Kubuntu has compiler or not. Later I found that Kubuntu indeed has gcc (stands for Gnu Compiler Collection). But it stated "stdio.h not found". stdio(stands for Standard Input Output) is a very important header file for basic input output at C. Impossible there is no stdio.h file. So, it must be hasn't installed in my box.&lt;br /&gt;&lt;br /&gt;After search for a while, I found what I want. I just need to install a package which contains the library. So I just need to type&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;apt-get install build-essential&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Before installing it may ask you to insert Kubuntu installation disc. Just insert it.&lt;br /&gt;After installing you can use most of standard library now.&lt;br /&gt;&lt;br /&gt;If you want to install the man pages for development syntax. For example how to use shmget(share memory function), semget( semaphore function), printf( stdio function) and the others. You need to install a package names &lt;span style="font-weight: bold;"&gt;manpages-dev&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;You may try to install it via Adept Manager. Just find a package name &lt;span style="font-weight: bold;"&gt;manpages-dev&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;GCC formerly is known as Gnu C Compiler. Later it changes become Gnu Compiler Collection. The reason is now GCC not only can compile C, but it also can compile other languanges. &lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-3541455685785234240?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/3541455685785234240/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=3541455685785234240' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/3541455685785234240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/3541455685785234240'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2007/12/no-gcc-in-kubuntu.html' title='No GCC in Kubuntu!?'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-3164314188465434199</id><published>2007-12-11T20:28:00.001-08:00</published><updated>2007-12-11T20:49:54.459-08:00</updated><title type='text'>Be an Admin! (Part 2)</title><content type='html'>Last time I wrote about System Administrator, now I will write about Network Administrator.&lt;br /&gt;&lt;br /&gt;The position of network administrator is sometimes advertised as systems administrator, LAN administrator, network operations analyst, network technician or information systems administrator, but no matter what the exact job title, this IT professional is responsible for the day to day operations of the network infrastructure of the organization. Depending on the organization, this network infrastructure will consist of such elements as individual desktop PCs, specially designed thin clients or workstations, file servers, mail servers, application servers, backup servers and more. Network administrators are basically the network equivalent of system administrators: they maintain the hardware and software that comprises the network.&lt;br /&gt;&lt;br /&gt;The Duty&lt;br /&gt;So the tasks of network admin are  troubleshooting day to day problems and unusual issues with networked equipment, and evaluating the need for upgrades or replacements of current computer hardware and software solutions beside installing and configuring new equipment (including desktop PCs and servers).&lt;br /&gt;&lt;br /&gt;The Career Path&lt;br /&gt;Career paths for network administrators can include moves into positions of greater responsibility, including management roles and other leadership positions.&lt;br /&gt;&lt;br /&gt;The Salary&lt;br /&gt;While salaries for such positions varies, experienced network administrators often earn $50,000 per year or more. While in www.itjobswatch states £33,359.&lt;br /&gt;&lt;br /&gt;Requirements&lt;br /&gt;Extensive knowledge of computer terms, microcomputer concepts, capabilities and hardware/software components, including operating systems, application software such as word processing, spreadsheets, databases, and graphics, servers, and connections for networks, modems, printers, and scanners, i.e., microcomputer associated components.&lt;br /&gt;Basic knowledge in operating systems programs, maintenance, systems administration, and network systems&lt;br /&gt;Beside, you might want to have certificate too. There are a lot of certification such as:&lt;br /&gt;Microsoft Certifications(MCSA, MCSE), Linux Certifications(Linux+, LPIC level 1, LPIC level 2, RHCE, SCNA), Cisco Certification (CCNA) , Citrix Certification (CCA), Novel Certification (NetWare CNA), TruSecure Certification (TICSA), and many more..... ;)&lt;br /&gt;&lt;br /&gt;Well those all about network administrator...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-3164314188465434199?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/3164314188465434199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=3164314188465434199' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/3164314188465434199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/3164314188465434199'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2007/12/be-admin-part-2.html' title='Be an Admin! (Part 2)'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-3156020473924187317</id><published>2007-12-10T19:00:00.000-08:00</published><updated>2007-12-10T19:37:45.090-08:00</updated><title type='text'>Be an Admin!</title><content type='html'>Now I am interesting about the administrator. But, only little do I know what are admin doing, how to become an admin and what is good to become admin. So I try to search in internet and gather some information. Here are as far I got it.&lt;br /&gt;&lt;br /&gt;There are several types of administrator according they job. There are network administrator, system administrator, database administrator and server administrator.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;First: System Admin.&lt;/span&gt;&lt;br /&gt;System Administrators are responsible for maintaining the computer systems of a company. Server management is a primary responsibility, and a System Administrator would be responsible for installing, maintaining and upgrading servers. They are also responsible for ensuring the servers are backed up, and that the server data is secure from unauthorized access. System administrators will also often perform light programming (usually scripting, which involves writing programs to automate tasks). They are member of an information technology department.&lt;br /&gt;&lt;br /&gt;To be come a sysadmin require some skills, at least we must have computer skill, have knowledge of an operating systems and applications, as well as software and hardware troubleshooting.&lt;span class="pCo"&gt;&lt;/span&gt; Just you know, many System Administrators do not have a formal education, they are self taught. But some of they may have a 4 year degree in Computer Science or Management Information Systems (MIS). Knowledge of business functions is also important, as is the ability to communicate with other employees in the company in both technical and non-technical roles. To progress to more senior roles, a system administrator should have some knowledge of project management.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;What are the job descriptions of System Administrators?&lt;/span&gt;&lt;br /&gt;&lt;p&gt;A system administrator's responsibilities might include:&lt;/p&gt;  &lt;ul&gt; &lt;li&gt;Performing routine audits of systems and software.&lt;/li&gt;&lt;li&gt;Performing backups.&lt;/li&gt;&lt;li&gt;Applying operating system updates, patches, and configuration changes.&lt;/li&gt;&lt;li&gt;Installing and configuring  new hardware and software&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Adding, removing, or updating user accounting information, resetting passwords, etc.&lt;/li&gt;&lt;li&gt;Answering technical queries.&lt;/li&gt;&lt;li&gt;Responsibility for security.&lt;/li&gt;&lt;li&gt;&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/Computer_security" title="Computer security"&gt;&lt;/a&gt;&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt;Responsibility for documenting the configuration of the system.&lt;/li&gt;&lt;li&gt;Troubleshooting any reported problems.&lt;/li&gt; &lt;li&gt;System performance tuning.&lt;/li&gt;&lt;li&gt;Insuring that the network infrastructure is up and running.&lt;/li&gt; &lt;/ul&gt; &lt;span style="font-weight: bold;"&gt;The Career Path of Sysadmin&lt;/span&gt;&lt;br /&gt;&lt;div class="pDsc"&gt;&lt;span class="pCo"&gt;&lt;/span&gt;System Administrators often promote to a more senior administrator role and then into a project management role. Strategic roles involving long term planning and company technology strategy, such MIS Manager or CIO (Chief Information Officer), may be a fit for those with the appropriate education and experience. Some System Administrators specialize in a certain area, such as security, and become experts in that particular area.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;So who might hire system administrators&lt;/span&gt;&lt;br /&gt;&lt;/div&gt; &lt;span class="pCo"&gt;&lt;/span&gt;&lt;span class="pCo"&gt;&lt;/span&gt;Some companies in IT field surely need them. Such as :&lt;br /&gt; Microsoft Corporation&lt;br /&gt;Sun Microsystems&lt;br /&gt;Cisco Systems&lt;br /&gt;Oracle Corporation&lt;br /&gt;Apple Computers&lt;br /&gt;Google&lt;br /&gt;Yahoo&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Salary&lt;/span&gt;&lt;br /&gt;Well, the salary is about £36,354 as average salary(taking from www.itjobswatch.co.uk) . While the minimum salary is £34,067&lt;br /&gt;&lt;br /&gt;Well that's it about the system administrator. ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-3156020473924187317?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/3156020473924187317/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=3156020473924187317' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/3156020473924187317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/3156020473924187317'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2007/12/be-admin.html' title='Be an Admin!'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-8670974658520454162</id><published>2007-12-09T17:36:00.000-08:00</published><updated>2007-12-09T19:07:22.508-08:00</updated><title type='text'>Case : Problem in SoundBlaster 5.1 soundcard</title><content type='html'>My friend, Zai a.k.a Cloud just installed Kubuntu 7.10 few days ago. But strangely when we run live-cd, his speaker began to produce some noisy sound. (You know the sound when your tv or radio can't get signal). It started to sound in load screen.&lt;br /&gt;     We thought, it should be fine after install Kubuntu. Ow... ok...it was I thought.... So we installed it. But later it was revealed that I was wrong. The sound still persists. I began suspected that his pick-from-trash soundcard is out of order. (He insisted that the ex-owner put at there, not throwed at there and the soundcard is not rubbish!!)&lt;br /&gt;    Later, he found the solution. In KMix, he went to "Switches" tab. At there, he disabled "SB Live Analog/Digital Output jack". And immedeatly the noisy sound is vanished. We still unable to figure out the main cause of this problem. It still remain mystery...&lt;br /&gt;&lt;br /&gt;Case closed.&lt;br /&gt;&lt;br /&gt;Update :&lt;br /&gt;  Later I did googling, I found a few solutions that might be work. (I never test it, since my speaker is fine). Here is it..&lt;br /&gt;- mute "AC97" in "Playback" tab.&lt;br /&gt;- check "IEC95B Optical Raw" in "Switches" tab.&lt;br /&gt;- uncheck "SB Live Analog/Digital Output jack" in "Switches" tab.&lt;br /&gt;- turn off audio recording from "Capture" in "Recording" tab.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-8670974658520454162?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/8670974658520454162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=8670974658520454162' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/8670974658520454162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/8670974658520454162'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2007/12/case-problem-in-soundblaster-51.html' title='Case : Problem in SoundBlaster 5.1 soundcard'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-341710434790872152</id><published>2007-12-09T17:25:00.000-08:00</published><updated>2007-12-09T17:33:03.697-08:00</updated><title type='text'>Install from compressed file (.tgz or .tar.gz)</title><content type='html'>When we want to install program, we usually will use Adept Manager. Or maybe using syntax "apt-get install package_name.deb". If you got a installer in .tar , .tar.gz , or .tgz what will you do?&lt;br /&gt;&lt;br /&gt;Here is the step:&lt;br /&gt;$ untar xfvz nama.tgz  #if the installer in .tgz form.&lt;br /&gt;&lt;br /&gt;Enter to the directory. If the installer at Games directory, then type "cd Games"&lt;br /&gt;&lt;br /&gt;$ ./configure&lt;br /&gt;$ make&lt;br /&gt;$ make install&lt;br /&gt;&lt;br /&gt;What happend actually? Here, I quoted tutorial at internet.&lt;br /&gt;Generally you would get Linux software in the tarball format (.tgz) This file has to be uncompressed into any directory using tar command. In case you download a new tarball by the name game.tgz, then you would have to type the following command&lt;br /&gt;&lt;br /&gt;$ tar xfvz game.tgz&lt;br /&gt;&lt;br /&gt;This would create a directory within the current directory and unzip all the files within that new directory. Once this is complete the installation instructions ask you to execute the 3 (now famous) commands : configure, make &amp; make install. Most of the users do this and successfully install their softwares. But most of the newbies have no idea what this really does. The rest of the article shall explain the meaning of these 3 commands&lt;br /&gt;&lt;br /&gt;Each software comes with a few files which are solely for the purpose of installation sake. One of them is the configure script. The user has to run the following command at the prompt&lt;br /&gt;&lt;br /&gt;$ ./configure&lt;br /&gt;&lt;br /&gt;The above command makes the shell run the script named ' configure ' which exists in the current directory. The configure script basically consists of many lines which are used to check some details about the machine on which the software is going to be installed. This script checks for lots of dependencies on your system. For the particular software to work properly, it may be requiring a lot of things to be existing on your machine already. When you run the configure script you would see a lot of output on the screen , each being some sort of question and a respective yes/no as the reply. If any of the major requirements are missing on your system, the configure script would exit and you cannot proceed with the installation, until you get those required things. &lt;br /&gt;&lt;br /&gt;The main job of the configure script is to create a ' Makefile ' . This is a very important file for the installation process. Depending on the results of the tests (checks) that the configure script performed it would write down the various steps that need to be taken (while compiling the software) in the file named Makefile.&lt;br /&gt;&lt;br /&gt;If you get no errors and the configure script runs successfully (if there is any error the last few lines of the output would glaringly be stating the error) then you can proceed with the next command which is&lt;br /&gt;&lt;br /&gt;$ make&lt;br /&gt;&lt;br /&gt;' make ' is actually a utility which exists on almost all Unix systems. For make utility to work it requires a file named Makefile in the same directory in which you run make. As we have seen the configure script's main job was to create a file named Makefile to be used with make utility. (Sometimes the Makefile is named as makefile also)&lt;br /&gt;&lt;br /&gt;make would use the directions present in the Makefile and proceed with the installation. The Makefile indicates the sequence, that Linux must follow to build various components / sub-programs of your software. The sequence depends on the way the software is designed as well as many other factors.&lt;br /&gt;&lt;br /&gt;The Makefile actually has a lot of labels (sort of names for different sections). Hence depending on what needs to be done the control would be passed to the different sections within the Makefile Or it is possible that at the end of one of the section there is a command to go to some next section.&lt;br /&gt;&lt;br /&gt;Basically the make utility compiles all your program code and creates the executables. For particular section of the program to complete might require some other part of the code already ready, this is what the Makefile does. It sets the sequence for the events so that your program does not complain about missing dependencies.&lt;br /&gt;&lt;br /&gt;One of the labels present in the Makefile happens to be named ' install ' .&lt;br /&gt;&lt;br /&gt;If make ran successfully then you are almost done with the installation. Only the last step remains which is&lt;br /&gt;&lt;br /&gt;$ make install&lt;br /&gt;&lt;br /&gt;As indicated before make uses the file named Makefile in the same directory. When you run make without any parameters, the instruction in the Makefile begin executing from the start and as per the rules defined within the Makefile (particular sections of the code may execute after one another..thats why labels are used..to jump from one section to another). But when you run make with install as the parameter, the make utility searches for a label named install within the Makefile, and executes only that section of the Makefile.&lt;br /&gt;&lt;br /&gt;The install section happens to be only a part where the executables and other required files created during the last step (i.e. make) are copied into the required final directories on your machine. E.g. the executable that the user runs may be copied to the /usr/local/bin so that all users are able to run the software. Similarly all the other files are also copied to the standard directories in Linux. Remember that when you ran make, all the executables were created in the temporary directory where you had unzipped your original tarball. So when you run make install, these executables are copied to the final directories.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-341710434790872152?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/341710434790872152/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=341710434790872152' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/341710434790872152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/341710434790872152'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2007/12/install-from-compressed-file-tgz-or.html' title='Install from compressed file (.tgz or .tar.gz)'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-8654260867405287523</id><published>2007-12-09T16:31:00.000-08:00</published><updated>2007-12-12T03:00:12.106-08:00</updated><title type='text'>Compiz and the problems</title><content type='html'>In order to make your Kubuntu 3D effect, (such as Cube effect, 3d Switch tab, etc) without slowing down your computer, you can install Compiz fusion.&lt;br /&gt;&lt;br /&gt;Compiz fusion, a "fusion" of Beryl and Compiz, is collection of plugins and a configuration system for the Compiz compositing window manager for the X Window System.&lt;br /&gt;&lt;br /&gt;When the first time I try its effect, it is kinda amazing.... But later, I found something very wrong. Here are they :&lt;br /&gt;&lt;br /&gt;-Shutdown &amp;amp; Restart button missing&lt;br /&gt;&lt;br /&gt;You might also found your shutdown/restart button in log off is missing. And there was only log off. I found a lot of people experience this. In order to shutdown, they click log off and shutdown at there(there is menu shutdown and restart in logoff).&lt;br /&gt;Later it was revealed, that the xserver-xgl who caused the shutdown and restart button missing. So you just need to uninstall this package. Just choose xserver-xgl at Adept Manager and uninstall it. Now you computer should back to normal. (Note : Even if you uninstall the Compiz, the button will not back to normal. You definetly must uninstall this package). Until now, my computer is still fine without that package. So I think it is safe.&lt;br /&gt;&lt;br /&gt;-OpenOffice ruin everything!!&lt;br /&gt;   When you open OpenOffice, you might see your OpenOffice don't have frame. It is because of "Legacy Fullscreen Support" from Compiz that I think still imperfect. Just non-activate this option in setting(Utility-&gt;Workarounds). And when you open OpenOffice next time, it won't happend again.&lt;br /&gt;&lt;br /&gt;-Suddenly Kwin crash.&lt;br /&gt;    I am not sure, is my Kwin crash or what. The crash handler dialog told me so. I am still cannot figure out, what cause this. But in the newest version (which is 0.6.0), I never encounter this problem anymore.&lt;br /&gt;    If you ever encountered, you might notice all the window frame was missing. Meaning there wasn't titlebar and you are unable to move to the window, close the window(with clicking the 'x' button at there) etc. When this happend to you, you need to reload the compiz, or you want it back to normal, open Run Application(Alt+F2) then type :&lt;br /&gt;            compiz --replace&lt;br /&gt;                ---&gt;for reload your compiz&lt;br /&gt;&lt;br /&gt;            kwin --replace&lt;br /&gt;                ---&gt;for reload the KDE desktop manager, this will switch back your Kubuntu back to normal.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-8654260867405287523?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/8654260867405287523/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=8654260867405287523' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/8654260867405287523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/8654260867405287523'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2007/12/compiz-and-problems.html' title='Compiz and the problems'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-3630966372350938736</id><published>2007-12-06T17:56:00.000-08:00</published><updated>2007-12-06T19:49:27.638-08:00</updated><title type='text'>Play Windows Games in Linux</title><content type='html'>Since I am still newbie, I am not sure which is better for play game. There are some suggestions such as using Wine, Cedega or Vmware player. I personally only have used Wine.&lt;br /&gt;&lt;br /&gt;Wine Is Not Emulator. Think of wine is a compability layer for running Windows program. So you can put some Windows dll files(library files) to your Wine in order to run some program. Well, not every programs can run well with Wine. For example Yahoo Messenger 8.x and Msn 8.x cannot sign in(although we can run the programs). But Warcraft III : Frozen Throne and Counter Strike can run perfectly on my Kubuntu box. At first the game run rather slow. Later it was solved by installing the driver.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Cedega (formerly known as WineX) is TransGaming Technologies' proprietary fork of Wine (from when the license of Wine wasn't the LGPL but the X11 license), which is designed specifically for running games written for Microsoft Windows under Linux.(quoted from Wikipedia). So I think it should be suitable for games. But since I never used it, so unable to confirm, is it better than Wine in playing games.&lt;br /&gt;&lt;br /&gt;The last, is VmWare Player. I think I should search what is this exactly first. But I think it is Virtual PC.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-3630966372350938736?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/3630966372350938736/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=3630966372350938736' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/3630966372350938736'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/3630966372350938736'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2007/12/play-windows-games-in-linux.html' title='Play Windows Games in Linux'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3996571390508976861.post-1856300978239681621</id><published>2007-12-06T03:13:00.000-08:00</published><updated>2007-12-06T03:18:53.351-08:00</updated><title type='text'>Kubuntu 7.10</title><content type='html'>Currently I am using Kubuntu Gutsy Gibbon. I am a newbie in Linux, but I will collect and research what I get about Kubuntu to post at here as my notes. Maybe some of them might be useful too.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3996571390508976861-1856300978239681621?l=xiongjournal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xiongjournal.blogspot.com/feeds/1856300978239681621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3996571390508976861&amp;postID=1856300978239681621' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/1856300978239681621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3996571390508976861/posts/default/1856300978239681621'/><link rel='alternate' type='text/html' href='http://xiongjournal.blogspot.com/2007/12/kubuntu-710.html' title='Kubuntu 7.10'/><author><name>Xiong</name><uri>http://www.blogger.com/profile/04463772250070151066</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_oOnz_4Ynwh4/SELMkv-kFeI/AAAAAAAAAAM/YM-q7leZZJg/S220/knoppix-24-1.jpg'/></author><thr:total>2</thr:total></entry></feed>
