Tuesday, 25 June 2013

YouTube to mp3 Linux (Ubuntu, Mint, Debian)

This guide will show you how to easily convert YouTube Videos to MP3 on Ubuntu or Debian.

youtube-dl  is a Linux command-line tool for downloading/converting videos. The tool supports YouTube and many other websites such as BBC.

For Ubuntu systems (or systems that are based on it such as Linux Mint)

sudo apt-get install youtube-dl

For Debian

sudo wget https://yt-dl.org/downloads/2014.03.25.1/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+x /usr/local/bin/youtube-dl
Also, make sure ffmpeg is installed
sudo apt-get install ffmpeg

Before you do anything, update to the latest version of youtube-dl

sudo youtube-dl -U

Once it is installed use the following command to convert YouTube videos to mp3

youtube-dl --extract-audio  --audio-format mp3  <youtube-link>

If you want  an overview of all the different options

youtube-dl --help

Supported sites as of March, 2014

  • 1up.com
  • 220.ro
  • 3sat
  • 4tube
  • 56.com
  • 5min
  • 8tracks
  • 9gag
  • AcademicEarth:Course
  • AddAnime
  • Aftonbladet
  • anitube.se
  • Aparat
  • AppleTrailers
  • archive.org: archive.org videos
  • ARD
  • arte.tv
  • arte.tv:+7
  • arte.tv:concert
  • arte.tv:creative
  • arte.tv:ddc
  • arte.tv:embed
  • arte.tv:future
  • AUEngine
  • bambuser
  • bambuser:channel
  • Bandcamp
  • Bandcamp:album
  • bbc.co.uk: BBC iPlayer
  • blinkx
  • blip.tv:user
  • BlipTV
  • Bloomberg
  • BR: Bayerischer Rundfunk Mediathek
  • Break
  • Brightcove
  • BYUtv
  • Canal13cl
  • canalc2.tv
  • canalplus.fr
  • CBS
  • CeskaTelevize
  • channel9: Channel 9
  • Chilloutzone
  • Cinemassacre
  • clipfish
  • cliphunter
  • Clipsyndicate
  • cmt.com
  • CNN
  • CNNBlogs
  • CollegeHumor
  • ComedyCentral
  • ComedyCentralShows: The Daily Show / The Colbert Report
  • CondeNast: Condé Nast media group: GQ, Glamour, Vanity Fair, Vogue, W Magazine, WIRED
  • Criterion
  • Crunchyroll
  • CSpan: C-SPAN
  • culturebox.francetvinfo.fr
  • d8.tv
  • dailymotion
  • dailymotion:playlist
  • dailymotion:user
  • daum.net
  • defense.gouv.fr
  • Discovery
  • Dotsub
  • Dropbox
  • EbaumsWorld
  • eHow
  • eitb.tv
  • ElPais: El País
  • Engadget
  • Escapist
  • EveryonesMixtape
  • exfm: ex.fm
  • ExtremeTube
  • facebook
  • faz.net
  • fernsehkritik.tv
  • fernsehkritik.tv:postecke
  • Firstpost.com
  • firsttv: Видеоархив - Первый канал
  • Flickr
  • france2.fr:generation-quoi
  • FranceInter
  • francetv: France 2, 3, 4, 5 and Ô
  • francetvinfo.fr
  • Freesound
  • freespeech.org
  • FunnyOrDie
  • Gamekings
  • GameSpot
  • Gametrailers
  • GDCVault
  • generic: Generic downloader that works on some sites
  • Hark
  • Helsinki: helsinki.fi
  • HotNewHipHop
  • Howcast
  • HuffPost: Huffington Post
  • Hypem
  • ign.com
  • imdb: Internet Movie Database trailers
  • imdb:list: Internet Movie Database lists
  • Ina
  • InfoQ
  • Instagram
  • instagram:user: Instagram user profile
  • InternetVideoArchive
  • IPrima
  • ivi: ivi.ru
  • ivi:compilation: ivi.ru compilations
  • JadoreCettePub
  • JeuxVideo
  • jpopsuki.tv
  • Jukebox
  • justin.tv
  • Kankan
  • keek
  • KeezMovies
  • KhanAcademy
  • KickStarter
  • kontrtube: KontrTube.ru - Труба зовёт
  • la7.tv
  • lifenews: LIFE | NEWS
  • LiveLeak
  • livestream
  • livestream:original
  • lynda: lynda.com videos
  • lynda:course: lynda.com online courses
  • m6
  • macgamestore: MacGameStore trailers
  • mailru: Видео@Mail.Ru
  • Malemotion
  • MDR
  • metacafe
  • Metacritic
  • mixcloud
  • Mofosex
  • mooshare: Mooshare.biz
  • MPORA
  • MTV
  • mtviggy.com
  • muzu.tv
  • MySpace
  • MySpass
  • myvideo
  • Naver
  • NBA
  • NBC
  • NBCNews
  • ndr: NDR.de - Mediathek
  • NDTV
  • Newgrounds
  • nfb: National Film Board of Canada
  • nhl.com
  • nhl.com:videocenter: NHL videocenter category
  • niconico: ニコニコ動画
  • Normalboots
  • novamov: NovaMov
  • Nowness
  • nowvideo: NowVideo
  • ocw.mit.edu
  • on.aol.com
  • Ooyala
  • ORF
  • parliamentlive.tv: UK parliament videos
  • PBS
  • Photobucket
  • Playvid
  • plus.google: Google Plus
  • pluzz.francetv.fr
  • podomatic
  • PornHd
  • PornHub
  • Pornotube
  • prosiebensat1: ProSiebenSat.1 Digital
  • Pyvideo
  • radiofrance
  • RBMARadio
  • RedTube
  • RingTV
  • RottenTomatoes
  • Roxwel
  • RTLnow
  • RTS: RTS.ch
  • rutube: Rutube videos
  • rutube:channel: Rutube channels
  • rutube:movie: Rutube movies
  • rutube:person: Rutube person videos
  • RUTV: RUTV.RU
  • savefrom.net
  • screen.yahoo:search: Yahoo screen search
  • ServingSys
  • Sina
  • Slashdot
  • Slideshare
  • smotri: Smotri.com
  • smotri:broadcast: Smotri.com broadcasts
  • smotri:community: Smotri.com community videos
  • smotri:user: Smotri.com user videos
  • Sohu
  • soundcloud
  • soundcloud:set
  • soundcloud:user
  • southpark.de
  • southparkstudios.com
  • Space
  • Spankwire
  • Spiegel
  • Spike
  • stanfordoc: Stanford Open ClassRoom
  • Statigram
  • Steam
  • streamcloud.eu
  • StreamCZ
  • Syfy
  • SztvHu
  • Teamcoco
  • TechTalks
  • techtv.mit.edu
  • TED
  • TF1
  • ThePlatform
  • ThisAV
  • tinypic: tinypic.com videos
  • tou.tv
  • Toypics: Toypics user profile
  • ToypicsUser: Toypics user profile
  • TrailerAddict (Currently broken)
  • Trilulilu
  • TruTube
  • Tube8
  • Tudou
  • Tumblr
  • Tutv
  • tvigle: Интернет-телевидение Tvigle.ru
  • tvp.pl
  • udemy
  • udemy:course
  • Unistra
  • ustream
  • ustream:channel
  • Vbox7
  • VeeHD
  • Veoh
  • Vesti: Вести.Ru
  • Vevo
  • Vice
  • Viddler
  • video.google:search: Google Video search
  • video.mit.edu
  • VideoBam
  • VideoDetective
  • videofy.me
  • videolectures.net
  • VideoPremium
  • viki
  • vimeo
  • vimeo:album
  • vimeo:channel
  • vimeo:group
  • vimeo:review: Review pages on vimeo
  • vimeo:user
  • Vine
  • vk.com
  • vube: Vube.com
  • WashingtonPost
  • wat.tv
  • WDR
  • Weibo
  • Wimp
  • Wistia
  • WorldStarHipHop
  • XBef
  • XHamster
  • XNXX
  • XTube
  • XTubeUser: XTube user profile
  • XVideos
  • Yahoo: Yahoo screen
  • yahoo:news: Yahoo screen
  • YouJizz
  • Youku
  • YouPorn
  • youtube: YouTube.com
  • youtube:channel: YouTube.com channels
  • youtube:favorites: YouTube.com favourite videos, "ytfav" keyword (requires authentication)
  • youtube:history: Youtube watch history, "ythistory" keyword (requires authentication)
  • youtube:playlist: YouTube.com playlists
  • youtube:recommended: YouTube.com recommended videos, "ytrec" keyword (requires authentication)
  • youtube:search: YouTube.com searches
  • youtube:search:date: YouTube.com searches, newest videos first
  • youtube:search_url: YouTube.com search URLs
  • youtube:show: YouTube.com (multi-season) shows
  • youtube:subscriptions: YouTube.com subscriptions feed, "ytsubs" keyword(requires authentication)
  • youtube:toplist: YouTube.com top lists, "yttoplist:{channel}:{list title}" (Example: "yttoplist:music:Top Tracks")
  • youtube:user: YouTube.com user videos (URL or "ytuser" keyword)
  • youtube:watch_later: Youtube watch later list, "ytwatchlater" keyword (requires authentication)
  • ZDF


