How To Install And Test Mir On Ubuntu 13.10 Saucy Salamander

As you may have noticed I have written a series of articles on Mir and XMir in the last days. To sum up, this are the main ideas, for now:

Canonical switches to Mir and automatically replaces the X.org server with XMir, an X server running on Mir, on Ubuntu 13.10 Saucy Salamaner. Because there are some graphics driver developers that did not agree to include Mir support for their products, an X.org server fallback version will be available for Ubuntu Saucy, in order to get some graphical cards to work. But Kubuntu and Lubuntu did not agree to switch to XMir, as the default display server.

To make a better impression, a demonstration video of the XMir on Mir magic has been created by Jono Bacon and it’s available here.

How To Install And Test Mir On Ubuntu 13.10 Saucy Salamander

In this article I will show you how to install and test Mir, on Ubuntu 13.10 Saucy Salamander.

To be able to test Mir, you need to have Ubuntu 13.10 Saucy Salamander installed on your system, or at least on a virtual machine. There are two ways for getting Ubuntu 13.10 Saucy Salamander, which is still under development:

How to get Ubuntu 13.10 Saucy Salamander #1. Update your version of Ubuntu 13.04 to Ubuntu 13.10, via the commandline interface. This is not advisable on personal computers, do it only in a virtual environment because it may break your system:

$ sudo do-release-upgrade -d
$ sudo apt-get update
$ sudo apt-get dist-upgrade

How to get Ubuntu 13.10 Saucy Salamander #2. Download a daily buid image of Ubuntu 13.10 Saucy Salamander, from here and install it on a virtual environment or on your personal computer, at your own risk. It is highly unstable.

Now that you have Ubuntu 13.10 Saucy Salamander, login and open a terminal. Remove the Nvidia or AMD drivers, because they are not supported by Mir (or at least, not yet):

$ sudo apt-get remove --purge nvidia*
OR:
$ sudo apt-get remove --purge fglrx*

Now reboot and follow the next steps.

Add the MIR ppa and update the system:

$ sudo add-apt-repository ppa:mir-team/system-compositor-testing
$ sudo apt-get update

To fix the dependency issues for Mir, create the /etc/apt-preferences.d/50-pin-mir.pref file:

$ sudo touch /etc/apt/preferences.d/50-pin-mir.pref

Open the newly created file in a text editor:

$ gksudo gedit /etc/apt/preferences.d/50-pin-mir.pref

Paste the following two code blocks and save the changes to the file:

Package: *
Pin: origin "private-ppa.launchpad.net"
Pin-Priority: 1001

Package: *
Pin: release o = LP-PPA-mir-team-system-compositor-testing
Pin-Priority: 1002

Now that all the necesarry tweaks have been done, upgrade the system, in order to get Mir:

$ sudo apt-get dist-upgrade

This is it. Enjoy toying around with Mir. (seen on lffl)

Tagged with: , , , , , , , , ,
Posted in The Linux and Unix Articles!
2 comments on “How To Install And Test Mir On Ubuntu 13.10 Saucy Salamander
  1. Jose Antonio Vico says:

    Error in line:

    $ gksudo gedit /etc/apt-preferences.d/50-pin-mir.pref

    is:

    $ gksudo gedit /etc/apt/preferences.d/50-pin-mir.pref

  2. Aputsiaq says:

    Nice post. Instead of “sudo do-release-upgrade-d” (which lacks a spacing), then “sudo do-release-upgrade -d”.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!