Download youtube videos via command line

I know there are plenty of plugins, application out there which allows us to download youtubue videos.

One of the best ways to download youtube videos on Ubuntu is play any video on youtube or vimeo and navigate to  folder /tmp. you’ll find your download file, sitting right there. Can’t get any simpler than this right?

However those who love command line, would definitely love this. There is some kind of feeling when you do your tasks via command line :)

youtube-dl is a  command line utility, which  downloads youtube videos without any online applications, converters or etc.

Installation:

Ubuntu : sudo apt-get install youtube-dl

Windows : guide to install youtube-dl under Windows XP.

Usuage:

If you want to download some youtube video, for example this http://www.youtube.com/watch?v=pjDjPCCgxvE

Just enter this command


The downloaded video will be in your home folder. Check out the below screenshot!



Turpial – Awesome Lightweight native Linux twitter client

Turpial is no doubt one of the best native linux twitter client out there. Though i’m a huge fan of adobe Air Based Tweetdeck, this thing looks promising. Turpial until now was availble only in Spanish, thanks to developers now its available in English via PPA.

Turpial has both single window mode, as well as Tweetdeck like wide mode.

Single Window mode

Wide Mode:

It supports every feature any decent twitter app provides like Url shortening and image upload with dozen services.

Installation:

  • sudo add-apt-repository ppa:effie-jayx/turpial-devel
  • sudo apt-get update
  • sudo apt-get install turpial

This client is still under development, and you’ll surely have lot of crashes. But once the final release comes its a very promising twitter client.

Essential Softwares for Ubuntu!

No doubt ubuntu is one of the finest linux breeds. It gives best of both worlds. When you install ubuntu it is preloaded with lot of apps. However there are lot of apps that are not there and which are essential. So i decided why not blog about best apps that you can install and use on ubuntu. Here is my list.

1. Elementary Theme

First and fore most thing i do whenever i install ubuntu is install elementary theme. It comes with a PPA, so you can just add it and install the required software. This PPA not only contains elementary desktop, but also applications like docky, banashee etc.. that we’ll follow up as we setup.

Installation:

sudo add-apt-repository ppa:elementaryart/elementarydesktop

sudo apt-get update

sudo apt-get install elementary-theme

sudo apt-get install elementary-icon-theme

This will install all the necessary themes and icons. You can navigate to System -> Appearance -> and click on elementary theme.

2. Ubuntu restricted extras

Ubuntu doesn’t come with mp3 playback, avi video playback, flash, java etc. But don worry you can get all those in ubuntu     restricted extras. Installing this package will pull in support for MP3 playback and decoding, support for various other audio formats (GStreamer plugins), Microsoft fonts, Java runtime environment, Flash plugin, LAME (to create compressed audio files), and DVD playback.

Install Now

3. Docky – Elegant, powerful, clean dock

A full fledged dock application that makes opening common applications and managing windows easier and quicker. Docky is fully integrated into the GNOME Desktop and features a no non-sense approach to configuration and usage. It just works. Docky provides an application launcher, running application management, and various “docklets” including a CPU monitor, weather report and clock. Applications can integrate with Docky to add extra items to their context menus or modify their icons to display more information. This package includes integration helpers for a number of applications, including Banshee, Rhythmbox, Deluge, Tomboy and Zeitgeist.

Install Now

4. VLC media player

VLC is the VideoLAN project’s media player. No doubt you would have heard about vlc. its versatile video player for ubuntu. It plays MPEG, MPEG2, MPEG4, DivX, MOV, WMV, QuickTime, mp3, Ogg/Vorbis files, DVDs, VCDs, and multimedia streams from various network sources.

Install Now

5. GVim Text Editor

Vi IMproved – enhanced vi editor – with GNOME2 GUI

Install Now

6. Gloobus Preview

Gloobus-preview is an extension of Gnome designed to enable a full screen preview of any kind of file. Install and just click on any file you want to preview, press space key and see the magic.

Installation : sudo apt-get install gloobus-preview

7. Banshee Music Player

Banshee is a media management and playback application for the GNOME desktop, allowing users to import audio from CDs.search their library, create playlists of selections of their library, sync music to/from iPods and other media devices, play and manage video files and burn selections to a CD.

Install Now

8. Ubuntu Tweak