Wednesday, 15 May 2013

How to turn off animations in Linux Mint (Mate)



UPDATE: Check bottom of page.
If you find them as annoying as me, follow the steps:

ALT + F2
mateconf-editor

Go to desktop - mate - interface

Look for enable_animations and uncheck.

Done.

Update Jan 2014

Mateconf-editor has been replaced.
sudo apt-get install dconf-tools


dconf-tools

Update July 2015

Open terminal
sudo dconf-editor

Org/mate/desktop/interface and uncheck enable_animations.

and

org/mate/marco/general and check reduced_resources.

Monday, 29 April 2013

Friday, 12 April 2013

TrueCrypt is already running - Ubuntu 12.1

Hi!

Encountered the following problem today: When I wanted to open truecrypt I got the following error message: "truecrypt is already running".

Solution

Most likely you did not  close the application "cleanly" the last time you were using it. Now there is a lock file in you home directory.

Ok, open your home directory. Press CTRL + H (this will show the hidden files).

Now, there should be a file called TrueCrypt-lock-USERNAME.-DELETE IT.

Everything should be fine again.

Saturday, 16 February 2013

Deep Web Link List (.onion)

Please find a collection of .onion links below. You need to install Tor Browser from http://torproject.org/ to be able to access the links.



Quick tutorial on how to host and run your own Linux server: i.e. hidden service.

First download whonix workstation + gateway.

on the whonix gateway

sudo nano /etc/tor/torrc
make sure to have the following 2 lines in the file
HiddenServiceDir /var/lib/tor/hidden_service/
HiddenServicePort 80 192.168.0.11:80

restart tor
sudo service tor reload

get your hidden .onion url
sudo nano /var/lib/tor/hidden_service/hostname
now on the workstation. lighttpd is an open-source web server. 

sudo apt-get update
sudo apt-get install lighttpd

Done.

Thursday, 17 January 2013

Compilation problem R in Ubuntu

error: --with-readline=yes (default) and headers/libs are not available


sudo apt-get install r-base-dev
sudo apt-get install xorg-dev

error: No F77 compiler found

You need the package gfortan in Ubuntu:

sudo apt-get install gfortran

For Fedora:

sudo yum install gcc

How to download a portion of Youtube Video with youtube-dl

First make you have both youtube-dl and ffmpeg installed: sudo apt install youtube-dl ffmpeg Then download a portion of your desired...