<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-4128089761558623137</atom:id><lastBuildDate>Tue, 21 May 2013 01:15:24 +0000</lastBuildDate><category>linux</category><category>deb package</category><category>ubuntu 9.10 Karmic</category><category>ltsp</category><category>karmic koala</category><category>apt</category><category>lucid</category><category>remote filesystem</category><category>ssh</category><category>gadget</category><category>youtube</category><category>kde</category><category>gnome</category><category>sshfs</category><category>android</category><category>disk space</category><category>desktop search</category><category>desktop</category><category>dns</category><category>music and video</category><category>network</category><category>ubuntu</category><category>ubuntu 9.04</category><category>google</category><category>nautilus</category><title>Experimenting with GNU/Linux</title><description>A platform to learn about GNU Linux  and other  derivatives of Unix</description><link>http://unixlab.blogspot.com/</link><managingEditor>noreply@blogger.com (UbuntuGuru)</managingEditor><generator>Blogger</generator><openSearch:totalResults>170</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/unixlab" /><feedburner:info uri="unixlab" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>unixlab</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-16436960606116709</guid><pubDate>Fri, 21 Dec 2012 17:19:00 +0000</pubDate><atom:updated>2012-12-21T22:49:49.876+05:30</atom:updated><title>File format conversion  made simple </title><description>&lt;i&gt;&lt;b&gt;Format Junkie&lt;/b&gt;&lt;/i&gt; is an&amp;nbsp; Graphical&amp;nbsp;
 application which gives you an&amp;nbsp; easy file format manipulation facility on your desktop. The home page of Format Junkie is&amp;nbsp; &lt;a href="http://sourceforge.net/projects/format-junkie/"&gt;here&lt;/a&gt; . It is available in launch pad so that you can quickly install it&amp;nbsp; on Ubuntu .&lt;br /&gt;
Some of the&amp;nbsp; file conversion&amp;nbsp; capabilities are &lt;br /&gt;
&lt;br /&gt;
a) Audio: Conversion between the audio formats: mp3, mp2, wav, ogg, wma, flac, m4r, m4a and aac&lt;br /&gt;
b) Video: Conversion between the video formats: avi, ogv, vob, mp4, vob, flv, 3gp, mpg, mkv, wmv&lt;br /&gt;
c) Image: Conversion between the image formats: jpg, png, ico, bmp, svg, tif, pcx, pdf, tga, pnm&lt;br /&gt;
d) Iso|Cso Create an iso with selected files, convert iso to cso and vice versa.&lt;br /&gt;
e) Advanced Encode subtitles to an avi file.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.blogger.com/blogger.g?blogID=4128089761558623137" name="more"&gt;&lt;/a&gt;&lt;b&gt;Format Junkie Installation:&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;
Add the ppa to your machine &lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;span style="color: blue;"&gt;sudo add-apt-repository ppa:format-junkie-team/release&lt;/span&gt;&lt;/blockquote&gt;
&amp;nbsp;
Install format junkiee&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;span style="color: blue;"&gt;sudo apt-get update&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;sudo apt-get install formatjunkie&lt;/span&gt;&lt;/blockquote&gt;
After successful installation, you can open up the application from the Unity 'Dash'&amp;nbsp;&amp;nbsp; Here is a screen shot. &lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;img border="0" height="197" src="http://2.bp.blogspot.com/-BvtwLRPHaYw/UJhPWE0BYBI/AAAAAAAAAfg/1V5NHkENJH8/s320/formatjunkie.png" width="320" /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/_cOr9Dywcuw" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/_cOr9Dywcuw/file-format-conversion-made-simple.html</link><author>noreply@blogger.com (UbuntuGuru)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-BvtwLRPHaYw/UJhPWE0BYBI/AAAAAAAAAfg/1V5NHkENJH8/s72-c/formatjunkie.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2012/12/file-format-conversion-made-simple.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-5557351191758518800</guid><pubDate>Wed, 19 Dec 2012 17:50:00 +0000</pubDate><atom:updated>2012-12-19T23:20:29.711+05:30</atom:updated><title>Command-Line Multitasking with Screen</title><description>&lt;table border="0" cellpadding="3" cellspacing="0" class="jeduthun" style="width: 100%px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td width="12"&gt;&lt;img alt="" height="1" src="http://www.kuro5hin.org/images/clear.gif" width="12" /&gt;&lt;/td&gt;
  &lt;td class="justified" colspan="2"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;"&gt;
   
  &lt;/span&gt;&lt;br /&gt;
&amp;nbsp;
   &lt;span style="font-family: arial, Helvetica, Sans-Serif; font-size: x-small;"&gt; &lt;/span&gt;
   &lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan="3" height="3"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;"&gt;Most modern 
Unix like&amp;nbsp; operating systems (e.g. Linux, MacOS X, and BSD) come with ( 
or&amp;nbsp; can be installed )&amp;nbsp; a little console-mode utility called &lt;a href="http://www.gnu.org/software/screen/screen.html"&gt;GNU Screen&lt;/a&gt;.&amp;nbsp; Even some of the power user who work exclusively on console are unaware of its existence. &lt;/span&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;
&lt;b&gt;What is screen ?&lt;/b&gt;

&lt;br /&gt;
Screen is best described as a &lt;i&gt;terminal multiplexer&lt;/i&gt;.&amp;nbsp; That is any number of console applications can be run concurrently with in a single terminal and you can quickly switch back and forth between these applications. If you are logged to a remote server via ssh , you can run many applications in&amp;nbsp; a single ssh session. The programs will be running even if you accidentally close the ssh connection.\&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Starting&amp;nbsp; screen: launching and switching between programs&lt;/b&gt; &lt;br /&gt;
Start screen just by typing &lt;i&gt;screen&lt;/i&gt; at your favourite 
command shell prompt.  You'll probably be greeted by a welcome message. 
 Dismiss this and you'll have with an empty terminal containing a shell 
prompt, which is pretty much what you had before you started screen.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Every program running under screen runs in a window, and every 
window is identified by a unique number.  Screen made a new window, 
numbered it 0, and started a command shell inside it.&lt;br /&gt;
&lt;br /&gt;
Let us run ls command in this window or any other command so that we can recognise the window later on.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Now make another window; this will be window 1.&lt;br /&gt;
&lt;br /&gt;
To do this, type &lt;i&gt;C-a c&lt;/i&gt;; that is, type Ctrl-a and then type c&lt;br /&gt;
&lt;br /&gt;
Now that you have two windows,&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.  To switch between windows , type &lt;i&gt;C-a C-a&lt;/i&gt;,
 which will switch you to whichever window you were using before the 
current one. Here are some more window&amp;nbsp; switching key sequences&amp;nbsp; if you have many windows open under screen. &lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;"&gt;
&lt;li&gt;Use &lt;i&gt;C-a n&lt;/i&gt; and &lt;i&gt;C-a p&lt;/i&gt; to switch to the next or previous window in the list, by number.
&lt;/li&gt;
&lt;li&gt;Use &lt;i&gt;C-a &lt;i&gt;N&lt;/i&gt;&lt;/i&gt;, where &lt;i&gt;N&lt;/i&gt; is a number from 0 to 9, to switch to the corresponding window.
&lt;/li&gt;
&lt;li&gt;Use &lt;i&gt;C-a "&lt;/i&gt; to get a full-screen list of windows.  You can
 navigate this list with the arrow keys (or vi-style, with j and k), and
 pick a window to activate by pressing Enter when it's highlighted.  &lt;i&gt;C-a w&lt;/i&gt; will give you a small, non-interactive list of windows.&lt;/li&gt;
&lt;/span&gt;&lt;/ol&gt;
&lt;span style="font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;"&gt;
&amp;nbsp;A window can be given a name if you type&amp;nbsp; &lt;i&gt;C-a A &amp;nbsp;&lt;/i&gt;&amp;nbsp; This name will be used in the window listing, and will help you remember
 what you're doing in each window when you start using a lot of windows.

