Posts tagged ‘KDE’

How to watch encrypted DVDs in Ubuntu?

This is one of the questions people often ask me when they are trying Ubuntu for the first time. For in Ubuntu, unlike in Linux Mint (one reasons why I recommend Linux Mint for those who new to GNU/Linux), watching encrypted DVDs doesn’t work right out of the box. This is because this feature is a part of the package repository Medibuntu (Multimedia, Entertainment & Distractions In Ubuntu) that isn’t included into the Ubuntu distribution for legal reasons (copyright, license, patent, etc).

I’m just going into show you how to install the package that let you play encrypted DVDs and not how to add the Medibuntu repository (but if you want to you cant read about how to do that here: Medibuntu.

The GUI Way

  1. Open Synaptic (System >Administration > Synaptic Package Manager ) or Ubuntu Software Centre if you’re using Ubuntu 10.04 (Applications -> Ubuntu Software Centre)
  2. Search for ubuntu-restricted-extras (Ubuntu users), kubuntu-restricted-extras (Kubuntu users) or xubuntu-restricted-extras (Xubuntu users) and install this package
  3. Then search for the package named libdvdcss2 and install it
  4. You should now be able to watch encrypted DVDs on your system :) If you didn’t find libdvdcss2 try the Terminal Way’s step

The Terminal Way:

  1. Open the Terminal:
    Ubuntu: Applications > Accessories > Terminal
    Kubuntu: KMenu > System > Terminal Program (Konsole)
    Xubuntu: Applications menu -> System -> Terminal
  2. Install Ubuntu Restricted Extras with this command:
    Ubuntu: sudo apt-get install ubuntu-restricted-extras
    Kubuntu: sudo apt-get install kubuntu-restricted-extras
    Xubuntu: sudo apt-get install xubuntu-restricted-extras
  3. Then install try to install libdvdcss2 with the command sudo apt-get install libdvdcss2 if it didn’t work try the command below that’s matching your system (if you don’t know which one, try the one for i386).
    i386:

    1. wget -c http://packages.medibuntu.org/pool/free/libd/libdvdcss/libdvdcss2_1.2.9-2medibuntu4_i386.deb
    2. sudo dpkg -i libdvdcss2_1.2.9-2medibuntu4_i386.deb

    amd64:

    1. wget -c http://packages.medibuntu.org/pool/free/libd/libdvdcss/libdvdcss2_1.2.9-2medibuntu4_amd64.deb
    2. sudo dpkg -i libdvdcss2_1.2.9-2medibuntu4_amd64.deb

    PowerPC:

    1. wget -c http://packages.medibuntu.org/pool/free/libd/libdvdcss/libdvdcss2_1.2.9-2medibuntu2_powerpc.deb
    2. sudo dpkg -i libdvdcss2_1.2.9-2medibuntu2_powerpc.deb
  4. And there! You should now be able to watch encrypted DVDs!

And in case someone is wondering: I recommend using VLC for watching DVDs in Ubuntu (you can find it in Synaptic and Ubuntu Software Centre or you can just install it by using this command: sudo apt-get install vlc).

Advertisements

16/06/2010 at 21:24 4 comments

How to re-enable Ctrl+Alt+BackSpace in Ubuntu

In my last post I wrote about what to do when when Linux hangs or completely freezes. In the same post I mentioned that the key command [Ctrl]+[Alt]+[BackSpace] was switched to [Alt]+[PrtSc]+[K] in Ubuntu. This is was done because of the fact that DontZap is no longer an option in the X server and has become an option in XKB instead. This guide is meant for old Ubuntu users and those that have migrated to Ubuntu from other Linux distros.

Before we begin you should note that all these methods will re-enable the [Ctrl]+[Alt]+[BackSpace] key command, but not disable the new [Alt]+[PrtSc]+[K].

These methods should work for Ubuntu 9.10 and 10.04 (and hopefully for the future versions of Ubuntu).

The Easy GUI Way

GNOME

  1. First go to: System > Preferences >Keyboard menu
  2. Then select the Layouts tab and click on the Layout Options button
  3. Then find and select Key sequence to kill the X server and then select Control + Alt + Backspace
  4. And yey! You can now use [Ctrl]+[Alt]+[BackSpace] to kill the X server!

KDE

  1. Open System Settings
  2. Select  Regional & Language
  3. Then select Keyboard Layout
  4. Click on Enable keyboard layouts (in the Layout tab).
  5. Select the Advanced tab
  6. Then find and select Key sequence to kill the X server and then select Control + Alt + Backspace
  7. And now you too should be able to kill the X server with [Ctrl]+[Alt]+[BackSpace] :D

The Terminal Way

Requires installation of a program

  1. Install the “dontzap” package:
    sudo apt-get install dontzap
  2. Type to enable [Ctrl]+[Alt]+[BackSpace]:
    sudo dontzap --disable
  3. And type this if you find out that you want to disable it later:
    sudo dontzap --enable

Does not require an installation (but it is kind of scary)

  1. Open the terminal and type:
    sudo gksudo gedit /etc/X11/xorg.conf
  2. Then add these lines to your xorg.conf file, and then save.
    Section "ServerFlags"
    Option "DontZap" "false"
    EndSection
  3. Then log out (and then in again) from your account (or restart) to enable the changes

Do you know other methods to re-enable [Ctrl]+[Alt]+[BackSpace]? Please tell in a comment ^^

09/06/2010 at 19:37 Leave a comment


Licensed Under:

Creative Commons LicenseExcept where otherwise noted, content on this site is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.

Tux and GNU are published under the GNU General Public License.

Subscribe

Categories


%d bloggers like this: