Entries categorized as ‘HowTo’
This guide describes how to download youtube and metacafe videos via command line in linux
Step 1
Install youtube-dl and metacafe-dl
for ubuntu users:
sudo apt-get install youtube-dl
sudo apt-get install metacafe-dl
Users of other distros can download them directly here and here
Step 2
Choose your video and type the following command followed by the url of the video.Say to download this video http://in.youtube.com/watch?v=LnA0gffqpXE type the command
youtube-dl http://in.youtube.com/watch?v=LnA0gffqpXE
For metacafe the same process applies
Say you want this video http://www.metacafe.com/watch/yt-G3OFr6jJ2Ks/bryan_adams_please_forgive_me_studio_mtv/ type the command
metacafe-dl http://www.metacafe.com/watch/yt-G3OFr6jJ2Ks/bryan_adams_please_forgive_me_studio_mtv/
To cancel donwloading press Ctrl+C anytime
Step 3
Done! and the video is downloaded to your present working directory .
Also you can type the commands with -o option to rename them as they are being downloaded
Say
youtube-dl -o whatever.flv "http://in.youtube.com/watch?v=LnA0gffqpXE"
for more info try metacafe-dl -h and same for youtube-dl
Categories: HowTo · Linux
Tagged: Linux, videos, youtube
Part 1
You may have noticed that after a fresh ubuntu install there are no desktop icons not even the icon for computer and home folder? There is a simple solution to that problem
Open Applications>Acccessories > Terminal
Type in the following gconf-editor
Now,
You’ll get a window that looks like this

Expand the apps menu by by clicking the arrow on it

Now scroll down to a sub menu by the name nautilus and expand it and click on a sub menu by the name desktop

Check the entries as needed
computer_icon_visible Shows the Computer icon (yeah like My Computer in windows
)
home_icon_visible Shows the home icon (Home where your documents & personal files dwell)
network_icon_visible Shows Network icon (similar to network neighbourhood in windows)Part 2
trash_icon_visible Shows Trash icon
Part 2
hiding mounted ntfs drives on desktop
Whenever your ntfs drive is mounted it shows up on desktop which doesn’t look good IMHO
to change that uncheck the entry volumes_visible in the same window in part 1

volumes_visible
Categories: HowTo · Linux · Ubuntu
Tagged: HowTo, Linux, Ubuntu
Mutt is a command line mail client for linux its very good for people who need quick mail access.
Download Mutt from ubuntu repositories
$sudo apt-get install mutt
Or fedora users can do
$sudo yum install mutt
Or download it from here .
Create a file by the name .muttrc (dont miss the dot there its dot muttrc ) in your home directory and copy the following
set imap_user = ‘youremailid@gmail.com’
set imap_pass = ‘your password’
set spoolfile = imaps://imap.gmail.com:993/INBOX
set folder = imaps://imap.gmail.com:993
set record=”imaps://imap.gmail.com/[Gmail]/Sent Mail”
set postponed=”imaps://imap.gmail.com/[Gmail]/Drafts”
set header_cache=”~/.mutt/cache/headers”
set message_cachedir=”~/.mutt/cache/bodies”
set certificate_file=~/.mutt/certificates
Change the first two values matching your mail account. Then you’re done!
Type the command mutt in terminal to check your mail
Categories: HowTo · Linux
Tagged: gmail, HowTo, imap, mutt
Mounting iso files in windows requires you to install Daemon tools,alcohol software etc but things are different and better in linux.Say you have a file called myfile.iso now to mount it on your system all you have to do is make a folder for mounting it say you name it miso.Here are the commands…
**Create a folder called miso **
$mkdir miso
**(assuming both myfile.iso and folder miso are in the same directory) now mount the file called myfile.iso in miso**
$sudo mount -o loop myfile.iso miso
**if miso is in /mnt directory and myfile.iso is in the downloads directory of your home directory**
$sudo mount -o loop ~/Downloads/myfile.iso /mnt/miso
Congrats ! Your iso file is mounted in miso directory
If you don’t have root access that is sudo then you can try this command
$mount -o loop -t iso9660 myfile.iso miso
Enjoy!
Categories: HowTo · Linux · Opensource
Tagged: HowTo, iso files, Linux, tips