&lt;br /&gt;
Exiting the last program in a window will cause the window to disappear.  You can also kill misbehaving programs with &lt;i&gt;C-a K&lt;/i&gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;b&gt; Terminal decoupling and re coupling &lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;&amp;nbsp;  You can &lt;i&gt;detach&lt;/i&gt; from&amp;nbsp; the screen session by pressing &lt;i&gt;C-a d&lt;/i&gt;.&amp;nbsp;
  This means the screen session will be decoupled from the&amp;nbsp;&amp;nbsp; terminal in which you started it up.&amp;nbsp; If&amp;nbsp; you close the terminal in which screen is running , the session will be automatically detached.&amp;nbsp;&amp;nbsp; Detaching a screen session does not terminate any of the programs running in that screen session .&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Start up a new terminal emulator, and type &lt;i&gt;screen -r&lt;/i&gt;&amp;nbsp; .  You'll be right back where you were when you detached.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; You can detach from a screen 
session at work, shell into the machine from home, and reattach.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;Copying, pasting, and the scrollback buffer&lt;/b&gt;

&lt;br /&gt;
&lt;br /&gt;
Screen remembers a configurable number of scrollback lines, and 
you'll need them because you won't be able to use your terminal 
emulator's scroll features while running screen.  You can access the 
scrollback buffer by entering "copy mode", which is accomplished by 
typing &lt;i&gt;C-a [&lt;/i&gt;.  You can mark text anywhere in the scrollback buffer and paste it with &lt;i&gt;C-a ]&lt;/i&gt;.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Monitoring for silence and activity&lt;/b&gt; 

&lt;br /&gt;
One of the disadvantages of running a bunch of programs within 
screen is that you can't keep an eye on all of them at the same time, 
since in general you can only see one at once. )  To help mitigate this 
problem, Screen has features that allow you to monitor a window for 
silence--useful for knowing when a compile has finished, for example--or
 activity--useful for knowing when someone is finally talking on your favourite IRC channel, for example.

&lt;br /&gt;
To start or stop monitoring the current window for 30 seconds of silence, type &lt;i&gt;C-a _&lt;/i&gt;; to start or stop monitoring a window for activity, type &lt;i&gt;C-a M&lt;/i&gt;.

&lt;br /&gt;
&lt;b&gt;Config Files&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Screen looks for a startup configuration file named .screenrc in your home directory.&amp;nbsp; Look in screen man pages for options.&lt;/span&gt;&lt;/td&gt;&lt;td colspan="3" height="3"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan="3" height="3"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan="3" height="3"&gt;&lt;/td&gt;&lt;td colspan="3" height="3"&gt;&lt;/td&gt;&lt;td colspan="3" height="3"&gt;&lt;/td&gt;&lt;td colspan="3" height="3"&gt;&lt;/td&gt;&lt;td colspan="3" height="3"&gt;&lt;/td&gt;&lt;td colspan="3" height="3"&gt;&lt;/td&gt;&lt;td colspan="3" height="3"&gt;&lt;/td&gt;&lt;td colspan="3" height="3"&gt;&lt;/td&gt;&lt;td colspan="3" height="3"&gt;&lt;/td&gt;&lt;td colspan="3" height="3"&gt;&lt;/td&gt;&lt;td colspan="3" height="3"&gt;&lt;/td&gt;&lt;td colspan="3" height="3"&gt;&lt;/td&gt;&lt;td colspan="3" height="3"&gt;&lt;/td&gt;&lt;td colspan="3" height="3"&gt;&lt;/td&gt;&lt;td colspan="3" height="3"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan="3" height="3"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan="3" height="3"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan="3" height="3"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan="3" height="3"&gt;&lt;span style="font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/AehwPbt-284" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/AehwPbt-284/command-line-multitasking-with-screen.html</link><author>noreply@blogger.com (UbuntuGuru)</author><thr:total>0</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2012/12/command-line-multitasking-with-screen.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-8593799318013760832</guid><pubDate>Fri, 14 Dec 2012 08:06:00 +0000</pubDate><atom:updated>2012-12-14T13:36:11.439+05:30</atom:updated><title>Remote control your desktop with android phone</title><description>&lt;br /&gt;
&lt;div class="" style="clear: both; text-align: left;"&gt;
&lt;a href="http://www.gmote.org/images/gmote_logo_small.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="74" src="http://www.gmote.org/images/gmote_logo_small.png" width="200" /&gt;&lt;/a&gt; Gmote is a powerful program which allows your anddroid&amp;nbsp; phone to act as a remote control for your Linux desktop.&amp;nbsp; Gmote provides all standard remote control features such as play, 
pause, rewind, volume controls etc. &amp;nbsp; &lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
Gmote can 
also be used as a wireless Touchpad and keyboard, allowing you to 
control your computer at distance. &amp;nbsp;
Gmote has&amp;nbsp; the ability to stream music from your computer to your phone!&lt;/div&gt;
&amp;nbsp;Gmote has to be set up both on your computer and on your android phone.&lt;br /&gt;
Here are the steps.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.blogger.com/blogger.g?blogID=4128089761558623137" name="more"&gt;&lt;/a&gt;&lt;b&gt;Setting up the Gmote Server on PC &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;The Gmote Server requires the Java JVM version 1.6 or higher&lt;/i&gt;.&lt;br /&gt;
To determine your java version, go to terminal and type '&lt;i&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;java -version&lt;/span&gt;&lt;/i&gt;'.&lt;br /&gt;
You can download the latest JVM from &lt;a href="http://www.java.com/en/download/index.jsp" rel="nofollow" target="_blank"&gt;http://www.java.com/en/download/index.jsp&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
On the computer you wish to control, download and install the appropriate package for your Ubuntu Linux system - &lt;a href="http://marcsto.googlepages.com/GmoteServerLinux2.0.0.tar.gz" rel="nofollow" target="_blank"&gt;here&lt;/a&gt;,&amp;nbsp;after&amp;nbsp;successful&amp;nbsp;installation, open the terminal and type following command:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt;tar -zxvf GmoteServerLinux2.0.0.tar.gz&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt;cd GmoteServerLinux2.0.0/&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt;./GmoteServer.sh&lt;/span&gt;&lt;/blockquote&gt;
On
 starting you'll see a password prompt. This allows you to set a 
password so that only you can connect to the server from your phone. 
You'll be asked to enter this password once on the phone as well. You 
can change your password later by right clicking on the Gmote server 
icon (task bar) and selecting 'Change password'.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;img border="0" height="115" src="http://4.bp.blogspot.com/_X6fJZeOUOEQ/TRM-OTvYbXI/AAAAAAAAACc/hB29EY3t4VU/s320/Gmote+Server.png" width="320" /&gt;&lt;/div&gt;
&lt;br /&gt;
Finally Gmore server will get started on port &lt;i&gt;8889&lt;/i&gt;, &lt;i&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;make sure to adjust your firewall rules&amp;nbsp;accordingly to allow connection on port 8889&lt;/span&gt;&lt;/i&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Setting up the Gmote Client:&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
The installation process for client is fairly simple. From your Android handset, download and install the &lt;a href="http://www.gmote.org/download/gmote.apk" rel="nofollow"&gt;Gmote client&lt;/a&gt;.&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
You need wifi or 3G connectivity between your phone&amp;nbsp; and PC. &lt;br /&gt;
&amp;nbsp;Launch Gmote from your phone, select the server to connect to, and enjoy.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/eLJd2uKP_KI" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/eLJd2uKP_KI/remote-control-your-desktop-with.html</link><author>noreply@blogger.com (Fermi Level)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_X6fJZeOUOEQ/TRM-OTvYbXI/AAAAAAAAACc/hB29EY3t4VU/s72-c/Gmote+Server.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2012/12/remote-control-your-desktop-with.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-4252886586134832730</guid><pubDate>Tue, 11 Dec 2012 10:15:00 +0000</pubDate><atom:updated>2012-12-11T15:47:15.915+05:30</atom:updated><title>sudo on ubuntu</title><description>Here are&amp;nbsp; some sudo&amp;nbsp;&amp;nbsp; variations I use. (Be careful :) )&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: red;"&gt; sudo command&lt;/span&gt; - run command as root&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: red;"&gt;sudo su&lt;/span&gt; – root shell open&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: red;"&gt;sudo su user &lt;/span&gt;– open shell as a user&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: red;"&gt;sudo -k&lt;/span&gt; – forget your password sudo&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: red;"&gt;gksudo command &lt;/span&gt;– sudo visual dialog (GNOME)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: red;"&gt;kdesudo command&lt;/span&gt; – sudo visual dialog (KDE)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: red;"&gt; sudo visudo&lt;/span&gt; – edit / etc / sudoers&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: red;"&gt;gksudo nautilus &lt;/span&gt;– root file manager (GNOME)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: red;"&gt;kdesudo konqueror &lt;/span&gt;– root file manager (KDE)&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/9-LiNYvVuMo" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/9-LiNYvVuMo/sudo-on-ubuntu.html</link><author>noreply@blogger.com (Fermi Level)</author><thr:total>0</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2012/12/sudo-on-ubuntu.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-6390265644842936611</guid><pubDate>Tue, 11 Dec 2012 10:12:00 +0000</pubDate><atom:updated>2012-12-11T15:42:09.177+05:30</atom:updated><title>How to  customize  the GRUB 2  in Ubuntu</title><description>GRUB 2 is the next generation of GNU GRUB. All recent versions of ubuntu come with GRUB 2. GRUB 2 cleaner, safer, more robust, more portable and more 
powerful.&lt;br /&gt;
&lt;br /&gt;
If you're already familiar with older&amp;nbsp; GRUB, &amp;nbsp; GRUB 2
 configuration file is similar in broad sense, but it varies in many finer&amp;nbsp; 