Ubuntu Tweak is an application to config Ubuntu easier for everyone. It provides many useful desktop and system options that the default desktop environment doesn’t provide.

Installation – download deb from here

9.Cheese

Cheese is a cheesy program to take pictures and videos from your web cam. It also provides some graphical effects in order to please the user’s play instinct.

Install Now

10. Gnome Do

Allows you to quickly search for many items present in your GNOME desktop environment (applications, Evolution contacts, Firefox bookmarks, files, artists and albums in Rhythmbox, Pidgin buddies, etc.) and perform commonly used actions on those items (Run, Open, Email, Chat, Play, etc.).

Install Now

11. Transmission

Transmission-gtk is a GTK-based BitTorrent client. It features a very simple, intuitive interface on top on an efficient, cross-platform back-end.

12. TweetDeck

Adobe Air based Twitter and Facebook Client.

Installation :

1. Download AIR from http://get.adobe.com/air/

2. Change file permission by chmod a+x file

3. Install by ./file

4. Download tweetdeck from http://www.tweetdeck.com/

13. Readefine

Readefine beautifies RSS, Google Reader articles, plain text and HTML for easy reading. Read content in a book like multi-column layout and tweak settings like justification, column width, etc. for that perfect look. It is abobe air based.

Installation – Download from here

14. Google Chrome Browser

The best and faster browser for Ubuntu. Supports themes, bookmark sync, extenstions.

Download it from http://www.google.com/chrome

15. Dropbox

Dropbox is the easiest way to store, sync, and, share files online.

Download the deb file from here https://www.dropbox.com/downloading?os=lnx

16. Artha

Artha is a free GPLed English dictionary and thesaurus for Ubuntu based on WordNet. What is unique about Artha is that it completely works off-line unlike the preloaded one.

Download it from http://sourceforge.net/projects/artha/ or install via Ubuntu Software centre.

I know there might be some apps that i would have missed. Please feel to free comment.

Make TweetDeck(Adobe Air) to use default Browser in Ubuntu

I use TweetDeck extensively. When my default browser was Firebox, i had  no problem opening links in firefox however when i changed my default browser to Google Chrome still the links in Tweetdeck were opening in Firefox. I thought thats strange, after googling for some time, i found this solution.

I think the problem is that AIR doesn’t ask the gnome for correct default browser. The solution to this is to set the deprecated variable manually, before you launch TweetDeck or any other AIR Application.

The following little script that does just that.

export GNOME_DESKTOP_SESSION_ID=Default

Start the Tweetdeck and open any link, voila you’ll see links opening in the default browser!

Thanks to Roy Tanck

Docky in 3D background mode – Awesome!

One more reason to love it more! The latest version of Docky has 3D background mode and its awesome :D

Installation:

sudo add-apt-repository ppa:docky-core/ppa
sudo apt-get update
sudo apt-get install docky

Enabling ThreeDimensional (3D) Docky mode:

Simply paste this in a terminal:

gconftool-2 -t bool -s /apps/docky-2/Docky/Interface/DockPreferences
/Dock1/ThreeDimensional true

Then close Docky (if opened) and run it again. If you have more than one Docky, replace “Dock1″ in the command above with the dock you want to enable 3D mode for.

Elementary Theme and Docky!

Well i was addicted to Mac OSX theme and AWN on my ubuntu for a while. You can check my post about the theme here. It was really nice, though i got bored of it. Was definitely looking for a change, but didn’t any.

Elementary Theme :

One day was reading a blog n came across this elementary theme. After i installed it, started like it. Its a dead simple theme. Nice icons.. Overall has a same feeling like osx theme but different in its own way. Good thing is its got a PPA! yeah PPA, so you won’t miss on any updates..

Installation :

You can find this PPA here

https://launchpad.net/~elementaryart/+archive/elementarydesktop

or using the terminal:

sudo add-apt-repository ppa:elementaryart/elementarydesktop

and install using:

sudo apt-get install elementary-desktop

and then running: -

/usr/share/elementary-desktop/configure.sh

Docky :

I’m a great fan of AWN. Been using it for a while, though suddenly i decided to try Docky. Because lots of people were liking it. So i thought lets give it a try and installed it.

