<?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-5753722144800221044</id><updated>2011-12-15T05:45:55.314-08:00</updated><category term='linux'/><category term='recovery'/><category term='wiki'/><category term='grub'/><category term='logout'/><category term='bootloader'/><category term='winodws'/><category term='Lucid Lynx'/><category term='passwordless'/><category term='mysql dump'/><category term='notify-send'/><category term='iso'/><category term='offline'/><category term='apt'/><category term='new'/><category term='ssh'/><category term='games'/><category term='bash'/><category term='kill'/><category term='Mark Shuttleworth'/><category term='gui'/><category term='Ubuntu 10.04'/><category term='simple webserver'/><category term='restore'/><category term='python'/><category term='dictionary'/><category term='history'/><category term='debian'/><category term='moin'/><category term='vim'/><category term='release'/><category term='ubuntu'/><category term='boot time'/><title type='text'>linux-minds</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>37</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-6108207750804246688</id><published>2011-12-15T05:45:00.001-08:00</published><updated>2011-12-15T05:45:55.330-08:00</updated><title type='text'>One line Python Web server</title><content type='html'>if you have python installed, go to your terminal. Go to the directory you want to serve HTML files from, then type one of the following, depending on your python version:&lt;br /&gt;&lt;br /&gt;Python 2.x:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;python -m SimpleHTTPServer&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Python 3.x:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;python -m http.server 8000&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-6108207750804246688?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/6108207750804246688/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2011/12/one-line-python-web-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/6108207750804246688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/6108207750804246688'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2011/12/one-line-python-web-server.html' title='One line Python Web server'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-297787504559866162</id><published>2011-12-12T09:37:00.000-08:00</published><updated>2011-12-12T09:40:30.012-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='notify-send'/><title type='text'>Get Notifications from Your Scripts with notify-send</title><content type='html'>Notify-send is a great application for notifying you when an event has occurred. An event such as a script running to completion.&lt;br /&gt;&lt;br /&gt;If notify-send is not installed on your machine already, install the package "libnotify1" (or possibly just "libnotify") from your repositories.&lt;br /&gt;&lt;br /&gt;Once installed you can simply type the following, at the command line, to display a pop-up message near your system tray:&lt;br /&gt;&lt;br /&gt;notify-send "hello"&lt;br /&gt;By default the message will be displayed for 5 seconds. To change how long a message stays displayed use the "-t" switch. This will change, in milliseconds, how long the message is displayed. Enter "-t 0" to leave the message up until the user closes it.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;notify-send "This message will be displayed for 3 seconds" -t 3000&lt;br /&gt;notify-send "Click me to close me." -t 0&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;You can even add a title and an icon to the notification.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;notify-send "This is the Title" \&lt;br /&gt;            "Check out the cool icon" \&lt;br /&gt;            -i /usr/share/pixmaps/gnome-terminal.png&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;When used in a script you could set it to notify you periodically by placing the command in a loop:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;#!/bin/bash&lt;br /&gt;&lt;br /&gt;while [ 1 ]; do&lt;br /&gt;     notify-send "Up Time" "`uptime`"&lt;br /&gt;     sleep 5m&lt;br /&gt;done&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-297787504559866162?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/297787504559866162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2011/12/get-notifications-from-your-scripts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/297787504559866162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/297787504559866162'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2011/12/get-notifications-from-your-scripts.html' title='Get Notifications from Your Scripts with notify-send'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-7527080753867606980</id><published>2011-12-12T07:51:00.000-08:00</published><updated>2011-12-12T07:55:33.575-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='history'/><title type='text'>Disabling Bash History Temporary</title><content type='html'>Say that you’ve got to pass some password as command line argument to something. It would probably be a bad idea to store it in your ~/.bash_history, but clearing the file isn't desired either. So you need to temporary disable the command history for the current session. You can do it by unsetting the HISTFILE environment variable.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;unset HISTFILE&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;The result is that while the session is active you can access the history as usual, but it won't be saved to the disk. History for other sessions, will behave as usual.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-7527080753867606980?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/7527080753867606980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2011/12/disabling-bash-history-temporary.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/7527080753867606980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/7527080753867606980'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2011/12/disabling-bash-history-temporary.html' title='Disabling Bash History Temporary'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-1728072832813704762</id><published>2011-08-25T12:19:00.000-07:00</published><updated>2011-08-25T12:20:38.612-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vim'/><title type='text'>Vim Selections</title><content type='html'>&lt;object width="425" height="344" id="_842" data="http://showmedo.com/static/flowplayer/flowplayer-3.1.5.swf" type="application/x-shockwave-flash"&gt;&lt;param name="movie" value="http://showmedo.com/static/flowplayer/flowplayer-3.1.5.swf" /&gt;&lt;param name="allowfullscreen" value="true" /&gt;&lt;param name="allowscriptaccess" value="always" /&gt;&lt;param name="flashvars" value='config={&amp;quot;key&amp;quot;:&amp;quot;#$824e5316466b69d76dc&amp;quot;,&amp;quot;logo&amp;quot;:{&amp;quot;url&amp;quot;:&amp;quot;http://showmedo.com/static/images/showmedo_logo_vp.png&amp;quot;,&amp;quot;fullscreenOnly&amp;quot;:false,&amp;quot;top&amp;quot;:20,&amp;quot;right&amp;quot;:20,&amp;quot;opacity&amp;quot;:0.5,&amp;quot;displayTime&amp;quot;:0,&amp;quot;linkUrl&amp;quot;:&amp;quot;http://showmedo.com&amp;quot;},&amp;quot;clip&amp;quot;:{&amp;quot;baseUrl&amp;quot;:&amp;quot;http://showmedo.com&amp;quot;,&amp;quot;autoPlay&amp;quot;:false,&amp;quot;autoBuffering&amp;quot;:true},&amp;quot;playlist&amp;quot;:[{&amp;quot;url&amp;quot;:&amp;quot;http://videos1.showmedo.com/ShowMeDos/3160010.flv&amp;quot;,&amp;quot;title&amp;quot;:&amp;quot;Vim Selections&amp;quot;,&amp;quot;baseUrl&amp;quot;:&amp;quot;http://showmedo.com&amp;quot;,&amp;quot;autoPlay&amp;quot;:false,&amp;quot;autoBuffering&amp;quot;:true}],&amp;quot;plugins&amp;quot;:{&amp;quot;controls&amp;quot;:{&amp;quot;url&amp;quot;:&amp;quot;http://showmedo.com/static/flowplayer/flowplayer.controls-3.1.5.swf&amp;quot;,&amp;quot;playlist&amp;quot;:true}}}' /&gt;&lt;/object&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-1728072832813704762?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/1728072832813704762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2011/08/vim-selections.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/1728072832813704762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/1728072832813704762'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2011/08/vim-selections.html' title='Vim Selections'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-4019274408718769661</id><published>2010-02-03T04:51:00.000-08:00</published><updated>2010-02-03T05:04:22.522-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='passwordless'/><category scheme='http://www.blogger.com/atom/ns#' term='ssh'/><category scheme='http://www.blogger.com/atom/ns#' term='gui'/><title type='text'>how to ssh without password</title><content type='html'>Let say you want to access to a machine with IP 192.168.1.10, and make sure you have&lt;br /&gt;command ssh, ssh-keygen, ssh-copy-id.&lt;br /&gt;First, generate the ‘key’, the key will be used to open the remote machine’s door.&lt;br /&gt;&lt;blockquote&gt;ssh-keygen&lt;/blockquote&gt;&lt;br /&gt;You will see something like that&lt;br /&gt;&lt;blockquote&gt;Enter file in which to save the key (/home/myname/.ssh/id_rsa):&lt;/blockquote&gt;&lt;br /&gt;Whatever it appears just press enter until it ends, press enter for passphase as well.&lt;br /&gt;Okay, the ‘key’ will be generated, something looks like ~/.ssh/id_rsa.pub&lt;br /&gt;Copy over the ‘key’ to remote machine, and enter your password&lt;br /&gt;&lt;blockquote&gt;ssh-copy-id -i ~/.ssh/id_rsa.pub macspc@192.168.1.10&lt;/blockquote&gt;&lt;br /&gt;Done. Now you can ssh 192.168.1.10 with username macspc without password.&lt;br /&gt;&lt;blockquote&gt;ssh macspc@192.168.1.10&lt;/blockquote&gt;&lt;br /&gt;What I Did&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;~? ssh-keygen&lt;br /&gt;Generating public/private rsa key pair.&lt;br /&gt;Enter file in which to save the key (/home/brijith/.ssh/id_rsa):&lt;br /&gt;Enter passphrase (empty for no passphrase):&lt;br /&gt;Enter same passphrase again:&lt;br /&gt;Your identification has been saved in /home/brijith/.ssh/id_rsa.&lt;br /&gt;Your public key has been saved in /home/brijith/.ssh/id_rsa.pub.&lt;br /&gt;The key fingerprint is:&lt;br /&gt;4b:71:39:69:36:13:0a:69:65:21:de:5f:24:b4:1c:b6 brijith@Newmegadisk&lt;br /&gt;~? ssh-copy-id -i ~/.ssh/id_rsa.pub macpc@192.168.1.10&lt;br /&gt;29&lt;br /&gt;Password:&lt;br /&gt;Now try logging into the machine, with "ssh 'macspc@192.168.1.10'", and check in:&lt;br /&gt; .ssh/authorized_keys&lt;br /&gt;to make sure we haven't added extra keys that you weren't expecting.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Now you can login through ssh with out a password&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;ssh macspc@192.168.1.10&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;It wont ask password any more.&lt;br /&gt;&lt;br /&gt;If you want to launch application of the remote system in your PC using ssh use -X option of it &lt;br /&gt;&lt;br /&gt;eg:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;ssh -X macspc@192.168.1.10&lt;/blockquote&gt;&lt;br /&gt;and then give the application name you want to launch in resulting terminal &lt;br /&gt;eg:&lt;br /&gt;&lt;blockquote&gt;gedit&amp;&lt;/blockquote&gt;&lt;br /&gt;This will launch gedit of remote system in your system&lt;br /&gt;&lt;br /&gt;gedit&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-4019274408718769661?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/4019274408718769661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2010/02/how-to-ssh-without-password.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/4019274408718769661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/4019274408718769661'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2010/02/how-to-ssh-without-password.html' title='how to ssh without password'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-168418433969264050</id><published>2010-02-03T04:47:00.000-08:00</published><updated>2010-02-03T04:49:09.627-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='passwordless'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql dump'/><title type='text'>Password Less Dump in MYSQL</title><content type='html'>MySQL is perhaps one of the most popular database systems currently available. It has a lot of great features, it's open source, and a lot of Web-based applications use it for their back-end storage.&lt;br /&gt;One important part of running a database is maintenance, and that includes backups. However, due to the fact that the database is password-protected, one can't automatically back up the database without interactively supplying the password. And, depending on what you need to back up, you may even have to use the MySQL "root" user to do a full backup.&lt;br /&gt;You can avoid those hassles by creating a configuration file for the user to do the backups (i.e., /root/.my.cnf). This user does not need to be the system root user; it can be any normal system user who has access to the database as the database's root user. The ~/.my.cnf file would look like:&lt;br /&gt;&lt;blockquote&gt;[mysqldump]&lt;br /&gt;user = root&lt;br /&gt;password = secret&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;With this, you can automate a dump of the database via a cronjob, without being asked for a password. You will still need to supply a password using the mysqladmin or mysql tools, but not with mysqldump. Now, to automate the backup, run the following script out of cron:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;#!/bin/sh&lt;br /&gt;mysqldump -u root --all-databases &gt;/var/lib/sqldump/mysql.dump&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Some people may consider this horribly insecure, but it's no more insecure than doing it manually, especially if this is being done by the root (or even mysql) user. If the file is adequately protected (mode 0600), your database is just as safe. Remember that an attacker would have to obtain root privileges in order to read the file. If that attacker had root privileges, they could simply make a copy of your database, retrieve it, and open it on any MySQL installation at their home and be able to read the contents of your database at their leisure, without once requiring the database password.&lt;br /&gt;Because there is just as much (or just as little, if you prefer) security in supplying the database root password in a configuration file, there is really no reason not to do it. The benefit is that providing password-less access can make things like automated database maintenance far easier.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-168418433969264050?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/168418433969264050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2010/02/password-less-dump-in-mysql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/168418433969264050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/168418433969264050'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2010/02/password-less-dump-in-mysql.html' title='Password Less Dump in MYSQL'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-2162338473259750017</id><published>2010-02-03T04:27:00.000-08:00</published><updated>2010-02-03T04:43:08.694-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='offline'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='dictionary'/><title type='text'>Setting Up offline multiple language dictionary in Ubuntu</title><content type='html'>All of you might have see a Dictionary application Under Office Menu in every Ubuntu distro. By default it is configured to work with online dictionary server. So the people we have an Internet connection will miss this application. No,not really,It is possible to configure so that it can work well as if it is online. following are the steps&lt;br /&gt;&lt;br /&gt;Start Up synaptic and find the following packages and mark for installation&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;dict&lt;br /&gt;dictd&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;these are the server and client for a dictionary services&lt;br /&gt;&lt;br /&gt;apart from the above if you continue searching in sequence (to the above mentioned packages) you will find a whole lot of dictionaries -the ones i have installed are&lt;br /&gt;&lt;blockquote&gt;dict-bouvier&lt;br /&gt;dict-devil&lt;br /&gt;dict-elements&lt;br /&gt;dict-foldoc&lt;br /&gt;dict-freedict-eng-deu (english to german)&lt;br /&gt;dict-freedict-eng-hin (english to hindi)&lt;br /&gt;dict-freedict-hin-eng (hindi to english)&lt;br /&gt;dict-gcide&lt;br /&gt;dictionaries-common&lt;br /&gt;dict-jargon&lt;br /&gt;dict-moby-thesaurus&lt;br /&gt;dict-vera&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;After installing this (and other dictionaries of your choice) there is a small tweak we need to do to make the dictionary work offline&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;Go to Applications --&gt; Office--&gt; Dictionary and run the programme Dictionary&lt;/blockquote&gt;&lt;br /&gt;In the Open Application go to Edit --&gt; preferences&lt;br /&gt;In Source select ADD and&lt;br /&gt;in description add any name you want to use for your customized dictionary services (replace source with a identifiable name)&lt;br /&gt;Let transport be as it is (Dictionary Server)&lt;br /&gt;change Hostname to 127.0.01 (replace dict.org)&lt;br /&gt;Port - Leave as it is. enter add then in the Select a Dictionary Source for looking up words Select the Dictionary source your just added &lt;br /&gt;Enter Close&lt;br /&gt;Type any word to test if the dictonary works (you can / should test with your internet off)&lt;br /&gt;If you get a meaning or any output means its working. Congratulations.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-2162338473259750017?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/2162338473259750017/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2010/02/setting-up-offline-multiple-language.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/2162338473259750017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/2162338473259750017'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2010/02/setting-up-offline-multiple-language.html' title='Setting Up offline multiple language dictionary in Ubuntu'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-2677408694754066446</id><published>2009-10-12T23:26:00.000-07:00</published><updated>2009-10-12T23:28:22.470-07:00</updated><title type='text'>Ubuntu Tip:Awesome software-properties update for PPAs in Karmic</title><content type='html'>* new helper script “add-apt-repository” that can be used to enable a repository from the commandline. Useful for e.g.’add-apt-repository ppa:gnome-desktop’&lt;br /&gt;&lt;br /&gt;I gave it a try with `sudo add-apt-repository ppa:jpeddicord`. Not only did it add an entry to sources.list.d, it also fetched the GPG key automatically.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Out of curiosity, I opened software-properties-gtk (system &gt; admin &gt; software sources) and tried to add a PPA on the third-party software tab.&lt;br /&gt;&lt;br /&gt;&lt;img width="473" height="247" alt="soft-prop-gtk-add-ppa" src="http://www.ubuntugeek.com/wp-content/uploads/2009/10/soft-prop-gtk-add-ppa.png" title="soft-prop-gtk-add-ppa" class="alignnone size-full wp-image-2075"/&gt;&lt;br /&gt;&lt;br /&gt;soft-prop-gtk-add-ppa&lt;br /&gt;&lt;br /&gt;Using the same syntax for the add-apt-repository command, it worked. Didn’t appear to grab the GPG key at first, but after restarting the interface the key was indeed there.This is awesome, and definitely lowers the barrier for adding PPAs to a system.&lt;br /&gt;&lt;br /&gt;Credit goes &lt;a href="http://www.ubuntugeek.com/ubuntu-tipawesome-software-properties-update-for-ppas-in-karmic.html"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-2677408694754066446?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/2677408694754066446/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/10/ubuntu-tipawesome-software-properties.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/2677408694754066446'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/2677408694754066446'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/10/ubuntu-tipawesome-software-properties.html' title='Ubuntu Tip:Awesome software-properties update for PPAs in Karmic'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-5199482317192681618</id><published>2009-09-26T04:58:00.000-07:00</published><updated>2009-09-26T05:01:05.779-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='bootloader'/><title type='text'>Reinstall Ubuntu Grub Bootloader After Windows Wipes it Out</title><content type='html'>If you run a dual-boot system with Linux and Windows, this has happened to you. You had to do your monthly reinstall of Windows, and now you don’t see the linux bootloader anymore, so you can’t boot into Ubuntu or whatever flavor of linux you prefer.&lt;br /&gt;&lt;br /&gt;Here’s the quick and easy way to re-enable Grub.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1) Boot off the LiveCD&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;2) Open a Terminal and type in the following commands, noting that the first command will put you into the grub “prompt”, and the next 3 commands will be executed there. Also note that hd0,0 implies the first hard drive and the first partition on that drive, which is where you probably installed grub to during installation. If not, then adjust accordingly.&lt;br /&gt;&lt;br /&gt;  &lt;blockquote&gt;  sudo grub&lt;br /&gt;&lt;br /&gt;    &gt; root (hd0,0)&lt;br /&gt;&lt;br /&gt;    &gt; setup (hd0)&lt;br /&gt;&lt;br /&gt;    &gt; exit&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Reboot (removing the livecd), and your boot menu should be back.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Only read below if Windows is now missing from the boot menu&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you installed Ubuntu before you installed Windows, then Ubuntu will not have anything in the grub configuration for Windows. This is where you’ll have to do a bit of manual editing to the grub boot menu file.&lt;br /&gt;&lt;br /&gt;If you open the file /boot/grub/menu.lst with the following command:&lt;br /&gt;&lt;br /&gt; &lt;blockquote&gt;   sudo gedit /boot/grub/menu.lst&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;You’ll see a sample section for Windows, which you’ll want to uncomment and add to the boot menu list in whatever position you want it in. (uncomment by removing the #’s)&lt;br /&gt;&lt;br /&gt;   &lt;blockquote&gt; # title   Windows 95/98/NT/2000&lt;br /&gt;    # root   (hd0,0)&lt;br /&gt;    # makeactive&lt;br /&gt;    # chainloader   +1&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Note that you should also verify that hd0,0 is the correct location for Windows. If you had installed Windows on the 4th partition on the drive, then you should change it to (hd0,3)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;source &lt;a href="http://www.howtogeek.com/howto/ubuntu/reinstall-ubuntu-grub-bootloader-after-windows-wipes-it-out/"&gt;Click here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-5199482317192681618?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/5199482317192681618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/09/reinstall-ubuntu-grub-bootloader-after.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/5199482317192681618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/5199482317192681618'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/09/reinstall-ubuntu-grub-bootloader-after.html' title='Reinstall Ubuntu Grub Bootloader After Windows Wipes it Out'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-1454566859854343423</id><published>2009-09-24T21:50:00.000-07:00</published><updated>2011-05-03T21:39:48.667-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu 10.04'/><category scheme='http://www.blogger.com/atom/ns#' term='Mark Shuttleworth'/><category scheme='http://www.blogger.com/atom/ns#' term='Lucid Lynx'/><title type='text'>Mark Shuttleworth Announces via video Ubuntu 10.04: Lucid Lynx</title><content type='html'>Mark Shuttleworth spoke via video to UbuCon at the Atlanta Linux Fest 2009 and announced the name of the next Ubuntu release. Ubuntu 10.04 will be code named “Lucid Lynx” and will be an LTS release with support for the desktop for 3 years and for the server for 5 years. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;object width="660" height="405"&gt;&lt;param name="movie" value="http://www.youtube.com/v/l02bhwofEqw&amp;hl=en&amp;fs=1&amp;border=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/l02bhwofEqw&amp;hl=en&amp;fs=1&amp;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="420" height="285"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-1454566859854343423?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/1454566859854343423/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/09/mark-shuttleworth-announces-via-video.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/1454566859854343423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/1454566859854343423'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/09/mark-shuttleworth-announces-via-video.html' title='Mark Shuttleworth Announces via video Ubuntu 10.04: Lucid Lynx'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-2012970381654037991</id><published>2009-09-08T04:53:00.000-07:00</published><updated>2009-09-08T04:57:23.088-07:00</updated><title type='text'>How to let normal users shut down the computer in Linux</title><content type='html'>This may seem like a stupid issue - why SHOULDN'T the average user be able to turn off his/her own machine?&lt;br /&gt;&lt;br /&gt;The answer is that Linux is inherently designed as a multiuser system. It would generally be a bad thing if any one user would be allowed to spontaneously turn off the computer while other users are working. Just imagine what hell would ensue if your webserver were taken down by some insignificant user halfway across the world.&lt;br /&gt;&lt;br /&gt;Of course, it does seem a little overprotective if the user is physically sitting at the machine, since he/she could just reach over and hit the power button (don't do that!!!).&lt;br /&gt;&lt;br /&gt;There are several schools of thought concerning how to allow a user to shut down a machine properly. The first method seems somewhat useless to me, but I put it here for completeness.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;shutdown.allow&lt;/span&gt;&lt;br /&gt;There is a file in /etc called shutdown.allow (and if there isn't, root can add it). This file contains a list of users (1 per line) who are allowed to shutdown the computer.&lt;br /&gt;&lt;br /&gt;This doesn't mean that these users can invoke the shutdown (or reboot or halt) command(s). Instead, it means that an authorized user can shut down the computer by pressing ctrl+alt+del.&lt;br /&gt;&lt;br /&gt;In order for this to occur, the ctrl+alt+del key sequence must be trapped in the /etc/inittab file. The necessary line in inittab is&lt;br /&gt;&lt;br /&gt;ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now&lt;br /&gt;&lt;br /&gt;When ctrl+alt+del is pressed, init checks if there is an authorized user (listed in /etc/shutdown.allow) logged into any virtual console, and proceeds to shutdown if this is true.&lt;br /&gt;&lt;br /&gt;Of course, if I'm running X windows, then generally the window manager will trap ctrl+alt+del for itself, so this won't work anymore.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;sudo&lt;/span&gt;&lt;br /&gt;The program sudo allows normal users to execute certain root-only commands. Which users are authorized to run which commands is specified in the /etc/sudoers file. This should only be edited with the command visudo.&lt;br /&gt;&lt;br /&gt;For example, suppose I wanted to add a group of users who are allowed to shut down the machine. So I first want to add a group called "shutdown" (run these commands while root)&lt;br /&gt;&lt;br /&gt;groupadd shutdown&lt;br /&gt;&lt;br /&gt;Then I need to edit the /etc/group file to add users to the "shutdown" group. I just tack the usernames at the end of the shutdown line, separated by commas, e.g.&lt;br /&gt;&lt;br /&gt;shutdown:x:407:user1,user2,...&lt;br /&gt;&lt;br /&gt;Whatever users I put there will be able to shut down the computer (so choose wisely). Now I need to configure sudo to allow members of the "shutdown" group to actually invoke the assorted shutdown commands provided in linux. Run visudo and add the following lines&lt;br /&gt;&lt;br /&gt;%shutdown ALL=(root) NOPASSWD: /sbin/reboot&lt;br /&gt;%shutdown ALL=(root) NOPASSWD: /sbin/halt&lt;br /&gt;%shutdown ALL=(root) NOPASSWD: /sbin/shutdown&lt;br /&gt;&lt;br /&gt;This allows the "shutdown" group to run /sbin/reboot, /sbin/halt, and /sbin/shutdown AS IF THEY WERE ROOT. The only caveat is that the users must run the commands with the command sudo in front, e.g.&lt;br /&gt;&lt;br /&gt;sudo /sbin/halt&lt;br /&gt;&lt;br /&gt;This is always a bit of a pain (and users never remember), so I can create the following script called "/usr/bin/reboot" (and similar scripts for halt and shutdown)&lt;br /&gt;&lt;br /&gt;#! /bin/sh&lt;br /&gt;sudo /sbin/reboot $*&lt;br /&gt;&lt;br /&gt;Remember to make these scripts executable! To make this slightly more secure, I might want to change the ownership of these scripts to the "shutdown" group&lt;br /&gt;&lt;br /&gt;chgrp shutdown /usr/bin/reboot /usr/bin/halt /usr/bin/shutdown&lt;br /&gt;&lt;br /&gt;and then make them executable only for the group "shutdown"&lt;br /&gt;&lt;br /&gt;chmod g+x /usr/bin/reboot /usr/bin/halt /usr/bin/shutdown&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;KDE shutdown&lt;/span&gt;&lt;br /&gt;If you are running kdm (the kde display manager - e.g. graphical login) then the shutdown behavior can be modified in "Control Panel" (in "Administrator Mode" of course). If you are starting KDE manually (using startx or startkde) then you will have to resort to the previous "sudo" solution (and probably add a shortcut on the desktop to one of those scripts).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;XFCE4 shutdown&lt;/span&gt;&lt;br /&gt;If you are using xfce4 then you will need to configure a few items in order to use the built-in "Reboot computer"/"Turn off computer" options available when you are logging out.&lt;br /&gt;&lt;br /&gt;CHANGE - SEE BELOW FOR XFCE 4.2&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;XFCE 4.0&lt;/span&gt;&lt;br /&gt;First, all users who are allowed to shut down the machine from xfce4 must be listed in the /etc/xfce4/shutdown.allow file (syntax is just like in the /etc/shutdown.allow file - see above). Second, the file permissions on the xfce4-shutdown program must be modified. This file is usually in /usr/sbin/xfce4-shutdown, so I would type&lt;br /&gt;&lt;br /&gt;chmod u+s /usr/sbin/xfce4-shutdown&lt;br /&gt;&lt;br /&gt;the "u+s" argument means that the command xfce4-shutdown will run as though the owner (probably root) initiated it, regardless of which user actually called the program.&lt;br /&gt;&lt;br /&gt;This should be enough to shut down the computer from xfce4.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Instructions for XFCE 4.2&lt;/span&gt; The game has changed for xfce 4.2. Now you must instead allow sudo access to a program called /usr/sbin/xfsm-shutdown-helper (note: this may also be located in /usr/local/libexec/ - just use the "locate" command to find xfsm-shutdown-helper).&lt;br /&gt;&lt;br /&gt;Using the same kind of ideas presented above in the sudo method of shutdown, I add the following line to /etc/sudoers file (using visudo)&lt;br /&gt;&lt;br /&gt;%shutdown ALL=(root) NOPASSWD: /usr/sbin/xfsm-shutdown-helper&lt;br /&gt;&lt;br /&gt;This allows the "shutdown" group to shutdown the machine.&lt;br /&gt;&lt;br /&gt;This page has been visited  20,481 (19 today) times since January 13, 2005&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Source &lt;a href="http://www.spencerstirling.com/computergeek/shutdown.html"&gt;http://www.spencerstirling.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-2012970381654037991?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/2012970381654037991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/09/how-to-let-normal-users-shut-down.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/2012970381654037991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/2012970381654037991'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/09/how-to-let-normal-users-shut-down.html' title='How to let normal users shut down the computer in Linux'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-7847483274712615821</id><published>2009-09-07T00:09:00.000-07:00</published><updated>2009-09-07T00:11:51.876-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='simple webserver'/><category scheme='http://www.blogger.com/atom/ns#' term='python'/><title type='text'>Instant LAN File Sharing With Python</title><content type='html'>The other day I was chatting with a co-worker and he pointed out a very simple command that could be used to quickly and easily share files with people within your LAN. This could also be used to share with people on the internets, but you’d have to configure NAT from your router. That much of the configuration is up to you, but I’ll share with you the quick ‘n easy webshare command.&lt;br /&gt;&lt;br /&gt;The only requirement, as far as I can tell, is python. I’ve run it on my Linux machine as well as my OS X machine and it worked just fine with no other configuration or packages installed. It should likely work on anything else that has python installed as well.&lt;br /&gt;&lt;br /&gt;To share the contents of any folder on your machine simply run:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    python -c "import SimpleHTTPServer; SimpleHTTPServer.test();"&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;You can run that one-liner anywhere on your file system and then access the files via your browser. Simply point your browser to your LAN IP port 8000 and you should see an index listing of the files.&lt;br /&gt;&lt;br /&gt;To make this a little simpler I made it an alias in my .bashrc file. Just add this line somewhere in your .bashrc or .bash_aliases:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    alias webshare='python -c "import SimpleHTTPServer; SimpleHTTPServer.test();"'&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;At this point you can simply run the command webshare anywhere on your file system and share those files. This makes for a really simple tool for sharing files quickly and un-sharing them as soon as you’re done. Just hit ctrl-c to cancel and close the process.&lt;br /&gt;&lt;br /&gt;source &lt;a href="http://ubuntu-tutorials.com/2009/09/01/instant-lan-file-sharing-with-python/"&gt;ubuntu-tutorials.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-7847483274712615821?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/7847483274712615821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/09/instant-lan-file-sharing-with-python.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/7847483274712615821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/7847483274712615821'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/09/instant-lan-file-sharing-with-python.html' title='Instant LAN File Sharing With Python'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-7878250238693561741</id><published>2009-08-31T04:58:00.000-07:00</published><updated>2011-05-03T21:38:04.330-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='boot time'/><title type='text'>Boot Time: Ubuntu 9.10 Alpha 4 vs. Windows 7 RC</title><content type='html'>&lt;object width="640" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/ymbB8RT6Aas&amp;hl=en&amp;fs=1&amp;color1=0xe1600f&amp;color2=0xfebd01"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/ymbB8RT6Aas&amp;hl=en&amp;fs=1&amp;color1=0xe1600f&amp;color2=0xfebd01" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="420" height="285"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-7878250238693561741?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/7878250238693561741/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/08/boot-time-ubuntu-910-alpha-4-vs-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/7878250238693561741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/7878250238693561741'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/08/boot-time-ubuntu-910-alpha-4-vs-windows.html' title='Boot Time: Ubuntu 9.10 Alpha 4 vs. Windows 7 RC'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-6346820590390338843</id><published>2009-08-22T05:00:00.000-07:00</published><updated>2009-08-22T05:21:08.772-07:00</updated><title type='text'>Using APT Offline</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Overview&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;APT being available on both machines gives the simplest configuration. The basic idea is to place a copy of the status file on the disc and use the remote machine to fetch the latest package files and decide which packages to download. The disk directory structure should look like:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;       /disc/&lt;br /&gt;         archives/&lt;br /&gt;            partial/&lt;br /&gt;         lists/&lt;br /&gt;            partial/&lt;br /&gt;         status&lt;br /&gt;         sources.list&lt;br /&gt;         apt.conf&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;The configuration file&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The configuration file should tell APT to store its files on the disc and to use the configuration files on the disc as well. The sources.list should contain the proper sites that you wish to use from the remote machine, and the status file should be a copy of /var/lib/dpkg/status. Please note, if you are using a local archive you must use copy URIs, the syntax is identical to file URIs.&lt;br /&gt;&lt;br /&gt;apt.conf must contain the necessary information to make APT use the disc:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;      APT&lt;br /&gt;      {&lt;br /&gt;        /* This is not necessary if the two machines are the same arch, it tells&lt;br /&gt;           the remote APT what architecture the Debian machine is */&lt;br /&gt;        Architecture "i386";&lt;br /&gt;        &lt;br /&gt;        Get::Download-Only "true";&lt;br /&gt;      };&lt;br /&gt;      &lt;br /&gt;      Dir&lt;br /&gt;      {&lt;br /&gt;        /* Use the disc for state information and redirect the status file from&lt;br /&gt;           the /var/lib/dpkg default */&lt;br /&gt;        State "/disc/";&lt;br /&gt;        State::status "status";&lt;br /&gt;     &lt;br /&gt;        // Binary caches will be stored locally&lt;br /&gt;        Cache::archives "/disc/archives/";&lt;br /&gt;        Cache "/tmp/";&lt;br /&gt;        &lt;br /&gt;        // Location of the source list.&lt;br /&gt;        Etc "/disc/";&lt;br /&gt;      };&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;More details can be seen by examining the apt.conf man page and the sample configuration file in /usr/doc/apt/examples/apt.conf.&lt;br /&gt;&lt;br /&gt;On the remote Debian machine the first thing to do is mount the disc and copy /var/lib/dpkg/status to it. You will also need to create the directories outlined in the Overview, archives/partial/ and lists/partial/ Then take the disc to the remote machine and configure the sources.list. On the remote machine execute the following:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;      # export APT_CONFIG="/disc/apt.conf"&lt;br /&gt;      # apt-get update&lt;br /&gt;      [ APT fetches the package files ]&lt;br /&gt;      # apt-get dist-upgrade&lt;br /&gt;      [ APT fetches all the packages needed to upgrade your machine ]&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;The dist-upgrade command can be replaced with any-other standard APT commands, particularly dselect-upgrad. You can even use an APT front end such as dselect However this presents a problem in communicating your selections back to the local computer.&lt;br /&gt;&lt;br /&gt;Now the disc contains all of the index files and archives needed to upgrade the Debian machine. Take the disc back and run:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;       # export APT_CONFIG="/disc/apt.conf"&lt;br /&gt;       # apt-get check&lt;br /&gt;       [ APT generates a local copy of the cache files ]&lt;br /&gt;       # apt-get --no-d -o dir::etc::status=/var/lib/dpkg/status dist-upgrade&lt;br /&gt;       [ Or any other APT command ]&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;It is necessary for proper function to re-specify the status file to be the local one. This is very important!&lt;br /&gt;&lt;br /&gt;If you are using dselect you can do the very risky operation of copying disc/status to /var/lib/dpkg/status so that any selections you made on the remote machine are updated. I highly recommend that people only make selections on the local machine - but this may not always be possible. DO NOT copy the status file if dpkg or APT have been run in the mean time!! &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Source &lt;a href="http://www.fifi.org/doc/apt/offline.html/"&gt;www.fifi.org&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-6346820590390338843?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/6346820590390338843/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/08/using-apt-offline.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/6346820590390338843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/6346820590390338843'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/08/using-apt-offline.html' title='Using APT Offline'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-2970472716288316448</id><published>2009-08-19T01:21:00.000-07:00</published><updated>2009-08-19T01:27:37.987-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wiki'/><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='moin'/><title type='text'>setting up moin moin wiki</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Install Required Packages&lt;/span&gt;&lt;br /&gt;Required packages are as follows: &lt;br /&gt;python-moinmoin (Which should point to the proper python version) &lt;br /&gt;apache2 webserver &lt;br /&gt;&lt;blockquote&gt;sudo apt-get install python-moinmoin&lt;br /&gt;sudo apt-get install apache2&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Create a Wiki With "wikiname"&lt;/span&gt;&lt;br /&gt;Create a wiki called "wikiname" and set the permissions. &lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;cd /usr/share/moin&lt;br /&gt;sudo mkdir wikiname&lt;br /&gt;sudo cp -R data wikiname&lt;br /&gt;sudo cp -R underlay wikiname&lt;br /&gt;sudo cp server/moin.cgi wikiname&lt;br /&gt;sudo chown -R www-data.www-data wikiname&lt;br /&gt;sudo chmod -R ug+rwx wikiname&lt;br /&gt;sudo chmod -R o-rwx wikiname&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Configure MoinMoin to Locate "wikiname"&lt;/span&gt;&lt;br /&gt;Relevant MoinMoin config files are located in /etc/moin/ &lt;br /&gt;Edit /etc/moin/farmconfig.py, and after the line "wikis = [" add your "wikiname". For a single instance wiki, this would entail renaming the following line from: &lt;br /&gt;&lt;blockquote&gt;("mywiki", r".*"),&lt;/blockquote&gt;&lt;br /&gt;to &lt;br /&gt;&lt;blockquote&gt;("wikiname", r".*"),&lt;/blockquote&gt;&lt;br /&gt;Copy the /etc/moin/mywiki.py file to /etc/moin/wikiname.py: &lt;br /&gt;&lt;blockquote&gt;sudo cp /etc/moin/mywiki.py /etc/moin/wikiname.py&lt;/blockquote&gt;&lt;br /&gt;Edit the /etc/moin/wikiname.py and change all instances of mywiki to wikiname. In addition to this, change the data dir to point to your local installation of MoinMoin: &lt;br /&gt;&lt;blockquote&gt;data_dir = '/usr/share/moin/wikiname/data'&lt;/blockquote&gt;&lt;br /&gt;Note :-  You can simply copy the data directoy of old wiki to the above set folder to get the pages from the old pages to the newly installed wiki&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Make apache ready for your wiki&lt;/span&gt;&lt;br /&gt;Insert into /etc/apache2/sites-available/default (inside of the "&lt;VirtualHost *&gt;" tag) &lt;br /&gt;&lt;blockquote&gt;### moin&lt;br /&gt;ScriptAlias /wikiname "/usr/share/moin/wikiname/moin.cgi"&lt;br /&gt;alias /wiki "/usr/share/moin/htdocs"&lt;br /&gt;alias /moin_static171 "/usr/share/moin/htdocs"&lt;br /&gt;&lt;Directory /usr/share/moin/htdocs&gt;&lt;br /&gt;Order allow,deny&lt;br /&gt;allow from all&lt;br /&gt;&lt;/Directory&gt;&lt;br /&gt;### end moin&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Restart apache to apply your changes: &lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;sudo /etc/init.d/apache2 restart&lt;/blockquote&gt;&lt;br /&gt;See if it works&lt;br /&gt;Go to your wiki's homepage: &lt;br /&gt;   http://127.0.0.1/wikiname Or try the test command: &lt;br /&gt;   http://127.0.0.1/wikiname?action=test &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Security&lt;/span&gt;&lt;br /&gt;You should probably set up PasswordProtectedEditing and investigate other security stuff: SecurityPolicy. &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Troubleshootings&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Server Name warning&lt;/span&gt;&lt;br /&gt; apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName&lt;br /&gt;&lt;a href="http://wiki.apache.org/httpd/CouldNotDetermineServerNamehighlight=(ServerName) "&gt;http://wiki.apache.org/httpd/CouldNotDetermineServerNamehighlight=(ServerName) &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Solution: &lt;/span&gt;&lt;br /&gt;Add in /etc/apache2/apache.conf the following: ServerName &lt;hostname&gt;&lt;br /&gt;Where &lt;hostname&gt; is your actual host name, like www.google.com or IP like 89.234.12.45&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-2970472716288316448?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/2970472716288316448/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/08/setting-up-moin-moin-wiki.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/2970472716288316448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/2970472716288316448'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/08/setting-up-moin-moin-wiki.html' title='setting up moin moin wiki'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-169892091151823083</id><published>2009-08-18T04:50:00.002-07:00</published><updated>2009-08-18T05:09:51.503-07:00</updated><title type='text'>Use Mutt with Gmail</title><content type='html'>================&lt;br /&gt;Introduction&lt;br /&gt;================&lt;br /&gt;&lt;br /&gt;This page is a guide to using the email client Mutt to send, receive and read email under Ubuntu using a Gmail account as a relay. It has been tested and extensively used under Ubuntu Intrepid Ibex. There are a few steps involved but if followed carefully and in sequence you will soon be using Mutt successfully with your Gmail account.&lt;br /&gt;&lt;br /&gt;In sequence we will:&lt;br /&gt;&lt;br /&gt;   1. Introduce John!&lt;br /&gt;   2. Introduce vim&lt;br /&gt;   3. Set up SSL&lt;br /&gt;   4. Set up msmtp&lt;br /&gt;   5. Set up Fetchmail&lt;br /&gt;   6. Set up Procmail&lt;br /&gt;   7. Set up Mutt&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;=====================&lt;br /&gt;1. Introducing John ...&lt;br /&gt;=====================&lt;br /&gt;&lt;br /&gt;To avoid confusion in editing the many configuration files involved in this setup I will describe the setup of mutt and gmail for my new friend John, who has been borrowed from this guide's big brother. John's details are as follows:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Gmail Address:        john.example@gmail.com&lt;br /&gt;Gmail Password:       rover&lt;br /&gt;Computer Username:    john&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;John's details will always be in italics, bold and in red to remind you, Gentle Reader, to substitute your details for his. Hopefully this will lessen the confusion that I have unintentionally created with older versions of this page!&lt;br /&gt;&lt;br /&gt;Now to introduce one of my best friends: vim...&lt;br /&gt;&lt;br /&gt;=====================&lt;br /&gt;2. Introducing vim ...&lt;br /&gt;=====================&lt;br /&gt;&lt;br /&gt;I have been somewhat taken to task for throwing vim into this guide without too much warning, for which my apologies to all. vim is the text editor that I feel suits mutt the best but a little preparation is a good idea before launching straight into it. Download vim from the repository as follows:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo apt-get install vim&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;and once vim is installed run through the builtin tutorial by simply running:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;vimtutor&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;It may take a little time to come to grips with this great editor but trust me it is time well spent. For those who find it all a little hard there is always nano or pico!&lt;br /&gt;&lt;br /&gt;Now lets get started with SSL:&lt;br /&gt;&lt;br /&gt;============&lt;br /&gt;3. SSL Tools&lt;br /&gt;============&lt;br /&gt;&lt;br /&gt;Gmail uses the POP3-over-SSL protocol to protect the transmission of username and password over the Internet. You will need to install both open SSL and a certificate pack from the repository as follows:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;$ sudo apt-get install openssl ca-certificates&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Later you will need to add the necessary SSL instructions to Fetchmail, but the next step is to install the software to send mail from your computer to the server: ssmtp.&lt;br /&gt;&lt;br /&gt;=========&lt;br /&gt;4. msmtp&lt;br /&gt;=========&lt;br /&gt;&lt;br /&gt;msmtp is a great and wonderfully reliable way to move mail from your computer. Download it from the repository as follows:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;$ sudo apt-get install msmtp&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;There is a single configuration file to be altered: $HOME/.msmtprc. It can be created and permissions set as follows:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;$ touch $HOME/.msmtprc&lt;br /&gt;$ touch $HOME/.msmtp.log&lt;br /&gt;$ chmod 0600 $HOME/.msmtprc&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Below is the required configuration for a Gmail server:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;account default              &lt;br /&gt;host smtp.gmail.com          &lt;br /&gt;port 587                     &lt;br /&gt;from john.example@gmail.com    &lt;br /&gt;tls on                       &lt;br /&gt;tls_starttls on              &lt;br /&gt;tls_trust_file /etc/ssl/certs/ca-certificates.crt&lt;br /&gt;auth on                     &lt;br /&gt;user john.example       &lt;br /&gt;password rover       &lt;br /&gt;logfile ~/.msmtp.log&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Now to setup Fetchmail:&lt;br /&gt;&lt;br /&gt;============&lt;br /&gt;5. Fetchmail&lt;br /&gt;============&lt;br /&gt;&lt;br /&gt;Fetchmail is great tool to download mail from Gmail. Download it from the repository as follows:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;$ sudo apt-get install fetchmail&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Once again a single configuration file is required and so you will need to create ~/.fetchmailrc as follows:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt; $ vim ~/.fetchmailrc&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;The following configuration allow Fetchmail to access and fetch email from Gmail, leave a copy of the mail on the Gmail server and pass the mail to Procmail on your local machine. The SSL configuration is included here as well:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;poll pop.gmail.com                   &lt;br /&gt;with proto POP3                      &lt;br /&gt;user 'john.example@gmail.com'        &lt;br /&gt;there with password 'rover'        &lt;br /&gt;is 'john' here                              &lt;br /&gt;mda "/usr/bin/procmail -d %T"        &lt;br /&gt;options                                                             &lt;br /&gt;no keep                                 &lt;br /&gt;ssl                                  &lt;br /&gt;sslcertck                            &lt;br /&gt;sslcertpath /etc/ssl/certs&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;All done except as a final touch, since the username and password are openly in this file,you will need to make the file readable only by the file owner. If this is not done Fetchmail will not even run:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt; $ chmod 600 ~/.fetchmailrc&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Now would be a good to time to make sure you have POP forwarding enabled in your Gmail account. You will find this in: Settings - Forwarding and POP. Note also that Gmail has a little oddity in regard to the "keep" and "nokeep" command of Fetchmail. You cannot remove mail from Gmail servers via POP3 but you can choose to have your messages archived, kept or deleted once they have been downloaded via POP3. This is a Gmail setting hidden in Settings - Forwarding and POP: "When messages are accessed with POP...".&lt;br /&gt;&lt;br /&gt;Now for the mail delivery program Procmail:&lt;br /&gt;&lt;br /&gt;===========&lt;br /&gt;6. Procmail&lt;br /&gt;===========&lt;br /&gt;&lt;br /&gt;Procmail is great sorting tool for use with any mail setup. It can be easily downloaded from the repository:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;$ sudo apt-get install procmail&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;So where will Procmail deliver to? Traditionally all mail goes to the location specified in the $MAIL environment variable, but in a default Ubuntu system this is often not set. Set the MAIL variable by opening ~/.bashrc as follows:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt; $ vim ~/.bashrc&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;and adding the following, using your own username:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# Sets the Mail Environment Variable&lt;br /&gt;MAIL=/var/spool/mail/john &amp;&amp; export MAIL&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;A very simple configuration file must be created for procmail as follows:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;$ vim ~/.procmailrc&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;and below is a very simple start to what can be quite a complex file:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;# Environment variable assignments&lt;br /&gt;&lt;blockquote&gt;PATH=/bin:/usr/bin:/usr/local/bin &lt;br /&gt;VERBOSE=off                   # Turn on for verbose log&lt;br /&gt;MAILDIR=$HOME/Mail            # Where Procmail recipes deliver&lt;br /&gt;LOGFILE=$HOME/.procmaillog    # Keep a log for troubleshooting.&lt;br /&gt;# Recipes&lt;br /&gt;:0:&lt;br /&gt;* ^TOmutt-user&lt;br /&gt;mutt&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;I include a very simple sorting recipe with the file: this one intercepts everything addressed to "mutt-user" and directs it to $HOME/Mail/mutt. This is the mutt-user mailing list which I would advise all new mutt users to join. And lets not forget to create the Mail folder:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;$ mkdir $HOME/Mail&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Now finally to Mutt.&lt;br /&gt;&lt;br /&gt;=======&lt;br /&gt;7. Mutt&lt;br /&gt;=======&lt;br /&gt;&lt;br /&gt;Mutt is one of the truly great pieces of software under Linux. The following command downloads Mutt from the Ubuntu repository:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;$ sudo apt-get install mutt&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Mutt is driven by a configuration file that can be created as follows:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;$ vim ~/.muttrc&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;I have spent some time building this file from scratch but for you, Gentle Reader, I include here a more basic version, similar to the one I started from:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;#======================================================#&lt;br /&gt;# Boring details&lt;br /&gt;set realname = "john"&lt;br /&gt;set from = "john.example@gmail.com"&lt;br /&gt;set use_from = yes&lt;br /&gt;set envelope_from ="yes"&lt;br /&gt;set sendmail="/usr/bin/msmtp"&lt;br /&gt;&lt;br /&gt;# If not set in environment variables:&lt;br /&gt;set spoolfile = /var/spool/mail/john&lt;br /&gt;&lt;br /&gt;#======================================================#&lt;br /&gt;# Folders&lt;br /&gt;set folder="~/Mail"                # Mailboxes in here&lt;br /&gt;set record="+sent"                 # where to store sent messages&lt;br /&gt;set postponed="+postponed"         # where to store draft messages&lt;br /&gt;set move=no                        # Don't move mail from the spool.&lt;br /&gt;&lt;br /&gt;#======================================================#&lt;br /&gt;# Watch these mailboxes for new mail:&lt;br /&gt;mailboxes ! +Fetchmail +slrn +mutt&lt;br /&gt;set sort_browser=alpha    # Sort mailboxes by alpha(bet)&lt;br /&gt;&lt;br /&gt;#======================================================#&lt;br /&gt;# Order of headers and what to show&lt;br /&gt;hdr_order Date: From: User-Agent: X-Mailer \&lt;br /&gt;          To: Cc: Reply-To: Subject:&lt;br /&gt;ignore *&lt;br /&gt;unignore Date: From: User-Agent: X-Mailer  \&lt;br /&gt;         To: Cc: Reply-To: Subject:&lt;br /&gt;               &lt;br /&gt;#======================================================#&lt;br /&gt;# which editor do you want to use? &lt;br /&gt;# vim of course!&lt;br /&gt;set editor="vim -c 'set tw=70 et' '+/^$' " &lt;br /&gt;set edit_headers          # See the headers when editing&lt;br /&gt;&lt;br /&gt;#======================================================#&lt;br /&gt;# Aliases&lt;br /&gt;&lt;br /&gt;set sort_alias=alias     # sort aliases in alpha order by alias name&lt;br /&gt;&lt;br /&gt;#======================================================#&lt;br /&gt;# Colours: This scheme is fairly basic and only&lt;br /&gt;# really works if your Terminal background is white&lt;br /&gt;&lt;br /&gt;color hdrdefault black        default   &lt;br /&gt;color quoted     red          default   &lt;br /&gt;color signature  brightblack  default   &lt;br /&gt;color indicator  brightwhite  red&lt;br /&gt;color attachment black        green&lt;br /&gt;color error      red          default   &lt;br /&gt;color message    blue         default   &lt;br /&gt;color search     brightwhite  magenta&lt;br /&gt;color status     brightyellow blue&lt;br /&gt;color tree       red          default   &lt;br /&gt;color normal     blue         default   &lt;br /&gt;color tilde      green        default   &lt;br /&gt;color bold       brightyellow default   &lt;br /&gt;color markers    red          default  &lt;br /&gt;&lt;br /&gt;#======================================================#&lt;br /&gt;# Odds and ends&lt;br /&gt;set markers          # mark wrapped lines of text in the pager with a +&lt;br /&gt;set smart_wrap       # Don't wrap mid-word&lt;br /&gt;set pager_context=5  # Retain 5 lines of previous page when scrolling.&lt;br /&gt;set status_on_top    # Status bar on top.&lt;br /&gt;push &lt;show-version&gt;  # Shows mutt version at startup&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Note: Procmail will create your mailbox in the spool, and set the appropriate permissions, when it first receives mail from fetchmail so don't worry that mutt cannot initially find this mailbox. If you wish to create the mailbox yourself the following permissions and ownership are required (taken from my own system):&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;-rw-rw---- 1 andrew mail 0 2008-10-23 10:12 /var/spool/mail/andrew&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;And finally it is reward time as you open Mutt, type ! to open a shell prompt, type fetchmail -v and start reading your mail! My parting gift is a little macro that was written for me by a generous person on the mutt-user mailing list that will actually do this for you when you simply press the key "I". Place the following in your ~/.muttrc file:&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;macro index,pager I '&lt;shell-escape&gt; fetchmail -v&lt;enter&gt;'&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;And welcome to the world of mutt!&lt;br /&gt;&lt;br /&gt;source : &lt;a href="http://ubuntuforums.org/showthread.php?s=917a95b782118d2708725cab885ab243&amp;t=1021746&amp;page=8"&gt;ubuntu-forums&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-169892091151823083?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/169892091151823083/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/08/use-mutt-with-gmail.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/169892091151823083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/169892091151823083'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/08/use-mutt-with-gmail.html' title='Use Mutt with Gmail'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-3137439521562832435</id><published>2009-08-14T01:39:00.000-07:00</published><updated>2009-08-14T02:05:43.640-07:00</updated><title type='text'>Creating Custom Ubuntu Live-CD With Remastersys</title><content type='html'>Remastersys is a tool that can be used to do 2 things with an existing Klikit or Ubuntu or derivative installation.It can make a full system backup including personal data to a live cd or dvd that you can use anywhere and install. It can make a distributable copy you can share with friends. This will not have any of your personal user data in it.&lt;br /&gt;&lt;br /&gt;Install Remastersys in Ubuntu&lt;br /&gt;&lt;br /&gt;The Remastersys repository needs to be added to your /etc/apt/sources.list&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo vi /etc/apt/sources.list&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Paste the following into the sources.list:&lt;br /&gt;&lt;br /&gt;# Remastersys&lt;br /&gt;&lt;blockquote&gt;deb http://www.remastersys.klikit-linux.com/repository remastersys/&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Save and exit the file.&lt;br /&gt;&lt;br /&gt;Update the source list using the following command&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo apt-get update&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Install remastersys using the following command&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo apt-get install remastersys&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;This will complete the installation&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Using Remastersys&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In order to learn how you can use remastersys, run&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo remastersys&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;remastersys Syntax&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo remastersys backup|clean|dist [cdfs|iso] [filename.iso]&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;remastersys Examples&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1) to make a livecd/dvd backup of your system&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo remastersys backup&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2) to make a livecd/dvd backup and call the iso custom.iso&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo remastersys backup custom.iso&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3) to clean up temporary files of remastersys&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo remastersys clean&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;4) to make a distributable livecd/dvd of your system&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo remastersys dist&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;5) to make a distributable livecd/dvd filesystem only&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo remastersys dist cdfs&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;6) to make a distributable iso named custom.iso but only if the cdfs is already present&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo remastersys dist iso custom.iso&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;cdfs and iso options should only be used if you wish to modify something on the cd before the iso is created. An example of this would be to modify the isolinux portion of the livecd/dvd&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Creating An ISO Image&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To create an iso image of your installation, simply run&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo remastersys dist&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;This will create an iso image called customdist.iso in the /home/remastersys directory. The dist option makes that your personal folder (e.g. /home/ruchi) will not be included in the iso image. You might have to insert your Ubuntu installation CD during the process.&lt;br /&gt;&lt;br /&gt;This is how the end of the process looks:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;[...]&lt;br /&gt;92.16% done, estimate finish Wed DEC 28 15:31:25 2007&lt;br /&gt;93.39% done, estimate finish Wed DEC 28 15:31:25 2007&lt;br /&gt;94.62% done, estimate finish Wed DEC 28 15:31:24 2007&lt;br /&gt;95.85% done, estimate finish Wed DEC 28 15:31:24 2007&lt;br /&gt;97.08% done, estimate finish Wed DEC 28 15:31:25 2007&lt;br /&gt;98.31% done, estimate finish Wed DEC 28 15:31:25 2007&lt;br /&gt;99.54% done, estimate finish Wed DEC 28 15:31:25 2007&lt;br /&gt;Total translation table size: 2048&lt;br /&gt;Total rockridge attributes bytes: 3950&lt;br /&gt;Total directory bytes: 9094&lt;br /&gt;Path table size(bytes): 54&lt;br /&gt;Max brk space used 0&lt;br /&gt;406890 extents written (794 MB)&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;/home/remastersys/customdist.iso is ready to be burned or tested in a virtual machine.&lt;br /&gt;&lt;br /&gt;Check the size and if it is larger than 700MB you will need to burn it to a dvd&lt;br /&gt;&lt;br /&gt;796M /home/remastersys/customdist.iso&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Clean Up&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After you’ve burnt the iso image onto a CD/DVD, you can run&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo remastersys clean&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;to remove all temporary file created during the iso generation as well as the /home/remastersys directory.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;also read: &lt;a href="http://www.dedoimedo.com/computers/remastersys.html"&gt;Click here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-3137439521562832435?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/3137439521562832435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/08/creating-custom-ubuntu-live-cd-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/3137439521562832435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/3137439521562832435'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/08/creating-custom-ubuntu-live-cd-with.html' title='Creating Custom Ubuntu Live-CD With Remastersys'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-8834113829977848488</id><published>2009-08-12T22:30:00.000-07:00</published><updated>2009-08-12T22:32:54.481-07:00</updated><title type='text'>Did you know... ?</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Did you know...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A video about how quickly the technological development is happening. Interesting, but also kind of scary.&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/UIDLIwlzkgY&amp;hl=en&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/UIDLIwlzkgY&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-8834113829977848488?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/8834113829977848488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/08/did-you-know.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/8834113829977848488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/8834113829977848488'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/08/did-you-know.html' title='Did you know... ?'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-3426252838817616910</id><published>2009-08-09T21:38:00.000-07:00</published><updated>2009-08-09T21:50:31.559-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='new'/><category scheme='http://www.blogger.com/atom/ns#' term='release'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Ubuntu 9.10 is comming !!</title><content type='html'>&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/xQqZ7p3BcJE&amp;hl=en&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/xQqZ7p3BcJE&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/jgUo6OTreuo&amp;hl=en&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/jgUo6OTreuo&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-3426252838817616910?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/3426252838817616910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/08/ubuntu-910-is-comming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/3426252838817616910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/3426252838817616910'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/08/ubuntu-910-is-comming.html' title='Ubuntu 9.10 is comming !!'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-1899437977824214968</id><published>2009-08-06T04:13:00.000-07:00</published><updated>2009-08-06T04:16:44.587-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='grub'/><category scheme='http://www.blogger.com/atom/ns#' term='restore'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>HOWTO Restore GRUB</title><content type='html'>You have windows 98 and linux on the same hard disk and you choose GRUB as boot loader.At boot time you see a menu to choose windows or linux.&lt;br /&gt;But one day you reinstall windows 98 and it rewrites your MBR and the menu has gone, now you only can boot windows.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;What to do:&lt;/span&gt;&lt;br /&gt;Put the redhat boot disk you created on the installation on the floppy drive, boot the system and run grub command&lt;br /&gt;&lt;br /&gt;Remember that for grub (hd0,1) means hda (primary controller master), second partition.&lt;br /&gt;&lt;br /&gt;Now we need to tell grub where are the grub files:&lt;br /&gt;&lt;br /&gt;If you know where they are, type something like:&lt;br /&gt;&lt;blockquote&gt;root (hd0,1)&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;else if you have no idea, type:&lt;br /&gt;&lt;blockquote&gt;find /boot/grub/stage1&lt;/blockquote&gt;&lt;br /&gt;and then the root command with the correct parameters:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;setup (hd0)&lt;/blockquote&gt;&lt;br /&gt;to install it on hd0, that is MBR of the first HD.&lt;br /&gt;&lt;br /&gt;type quit and reboot.&lt;br /&gt;The menu will appear again.&lt;br /&gt;If you want to make some changes to the boot menu, you must edit the file: /boot/grub/menu.lst&lt;br /&gt;&lt;br /&gt;A sample menu.lst file is this:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;default=0&lt;br /&gt;timeout=5&lt;br /&gt;splashimage=(hd0,1)/boot/grub/splash.xpm.gz&lt;br /&gt;&lt;br /&gt;title Red Hat Linux (2.4.18-14)&lt;br /&gt;        root (hd0,1)&lt;br /&gt;        kernel /boot/vmlinuz-2.4.18-14 ro root=LABEL=/ hdc=ide-scsi&lt;br /&gt;        initrd /boot/initrd-2.4.18-14.img&lt;br /&gt;title Red Hat Linux (2.4.18-openmosix3)&lt;br /&gt;        root (hd0,1)&lt;br /&gt;        kernel /boot/vmlinuz-2.4.18-openmosix3 ro root=/dev/hda2 hdc=ide-scsi&lt;br /&gt;        initrd /boot/initrd-2.4.18-openmosix3.img&lt;br /&gt;title WindowsME&lt;br /&gt;        rootnoverify (hd0,0)&lt;br /&gt;        chainloader +1&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/5753722144800221044-1899437977824214968?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/1899437977824214968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/08/howto-restore-grub.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/1899437977824214968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/1899437977824214968'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/08/howto-restore-grub.html' title='HOWTO Restore GRUB'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-2385124789473837613</id><published>2009-07-29T02:14:00.000-07:00</published><updated>2009-07-29T02:16:42.479-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='games'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='winodws'/><title type='text'>Playing windows games in linux</title><content type='html'>Those who want to play windows games in Linux try &lt;a href="http://www.playonlinux.com/en/"&gt;click me&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-2385124789473837613?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/2385124789473837613/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/07/playing-windows-games-in-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/2385124789473837613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/2385124789473837613'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/07/playing-windows-games-in-linux.html' title='Playing windows games in linux'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-8694886264372629108</id><published>2009-07-21T04:18:00.000-07:00</published><updated>2009-07-21T04:21:56.451-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='logout'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='kill'/><title type='text'>How do I logout Linux user?</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Q. How do I logout Linux user?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;A.&lt;/span&gt; root or admin user can logout any user forcefully. If you are logged in as vivek and just wanted to logout or logoff, type logout command or hit &lt;br /&gt;&lt;blockquote&gt;CTRL+D:&lt;br /&gt;$ logout&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;You will be logout of a login shell session or secure shell session.&lt;br /&gt;Task: Linux logout user&lt;br /&gt;&lt;br /&gt;If you would like to logout other users, you must login as root user. Next you need to use pkill command.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;pkill command syntax&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;pkill -KILL -u {username}&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;To see list of logged in user type who or w command:&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;# who&lt;br /&gt;OR&lt;br /&gt;# w&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;To logout user called raj, enter:&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;# pkill -KILL -u raj&lt;br /&gt;OR&lt;br /&gt;$ sudo pkill -KILL -u raj&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;For more information read our article - &lt;a href="http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html"&gt;Howto: Linux kill and logout users&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-8694886264372629108?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/8694886264372629108/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/07/q.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/8694886264372629108'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/8694886264372629108'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/07/q.html' title='How do I logout Linux user?'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-8428992931894834710</id><published>2009-07-14T03:09:00.000-07:00</published><updated>2009-07-14T03:13:23.709-07:00</updated><title type='text'>VideoLAN - VLC 1.0.0 has officially been released</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_9_3HEVFqeMs/SlxaNj86f1I/AAAAAAAAAT4/foqTDhSaox8/s1600-h/vlc-win32.jpg"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 300px; height: 223px;" src="http://3.bp.blogspot.com/_9_3HEVFqeMs/SlxaNj86f1I/AAAAAAAAAT4/foqTDhSaox8/s320/vlc-win32.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5358256845699579730" /&gt;&lt;/a&gt;&lt;br /&gt;VLC media player - A universal media player which plays video and audio files of any known format has reached the version 1.0 milestone. I especially have a liking for this media player because it is available for Windows, Linux, Mac OS X, BeOS and BSDs. And, in my experience, I never ever had to hunt for media codecs once I installed VLC on my machine. Heck, it even plays Flash (.flv) video files.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.videolan.org/vlc/"&gt;Check it out &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-8428992931894834710?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/8428992931894834710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/07/videolan-vlc-100-has-officially-been.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/8428992931894834710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/8428992931894834710'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/07/videolan-vlc-100-has-officially-been.html' title='VideoLAN - VLC 1.0.0 has officially been released'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_9_3HEVFqeMs/SlxaNj86f1I/AAAAAAAAAT4/foqTDhSaox8/s72-c/vlc-win32.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-8116555878280632260</id><published>2009-07-13T03:50:00.000-07:00</published><updated>2009-07-13T04:11:11.705-07:00</updated><title type='text'>Recovering Ubuntu After Installing Windows</title><content type='html'>There may be situation where we have to reinstall windows in a windows ubuntu dual boot system.&lt;br /&gt;When you reinstall windows it will overwrite grub and ubuntu will disappear from the grub list.&lt;br /&gt;In such case it is possible to recover the ubuntu grep boot loader back For more details follow the &lt;a href="https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows"&gt;link&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-8116555878280632260?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/8116555878280632260/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/07/recovering-ubuntu-after-installing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/8116555878280632260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/8116555878280632260'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/07/recovering-ubuntu-after-installing.html' title='Recovering Ubuntu After Installing Windows'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-2015761548605344116</id><published>2009-07-12T22:13:00.000-07:00</published><updated>2009-07-12T22:17:58.368-07:00</updated><title type='text'>Tired of sudo asking for your password?</title><content type='html'>Yes, I am.&lt;br /&gt;&lt;br /&gt;I am tired of sudo asking for my password everytime I need to install a package with apt or aptitude. Someone could say this is the B-side of security, but not enough for me to justify it (and I’m the only user of this pc). So, even if someone could define this insane or unsafe, here there is a way to avoid that epic question.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;DISCLAMER&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Keep your eyes open ad your fingers ready, you can make a disaster if  don’t.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now that I’ve washed my hands, let’s keep going with the stuff.  The configuration’s file we need to modify is /etc/sudoers , and no, we can’t do it with gedit/kate/nano… We need to use visudo, as written in the first line of that file.  So we need to open a terminal and launch sudo visudo (and, obviously,  insert the password when asked).  Now scroll until the line:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# User privilege specification&lt;br /&gt;root    ALL=(ALL) ALL&lt;br /&gt;elwood  ALL=(ALL) ALL&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;and add a new line like this: you-user localhost = command you need . For me it’s as follow&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;elwood localhost = NOPASSWD:  /usr/bin/aptitude /usr/bin/apt-get&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Save and exit with ctrl+x and from next login sudo  will stop prompting for the  password. Other commands,  if needed,  can be addedd at the end of the line without writing a new rule. For other uses and more about setting this permissions just read man sudoers&lt;br /&gt;&lt;br /&gt;Source: &lt;a href="Source: http://aarcudi.netsons.org/blog/?p=135"&gt;aarcudi.netsons.org&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-2015761548605344116?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/2015761548605344116/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/07/tired-of-sudo-asking-for-your-password.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/2015761548605344116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/2015761548605344116'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/07/tired-of-sudo-asking-for-your-password.html' title='Tired of sudo asking for your password?'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-9044593566969763271</id><published>2009-07-10T06:14:00.000-07:00</published><updated>2009-07-10T06:22:25.327-07:00</updated><title type='text'>Songbird 1.2 Released</title><content type='html'>Songbird is a Mozilla based good music player check it out &lt;br /&gt;&lt;a href="http://getsongbird.com/download/"&gt;download&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-9044593566969763271?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/9044593566969763271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/07/songbird-12-release.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/9044593566969763271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/9044593566969763271'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/07/songbird-12-release.html' title='Songbird 1.2 Released'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-3941257605428495875</id><published>2009-07-08T00:53:00.001-07:00</published><updated>2009-07-08T00:53:54.405-07:00</updated><title type='text'>How to Erase CD-RW/DVD-RW</title><content type='html'>If you want to Erase CD-RW/DVD-RW in Ubuntu use the one of the following options&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Option 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Open your terminal and run the following commands&lt;br /&gt;&lt;br /&gt;umount /dev/cdrom&lt;br /&gt;&lt;br /&gt;cdrecord dev=/dev/cdrom blank=fast&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Option 2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Install brasero using the following command&lt;br /&gt;&lt;br /&gt;sudo apt-get install brasero&lt;br /&gt;&lt;br /&gt;After installation you need to go to Applications/Sound &amp; Video/brasero.One of the options on the Disc menu is to erase the disk.&lt;br /&gt;&lt;br /&gt;You can also use k3b.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-3941257605428495875?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/3941257605428495875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/07/how-to-erase-cd-rwdvd-rw.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/3941257605428495875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/3941257605428495875'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/07/how-to-erase-cd-rwdvd-rw.html' title='How to Erase CD-RW/DVD-RW'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-1490585126885095360</id><published>2009-07-08T00:48:00.000-07:00</published><updated>2009-07-08T00:51:48.898-07:00</updated><title type='text'>Nice Ubuntu Themes for Jaunty and Intrepid users</title><content type='html'>Some nice ubuntu themes for jaunty and intrepid users  &lt;a href="http://www.ubuntugeek.com/nice-ubuntu-themes-for-jaunty-and-intrepid-users.html"&gt;check it out here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-1490585126885095360?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/1490585126885095360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/07/nice-ubuntu-themes-for-jaunty-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/1490585126885095360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/1490585126885095360'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/07/nice-ubuntu-themes-for-jaunty-and.html' title='Nice Ubuntu Themes for Jaunty and Intrepid users'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-7617634764138927282</id><published>2009-05-28T22:33:00.000-07:00</published><updated>2009-05-28T22:34:54.070-07:00</updated><title type='text'>Want to see Taj Mahal ???</title><content type='html'>&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" height="315" width="425"&gt;&lt;param name="movie" value="http://www.360cities.net/javascripts/krpano/krpano.swf" /&gt;&lt;param name="quality" value="autohigh" /&gt;&lt;param name="allowScriptAccess" value="always" /&gt;&lt;param name="flashvars" value="pano=http://www.360cities.net/krpano/external_embed/taj-mahal-sunset-no-01.xml&amp;epd=http://www.360cities.net/data/embed/plugin_data/taj-mahal-sunset-no-01" /&gt;&lt;param name="allowFullScreen" value="true" /&gt;&lt;embed src="http://www.360cities.net/javascripts/krpano/krpano.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" height="315" width="425" allowFullScreen="true" allowScriptAccess="always" quality="autohigh" flashvars="pano=http://www.360cities.net/krpano/external_embed/taj-mahal-sunset-no-01.xml&amp;epd=http://www.360cities.net/data/embed/plugin_data/taj-mahal-sunset-no-01"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;a title="panorama photos of Taj Mahal Sunset No.01 on 360cities.net" href="http://www.360cities.net/image/taj-mahal-sunset-no-01"&gt;Taj Mahal Sunset No.01&lt;/a&gt; in &lt;a href="http://www.360cities.net/area/india" title="panoramic images from India"&gt;India&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-7617634764138927282?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/7617634764138927282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/05/want-to-see-taj-mahal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/7617634764138927282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/7617634764138927282'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/05/want-to-see-taj-mahal.html' title='Want to see Taj Mahal ???'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-308773955072456914</id><published>2009-05-19T21:47:00.000-07:00</published><updated>2009-05-19T21:57:30.783-07:00</updated><title type='text'>PostgreSQL 8.1 + phppgadmin on Debian mini-HOWTO</title><content type='html'>Install required packages&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;blockquote&gt;apt­get update&lt;br /&gt;apt­get install postgresql­8.1 postgresql­client­8.1 postgresql­doc­8.1 phppgadmin php5­pgsql &lt;br /&gt;libapache2­mod­php5&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;First test with PostgreSQL&lt;br /&gt;Login pgsql console as user "postgres":&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;br /&gt;&lt;blockquote&gt;localhost:~# su&lt;br /&gt;localhost:~# su ­ postgres&lt;br /&gt;postgres@localhost:~$ psql template1&lt;br /&gt;Welcome to psql 8.1.9, the PostgreSQL interactive terminal.&lt;br /&gt;Type:  \copyright for distribution terms&lt;br /&gt;       \h for help with SQL commands&lt;br /&gt;       \? for help with psql commands&lt;br /&gt;       \g or terminate with semicolon to execute query&lt;br /&gt;       \q to quit&lt;br /&gt;template1=#&lt;br /&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Update pgsql user "postgres" password (required by phppgadmin):&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;blockquote&gt;&lt;br /&gt;template1=# ALTER USER postgres PASSWORD 'passwd';&lt;br /&gt;ALTER ROLE&lt;br /&gt;template1=# \q&lt;br /&gt;postgres@localhost:~$&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Create pgsql user "root" with database "AL32UTF8", with basic login:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;blockquote&gt;Welcome to psql 8.1.9, the PostgreSQL interactive terminal.&lt;br /&gt;Type:  \copyright for distribution terms&lt;br /&gt;       \h for help with SQL commands&lt;br /&gt;       \? for help with psql commands&lt;br /&gt;       \g or terminate with semicolon to execute query&lt;br /&gt;       \q to quit&lt;br /&gt;template1=# ALTER USER root PASSWORD 'passwd';&lt;br /&gt;ALTER ROLE&lt;br /&gt;template1=# \q&lt;br /&gt;postgres@localhost:~$ psql AL32UTF8&lt;br /&gt;Welcome to psql 8.1.9, the PostgreSQL interactive terminal.&lt;br /&gt;Type:  \copyright for distribution terms&lt;br /&gt;       \h for help with SQL commands&lt;br /&gt;       \? for help with psql commands&lt;br /&gt;       \g or terminate with semicolon to execute query&lt;br /&gt;       \q to quit&lt;br /&gt;AL32UTF8=# \q                                                                                                                      &lt;br /&gt;postgres@localhost:~$ exit                                                                                                &lt;br /&gt;logout                                                                                                                    &lt;br /&gt;localhost:~# psql AL32UTF8                                                                                                &lt;br /&gt;Password:                                                                                                                 &lt;br /&gt;Welcome to psql 8.1.9, the PostgreSQL interactive terminal.                                                               &lt;br /&gt;                                                                                                                          &lt;br /&gt;Type:  \copyright for distribution terms                                                                                            &lt;br /&gt;       \h for help with SQL commands&lt;br /&gt;       \? for help with psql commands&lt;br /&gt;       \g or terminate with semicolon to execute query&lt;br /&gt;       \q to quit&lt;br /&gt;AL32UTF8=&gt; \q&lt;br /&gt;localhost:~#&lt;br /&gt;localhost:~# su&lt;br /&gt;localhost:~# su ­ postgres&lt;br /&gt;postgres@localhost:~$ createuser ­DRS root&lt;br /&gt;CREATE ROLE&lt;br /&gt;postgres@localhost:~$ createdb ­O root AL32UTF8&lt;br /&gt;CREATE DATABASE&lt;br /&gt;postgres@localhost:~$ psql template1&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Configure and working with phppgadmin&lt;/span&gt;&lt;br /&gt;Edit /etc/phppgadmin/config.inc.php, change the following line from:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;blockquote&gt;$conf['extra_login_security'] = true;&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;into:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;blockquote&gt;$conf['extra_login_security'] = false;&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;in order to allow root/postgres user login from phppgadmin. &lt;br /&gt;Create symbolic link for phppgadmin web access:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;blockquote&gt;localhost:~# ln ­s /usr/share/phppgadmin/var/www/&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;Access http://localhost/phppgadmin, login as root or postgres, enjoy your newly installed &lt;br /&gt;PostgreSQL server :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-308773955072456914?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/308773955072456914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/05/postgresql-81-phppgadmin-on-debian-mini.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/308773955072456914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/308773955072456914'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/05/postgresql-81-phppgadmin-on-debian-mini.html' title='PostgreSQL 8.1 + phppgadmin on Debian mini-HOWTO'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-8922880250733910576</id><published>2009-05-13T05:50:00.000-07:00</published><updated>2009-05-13T05:52:33.432-07:00</updated><title type='text'>Extract File(s) From ISO Under Linux OS</title><content type='html'>Let us assume that your ISO image name is disk1.iso.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step # 1: First you need to create a directory /mnt/iso&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;# mkdir /mnt/iso&lt;br /&gt;# mount -o loop disk1.iso /mnt/iso&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step # 2: Extract file&lt;/span&gt;&lt;br /&gt;Now you can easily copy file called file.txt from iso disk image to /tmp directory :&lt;br /&gt;&lt;blockquote&gt;# cd /mnt/iso&lt;br /&gt;# cp file.txt /tmp&lt;br /&gt;&lt;/blockquote&gt;&lt;span style="font-weight:bold;"&gt;Step # 3: Copy foo.rpm from ISO disk image:&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;# cd /mnt/iso/RedHat/RPMS&lt;br /&gt;# cp foo.rpm /tmp&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/5753722144800221044-8922880250733910576?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/8922880250733910576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/05/extract-files-from-iso-under-linux-os.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/8922880250733910576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/8922880250733910576'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/05/extract-files-from-iso-under-linux-os.html' title='Extract File(s) From ISO Under Linux OS'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-3841655622790037205</id><published>2009-05-13T05:46:00.000-07:00</published><updated>2009-05-13T05:47:39.455-07:00</updated><title type='text'>How to Configure BSNL EVDO USB BroadBand in Linux</title><content type='html'>Configuring the BSNL Evdo USB Broadband in linux is very much similar to configuring any USB modem in Linux. 3 steps are involved.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;1.Detecting the device &lt;br /&gt;2.Configuring wvdial.conf &lt;br /&gt;3.Dialling &lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;In most cases the hardware is auto detected and drivers are automatically loaded. You can check your /dev/ directory for any of these files.&lt;br /&gt;ttyusb0, ttyusb1, ttyusb2 ……&lt;br /&gt;After plugging in he modem, a new device should appear. In most cases it ttyusb0. If no file is appearing then you will have to manually load the drivers by issuing the following command.&lt;br /&gt;modprobe usbserial vendor=0×05c6 product=0×6000&lt;br /&gt;This will load the drivers and make your new device visible in /dev/&lt;br /&gt;Now add the following lines to your wvdial.conf&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;[Dialer Defaults]&lt;br /&gt;Modem=/dev/ttyUSB0&lt;br /&gt;Baud=115200&lt;br /&gt;Dial Command = ATDT&lt;br /&gt;Baud=115200&lt;br /&gt;Dial Command = ATDT&lt;br /&gt;init1=ATZ&lt;br /&gt;init2=AT+CRM=1&lt;br /&gt;Flow Control= Hardware (CRTSCTS)&lt;br /&gt;Username = &lt;your username&gt;&lt;br /&gt;Password = &lt;your password&gt;&lt;br /&gt;Phone = #777&lt;br /&gt;Stupid Mode = 1&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Now try the command wvdial in your terminal. It should work.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-3841655622790037205?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/3841655622790037205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/05/how-to-configure-bsnl-evdo-usb.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/3841655622790037205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/3841655622790037205'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/05/how-to-configure-bsnl-evdo-usb.html' title='How to Configure BSNL EVDO USB BroadBand in Linux'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-2652855318738187404</id><published>2009-05-13T05:39:00.000-07:00</published><updated>2009-05-13T05:43:00.864-07:00</updated><title type='text'>Some Video Conversions</title><content type='html'>ffmpeg is an excellent application on video conversion. It supports most of the file formats.&lt;br /&gt;&lt;br /&gt;ffmpeg [[infile options][-i infile]]… {[outfile options] outfile}…&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Convert from MPG to 3GP&lt;/span&gt;&lt;br /&gt;ffmpeg -i video_clip.mpg -s qcif -vcodec h263 -acodec mp3 -ac 1 -ar 8000 -ab 32 -y clip.3gp&lt;br /&gt;&lt;br /&gt;ffmpeg -i inputfile.mpg -s qcif -vcodec h263 -acodec aac -ac 1 -ar 8000 -r 25 -ab 32 -y outputfile.3gp&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Convert from AVI to 3GP&lt;/span&gt;&lt;br /&gt;ffmpeg -i video_clip.avi-s qcif -vcodec h263 -acodec mp3 -ac 1 -ar 8000 -r 25 -ab 32 -y clip.3gp&lt;br /&gt;&lt;br /&gt;ffmpeg -i inputfile.avi -s qcif -vcodec h263 -acodec aac -ac 1 -ar 8000 -r 25 -ab 32 -y outputfile.3gp&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Convert from 3GP to AVI&lt;/span&gt;&lt;br /&gt;ffmpeg -i clip.3gp -f avi -vcodec xvid -acodec mp3 -ar 22050 file.avi&lt;br /&gt;&lt;br /&gt;you need to install the codecs previously. All the xvid,mp3,avi,3gp codecs can be updated very easily in the debian based distros. All other disros also having the codecs in their own repositories.&lt;br /&gt;&lt;br /&gt;There are other media conversion utilities also there as mencoder,transcode and there are a lot of GUI tools for this like drip, k9copy etc.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;flv to mp3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;ffmpeg -i jaiho.flv jaiho.mp3&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-2652855318738187404?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/2652855318738187404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/05/some-video-conversions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/2652855318738187404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/2652855318738187404'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/05/some-video-conversions.html' title='Some Video Conversions'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-8881914229799322757</id><published>2009-05-13T05:32:00.000-07:00</published><updated>2009-05-13T05:35:08.225-07:00</updated><title type='text'>Recover root password under linux with single user mode</title><content type='html'>It happens sometime that you can't remember root password. On Linux, recovering root password can be done by booting Linux under a specific mode: single user mode.&lt;br /&gt;This tutorial will show how to boot Linux in single user mode when using GRUB and finally how to change root password.&lt;br /&gt;During normal usage, a Linux OS runs under runlevels between 2 and 5 which corresponds to various multi-user modes. Booting Linux under runlevel 1 will allow one to enter into a specific mode, single user mode. Under such a level, you directly get a root prompt. From there, changing root password is a piece of cake.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;1. Entering runlevel 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Some Linux distribution, such as Ubuntu for instance, offer a specific boot menu entry where it is stated "Recovery Mode" or "Single-User Mode". If this is your case, selecting this menu entry will boot your machine into single user mode, you can carry on with the next part. If not, you might want to read this part.&lt;br /&gt;Using GRUB, you can manually edit the proposed menu entry at boot time. To do so, when GRUB is presenting the menu list (you might need to press ESC first), follow those instructions:&lt;br /&gt;use the arrows to select the boot entry you want to modify.&lt;br /&gt;press e to edit the entry&lt;br /&gt;use the arrows to go to kernel line&lt;br /&gt;press e to edit this entry&lt;br /&gt;at the end of the line add the word single&lt;br /&gt;press ESC to go back to the parent menu&lt;br /&gt;press b to boot this kernel&lt;br /&gt;The kernel should be booting as usual (except for the graphical splash screen you might be used to), and you will finally get a root prompt (sh#).&lt;br /&gt;Here we are, we have gained root access to the filesystem, let's finally change the password.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;2. Changing root password&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As root, changing password does not ask for your old password, therefore running the command:&lt;br /&gt;# passwd&lt;br /&gt;will prompt you for your new password and will ask you to confirm it to make sure there is no typo.&lt;br /&gt;That's it, you can now reboot your box and gain root access again&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-8881914229799322757?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/8881914229799322757/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/05/recover-root-password-under-linux-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/8881914229799322757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/8881914229799322757'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/05/recover-root-password-under-linux-with.html' title='Recover root password under linux with single user mode'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-4338791234827136171</id><published>2009-05-13T05:30:00.000-07:00</published><updated>2009-05-13T05:31:15.103-07:00</updated><title type='text'>How to replicate the installed packages of one system on another</title><content type='html'>&lt;span style="font-weight:bold;"&gt;existing system:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo dpkg --get-selections &gt; /someplacelikeafloppy/selections&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;new system:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo dpkg --set-selections &lt; /someplacelikeafloppy/selections&lt;br /&gt;sudo apt-get dselect-upgrade&lt;br /&gt;&lt;/blockquote&gt;The "selections" file is a plain text file, and can be edited to customize list of packages to install.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-4338791234827136171?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/4338791234827136171/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/05/how-to-replicate-installed-packages-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/4338791234827136171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/4338791234827136171'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/05/how-to-replicate-installed-packages-of.html' title='How to replicate the installed packages of one system on another'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-4210771101297394732</id><published>2009-05-13T05:17:00.000-07:00</published><updated>2009-05-13T05:25:29.651-07:00</updated><title type='text'>Adding a Local directory of deb packages as repository</title><content type='html'>There may be situation like, you have a directory full of packages that you want to install. How will you do that. Here is an easy way to add your directory with packages to your source list and directly install packages using synaptic or apt-get what ever you like&lt;br /&gt;&lt;br /&gt;please go through the below listing to know how to do it.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;cd /storage #assume that your directory is named storage&lt;br /&gt;dpkg-scanpackages . /dev/null &gt; Packages&lt;br /&gt;&lt;br /&gt;note the "." and the capital P&lt;br /&gt;&lt;br /&gt;then add&lt;br /&gt;&lt;br /&gt;deb file://storage ./&lt;br /&gt;&lt;br /&gt;to your apt sources.list file&lt;br /&gt;apt-get update&lt;br /&gt;&lt;br /&gt;apt-get install whatever...&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/5753722144800221044-4210771101297394732?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/4210771101297394732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/05/adding-local-directory-of-deb-packages.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/4210771101297394732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/4210771101297394732'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/05/adding-local-directory-of-deb-packages.html' title='Adding a Local directory of deb packages as repository'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5753722144800221044.post-1538423261715301513</id><published>2009-05-11T04:00:00.000-07:00</published><updated>2009-05-11T04:04:27.276-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='apt'/><category scheme='http://www.blogger.com/atom/ns#' term='iso'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Adding ISO files to the APT sources file</title><content type='html'>When it comes to collecting Debian packages into a transportable CD, nothing beats APTonCD for speed and convenience. However, do we always have to burn the the resulting ISO file to CD in order to use it on another machine? Is it possible to work with the ISO file directly? It is!&lt;br /&gt;&lt;br /&gt;The first step is to mount the ISO file to a directory.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;code&gt;sudo mount -t iso9660 aptoncd-20081209.iso /home/username/apt -o loop&lt;/code&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Then add the file to the repository list, simply modify &lt;code&gt;/etc/apt/sources.list&lt;/code&gt;. Add the following line:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;blockquote&gt;&lt;code&gt;deb file:/home/username/apt/ /&lt;/code&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;From here on, we have access to the transferred packages. They will be available in all APT tools, including Synaptic.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5753722144800221044-1538423261715301513?l=linux-minds.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-minds.blogspot.com/feeds/1538423261715301513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-minds.blogspot.com/2009/05/adding-iso-files-to-apt-sources-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/1538423261715301513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5753722144800221044/posts/default/1538423261715301513'/><link rel='alternate' type='text/html' href='http://linux-minds.blogspot.com/2009/05/adding-iso-files-to-apt-sources-file.html' title='Adding ISO files to the APT sources file'/><author><name>brijith</name><uri>http://www.blogger.com/profile/11483170056017150913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9_3HEVFqeMs/SmW0aky4caI/AAAAAAAAAUM/2FSRs9BnsFQ/S220/ARR2.jpg'/></author><thr:total>0</thr:total></entry></feed>