details. Some times it can be a bit tricky too.&lt;br /&gt;
&lt;br /&gt;&amp;nbsp;
The main&amp;nbsp; config file is &amp;nbsp; /etc/default/grub .&amp;nbsp; Open it using &lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp; $ sudo gedit /etc/default/grub&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;you will&amp;nbsp; see&amp;nbsp; some thing&amp;nbsp; very similar to the following&amp;nbsp; ....&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="codeview"&gt;
# If you change this file, run 'update-grub' afterwards to update&lt;br /&gt;
# /boot/grub/grub.cfg.&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: red;"&gt;GRUB_DEFAULT=0&lt;/span&gt;&lt;br /&gt;
#GRUB_HIDDEN_TIMEOUT=0&lt;br /&gt;
GRUB_HIDDEN_TIMEOUT_QUIET=true&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt;GRUB_TIMEOUT=7&lt;/span&gt;&lt;br /&gt;
GRUB_DISTRIBUTOR=`lsb_release -i -s 2&amp;gt; /dev/null || echo Debian`&lt;br /&gt;
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"&lt;br /&gt;
GRUB_CMDLINE_LINUX=""&lt;br /&gt;
&lt;br /&gt;
# Uncomment to enable BadRAM filtering, modify to suit your needs&lt;br /&gt;
# This works with Linux (no patch required) and with any kernel that obtains&lt;br /&gt;
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)&lt;br /&gt;
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"&lt;br /&gt;
&lt;br /&gt;
# Uncomment to disable graphical terminal (grub-pc only)&lt;br /&gt;
#GRUB_TERMINAL=console&lt;br /&gt;
&lt;br /&gt;
# The resolution used on graphical terminal&lt;br /&gt;
# note that you can use only modes which your graphic card supports via VBE&lt;br /&gt;
# you can see them in real GRUB with the command `vbeinfo'&lt;br /&gt;
GRUB_GFXMODE=640x480&lt;br /&gt;
&lt;br /&gt;
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux&lt;br /&gt;
#GRUB_DISABLE_LINUX_UUID=true&lt;br /&gt;
&lt;br /&gt;
# Uncomment to disable generation of recovery mode menu entries&lt;br /&gt;
#GRUB_DISABLE_LINUX_RECOVERY="true"&lt;br /&gt;
&lt;br /&gt;
# Uncomment to get a beep at grub start&lt;br /&gt;
#GRUB_INIT_TUNE="480 440 1"&lt;/div&gt;
&lt;div class="codeview"&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class="codeview"&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class="codeview"&gt;
Some of the important configuration options you can try changing are &amp;nbsp; &lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Change default Timeout:&lt;/b&gt;&lt;br /&gt;
To change the default timeout option in GRUB 2, you just need to change the&amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;GRUB_TIMEOUT&lt;/span&gt;&amp;nbsp;parameter. The value of this parameter is in sec, change this value as per your requirement.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Change the default boot option:&lt;/b&gt;&lt;br /&gt;
To change the default boot option in&amp;nbsp;GRUB 2, you just need to change the&amp;nbsp;&lt;span class="Apple-style-span" style="color: red;"&gt;GRUB_DEFAULT&lt;/span&gt;&amp;nbsp;parameter.
 0 is the first entry, so if you want Windows to be your default boot 
option which is, say at, 5th position in the grub menu, then you just 
need to change the&amp;nbsp;&lt;span class="Apple-style-span" style="color: red;"&gt;GRUB_DEFAULT&lt;/span&gt;&amp;nbsp;value
 to 4 and save the file and close it. Save the file after making all 
the&amp;nbsp;required&amp;nbsp;changes and from the terminal run the following command&lt;br /&gt;
&lt;blockquote&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt;sudo update-grub&lt;/span&gt;&lt;/blockquote&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/tEL5RBjDXes" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/tEL5RBjDXes/how-to-customize-grub-2-in-ubuntu.html</link><author>noreply@blogger.com (Fermi Level)</author><thr:total>0</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2012/12/how-to-customize-grub-2-in-ubuntu.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-3010951447723047033</guid><pubDate>Tue, 11 Dec 2012 10:02:00 +0000</pubDate><atom:updated>2012-12-11T15:32:37.492+05:30</atom:updated><title>How to disable a user account in linux</title><description>The easiest &amp;nbsp; way to lock a user account on Linux machines is to use -l option to passwd command.&lt;br /&gt;
&amp;nbsp; Open a terminal and acquire root &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; # passwd -l&amp;nbsp; abc&amp;nbsp;&amp;nbsp;&amp;nbsp; ( abc is the user you want to lock.) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; You can unlock the account with -u option&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; #passwd -u abc&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; :)&lt;br /&gt;
&lt;br /&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/LY0vb68oa2I" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/LY0vb68oa2I/how-to-disable-user-account-in-linux.html</link><author>noreply@blogger.com (Fermi Level)</author><thr:total>0</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2012/12/how-to-disable-user-account-in-linux.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-384708055543643603</guid><pubDate>Sun, 24 Jun 2012 06:37:00 +0000</pubDate><atom:updated>2012-06-24T12:07:00.303+05:30</atom:updated><title>Multimedia &amp; Video Howto on Ubuntu 12.04</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
The easiest way to get&amp;nbsp; most of the media format&amp;nbsp; working on ubuntu 12.04 is to enable&amp;nbsp; medibuntu repository and install&amp;nbsp; couple of extra packages.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; This can be done quickly as follows.&lt;br /&gt;
Copy the following line to a command prompt&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 34px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;"&gt;sudo -E wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list &amp;amp;&amp;amp; sudo sed -i "/^# deb .*partner/ s/^# //" /etc/apt/sources.list &amp;amp;&amp;amp; sudo apt-get --quiet update &amp;amp;&amp;amp; sudo apt-get -y --force-yes --quiet --allow-unauthenticated install medibuntu-keyring app-install-data-medibuntu apport-hooks-medibuntu &amp;amp;&amp;amp; sudo apt-get update&lt;/pre&gt;
&lt;/div&gt;
Then install the packages.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 34px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;"&gt;sudo apt-get install ubuntu-restricted-extras non-free-codecs p7zip-rar acroread gimp inkscape blender smplayer vlc libdvdcss2 libdvdread4 faac faad audacious rubyripper cd-discid aacplusenc gtkpod lame cdrdao aacgain flac mp3gain normalize-audio vorbisgain arista soundconverter gnome-sushi exfalso winff devede openshot audacity cheese synaptic gconf-editor lsb-core&lt;/pre&gt;
&lt;/div&gt;
enjoy.&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/WqrneYJMzlE" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/WqrneYJMzlE/multimedia-video-howto-on-ubuntu-1204.html</link><author>noreply@blogger.com (Fermi Level)</author><thr:total>0</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2012/06/multimedia-video-howto-on-ubuntu-1204.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-5267823107759175117</guid><pubDate>Sat, 23 Jun 2012 06:27:00 +0000</pubDate><atom:updated>2012-06-23T11:57:36.247+05:30</atom:updated><title>Dangerous commands you should not try</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&amp;nbsp;&amp;nbsp; I was browsing through Ubuntu forums when I saw this list of dangerous commands. I am copying them for my own reference.&amp;nbsp; Don't&amp;nbsp; try them out.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;1)&amp;nbsp; Delete all files, delete current directory, and delete visible files in 
current directory.&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 66px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;"&gt;rm -rf /
rm -rf .
rm -rf *&lt;/pre&gt;
&lt;/div&gt;
2) Reformat. This command will reformat your hard disk ( you may need superuser permission to run) &amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 66px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;"&gt;mkfs
mkfs.ext3
mkfs.anything&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
3) Block device manipulation . These commands manipulate underlying block device. ( here also you may need root permission)&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 50px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;"&gt;any_command &amp;gt; /dev/sda
dd if=something of=/dev/sda&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
4) Forkbomb : This will&amp;nbsp; spawn a number of processes and eventually your system will hang. ( This works for bash shell )&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 34px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;"&gt;:(){:|:&amp;amp;};:&lt;/pre&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/i6gHGaEB_3s" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/i6gHGaEB_3s/dangerous-commands-you-should-not-try.html</link><author>noreply@blogger.com (Fermi Level)</author><thr:total>0</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2012/06/dangerous-commands-you-should-not-try.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-7126435715716549862</guid><pubDate>Fri, 27 Apr 2012 09:38:00 +0000</pubDate><atom:updated>2012-06-23T11:33:49.967+05:30</atom:updated><title>Transparent Proxy on Linux using redsocks</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&amp;nbsp; Adapted form &amp;nbsp;&amp;nbsp; &lt;a href="http://pritambaral.com/2012/04/transparent-proxy-on-linux/"&gt;http://pritambaral.com/2012/04/transparent-proxy-on-linux/&lt;/a&gt;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
This post is targeted at those Linux users behind a network proxy &amp;nbsp; but cannot set it in an app, or are just plain 
lazy to go about telling every app to use a proxy. I’ll give a quick 
rundown of the instructions for those in haste, with geeky details 
following towards the end. I’m assuming a fairly recent distro here, and
 I’m targeting the Ubuntu 12.04 release.&lt;br /&gt;
