[HowTo] Save all flash video files being played in Chrome/Chromium to Home directory

After watching a video on youtube in chrome, I felt like saving it. I couldn’t find the flv in ~/.cache or in /tmp. So I dug around and found this link: http://superuser.com/questions/235535/in-google-chrome-on-linux-where-is-the-flv-if-not-in-tmp. The solution by omab worked for me. So I wrote this one line command which would save all the currently playing files in Chrome… Continue reading [HowTo] Save all flash video files being played in Chrome/Chromium to Home directory

[HowTo] Remove admin bar from wordpress 3.1

The new admin bar in wordpress 3.1 is one good feature to have but sometimes its unwanted. For example you might already have some other kind of top bar with which admin bar may interfere. You can remove the admin bar by putting the following code in /wp-content/YOURTHEME/functions.php: if(function_exists(‘show_admin_bar’)){ show_admin_bar(false); }

[HowTo] Use locate command and updatedb to search all partitions

Updatedb command by default does not include /media path for updating its database. You can change the settings in /etc/updatedb.conf so that it starts indexing other partitions too. sudo gedit /etc/updatedb.conf In the PRUNEPATHS setting, remove /media. Save the file and run sudo updatedb This will index all your files from /media folder. Make sure the partitions… Continue reading [HowTo] Use locate command and updatedb to search all partitions

[HowTo] Suspend Ubuntu from terminal or keyboard shortcuts

When learning to make bash scripts, at one point or other you’d like to know how to suspend your computer from terminal. Well, there are quite some methods available for Ubuntu. You can choose whatever suits your needs. I prefer method 3 (look below). Method 1: sudo sh /etc/acpi/sleep.sh force Method 2: sudo pm-suspend This… Continue reading [HowTo] Suspend Ubuntu from terminal or keyboard shortcuts

[Solved] Mp3 not playing on Amarok

After upgrading to Maverick, somehow Amarok stopped playing Mp3. Same thing happened when I upgraded to Lucid from Karmic. To fix it, install libxine1-all-plugins: sudo apt-get install libxine1-all-plugins That fixed it for me! Cheers!

[HowTo] Open thumbs.db and extract thumbnails from it

Thumbs.db is a file used to store thumbnail data of a folder in Windows. It makes loading of thumbnails significantly faster, however it has some privacy issues. Like if you delete an image, its thumbnail might still be there in thumbs.db file which would allow you to view it. There’s an open source python script… Continue reading [HowTo] Open thumbs.db and extract thumbnails from it

[SOLVED] Unable to find the Jasper image conversion program in Kopete

Kopete supports yahoo webcam and it works seamlessly. Although it doesn’t work right away after installing kopete. If you try to access anyone’s webcam you’ll get the following error. Unable to find the Jasper image conversion program. Jasper is required to render Yahoo webcam images. Please see http://wiki.kde.org/tiki-index.php?page=Kopete%20Webcam%20Support for further information. You can fix it… Continue reading [SOLVED] Unable to find the Jasper image conversion program in Kopete

[SOLVED] ‘Unknown’ filesystem in gparted

I had a primary NTFS partition with windows 7 installed on it. Somehow, its bootloader went corrupt so I used install-mbr in ubuntu to fix that but it only made the problem worse. Now my system didn’t recognise the partition as NTFS partition and I couldn’t access the partition. I modified the partition ID using… Continue reading [SOLVED] ‘Unknown’ filesystem in gparted