Some might wonder, why would you do something like that? Install Unity on Arch Linux? Absolutely blasphemy. But really, I have fallen in love with this combination. Till a couple weeks back, I had been using Ubuntu for close to 4-5 years without experimenting with any other Linux distros. I usually resist the urge to install the alpha releases, but by the time the beta releases start coming out, I’m just itching to get hold of it, irrespective of how catastrophic it has turned out sometimes from the work perspective. So when Ubuntu 12.10 beta2 came out, I installed it. But I was sorely disappointed. Unity kept crashing for no good reason, generally not a very stable system. I know ‘beta’ versions aren’t supposed to be stable etc, but it shouldn’t crash as often as it did.
So I figured, if I want to live my life on the precipice of beta releases, why not use Arch Linux? If there’s such a thing as a stable bleeding edge distribution, then Arch Linux comes closest to that description. So I installed Arch Linux on my spanking new Thinkpad T430s (highly recommend T430s btw). But neither Gnome 3 nor KDE are my preferred desktop environments and I wanted Unity! I really do prefer Unity over Gnome and KDE these days (read more about it here). Thankfully somebody had already done all the hard work.
And somebody and beautifully packaged it.
EDIT: So the above repository hasn’t been updated in a while, so I created one for myself. I’m hoping to keep it upto date with the packages on github. Troll me if I don’t.
So to install Unity, add the following lines to
[unity] Server = http://unity.humbug.in/$arch [unity-extra] Server = http://unity.humbug.in/extra/$arch
# pacman -Suy # pacman -S $(pacman -Slq unity)
Thats the core. Additionally if you just installed a fresh system, then you will need a display manager (gdm, lightdm). If you prefer the old fashioned way i.e. startx, then you could use the following xinitrc.
#!/bin/sh # # ~/.xinitrc # # Executed by startx (run your window manager from here) if [ -d /etc/X11/xinit/xinitrc.d ]; then for f in /etc/X11/xinit/xinitrc.d/*; do [ -x "$f" ] && . "$f" done unset f fi exec unity
Have fun using Unity and Arch Linux!