&lt;h4&gt;


What we’ll need:&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;A Linux OS (obviously!)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://darkk.net.ru/redsocks/" target="_blank" title="redsocks source"&gt;redsocks&lt;/a&gt;&amp;nbsp;(an app, check in your repos, or compile it yourself)&lt;/li&gt;
&lt;li&gt;a text-editor&lt;/li&gt;
&lt;/ul&gt;
&amp;nbsp;On Ubuntu, we have another package that we’ll need, 
iptables-persistent. But before we install it, let’s set some rules 
(iptables rules.) Don’t worry, it’s nothing but a bunch a lines in a 
text file.&lt;br /&gt;
&lt;pre&gt;*nat
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
-A OUTPUT -d 10.0.0.0/8 -j RETURN
-A OUTPUT -d 127.0.0.0/8 -j RETURN
-A OUTPUT -d 192.168.0.0/16 -j RETURN
-A OUTPUT -o eth0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 127.0.0.1:5123
-A OUTPUT -o eth0 -p tcp -m tcp --dport 443 -j DNAT --to-destination 127.0.0.1:5124
-A OUTPUT -o wlan0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 127.0.0.1:5123
-A OUTPUT -o wlan0 -p tcp -m tcp --dport 443 -j DNAT --to-destination 127.0.0.1:5124
COMMIT&lt;/pre&gt;
I saved it as redirect.rules and ran this command:&lt;br /&gt;
&lt;pre&gt;sudo iptables-restore ./redirect.rules&lt;/pre&gt;
Now we shall install the package &lt;b&gt;iptables-persitent&lt;/b&gt;.
 During the installation, it will ask you whether you want to save the 
current rules. Yes, you do. The redirection’s been set-up. Time to get 
the juicer running.&lt;br /&gt;
Install redsocks (if you haven’t already.) Save this in the file /etc/redsocks.conf&lt;br /&gt;
&lt;pre&gt;base {
 log_debug = off;&lt;/pre&gt;
&lt;pre&gt; log_info = off;&lt;/pre&gt;
&lt;pre&gt; log = "stderr";&lt;/pre&gt;
&lt;pre&gt; daemon = on;&lt;/pre&gt;
&lt;pre&gt; user = redsocks;
 group = redsocks;&lt;/pre&gt;
&lt;pre&gt; redirector = iptables;
}&lt;/pre&gt;
&lt;pre&gt;redsocks {
 /* `local_ip' defaults to 127.0.0.1 for security reasons,
 * use 0.0.0.0 if you want to listen on every interface.
 * `local_*' are used as port to redirect to.
 */
 local_ip = 127.0.0.1;
 local_port = 5123;&lt;/pre&gt;
&lt;pre&gt;// `ip' and `port' are IP and tcp-port of proxy-server
 ip = 10.201.13.50;
 port = 80;&lt;/pre&gt;
&lt;pre&gt;// known types: socks4, socks5, http-connect, http-relay
 type = http-relay;&lt;/pre&gt;
&lt;pre&gt;login = "LDAP ID HERE";
 password = "LDAP PASSWORD HERE";
}&lt;/pre&gt;
&lt;pre&gt;redsocks {
 local_ip = 127.0.0.1;
 local_port = 5124;&lt;/pre&gt;
&lt;pre&gt;ip = 10.201.13.50;
 port = 80;&lt;/pre&gt;
&lt;pre&gt;type = http-connect;&lt;/pre&gt;
&lt;pre&gt;login = "LDAP ID HERE TOO";
 password = "LDAP PASSWORD HERE TOO";
}&lt;/pre&gt;
Make sure you feed your own LDAP IDs and passwords. AT BOTH 
LOCATIONS. Feed your password as-it-is, no matter what special character
 it has. (Unless, of course, it’s a double-quote itself! Bit of a soup 
there.)&lt;br /&gt;
Now either restart your system, or run &lt;b&gt;sudo service redsocks start&lt;/b&gt;&lt;br /&gt;
Voila! You have the ultimate solution to proxy! You may (or may-not) 
set a proxy in Gnome, Firefox, wget, gedit, whatever; it will work. This will not interfere with what you have 
set in Chrome/Firefox/whatever. In fact, I&amp;nbsp;recommend&amp;nbsp;that you explicitly
 set a proxy wherever you can. You see, redsocks has a knack of getting 
in a bundle sometimes (too many pending requests…,) in which case, a 
simple&amp;nbsp;&lt;b&gt;sudo service redsocks restart&lt;/b&gt;&amp;nbsp;should suffice.&lt;br /&gt;
&lt;br /&gt;
This also “fixes” those apps which provide no method of setting a 
proxy whatsoever, e.g, Gwibber. Sadly, unsupported protocols still won’t
 work. Sorry, no Thunderbird, no torrents, no irc.&lt;br /&gt;
