<?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-2754032079296043699</id><updated>2011-11-28T06:07:32.821+05:30</updated><category term='linux'/><category term='linux magic_keys'/><category term='audio_formats'/><category term='GRUB'/><category term='wireless'/><category term='synaptics'/><category term='mpg321'/><category term='gdm Ubuntu Linux_Mint'/><category term='Slackware'/><category term='ffmpeg'/><category term='scim'/><category term='ubuntu'/><category term='OpenSuSE'/><category term='renice'/><category term='Maverick Meerkat'/><category term='touchpad'/><category term='linux bash_scripts'/><category term='ndiswrapper'/><category term='ls'/><category term='openoffice.org'/><category term='GNOME'/><title type='text'>Linux Tips</title><subtitle type='html'>I have been using Linux for quite some time now. Thought, I would share some of the neat tricks I learnt over the years.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>25</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-3239208449636206960</id><published>2011-10-27T20:58:00.002+05:30</published><updated>2011-10-29T18:24:13.030+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenSuSE'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>OpenSuSe 11.4</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: right; margin-left: 1em; text-align: right;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-WRTHQPOoQGI/Tql5Oi-RSVI/AAAAAAAABHU/hNGirdmmjpA/s1600/Screenshot.png" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="179" src="http://1.bp.blogspot.com/-WRTHQPOoQGI/Tql5Oi-RSVI/AAAAAAAABHU/hNGirdmmjpA/s320/Screenshot.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Gnome Shell 3 on OpenSuSE with Nord Shell theme and Sonar GTK theme&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;After having installed Xubuntu 11.10 over my install of Ubuntu 11.04, and even though it was working perfectly, I committed the mistake of installing Unity Desktop. I further aggravated the scene by installing Gnome Shell as well. I liked neither the Unity Desktop nor the Gnome Shell basically as I found it difficult to customize it as much as I would have liked to, even using Gnome-Tweak-Tool.&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Then I downloaded OpenSuSE 11.4 (KDE) and installed it. Though it was very polished, I found that some times the user interface lagged. Having been used to the smoothly functioning interface of Ubuntu, I started hating it eventually. Then I tried installing Gnome 3 and liked it instantly.&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Then yesterday, I felt like upgrading to Gnome 3.2 and downloaded the live iso from the www.gnome.org. After installing it, I found that there were some rough edges to Gnome 3.2. So, I downloaded OpenSuSE 11.4 Gnome version and installed it and found it perfect for my requirements. Now I am off Ubuntu for sometime atleast. &lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2754032079296043699-3239208449636206960?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/3239208449636206960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=3239208449636206960&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/3239208449636206960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/3239208449636206960'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2011/10/opensuse-114.html' title='OpenSuSe 11.4'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-WRTHQPOoQGI/Tql5Oi-RSVI/AAAAAAAABHU/hNGirdmmjpA/s72-c/Screenshot.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-8726224597098127401</id><published>2010-12-18T21:39:00.004+05:30</published><updated>2010-12-19T07:15:02.187+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Maverick Meerkat'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Ubuntu 10.10 Maverick Meerkat - A Pleasant Experience</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Dw7wWJ69ReE/TQzk3t7c9KI/AAAAAAAAA_A/t6RXyI0XPWo/s1600/Screenshot.png"&gt;&lt;img style="float:center; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 180px;" src="http://1.bp.blogspot.com/_Dw7wWJ69ReE/TQzk3t7c9KI/AAAAAAAAA_A/t6RXyI0XPWo/s320/Screenshot.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5552064086513874082" /&gt;&lt;/a&gt;&lt;div&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Finally, 2 months after the release of Maverick Meerkat, I ventured to install it on my laptop. After using it for the past two days, I found  it to be extremely user friendly. The User Interface is very elegant. Hardware detection  is&lt;/div&gt;&lt;div style="text-align: justify;"&gt;excellent. All the much-hyped features are no exaggeration. They make the user experience a very pleasant one.  However, there still are certain rough edges that mar the overall effect. Nothing serious though!&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;My first gripe is that I am unable to add Facebook to gwibber, the new social networking app. It seems to be a well-documented and hitherto unresolved bug. It doesn't matter much really, but I wish this bug would disappear so that the experience would become more pleasant.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;The next irritant is a more serious one. The synaptics bug relating to two-touch gesture issue still persists and calls for an ugly work around! It still requires a script involving xinput to be executed each time I log in to make multi-touch work with synaptics. Ok, but the greater problem is, that I have to execute the script each time I log in, resume from suspend or resume from hibernation, which I often do. I wish something is done in this regards as well.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: justify;"&gt;Besides these two irritants the others are minor and can be easily ignored. Overall I am having a nice time using Ubuntu 10.10. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2754032079296043699-8726224597098127401?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/8726224597098127401/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=8726224597098127401&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/8726224597098127401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/8726224597098127401'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2010/12/ubuntu-1010-maverick-meerkat-pleasant.html' title='Ubuntu 10.10 Maverick Meerkat - A Pleasant Experience'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_Dw7wWJ69ReE/TQzk3t7c9KI/AAAAAAAAA_A/t6RXyI0XPWo/s72-c/Screenshot.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-15338846932041990</id><published>2010-11-12T18:23:00.002+05:30</published><updated>2010-11-12T18:28:04.524+05:30</updated><title type='text'>To Make A  Self-Reading Text File!</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;br /&gt;To make a text file self-read, add the following line at the beginning of the file -&lt;br /&gt;&lt;blockquote&gt;#!/bin/more&lt;/blockquote&gt;then make the file executable -&lt;br /&gt;&lt;blockquote&gt;$ chmod +x &lt;filename.txt&gt;&lt;/blockquote&gt;The file can be executed as&lt;br /&gt;&lt;blockquote&gt;$ ./filename.txt&lt;/blockquote&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2754032079296043699-15338846932041990?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/15338846932041990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=15338846932041990&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/15338846932041990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/15338846932041990'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2010/11/to-make-self-reading-text-file.html' title='To Make A  Self-Reading Text File!'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-921817840879152638</id><published>2010-07-07T18:53:00.003+05:30</published><updated>2010-07-07T18:57:04.357+05:30</updated><title type='text'>Finding the type of a file!</title><content type='html'>&lt;blockquote&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Sometimes it so happens that you want to determine the type of a particular file. I found the following command useful when I was converting the format of certain audio files.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;$ file somefile.xyz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;This outputs the type of the file somefile.xyz&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2754032079296043699-921817840879152638?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/921817840879152638/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=921817840879152638&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/921817840879152638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/921817840879152638'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2010/07/finding-type-of-file.html' title='Finding the type of a file!'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-4706568404969131654</id><published>2010-06-20T17:17:00.002+05:30</published><updated>2010-06-20T17:24:53.225+05:30</updated><title type='text'>Unmount a busy external drive!</title><content type='html'>It so happens that sometimes when you try to umount your pendrive, the system reports -&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;umount: /media/xyz : device is busy&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It is clear that some process is using the drive. It would be nice to quickly find out the errant process so that necessary action can be taken.&lt;br /&gt;&lt;br /&gt;We can find out which process is using the drive by fuser command -&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#fuser -m /dev/sdx&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;where /dev/sdx is mounted on /media/xyz&lt;br /&gt;&lt;br /&gt;Let us say that the output of the above command is&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;/dev/sdx: 538&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#ps -aux|grep 538&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;reveals the name of the errant programme, in my case rhythmbox :-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2754032079296043699-4706568404969131654?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/4706568404969131654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=4706568404969131654&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/4706568404969131654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/4706568404969131654'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2010/06/unmount-busy-external-drive.html' title='Unmount a busy external drive!'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-9126122758079384894</id><published>2010-05-11T19:23:00.003+05:30</published><updated>2010-05-28T18:58:24.007+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='gdm Ubuntu Linux_Mint'/><title type='text'>To change the GDM login background in Ubuntu Karmic Koala</title><content type='html'>&lt;blockquote&gt;&lt;br /&gt;I found to my utter consternation that one cannot change the login background in Ubuntu Karmic Koala (or Linux Mint 8, for that matter) from gdmsetup.&lt;br /&gt;&lt;br /&gt;I found this solution after a bit of googling -&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Firstly, we log out of the current session and return to the GDM login screen.&lt;/li&gt;&lt;li&gt;At this point, pressing Ctrl-Alt-F1 throws up the terminal.&lt;/li&gt;&lt;li&gt;Login to this terminal with your username and password.&lt;/li&gt;&lt;li&gt;Then issue the following command -&lt;br /&gt;$export DISPLAY=:0.0&lt;/li&gt;&lt;li&gt;followed by -&lt;br /&gt;$sudo -u gdm gnome-control-center.&lt;/li&gt;&lt;li&gt;At this point, pressing Alt-F7 brings us back to the GDM login screen with gnome-control-center&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Selecting Appearance from gnome-control-center and making the appropriate changes to the background, font.&lt;/li&gt;&lt;li&gt;Closing the gnome-control-center window reveals the login screen with the new background.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2754032079296043699-9126122758079384894?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/9126122758079384894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=9126122758079384894&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/9126122758079384894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/9126122758079384894'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2010/05/to-change-gdm-login-background-in.html' title='To change the GDM login background in Ubuntu Karmic Koala'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-2982560103405390485</id><published>2009-08-14T12:07:00.001+05:30</published><updated>2009-08-14T12:09:18.399+05:30</updated><title type='text'>Changing the default display manager (GDM / KDM / XDM etc.) in Slackware</title><content type='html'>&lt;blockquote&gt;&lt;br /&gt;To change the Display Manager in Slackware, we have to edit the /etc/rc.d/rc.4 file as root user.&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/2754032079296043699-2982560103405390485?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/2982560103405390485/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=2982560103405390485&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/2982560103405390485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/2982560103405390485'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2009/08/changing-default-display-manager-gdm.html' title='Changing the default display manager (GDM / KDM / XDM etc.) in Slackware'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-6072008226442127062</id><published>2009-08-10T14:22:00.004+05:30</published><updated>2009-08-10T14:36:52.517+05:30</updated><title type='text'>extracting audio from video (.flv) files downloaded from Youtube - the Linux way!</title><content type='html'>&lt;blockquote&gt;&lt;br /&gt;I had downloaded some videos from Youtube and wanted to extract the soundtrack as an .mp3 file or .ogg file.&lt;br /&gt;At first I tried the following command -&lt;br /&gt;&lt;span style="font-style: italic;"&gt;$ mplayer -dumpaudio my_file.flv -dumpfile my_file.mp3&lt;/span&gt;&lt;br /&gt;Most of the times the audio was extracted perfectly. But some .flv files proved stubborn, and I was left with non-playable mp3s.&lt;br /&gt;I found a solution at LinuxQuestions.org, where a knowledgeable member Ilgar provided the following solution&lt;br /&gt;&lt;span style="font-style: italic;"&gt;$ mplayer -quiet my_file.flv -ao pcm:fast:file=my_file.mp3 -vc dummy -vo null -channels 2&lt;/span&gt;&lt;br /&gt;after which I was left with my_file.mp3 .&lt;br /&gt;&lt;span style="font-style: italic;"&gt;$ file my_file.mp3&lt;/span&gt;&lt;br /&gt;revealed that it was a WAV file and not an mp3. It was still playable with mplayer. However when I downloaded it on my Samsung UltraTouch S8300 mobile, I was not able to play it.&lt;br /&gt;I then converted it to .mp3 format using the app - SoundConverter.&lt;br /&gt;Thanks Ilgar&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2754032079296043699-6072008226442127062?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/6072008226442127062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=6072008226442127062&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/6072008226442127062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/6072008226442127062'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2009/08/extracting-audio-from-video-flv-files.html' title='extracting audio from video (.flv) files downloaded from Youtube - the Linux way!'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-6950791164075872091</id><published>2009-07-28T17:13:00.003+05:30</published><updated>2009-07-28T19:15:07.688+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='scim'/><category scheme='http://www.blogger.com/atom/ns#' term='openoffice.org'/><category scheme='http://www.blogger.com/atom/ns#' term='Slackware'/><title type='text'>Scim error with OpenOffice 3.1</title><content type='html'>&lt;blockquote&gt;&lt;blockquote&gt;&lt;br /&gt;I was getting the following error when I pressed Ctrl + Space in OpenOffice window to initiate scim -&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Gtk-WARNING **: /opt/openoffice.org3/program/../basis-link/ure-link/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/gtk-2.0/immodules/im-scim.so)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After a bit of googling I found a solution -&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;cd /opt/openoffice.org3/basis-link/ure-link/lib&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;sudo mv libstdc++.so.6 libstdc++.so.6.orig&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;sudo ln -s  /usr/lib/libstdc++.so.6.0.9 libstdc++.so.6&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;sudo mv libgcc_s.so.1 libgcc_s.so.1.orig&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;sudo ln -s /usr/lib/libgcc_s.so.1       libgcc_s.so.1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2754032079296043699-6950791164075872091?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/6950791164075872091/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=6950791164075872091&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/6950791164075872091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/6950791164075872091'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2009/07/scim-error-with-openoffice-31.html' title='Scim error with OpenOffice 3.1'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-5786200699123848109</id><published>2009-06-14T09:44:00.003+05:30</published><updated>2009-06-14T09:50:51.787+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='touchpad'/><category scheme='http://www.blogger.com/atom/ns#' term='Slackware'/><category scheme='http://www.blogger.com/atom/ns#' term='synaptics'/><title type='text'>Got touchpad to scroll</title><content type='html'>After upgrading to Slackware 12.2, the touchpad on my laptop was not scrolling. After a bit of googling, I found this thread -&lt;br /&gt;&lt;a href="http://www.linuxquestions.org/questions/slackware-14/synaptics-touchpad-in-slackware-12.2-on-hp-g60-702809/#post3573157"&gt;http://www.linuxquestions.org/questions/slackware-14/synaptics-touchpad-in-slackware-12.2-on-hp-g60-702809/#post3573157&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;as suggested in the above link, I changed the line&lt;br /&gt;&lt;pre class="bbcodeblock" dir="ltr" style="border: 1px inset ; margin: 0px -99999px 0px 0px; padding: 3px; overflow: auto; width: 98%; height: 34px; text-align: left;"&gt;options psmouse proto=imps&lt;/pre&gt;&lt;br /&gt;to&lt;br /&gt;&lt;pre class="bbcodeblock" dir="ltr" style="border: 1px inset ; margin: 0px -99999px 0px 0px; padding: 3px; overflow: auto; width: 98%; height: 34px; text-align: left;"&gt;options psmouse proto=auto&lt;/pre&gt;&lt;br /&gt;in /etc/modprobe.d/psmouse&lt;br /&gt;&lt;br /&gt;then after reloading the psmouse module, and restarting X, my touchpad was scrolling.&lt;br /&gt;&lt;br /&gt;&lt;script src="http://shots.snap.com//client/inject.js?site_name=0" type="text/javascript"&gt;&lt;/script&gt;&lt;script src="http://shots.snap.com//client/inject.js?site_name=0" type="text/javascript"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2754032079296043699-5786200699123848109?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/5786200699123848109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=5786200699123848109&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/5786200699123848109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/5786200699123848109'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2009/06/got-touchpad-to-scroll.html' title='Got touchpad to scroll'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-4547379960847818006</id><published>2009-04-09T10:16:00.003+05:30</published><updated>2009-04-09T12:13:12.472+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='GNOME'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Getting Right Alt key to work</title><content type='html'>The right alt key press was eliciting no response on my Ubuntu 8.10 laptop in Gnome. After a bit of Googling, I found the following solution -&lt;br /&gt;System -&gt; Preferences -&gt; Keyboard&lt;br /&gt;Here choose Layouts tab. Then choose Other Options button. Keyboard Layout Options widow pops up. In this click on Alt/Win key behaviour and select -&lt;br /&gt;Alt and Meta are on Alt keys.&lt;br /&gt;This should solve the problem.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2754032079296043699-4547379960847818006?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/4547379960847818006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=4547379960847818006&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/4547379960847818006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/4547379960847818006'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2009/04/getting-right-alt-key-to-work.html' title='Getting Right Alt key to work'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-5637414403790670048</id><published>2008-12-12T17:52:00.004+05:30</published><updated>2008-12-12T18:09:07.125+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='openoffice.org'/><category scheme='http://www.blogger.com/atom/ns#' term='Slackware'/><title type='text'>How I set right non-functional spell-checker in OpenOffice.org3</title><content type='html'>&lt;blockquote&gt;&lt;br /&gt;Spell Checker was not working in my install of OpenOffice.org3 on Slackware 12.1. Wrongly spelt words were not being highlighted. Pressing F7 after selecting text containing spelling-errors was not detecting any errors. After a lot of skulduggery and quite a bit of googling, I realized that the problem was some how related to locales, hence I added the following line to /opt/openoffice.org3/program/soffice -&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;export LANG=en_US&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now spell checker works!&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;script src="http://shots.snap.com//client/inject.js?site_name=0" type="text/javascript"&gt;&lt;/script&gt;&lt;script src="http://shots.snap.com//client/inject.js?site_name=0" type="text/javascript"&gt;&lt;/script&gt;&lt;script src="http://shots.snap.com//client/inject.js?site_name=0" type="text/javascript"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2754032079296043699-5637414403790670048?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/5637414403790670048/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=5637414403790670048&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/5637414403790670048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/5637414403790670048'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2008/12/how-i-set-right-non-functional-spell.html' title='How I set right non-functional spell-checker in OpenOffice.org3'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-4718733502857145408</id><published>2008-08-31T08:44:00.002+05:30</published><updated>2008-08-31T08:54:04.390+05:30</updated><title type='text'>Empty Applications Menu? Repopulate it.</title><content type='html'>&lt;blockquote&gt;&lt;br /&gt;All of a sudden, one fine morning I found that the Applications Menu in GNOME  on my Ubuntu 8.04 laptop was empty. When I clicked on the Applications Menu, all I got was a small rectangular box, about a few pixels in dimensions. I found a solution to this, (the solution was the first result that Google threw at me). This problem seems to occur when there is not much hard disk space left. When this occurs, you are unable to run alacarte even from command prompt.&lt;br /&gt;The solution is to delete the applications.menu file from ~/.config/menus/ directory.&lt;br /&gt;&lt;blockquote&gt;$rm ~/.config/menus/applications.menu&lt;br /&gt;&lt;/blockquote&gt;After this the Applications Menu is restored.&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/2754032079296043699-4718733502857145408?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/4718733502857145408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=4718733502857145408&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/4718733502857145408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/4718733502857145408'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2008/08/empty-applications-menu-repopulate-it.html' title='Empty Applications Menu? Repopulate it.'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-6631479541416513546</id><published>2008-08-23T09:52:00.002+05:30</published><updated>2008-08-23T10:00:53.656+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ls'/><title type='text'>ls tips - 1</title><content type='html'>Sometimes it becomes necessary to search for all files that end in a particular character, like, for example a digit. The following command will list out all files that have filenames ending in a digit -&lt;br /&gt;&lt;blockquote&gt;$ ls | grep '[0-9]$'&lt;/blockquote&gt;&lt;br /&gt;It is essential that the $ symbol is placed after the paranthesis. This $ symbol will cause grep to look for the digits from 0 to 9 at the end of the filename.&lt;br /&gt;A better way would be -&lt;br /&gt;&lt;blockquote&gt;$ ls | grep '[[:digit:]]$'&lt;/blockquote&gt;&lt;br /&gt;Similarly, if you want to search for filenames that begin with a digit, here is the command -&lt;br /&gt;&lt;blockquote&gt;$ ls | grep '^[0-9]' &lt;/blockquote&gt;&lt;br /&gt;or&lt;br /&gt;&lt;blockquote&gt;$ ls | grep '^[[:digit:]]'&lt;/blockquote&gt;&lt;br /&gt;This will list all filenames that begin with a character.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2754032079296043699-6631479541416513546?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/6631479541416513546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=6631479541416513546&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/6631479541416513546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/6631479541416513546'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2008/08/ls-tips-1.html' title='ls tips - 1'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-1986097215194539169</id><published>2008-08-22T17:49:00.003+05:30</published><updated>2008-08-22T17:58:24.230+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='renice'/><title type='text'>Giving Maximum processing time to any process</title><content type='html'>To give maximum processing time to any process, first the PID of the process has to be determined using the command ps. Say you have firefox running and you want to determine its PID.&lt;br /&gt;&lt;blockquote&gt;$ ps -A | grep firefox&lt;/blockquote&gt;&lt;br /&gt;on my system gives the following output&lt;br /&gt;&lt;blockquote&gt;12845 pts/0    00:04:00 firefox&lt;/blockquote&gt;&lt;br /&gt;so 12845 is the required PID.&lt;br /&gt;By issuing the following command we can give maximum priority (-20) to the particular process -&lt;br /&gt;&lt;blockquote&gt;$ sudo renice -20 12845&lt;/blockquote&gt;This can be ascertained using the 'top' command.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2754032079296043699-1986097215194539169?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/1986097215194539169/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=1986097215194539169&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/1986097215194539169'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/1986097215194539169'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2008/08/giving-maximum-processing-time-to-any.html' title='Giving Maximum processing time to any process'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-7991480129959314881</id><published>2008-08-22T17:32:00.002+05:30</published><updated>2008-08-22T17:43:08.064+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='GRUB'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Re-installing GRUB in Ubuntu</title><content type='html'>&lt;blockquote&gt;&lt;br /&gt;Imagine a scenario, wherein you have installed a brand new distro on a system that already has some other distro installed. You have properly configured the GRUB to enable you to multi-boot. Now for some reason, you do not like the GRUB of the distro that was last to be installed, you want to revert back to the  previous one. So what do we do now?&lt;br /&gt;The solution is to boot into the required distro from the GRUB menu and then follow these steps -&lt;br /&gt;1. Login as root from the command prompt and enter the following command&lt;br /&gt;&lt;blockquote&gt;# sudo grub&lt;br /&gt;grub &gt; find /boot/grub/stage1&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Let us say, the command returns (hdx,y).&lt;br /&gt;2. Then enter the following commands -&lt;br /&gt;&lt;blockquote&gt;grub &gt; root(hdx,y)&lt;br /&gt;grub &gt; setup (hdx)&lt;br /&gt;grub &gt; quit&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;That's it! When you reboot, you'll be presented with the previous GRUB screen.&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/2754032079296043699-7991480129959314881?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/7991480129959314881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=7991480129959314881&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/7991480129959314881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/7991480129959314881'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2008/08/re-installing-grub-in-ubuntu.html' title='Re-installing GRUB in Ubuntu'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-4917585260609782466</id><published>2008-07-31T12:10:00.002+05:30</published><updated>2008-07-31T12:34:00.183+05:30</updated><title type='text'>Getting the Touchpad to work in Slackware!</title><content type='html'>&lt;blockquote&gt;&lt;br /&gt;This is how I got the touchpad on my laptop to work using synaptics.&lt;br /&gt;&lt;br /&gt;After installing synaptics, the following lines have to be added to /etc/X11/xorg.conf. Before fiddling with xorg.conf, it is always suggested that you take a backup of the file -&lt;br /&gt;&lt;br /&gt;# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.old&lt;br /&gt;&lt;br /&gt;The lines to be added to xorg.conf are as follows -&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;Section "Module"&lt;br /&gt;     Load "synaptics&lt;br /&gt;EndSection&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Then in the "InputDevice" Section -&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;Section "InputDevice"&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;Identifier "Synaptics Mouse"&lt;br /&gt;Driver "synaptics"&lt;br /&gt;Option "Device" "/dev/psaux"&lt;br /&gt;Option "Protocol" "auto-dev"&lt;br /&gt;Option "HorizEdgeScroll" "0"&lt;br /&gt;Option "LeftEdge" "1700"&lt;br /&gt;Option "RightEdge" "5300"&lt;br /&gt;Option "TopEdge" "1700"&lt;br /&gt;Option "BottomEdge" "4200"&lt;br /&gt;Option "FingerLow" "25"&lt;br /&gt;Option "FingerHigh" "30"&lt;br /&gt;Option "MaxTapTime" "180"&lt;br /&gt;Option "MaxTapMove" "220"&lt;br /&gt;Option "VertScrollDelta" "100"&lt;br /&gt;Option "HorizScrollDelta" "100"&lt;br /&gt;Option "MinSpeed" "0.09"&lt;br /&gt;Option "MaxSpeed" "0.18"&lt;br /&gt;Option "AccelFactor" "0.0015"&lt;br /&gt;Option "SHMConfig" "on"&lt;br /&gt;Option "TapButton1" "1"&lt;br /&gt;Option "TapButton2" "2"&lt;br /&gt;Option "TapButton3" "3"&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;EndSection&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Then in the "ServerLayout" Section&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;Section "ServerLayout"&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;Input Device "Synaptics Mouse" "CorePointer"&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;EndSection&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;After this reload the "psmouse" module as follows -&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;$ sudo modprobe -r psmouse&lt;br /&gt;$ sudo modprobe psmouse&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;This should be added to your startup scripts.&lt;br /&gt;The touchpad should be working after you reboot.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2754032079296043699-4917585260609782466?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/4917585260609782466/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=4917585260609782466&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/4917585260609782466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/4917585260609782466'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2008/07/getting-touchpad-to-work-in-slackware.html' title='Getting the Touchpad to work in Slackware!'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-425867731664302858</id><published>2008-07-20T22:19:00.002+05:30</published><updated>2008-07-20T22:23:05.694+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='mpg321'/><title type='text'>Command Line Music Player!</title><content type='html'>mpg321 can be used to play mp3 files from command line. We can even create a playlist of all the songs stored in various directories and play the list via mpg321. If your songs are stored in various folders, the folder names can be appended to the file-names using the following script. First of all the spaces have to be removed from the file names (as described in a previous post). Then we can create the following script -&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;for i in *;&lt;br /&gt;do&lt;br /&gt;  a=$i;&lt;br /&gt;  b=`echo $PWD\`$i;&lt;br /&gt;  echo $b &gt;&gt; playlist; # the file names are stored in "playlist"&lt;br /&gt;done&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;this way the names of all the files in all the subdirectories will be stored in "playlist" along with the appropriate path. Then we can play the list&lt;br /&gt;as follows  -&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;$ mpg321 --list playlist -z # -z for shuffle mode&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;That is it! Enjoy your music! Here we are assuming that all files are stored in various subdirectories of one parent directory, say 'music'. The script has to executed from the directory 'music'.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2754032079296043699-425867731664302858?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/425867731664302858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=425867731664302858&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/425867731664302858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/425867731664302858'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2008/07/command-line-music-player.html' title='Command Line Music Player!'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-6891326510163846939</id><published>2008-07-20T11:15:00.003+05:30</published><updated>2008-07-20T11:44:02.237+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Slackware'/><title type='text'>Samsung ML 2010 on Slackware 12.1</title><content type='html'>The Samsung ML 2010 is automatically configured on Ubuntu, however on Slackware 12.1, the Samsung Unified Driver fails to install with the following error -&lt;br /&gt;&lt;br /&gt;Unable to restart cups, script not found.&lt;br /&gt;&lt;br /&gt;After going through the install script install.sh in the cdroot/Linux directory created by untarring the driver, if found that the para - restart-cups() in the install.sh script reads as follows -&lt;br /&gt;&lt;br /&gt;.....&lt;br /&gt;elif test -e /etc/init.d/cupsys; then&lt;br /&gt;CUPS_SCRIPT=/etc/init.d/cupsys&lt;br /&gt;.....&lt;br /&gt;&lt;br /&gt;it is obvious that the installer wouldn't work. So I changed it to&lt;br /&gt;&lt;br /&gt;.....&lt;br /&gt;elif test -e /etc/rc.d/rc.cups; then&lt;br /&gt;CUPS_SCRIPT=/etc/rc.d/rc.cups&lt;br /&gt;.....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Moreover, the driver to be used for this printer is the one for 2150 and not 2010, that is the right driver is ML-2150 SPL II instead of ML-2010.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2754032079296043699-6891326510163846939?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/6891326510163846939/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=6891326510163846939&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/6891326510163846939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/6891326510163846939'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2008/07/samsung-ml-2010-on-slackware-121.html' title='Samsung ML 2010 on Slackware 12.1'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-7868007196850597070</id><published>2008-07-19T23:27:00.003+05:30</published><updated>2008-07-19T23:39:25.587+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux bash_scripts'/><title type='text'>Removing spaces from file names!</title><content type='html'>The following script, which I found &lt;a href="http://linux.blowshard.net/2007/03/10/bash-script-batch-convert-mp3/"&gt;here&lt;/a&gt; after an hour of googling, can be used to remove spaces and replacing them with any character (like '_') from file names&lt;br /&gt;&lt;br /&gt;$ for f in *; do&lt;br /&gt;&gt; file=$(echo $f | tr ' ' _)&lt;br /&gt;&gt; [ ! -f $file ] &amp;amp;&amp;amp; mv "$f" $file&lt;br /&gt;&gt; done&lt;br /&gt;$&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2754032079296043699-7868007196850597070?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/7868007196850597070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=7868007196850597070&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/7868007196850597070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/7868007196850597070'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2008/07/removing-spaces-from-file-names.html' title='Removing spaces from file names!'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-6185854659537617005</id><published>2008-07-19T20:58:00.002+05:30</published><updated>2008-07-19T21:06:34.613+05:30</updated><title type='text'>Command line utility to print a Calendar</title><content type='html'>$ cal&lt;br /&gt;&lt;br /&gt;will print out a calendar for the current month on the screen.&lt;br /&gt;&lt;br /&gt;$ cal 2008&lt;br /&gt;&lt;br /&gt;will do the same for the year 2008.&lt;br /&gt;&lt;br /&gt;$ cal 03 2008&lt;br /&gt;&lt;br /&gt;will do the same for the month of March, 2008. If, however, we want to print the calendar as a .ps file, we can use the pcal utility.&lt;br /&gt;&lt;br /&gt;$ pcal -w 2008 -s 0:0:0 -P a4 &gt; 2008.ps&lt;br /&gt;&lt;br /&gt;We can convert this .ps file to .pdf using&lt;br /&gt;&lt;br /&gt;$ ps2pdf 2008.ps 2008.pdf&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2754032079296043699-6185854659537617005?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/6185854659537617005/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=6185854659537617005&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/6185854659537617005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/6185854659537617005'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2008/07/command-line-utility-to-print-calendar.html' title='Command line utility to print a Calendar'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-1445897651629445660</id><published>2008-07-19T19:48:00.002+05:30</published><updated>2008-07-19T19:59:44.920+05:30</updated><title type='text'>Command Line Calculator!</title><content type='html'>To do small calculations without starting your calculator utility here is a small trick. Suppose you want to multiply 2 and 3, do this -&lt;br /&gt;&lt;br /&gt;$ echo $[2*3]&lt;br /&gt;&lt;br /&gt;However if you wanted to divide 2 by 3&lt;br /&gt;&lt;br /&gt;$ echo $[2/3]&lt;br /&gt;&lt;br /&gt;would give a '0'.&lt;br /&gt;&lt;br /&gt;We can still make use of the command line to get the correct answer. We have to use 'bc'. Like this -&lt;br /&gt;&lt;br /&gt;$ echo '2 / 3' | bc -l&lt;br /&gt;&lt;br /&gt;Here is the output -&lt;br /&gt;&lt;br /&gt;.66666666666666666666&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2754032079296043699-1445897651629445660?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/1445897651629445660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=1445897651629445660&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/1445897651629445660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/1445897651629445660'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2008/07/command-line-calculator.html' title='Command Line Calculator!'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-926692909802780357</id><published>2008-07-18T19:19:00.003+05:30</published><updated>2008-07-19T21:37:50.418+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux magic_keys'/><title type='text'>Magic Keys (Alt + SysRq)</title><content type='html'>&lt;blockquote&gt;&lt;br /&gt;When your Linux install completely refuses to respond and no amount of coaxing and cajoling brings it back to life you can try -&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Alt + SysRq + k&lt;/li&gt;&lt;/ul&gt;This will kill all running programmes and will drop you back to the login screen.&lt;br /&gt;&lt;br /&gt;Even this fails? The try this -&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Alt + SysRq + r + e + i + s + u + b&lt;/li&gt;&lt;/ul&gt;This is easy to remember with the help of the mnemonic "Raising Elephants Is So Ultra Boring".&lt;br /&gt;&lt;br /&gt;Explanation -&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Alt + SysRq + r = raw keyboard mode&lt;/li&gt;&lt;li&gt;Alt + SysRq + e = ends all programmes&lt;/li&gt;&lt;li&gt;Alt + SysRq + i = kills all programmes that did not terminate nicely&lt;/li&gt;&lt;li&gt;Alt + SysRq + s = syncs the disks&lt;/li&gt;&lt;li&gt;Alt + SysRq + u = remounts all filesystems as read-only&lt;/li&gt;&lt;li&gt;Alt + SysRq + b = reboots&lt;/li&gt;&lt;/ul&gt;But for this to work two things are required&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Your kernel must support magic keys&lt;/li&gt;&lt;li&gt;The following line must be appended to /etc/sysctl.conf&lt;/li&gt;&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;kernel.sysreq=1&lt;/li&gt;&lt;/ul&gt;So when your Linux box simply refuses to respond (yes, even a Linux box does sometimes act up), you can safely tide over the situation if you follow these instructions.&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/2754032079296043699-926692909802780357?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/926692909802780357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=926692909802780357&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/926692909802780357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/926692909802780357'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2008/07/magic-keys-alt-sysrq.html' title='Magic Keys (Alt + SysRq)'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-1296422725388664096</id><published>2008-07-17T12:12:00.000+05:30</published><updated>2008-07-17T12:26:42.395+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Slackware'/><category scheme='http://www.blogger.com/atom/ns#' term='wireless'/><category scheme='http://www.blogger.com/atom/ns#' term='ndiswrapper'/><title type='text'>How I configured Wireless Internet on my Slackware 12.1 installation!</title><content type='html'>I have a Broadcom Wireless card on my Acer Aspire 5100 laptop running Slackware 12.1.&lt;br /&gt;This is how I configured a wireless network -&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Downloaded and installed ndiswrapper from Linuxpackages site.&lt;/li&gt;&lt;li&gt;Copied the card drivers from Windows. The drivers are bcmwl5.inf and bcmwl5.sys.&lt;/li&gt;&lt;li&gt;Then I installed the drivers using ndiswrapper as&lt;br /&gt;$ ndiswrapper -i bcmwl5.inf&lt;/li&gt;&lt;li&gt;To check whether the drivers have been properly installed, issue the following command&lt;br /&gt;$ ndiswrapper -l&lt;br /&gt;the driver should be listed here.&lt;/li&gt;&lt;li&gt;Then we have to make sure that /etc/rc.d/rc.netdevice loads ndiswrapper&lt;/li&gt;&lt;li&gt;Edit /etc/rc.d/rc.inet1 to incorporate the wireless card details like essid, key etc.&lt;/li&gt;&lt;li&gt;unload the following modules - b43 and ssb using the following commands&lt;br /&gt;$ sudo modprobe -r b43 ssb&lt;/li&gt;&lt;li&gt;Load bcm43xx and ndiswrapper&lt;br /&gt;$ sudo modprobe bcm43xx&lt;br /&gt;$ sudo modprobe ndiswrapper&lt;/li&gt;&lt;li&gt;Restart the network as&lt;br /&gt;$ sudo /etc/rc.d/rc.inet1 wlan0_restart&lt;/li&gt;&lt;li&gt;Bring up the wlan0 interface as follows -&lt;br /&gt;$ sudo ifconfig wlan0 up&lt;/li&gt;&lt;/ol&gt;That's it. The wireless internet connection was up and running!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2754032079296043699-1296422725388664096?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/1296422725388664096/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=1296422725388664096&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/1296422725388664096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/1296422725388664096'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2008/07/how-i-configured-wireless-internet-on.html' title='How I configured Wireless Internet on my Slackware 12.1 installation!'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2754032079296043699.post-5421687661842101909</id><published>2008-07-17T11:49:00.001+05:30</published><updated>2008-08-22T18:07:09.588+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ffmpeg'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='audio_formats'/><title type='text'>Using ffmepg to convert a '.rm' file to '.mp3' format</title><content type='html'>&lt;blockquote  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;Ffmpeg is a nifty command line utility. Among the various things it can do, converting a '.rm' file to '.mp3' format is one. I was looking for a utility to convert a beautiful Telugu song in .rm format to .mp3 format. Ffmpeg came to my rescue.&lt;br /&gt;&lt;br /&gt;I keyed in the following in a terminal and I was through in a jiffy -&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;span style="font-size:100%;"&gt;$ ffmpeg -i filename.rm filename.mp3&lt;/span&gt;&lt;/ul&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2754032079296043699-5421687661842101909?l=mylinux-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mylinux-tips.blogspot.com/feeds/5421687661842101909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2754032079296043699&amp;postID=5421687661842101909&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/5421687661842101909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2754032079296043699/posts/default/5421687661842101909'/><link rel='alternate' type='text/html' href='http://mylinux-tips.blogspot.com/2008/07/using-ffmepg-to-convert-rm-file-to-mp3.html' title='Using ffmepg to convert a &apos;.rm&apos; file to &apos;.mp3&apos; format'/><author><name>आदित्य प्रताप वन्देमातरम</name><uri>http://www.blogger.com/profile/11899477609008379796</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://4.bp.blogspot.com/_Dw7wWJ69ReE/Se1JcV6Hq-I/AAAAAAAAAew/iad5phR2kgQ/S220/Aditya.jpg'/></author><thr:total>0</thr:total></entry></feed>