Initially i didn’t like that much, but soon started liking it. One of the nice feature is grouping feature. If you have more than one nautilus windows open, it will be inside one icon and you right click on it to select the right window. In AWN it was like three icons for three windows. Other features include gmail notifier – very handy and nice.

Installation :

sudo add-apt-repository ppa:docky-core/ppa
sudo apt-get update
sudo apt-get install docky

Note: Docky is now a standalone application and, from some point soon, no longer be part of GNOME Do.

You should definitely try this, Worth a try :D

Ubuntu 9.10 Alpha 3 Released

Ubuntu Karmic alpha 3 is here. Some of the new features

1. New development version of the GNOME desktop environment, 2.27.4

2. Linux kernel 2.6.31

3. Sad news for me :( Pidgin is replaceed with the Empathy instant messenger client.

4. Ubuntu One is now part of the Ubuntu operating system!

5. The already popular Notify-OSD notification system introduced in Ubuntu 9.04 (Jaunty Jackalope) has been revamped. It  is now a little longer, narrower and has smaller fonts… which makes it slicker than before!

6. The biggest change for me. The Intel video driver has switched from the “EXA” acceleration method to the new “UXA”. This solves major performance problems of Ubuntu 9.04, but could use further testing to flag any regressions it may bring.

7. ext4 by default

8. Grub 2 by default

[Via ubuntu ]

Install Firefox 3.5 in Ubuntu 9.04 using Ubuntuzilla

spaceball

spaceballfirefox_35_logo

Finally there is a better way to update Firefox to 3.5 on Ubuntu. The jaunty repository has the packages for firefox 3.5 however  the package is branded Shiretoko instead of Firefox 3.5, including the user agent string which can cause compatibly problems with some websites. Don’t know the reason why it has like that. Might be ubuntu is still testing the firefox for security and doing optimizaitons for ubuntu. Until they do it, we have to wait for automatic update of firefox through ubuntu repo.

However  there is a better way to update Firefox to 3.5 on Ubuntu! Recently i came across this blog. It shows how to update firefox though Ubuntuzilla, a script that can install and update Mozilla applications outside of Ubuntu’s repository system.

Here is how to do it

  1. Visit the Ubuntuzilla download page to find the latest deb package appropriate for your system (32 or 64-bit). Download and install the package.
  2. At this point you should completely close Firefox.
  3. You’ll need to use a terminal to let Ubuntuzilla guide you through the installation. Run this command to start:
    ubuntuzilla.py -a install -p firefox
  4. Ubuntuzilla will ask a few questions: confirming that it has found the correct version to install, choosing a localization (14 for en-US), confirming the localization, a sudo prompt, and a prompt for enabling automatic updating.

  5. Near the end of the process you should see The new Firefox version 3.5 has been installed successfull

Now the normal firefox icon in the menu can be used to start the Firefox.

[Via Tombuntu]

Solution:Freezing problems with Intel Graphics driver on Ubuntu Jaunty

I was really excited when i installed Jaunty two months back! It was really happening destro with soo many updates.  I installed it and started playing around with it and suddenly to my surprise system just hung. The cursor moves but the nothing responds, only way to get around the problem was hard reboot. Even ctrl+alt+F2 didn’t work. It never happened with me before on ubuntu. I thought this should be some minor issue but it kept happening within some intervals. :(

So got irritated i started searching and then i came to know that it was a big bug in jaunty with intel drivers. You can read about the issue here and bug filed here They blacklisted the intel driver so that visual effects couldn’t be turned on, since it causes freezing issues. However I had found a hack to remove the intel driver from blacklist and turn on the visual effects. This was causing the freezing problem. The only option was to turn off the visual effects which i can’t do since i use the AWN and it doesn’t run unless visual effects are turned on.

There was no solution, no one knew properly what was the problem. As the time went by, i upgraded to Karmic Koala. The freezing problem suddenly stopped but since it was alpha release it was very unstable, so i had to revert back to Jaunty. Then to my relief there came an update in bug page that fix for Xorg-intel drivers has been released. I installed it even it didn’t seem to solve the problem but for most it worked out. No idea why, it didnt work out for me :( Then i saw a post about reverting to previous intel driver on ubuntu help. I tried it and now no freezing problems.

The solution : Reverting the Jaunty Xorg intel driver to 2.4

Installing the package

Add the following lines to your /etc/apt/sources.list:

 deb http://ppa.launchpad.net/siretart/ppa/ubuntu jaunty main
 deb-src http://ppa.launchpad.net/siretart/ppa/ubuntu jaunty main

Import the appropriate GPG key:

 sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xce90d8983e731f79

Install the driver:

 $ sudo apt-get update
 $ sudo apt-get install xserver-xorg-video-intel-2.4

According to the dev at ubuntu this problem should not be there in Karmic Koala

More about the Issue :

Reverting the Jaunty Xorg intel driver to 2.4

X freezes starting on April 3rd


			

Transform Ubuntu into OS X

This post is aggregate of all my research i have done to make ubuntu or gnome look like a OSX. Why OSX you might ask, well no doubt it is the best when it comes to style. Im a big fan of apple user interfaces though they lack a bit in functionality and obviously they are very expensive unless you have lot of money :)

Ubuntu’s Gnome GUI is extremely customizable.  With themes, icons, cursors, etc., you can have that OS X Leopard look without the OS X price.

Follow these steps :

1. Download :

- Great OS X theme for Gnome is the Mac4Lin project over at SourceForge.net. Its like OSX transformation pack. Just head over to the site and download the latest package. Extract the Mac4Lin in your home directory.

- Download the tarball archive containing the cursors, login screen, icons, splash screen  here. The tutorial assumes you have downloaded the archive to your home folder. To unpack the archive use the following in a terminal:

The tarball contains 10 different files:

Cursors_57588-Shere_Khan_X.tar.gz
Fonts.zip
gdm-osx-theme.tar.gz
Icons_LeopardX-V2.6.tar.gz
Mac4Lin_GTK_Aqua_v0.3.tar.gz
OS_X_Splash.png
GDM_Login/gdm-osx-theme.tar.gz
GDM_Login/gdm_osx-login.tar.gz
GDM_Login/Mac4Lin_GDM_v0.4.tar.gz
GDM_Login/UbuntuLeopard_GDM_theme.tar.gz

2. Install OSX Theme
CD to the Mac4Lin directory and issue the command

sh Mac4Lin_Install_v1.0_RC.sh ( the file name should be the one in the directory, since the version keeps changing )

Viola you are done. now you have the OSX theme , login screen and icons. Max4Lin is still in development hence when you apply the theme not all components like fonts, cursors are changed. That is fine, I’ll show you how to do that.

3. Install AWN theme

Awn is the great OSX like dock. Nothing comes better than that in ubuntu. The default theme of awn doesn’t match much with OSX theme. Mac4Lin has the OSX theme for AWN. Open up the Mac4Lin directory and find the folder by name AWN. Here is how to install it

Just open awn and click on dock preferences and click themes. There you can add theme by selecting the awn theme in Mac4Lin directory. Apply it and you are finished.

4. Install the OS X cursors

- Open the Themes Manager or Appearance Preferences
- Click the Install button and point to the Cursors_57588-Shere_Khan_X.tar.gz archive
- Do not Apply the changes
- Open the Mouse manager via System—>Preferences—>Mouse and click the Pointers tab
- Select the Shere_Kahn_X cursors
- Select Close

5. Install the OS X fonts

- Open a terminal and type or copy the following

sudo unzip -d /usr/share/fonts/truetype/ ~/Fonts.zip
sudo fc-cache -f -v

- This will install the fonts to your system.  Apple uses the Lucida Grande font.
- Open the Font menu via System—>Preferences—>Font and make the following changes
Application Font         Lucida Grande                       9 Point
Document Font           Lucida Grande                       9 Point
Desktop Font               Lucida Grande                       9 Point
Window Title Font     Lucida Grande Bold              10 Point
Fixed Width Font       Bitstream Vera Sans Mono  9 Point

- Reboot  the workspace CTRL-ALT-BKSP for the changes to take effect

6. Firefox Theme

Change Firefox skin to a Safari theme here.  I have found that the iFox Metal theme give the best OS X look.

You now have a Gnome desktop that looks very much like OS X Leopard. I hope it helps you. If you like this article please consider a digg, tweet :D

A special thanks to stchman and Anirudh Acharya, Developer – Mac4Lin

Enjoy the screenshots