PS: This is the exact same method used by the Android app ProxyDroid to provide system-wide proxy on rooted Android devices.&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/tMlR9yqveaY" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/tMlR9yqveaY/transparent-proxy-on-linux-using.html</link><author>noreply@blogger.com (Fermi Level)</author><thr:total>0</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2012/04/transparent-proxy-on-linux-using.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-3405007408967139105</guid><pubDate>Sun, 15 Apr 2012 14:24:00 +0000</pubDate><atom:updated>2012-04-15T19:54:39.965+05:30</atom:updated><title>How to restore missing gnome panel</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;h1 class="ha" style="font-weight: normal;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="hP" id=":1b9"&gt;Open a terminal and try &lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 class="ha" style="font-weight: normal;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="hP" id=":1b9"&gt;$gconftool --recursiv&lt;wbr&gt;&lt;/wbr&gt;e-unset  /apps/pane&lt;wbr&gt;&lt;/wbr&gt;l &amp;amp;&amp;amp; killall gnome-pane&lt;wbr&gt;&lt;/wbr&gt;l&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/KY_8kT8XsgU" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/KY_8kT8XsgU/how-to-restore-missing-gnome-panel.html</link><author>noreply@blogger.com (UbuntuGuru)</author><thr:total>0</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2012/04/how-to-restore-missing-gnome-panel.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-6901507471428469270</guid><pubDate>Sun, 15 Apr 2012 14:22:00 +0000</pubDate><atom:updated>2012-04-15T19:52:21.547+05:30</atom:updated><title>How to Convert MTS to AVI in Linux</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Try this&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;$&amp;nbsp; ffmpeg -i &lt;i&gt;InputFile.MTS&lt;/i&gt; -vcodec libxvid -b 18000k -acodec  libmp3lame -ac 2-ab 320k -deinterlace -s 1440x1080 &lt;i&gt;OutputFile.AVI&lt;/i&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/PWXsEDuGweY" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/PWXsEDuGweY/how-to-convert-mts-to-avi-in-linux.html</link><author>noreply@blogger.com (UbuntuGuru)</author><thr:total>0</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2012/04/how-to-convert-mts-to-avi-in-linux.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-1333299847378214026</guid><pubDate>Fri, 03 Feb 2012 09:54:00 +0000</pubDate><atom:updated>2012-02-03T15:37:22.678+05:30</atom:updated><title>Setting up a NIS slave server</title><description>&lt;pre&gt;This note explains how to setup a nis slave server. It is assumed that you have a NIS server running .

  Setup
       Existing NIS server  named  mahalanobis  on 10.107.35.1
       The slave  server is to be set up  is named  gauss on 10.107.35.6

Install ubuntu 10. 04 Lucid on  gauss  10.107.35.6. Setup the network interface and make sure that it works as a standalone machine.


Install NIS software on Gauss

 # apt-get install   portmap nis

Setup the slave as a NIS client

 Edit /etc/yp.conf  and add

ypserver 127.0.0.1
Edit  /etc/hosts on master ( Mahalanobis) and add an entry for slave 
 
10.107.35.6    gauss
Edit  /etc/hosts on  slave ( Gauss) and add an entry for master 
10.107.35.6     mahalanobis

 
Log on to the master server. Add the slave server to the master 
server's database map by editing the /var/yp/ypservers file on the 
master.
 # File: /var/yp/ypservers
mahalanobis
  gauss
 
The make file in the /var/yp directory defines how the NIS server will 
build the database map and how the master will relate to the NIS slave. 
Edit the make file to allow the master to push maps to the slave.


# File: /var/vp/Makefile
 
# Allow the master to do database pushes to the slave
#
NOPUSH=false

Run make command. (You must be in /var/yp )

Iniitialise slave database 
#  /usr/lib/yp/ypinit -s  mahalanobis

On   slave ( gauss) edit /etc/defaults/nis ) Change  the flag NISSERVER to slave

  # /etc/defaults/nis    Configuration settings for the NIS daemons.
#

# Are we a NIS server and if so what kind (values: false, slave, master)?
NISSERVER=slave


Restart   nis services on  slave

  #/etc/init.d/nis restart


Testing

   On a client machine which is being authenticated by the master edit /etc/yp.conf  and change the  ypserv  entry to point to the new slave machine.
