Other GNU tips

Many commercial DVDs are encrypted, in order to disable making copies, even for backup etc. This is unacceptable. To copy encrypted DVDs in GNU:

  1. Install libdvdcss
    # wget —output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list
    # apt-get —quiet update
    # apt-get —yes —quiet —allow-unauthenticated install medibuntu-keyring
    # apt-get —quiet update # apt-get —yes install app-install-data-medibuntu apport-hooks-medibuntu
    # aptitude install libdvdcss2 w64codecs
  2. Briefly start playback of the DVD with mplayer, it'll open the DVD with the libdvdcss keys etc.:
    $ mplayer dvd://
    Exit the playback, after it starts.
  3. Now you can backup the DVD with dd to an ISO-file:
    $ dd if=/dev/sr0 of=dvd-backup-image.iso

.