Restart nis on that client machine and see if you are able to login.
&lt;/pre&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/Xz8W5PaO4GI" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/Xz8W5PaO4GI/setting-up-nis-slave-server.html</link><author>noreply@blogger.com (Fermi Level)</author><thr:total>0</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2012/02/setting-up-nis-slave-server.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-8782931651063117822</guid><pubDate>Mon, 12 Dec 2011 03:11:00 +0000</pubDate><atom:updated>2011-12-12T08:41:49.204+05:30</atom:updated><title>Mount Ext4 partitios in Windows</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;
Ubuntu partitions are incompatible with Windows, we can not read and write to them&amp;nbsp; from widows. Ext4 partitions can be read&amp;nbsp; from windows if you install a simple utility in Windows.&lt;br /&gt;
&amp;nbsp;Download ext2fsd from&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;pre&gt;&lt;a href="http://sourceforge.net/projects/ext2fsd/files/Ext2fsd/0.51/"&gt;http://sourceforge.net/projects/ext2fsd/files/Ext2fsd/0.51/&lt;/a&gt;&lt;/pre&gt;&amp;nbsp;Find out&amp;nbsp; Ext2Fsd-0.51.exe from the above site and install it. The following screen shots are self explanatory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-RS9MLebIUro/TuVwgEbebuI/AAAAAAAAEpw/hx7KrjeZ5wg/s1600/8.jpeg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="250" src="http://3.bp.blogspot.com/-RS9MLebIUro/TuVwgEbebuI/AAAAAAAAEpw/hx7KrjeZ5wg/s320/8.jpeg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-qUqJrrB8d_s/TuVwjU00MyI/AAAAAAAAEp4/UNk5SaHtFWA/s1600/9.jpeg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="250" src="http://4.bp.blogspot.com/-qUqJrrB8d_s/TuVwjU00MyI/AAAAAAAAEp4/UNk5SaHtFWA/s320/9.jpeg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-8jQI0nP7q-s/TuVwmC7IkYI/AAAAAAAAEqA/fk0dHLhlWag/s1600/10.jpeg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="250" src="http://4.bp.blogspot.com/-8jQI0nP7q-s/TuVwmC7IkYI/AAAAAAAAEqA/fk0dHLhlWag/s320/10.jpeg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-RSx7ZtA1KpM/TuVwo_cB8-I/AAAAAAAAEqI/yyaExEbuKfk/s1600/11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="257" src="http://4.bp.blogspot.com/-RSx7ZtA1KpM/TuVwo_cB8-I/AAAAAAAAEqI/yyaExEbuKfk/s320/11.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-0FXHfJsCas4/TuVwrCTaabI/AAAAAAAAEqQ/IssM67tryDE/s1600/12.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-0FXHfJsCas4/TuVwrCTaabI/AAAAAAAAEqQ/IssM67tryDE/s1600/12.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/Q5atI35c5Hs" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/Q5atI35c5Hs/mount-ext4-partitios-in-windows.html</link><author>noreply@blogger.com (UbuntuGuru)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-RS9MLebIUro/TuVwgEbebuI/AAAAAAAAEpw/hx7KrjeZ5wg/s72-c/8.jpeg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2011/12/mount-ext4-partitios-in-windows.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-3877809497497219093</guid><pubDate>Sun, 11 Dec 2011 16:23:00 +0000</pubDate><atom:updated>2011-12-11T21:53:44.803+05:30</atom:updated><title>how to clone ubuntu installation</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Here is a quick way to&amp;nbsp; build an exactly similar&amp;nbsp; ubuntu installation on another computer. &lt;br /&gt;
&lt;br /&gt;
Run&lt;br /&gt;
&lt;span style="color: blue;"&gt;$ dpkg --get-selections &amp;gt;my_pakages&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: black;"&gt;on the machine that you want to clone. Install a clean copy of Ubuntu on the target machine. Copy the file my_packages to the target machine.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: black;"&gt;Run the following command on the target machine. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: black;"&gt;$&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;sudo dpkg --set-selections &amp;lt;  ./package_names&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: black;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: black;"&gt;$&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;sudo apt-get -u dselect-upgrade&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;Done. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;&lt;span style="background-color: #f3f3f3;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/xCJ5Ig8Pcjg" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/xCJ5Ig8Pcjg/how-to-clone-ubuntu-installation.html</link><author>noreply@blogger.com (UbuntuGuru)</author><thr:total>0</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2011/12/how-to-clone-ubuntu-installation.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-7862426117321093771</guid><pubDate>Sat, 26 Nov 2011 15:07:00 +0000</pubDate><atom:updated>2011-11-26T20:37:30.037+05:30</atom:updated><title>SSH Login Without Password</title><description>&lt;h3&gt;&lt;br /&gt;
&lt;/h3&gt;&lt;div style="text-align: justify;"&gt;For this you required to generate your own personal set of private/public pair. &lt;em&gt;ssh-keygen&lt;/em&gt; is used to generate that key pair for you.&lt;/div&gt;On the user’s home directory, on the localhost, type&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;[local-host]$ ssh-keygen -t dsa&lt;/strong&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;This will ask you a passphrase. A  passphrase is a sequence of words or other text used to control access  to a computer system, program or data. A passphrase is similar to a  password in usage, but is generally longer for added security. Once  entered the passphrase you will be prompted to enter the same passphrase  again for confirmation.&lt;/div&gt;The private key was saved in .ssh/id_dsa and the public key .ssh/id_dsa.pub.&lt;br /&gt;
Now, copy the public key to the remote machine&lt;br /&gt;
&lt;br /&gt;
&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="bash" style="font-family: monospace;"&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;local-host&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt;$ ssh-copy-id &lt;span style="color: #660033;"&gt;-i&lt;/span&gt; ~&lt;span style="color: black; font-weight: bold;"&gt;/&lt;/span&gt;.ssh&lt;span style="color: black; font-weight: bold;"&gt;/&lt;/span&gt;id_dsa.pub user&lt;span style="color: black; font-weight: bold;"&gt;@&lt;/span&gt;remotehost&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
or if you don’t have ssh-copy-id script installed use&lt;br /&gt;
&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="bash" style="font-family: monospace;"&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="bash" style="font-family: monospace;"&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;local-host&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt;$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;cat&lt;/span&gt; ~&lt;span style="color: black; font-weight: bold;"&gt;/&lt;/span&gt;.ssh&lt;span style="color: black; font-weight: bold;"&gt;/&lt;/span&gt;id_dsa.pub &lt;span style="color: black; font-weight: bold;"&gt;|&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;ssh&lt;/span&gt; user&lt;span style="color: black; font-weight: bold;"&gt;@&lt;/span&gt;remotehost &lt;span style="color: red;"&gt;"cat - &amp;gt;&amp;gt; ~/.ssh/authorized_keys"&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
Now on the localhost machine, on GNOME select &lt;strong&gt;System &amp;gt; Preferences &amp;gt; Sessions&lt;/strong&gt;.&lt;br /&gt;
Select &lt;strong&gt;Startup Programs&lt;/strong&gt; and add a new entry with this command.&lt;br /&gt;
&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="bash" style="font-family: monospace;"&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;eval&lt;/span&gt; &lt;span style="color: black; font-weight: bold;"&gt;`&lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;ssh-agent&lt;/span&gt;&lt;span style="color: black; font-weight: bold;"&gt;`&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;em&gt;ssh-agen&lt;/em&gt;t is a program that  used together with OpenSSH or similar ssh programs provides a secure way  of storing the passphrase of the private key.&lt;/div&gt;Open terminal and run &lt;strong&gt;ssh-add &lt;/strong&gt;without any arguments, it will ask your passphrase once.&lt;br /&gt;
&lt;em&gt;ssh-add&lt;/em&gt; adds identities to the authentication agent, ssh-agent.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="bash" style="font-family: monospace;"&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;local-host&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt;$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;ssh-add&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
Enter passphrase for /home/vinod/.ssh/id_dsa: &lt;enter here="" passphrase="" your=""&gt;&lt;/enter&gt;&lt;br /&gt;
Identity added: /home/you/.ssh/id_dsa (/home/you/.ssh/id_dsa)&lt;br /&gt;
That’s it, now login to remote server it will not ask any password or passphrase.&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&lt;strong&gt;NB: No one else must see the content of .ssh/id_dsa, as it is used to decrypt all correspondence encrypted with the public key.&lt;/strong&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/4APTKeHoAzI" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/4APTKeHoAzI/ssh-login-without-password.html</link><author>noreply@blogger.com (Fermi Level)</author><thr:total>0</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2011/11/ssh-login-without-password.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-4877944988058303571</guid><pubDate>Fri, 08 Jul 2011 04:12:00 +0000</pubDate><atom:updated>2011-07-08T09:42:44.597+05:30</atom:updated><title>Childsplay for kids</title><description>&amp;nbsp;&lt;i&gt;&lt;b&gt;Childsplay &lt;/b&gt;&lt;/i&gt;is a collection of educational activities for young children and runs on Windows, OSX, and Linux. It can be used at home, kindergartens and pre-schools.  Childsplay is a fun and save way to let young children use the computer  and at the same time teach them a little math, letters of the alphabets,  spelling, eye-hand coordination etc.&lt;br /&gt;
&lt;br /&gt;
Childsplay is part of the schoolsplay.org project&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Childsplay includes the following games:&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;* Numbers - Put the correct operator between two numbers.&lt;br /&gt;
&amp;nbsp;* SoundNpic - A toy for young children with pictures and sounds.&lt;br /&gt;
&amp;nbsp;* Packid - A pac-man game, try to catch the letters.&lt;br /&gt;
&amp;nbsp;* Soundmemory - The classic memory game, with sounds.&lt;br /&gt;
&amp;nbsp;* Fallingletter - Type them before the reach the ground.&lt;br /&gt;
&amp;nbsp;* Findsound - Listen to a sound and find the image to which it belongs&lt;br /&gt;
&amp;nbsp;* Findsound2 - The same as findsound, now with numbers and letters.&lt;br /&gt;
&amp;nbsp;* Pong - The classic game, play alone or against another child.&lt;br /&gt;
&amp;nbsp;* Billiards - Try to shoot the balls into the hole.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="" name="more"&gt;&lt;/a&gt;&lt;b&gt;Childsplay installation:&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; On ubuntu&amp;nbsp; open a terminal and type&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote style="color: blue;"&gt; sudo apt-get install childsplay&lt;/blockquote&gt;After installation you can open childsplay from Applications &amp;gt; Education &amp;gt; Childsplay&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/OtPRNDFdbuE" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/OtPRNDFdbuE/childsplay-for-kids.html</link><author>noreply@blogger.com (UbuntuGuru)</author><thr:total>0</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2011/07/childsplay-for-kids.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-6262933137073133681</guid><pubDate>Wed, 29 Jun 2011 09:49:00 +0000</pubDate><atom:updated>2011-06-29T15:19:05.347+05:30</atom:updated><title>How to recover deleted files in Ubuntu/Linux</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;h2&gt;&lt;br /&gt;
&lt;/h2&gt;&lt;div class="rtejustify"&gt;  When a file is deleted, only the pointer to the file is overwritten and  the original file will still reside in the blocks of the storage device  and will be kept there until it is overwritten by another file. In a  sense, you can always write a file but you can never delete it. So if  you have ever faced the dilemma of trying to recover a deleted file in  Ubuntu then  look no further. Linux offers a wide range of tools for &lt;a href="http://ubuntumanual.org/posts/357/recover-your-deleted-files-in-ubuntu"&gt;recovering deleted files&lt;/a&gt;. These tools work by retrieving the pointer to the deleted files.&lt;/div&gt;&lt;div class="rtejustify"&gt;  The chief among the recovery tools would be Scalpel. Scalpel is a  platform independent command based tool which is small yet very  powerful. You can install the latest version of Scalpel (version 2.0) by  doing a simple&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 34px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 480px;"&gt;sudo apt-get install scalpel &lt;/pre&gt;in the terminal.&lt;br /&gt;
&lt;div class="rtejustify"&gt;  After installation you need to go to the configuration file of scalpel which resides in&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 34px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 480px;"&gt;/etc/scalpel/scalpel.conf&lt;/pre&gt;&lt;div class="rtejustify"&gt;  Using an editor like gedit open the scalpel.conf file using the command.&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 34px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 480px;"&gt;sudo gedit /etc/scalpel/scalpel.conf&lt;/pre&gt;&lt;div class="rtejustify"&gt;  You will notice that that all the lines in the file are preceded by a  comment (#) symbol. Remove the # symbol preceding the file you want to  recover.&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 34px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 480px;"&gt;sudo scalpel "device name/Directoryname/file name" -o "output directory"&lt;/pre&gt;&lt;div class="rtejustify"&gt;  The output directory is the directory where you want to restore your  deleted files. It should be empty before running the command, otherwise  you will get an error. You can also input the deleted filename directly  by using -i option.&lt;/div&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/aBPHPuGhRLc" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/aBPHPuGhRLc/how-to-recover-deleted-files-in.html</link><author>noreply@blogger.com (UbuntuGuru)</author><thr:total>2</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2011/06/how-to-recover-deleted-files-in.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-3482149006932493703</guid><pubDate>Mon, 30 May 2011 04:27:00 +0000</pubDate><atom:updated>2011-05-31T10:00:16.549+05:30</atom:updated><title>Lubuntu Desktop on Natty</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&amp;nbsp;If you don't like the default unity desktop , there are several alternative desktops available for Natty. Lubuntu from the LXDE project is one of my favorites.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-Injjqv7xXJY/TdP5GjBYPaI/AAAAAAAACEg/ogCLjOBAUOU/s1600/Screenshot.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img alt="install lubuntu in Ubuntu 11.04" border="0" height="250" src="http://4.bp.blogspot.com/-Injjqv7xXJY/TdP5GjBYPaI/AAAAAAAACEg/ogCLjOBAUOU/s400/Screenshot.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
Lubuntu is a faster, more lightweight and energy saving variant of  Ubuntu based on LXDE desktop, the Lightweight X11 Desktop Environment. &lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Install Lubuntu in Ubuntu 11.04 by doing the following in  Terminal.&lt;/li&gt;
&lt;/ul&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 20px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 560px;"&gt;sudo apt-get install lubuntu-desktop&lt;/pre&gt;&lt;ul&gt;&lt;li&gt;Done.  Lubuntu desktop will now be available within your Ubuntu GDM login  window as a different session already.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/r0KWWOe9r3k" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/r0KWWOe9r3k/lubuntu-desktop-on-natty.html</link><author>noreply@blogger.com (UbuntuGuru)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-Injjqv7xXJY/TdP5GjBYPaI/AAAAAAAACEg/ogCLjOBAUOU/s72-c/Screenshot.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2011/05/lubuntu-desktop-on-natty.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-4073245672145156833</guid><pubDate>Sun, 29 May 2011 08:05:00 +0000</pubDate><atom:updated>2011-05-31T10:02:50.168+05:30</atom:updated><title>QR code on ubuntu</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;h3 class="post-title entry-title" style="text-align: left;"&gt;&lt;span style="font-size: small; font-weight: normal;"&gt;A QR Code (it  stands for "Quick Response") is a mobile phone readable barcode.simply  encode a URL into the QR Code and then point a mobile phone (or other  camera-enabled mobile) at it. If the device has had QR Code decoding  software installed on it, it will fire up its browser and go straight to  that URL.&lt;/span&gt;&lt;br /&gt;
&lt;/h3&gt;But it doesn't stop there - a QR Code can also contain a phone number,  an SMS message&amp;nbsp; VCard data or just plain alphanumeric text, and the will   respond by opening up the correct application to handle the encoded data  appropriately courtesy of the FNC1 Application Identifiers that are  embedded in the encoded data.&lt;br /&gt;
&lt;div&gt;&lt;div&gt;&lt;br /&gt;
The technical specifications for a QR Code are set down in the ISO-18004  standard so they are the same all over the world, and the only  significant variations from one QR code to another (apart from the data  it contains) is the number of modules required to store the data.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.blogger.com/post-edit.g?blogID=4128089761558623137&amp;amp;postID=4073245672145156833" name="more"&gt;&lt;/a&gt;To &lt;span style="color: blue; font-family: inherit; font-size: inherit ! important; font-weight: inherit ! important; position: static;"&gt;&lt;span class="kLink" style="color: blue; font-family: inherit; font-size: inherit ! important; font-weight: inherit ! important; position: relative;"&gt;make &lt;/span&gt;&lt;span class="kLink" style="color: blue; font-family: inherit; font-size: inherit ! important; font-weight: inherit ! important; position: relative;"&gt;things&lt;/span&gt;&lt;/span&gt;  a bit more  robust, the QR Code also contains its own &lt;span style="color: blue; font-family: inherit; font-size: inherit ! important; font-weight: inherit ! important; position: static;"&gt;&lt;span class="kLink" style="color: blue; font-family: inherit; font-size: inherit ! important; font-weight: inherit ! important; position: relative;"&gt;error&lt;/span&gt;&lt;/span&gt;  correction data, internal orientation calibration and self-alignment  markers. In this way it doesn't matter whether the QR code is upside  down or wrapped around a curved surface, the message will still get  through.&lt;br /&gt;
&lt;br /&gt;
You can easily generate QR Code under &lt;span style="color: blue; font-family: inherit; font-size: inherit ! important; font-weight: inherit ! important; position: static;"&gt;&lt;span class="kLink" style="color: blue; font-family: inherit; font-size: inherit ! important; font-weight: inherit ! important; position: relative;"&gt;Ubuntu&lt;/span&gt;&lt;/span&gt;  for this you need to install 'qrencode’ package. In Ubuntu, you can  install qrencode using this command:&lt;br /&gt;
&lt;blockquote&gt;&lt;span style="color: blue;"&gt;apt-get install qrencode&lt;/span&gt;&lt;/blockquote&gt;Go  to terminal and type folloing command to generate QR code image:&lt;br /&gt;
&lt;blockquote style="color: blue;"&gt;qrencode -l L -v 1 -o unixlab.png  "http://unixlab.blogspot.com"&lt;/blockquote&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-CGVq5Y5rJcQ/TcQaHy4cEII/AAAAAAAAAEg/F9wbr2WTYb8/s1600/linuxpoison.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-CGVq5Y5rJcQ/TcQaHy4cEII/AAAAAAAAAEg/F9wbr2WTYb8/s1600/linuxpoison.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/WSm0ap3o_fE" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/WSm0ap3o_fE/qr-code-on-ubuntu.html</link><author>noreply@blogger.com (UbuntuGuru)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-CGVq5Y5rJcQ/TcQaHy4cEII/AAAAAAAAAEg/F9wbr2WTYb8/s72-c/linuxpoison.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2011/05/qr-code-on-ubuntu.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-4890922155673871778</guid><pubDate>Sun, 29 May 2011 06:45:00 +0000</pubDate><atom:updated>2011-05-29T12:15:26.031+05:30</atom:updated><title>Zorin Splash Manager</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;Zorin Splash Manager&amp;nbsp; is a cool application with which you can change the&amp;nbsp; theme&amp;nbsp; of Ubuntu desktop. The screen shot of the GUI is given below.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-VKIxsGXwxKM/Td6U_L8tzUI/AAAAAAAACH0/bstJn5Ytku0/s1600/Screenshot.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img alt="Install, change Plymouth Themes in Ubuntu" border="0" height="320" src="http://1.bp.blogspot.com/-VKIxsGXwxKM/Td6U_L8tzUI/AAAAAAAACH0/bstJn5Ytku0/s320/Screenshot.png" width="312" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="" name="more"&gt;&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &lt;b&gt;&lt;/b&gt;Basically,&amp;nbsp;&amp;nbsp; Zorin Splash Screen  Manager is an application&amp;nbsp; made for&amp;nbsp;&lt;a href="http://zorin-os.com/"&gt;Zorin OS&lt;/a&gt; project, a Linux distro based  on Ubuntu. It offers the following features. &lt;br /&gt;
&lt;div&gt;&lt;ul&gt;&lt;li&gt;&amp;nbsp;You can install , remove and change the plymouth theme. Here are some additional screen shots on its usage.&lt;/li&gt;
&lt;/ul&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-M4lzh7jRGR8/Td6eJhDeFtI/AAAAAAAACH4/56_RQQApfPs/s1600/Screenshot.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img alt="Zorin Splash Screen Manager" border="0" height="282" src="http://2.bp.blogspot.com/-M4lzh7jRGR8/Td6eJhDeFtI/AAAAAAAACH4/56_RQQApfPs/s400/Screenshot.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-EWqZiyx1YW0/Td6eODoFdAI/AAAAAAAACH8/iZmkUXIloo8/s1600/Screenshot-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img alt="Zorin Splash Screen Manager: Manage Plymouth Themes in Ubuntu" border="0" height="336" src="http://1.bp.blogspot.com/-EWqZiyx1YW0/Td6eODoFdAI/AAAAAAAACH8/iZmkUXIloo8/s400/Screenshot-1.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;How&amp;nbsp; to install &amp;nbsp; Zorin Splash Screen Manager&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://zorin-os.webs.com/splashscreenmanager.htm"&gt;Download Zorin  Splash Screen Manager DEB Package&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can install the deb package&amp;nbsp; from the command line&amp;nbsp; or&amp;nbsp;&amp;nbsp; you just double click of the deb package from nautilus ( this will launch gdeb-gtk)&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/75e59hdMKls" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/75e59hdMKls/zorin-splash-manager.html</link><author>noreply@blogger.com (UbuntuGuru)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-VKIxsGXwxKM/Td6U_L8tzUI/AAAAAAAACH0/bstJn5Ytku0/s72-c/Screenshot.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2011/05/zorin-splash-manager.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-5599869485516081148</guid><pubDate>Mon, 16 May 2011 07:18:00 +0000</pubDate><atom:updated>2011-05-16T12:48:47.828+05:30</atom:updated><title>Installing android on ubuntu</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Here is a small tutorial on developing android apps on ubuntu platform.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;The article has step by step instructions and lots of screen shots.&lt;br /&gt;
&lt;a href="http://ieffects.blogspot.com/2011/05/android-and-ubuntu-everything.html"&gt;http://ieffects.blogspot.com/2011/05/android-and-ubuntu-everything.html&lt;/a&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/h_arTm64Po4" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/h_arTm64Po4/installing-android-on-ubuntu.html</link><author>noreply@blogger.com (UbuntuGuru)</author><thr:total>0</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2011/05/installing-android-on-ubuntu.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-7006574237235310980</guid><pubDate>Wed, 11 May 2011 17:05:00 +0000</pubDate><atom:updated>2011-05-14T01:54:25.158+05:30</atom:updated><title>Installing Ubuntu 11.04 in pendrive persistently : time for pendrive OS</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;What about the idea of carrying your operating system where you go? I am  not talking about bringing your laptop everywhere you go, instead use  your pendrive to carry your linux distro. Not simply the live distro,  you can carry your operating system with all your configurations, &lt;br /&gt;
&lt;div&gt;&lt;div class="fsm fwn fcg"&gt;&amp;nbsp;&lt;span class="uiAttachmentDetails"&gt;&lt;a href="http://apps.facebook.com/blognetworks/blog/crack_bytezz"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="fsm fwn fcg"&gt;link: &lt;span class="uiAttachmentDetails"&gt;&lt;a href="http://networkedblogs.com/hEOli" onmousedown="UntrustedLink.bootstrap($(this), &amp;quot;d2586&amp;quot;, event, 
bagof(null));" rel="nofollow" target="_blank"&gt;Full Article...&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/GQAqboF_meA" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/GQAqboF_meA/installing-ubuntu-1104-in-pendrive.html</link><author>noreply@blogger.com (UbuntuGuru)</author><thr:total>0</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2011/05/installing-ubuntu-1104-in-pendrive.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-7114381127007680407</guid><pubDate>Sun, 20 Mar 2011 16:32:00 +0000</pubDate><atom:updated>2011-03-20T22:02:00.232+05:30</atom:updated><title>Wall paper slide show on Kubuntu</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;
Right Click on the Kubuntu Desktop and&amp;nbsp;&amp;nbsp; Select "Desktop Activity  Settings" Change the "Type" dropdown to read "Slideshow".&lt;br /&gt;
Select  the Image folders you want to scan, and the time delay you  want&lt;br /&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/XAorjKxgi0s" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/XAorjKxgi0s/wall-paper-slide-show-on-kubuntu.html</link><author>noreply@blogger.com (UbuntuGuru)</author><thr:total>0</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2011/03/wall-paper-slide-show-on-kubuntu.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-8894259727663213987</guid><pubDate>Sun, 20 Mar 2011 05:47:00 +0000</pubDate><atom:updated>2011-03-20T11:17:00.044+05:30</atom:updated><title>How to block flash videos using Squid proxy Server</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Some times network admins want to block flash videos from&amp;nbsp; being played on the network. You can configure&amp;nbsp; Squid proxy server to do the same if we block the appropriate MIME type.&lt;br /&gt;
The MIME Type reply is generally set correctly so browsers are able to pass the reply to the correct module (&lt;i&gt;image, text, &lt;span style="color: black; font-family: Arial,tahoma,Verdana,Arial,Sans-Serif; font-size: 14.4px; font-weight: 400; position: static;"&gt;&lt;span class="kLink" style="font-family: Arial,tahoma,Verdana,Arial,Sans-Serif; font-size: 14.4px; font-weight: 400; position: relative;"&gt;html&lt;/span&gt;&lt;/span&gt;, flash, music, mpeg, etc.&lt;/i&gt;)&lt;br /&gt;
&lt;br /&gt;
The MIME type for flash videos&amp;nbsp; is "&lt;i&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;video/x-flv&lt;/span&gt;&lt;/i&gt;". Creating an ACL to block this is easy.&lt;br /&gt;
&lt;br /&gt;
First, create an ACL which matches the MIME type in question:&lt;br /&gt;
&lt;blockquote style="color: blue;"&gt;acl deny_rep_mime_flashvideo rep_mime_type video/x-flv&lt;/blockquote&gt;Then create a HTTP Reply ACL which denies any replies with that MIME type:&lt;br /&gt;
&lt;blockquote style="color: blue;"&gt;http_reply_access deny deny_rep_mime_flashvideo&lt;/blockquote&gt;&lt;br /&gt;
If the content is blocked the following similar line will be seen in access.log:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;1282485682.146 &amp;nbsp;  &amp;nbsp;903 127.0.0.1 TCP_DENIED_REPLY/403 3143 GET  http://tc.v15.cache3.c.youtube.com/videoplayback? -  DIRECT/208.117.252.163 text/html&lt;/span&gt;&lt;br /&gt;
&lt;/i&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/P0DYOmoB0yM" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/P0DYOmoB0yM/how-to-block-flash-videos-using-squid.html</link><author>noreply@blogger.com (UbuntuGuru)</author><thr:total>2</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2011/03/how-to-block-flash-videos-using-squid.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-1037388354232226191</guid><pubDate>Sat, 19 Mar 2011 16:01:00 +0000</pubDate><atom:updated>2011-03-19T21:31:00.967+05:30</atom:updated><title>Converting IMG files to ISO images</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Some time you will find CD images with .img extentions. Most probably such images are created by clonecd, a windows program.&lt;br /&gt;
&lt;br /&gt;
IMG files are raw-data copies of optical media and are primarily used&amp;nbsp; to&amp;nbsp; store&amp;nbsp; CDs  with&amp;nbsp; odd&amp;nbsp; properties,such as sectors which need to have read errors  when read. Conversion to ISO format removes this&amp;nbsp; information,as ISO  format does not support this. &lt;br /&gt;
&lt;br /&gt;
You can manipulate&amp;nbsp; such images if you install ccd2iso package.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; sudo aptitude install ccd2iso&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; You can&amp;nbsp; convert&amp;nbsp; img files to iso files as shown below.&lt;br /&gt;
&amp;nbsp;&lt;strong&gt; &amp;nbsp;&lt;/strong&gt;  ccd2iso file.img file1.iso&lt;br /&gt;
&amp;nbsp;IMG&amp;nbsp; files almost always include a SUB file, which contains  additional data for the disc format, and a CCD file, which is a  plaintext configu-ration file describing the disc layout.ccd2iso does  not make use of&amp;nbsp; these files&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/unixlab/~4/WHNp9wyeT1I" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/unixlab/~3/WHNp9wyeT1I/converting-img-files-to-iso-images.html</link><author>noreply@blogger.com (UbuntuGuru)</author><thr:total>1</thr:total><feedburner:origLink>http://unixlab.blogspot.com/2011/03/converting-img-files-to-iso-images.html</feedburner:origLink></item></channel></rss>
