Posted in Linux, Tutorials/Tips

Installing Unity on Manjaro .NET of 0.8.12

In order to use this guide you must have Manjaro .NET installed, you might try to use it on other Manjaro types or even Arch, yet it might not work. This guide was tested on my PC and virtualbox.

Guide starts after your first boot of Manjaro .NET. Firstly install all updates with this command as root:
pacman -Syyu

Then install Gnome, yes we are going for Unity, but it requires Gnome. Unity does pull some of packages and it does boot, but view is not nice. As for me, on my PC and VirtualBox redraw was not working, for example, if you move window it will leave trail of previous draws (which you could see on Windows when system ends up not responding). Firstly you install all Gnome packages via command bellow:

pacman -S gnome

Then add these repositories:

[Unity-for-Arch]
SigLevel = Optional TrustAll
Server = http://dl.dropbox.com/u/486665/Repos/$repo/$arch

[Unity-for-Arch-Extra]
SigLevel = Optional TrustAll
Server = http://dl.dropbox.com/u/486665/Repos/$repo/$arch

In order to do that type:

nano /etc/pacman.conf

Then scroll to bottom part of file and add lines which are listed above. Click CTRL+X then Y to save your changes.
Then update repository list:
pacman -Syu

Then type this to install Unity:
pacman -S $(pacman -Slq Unity-for-Arch)

Please note, I did this on Manjaro .NET and had conflict issues as result I had to type this instead:
pacman -S $(pacman -Slq Unity-for-Arch) --ignore upower-compat
Then select N to ignore conflict of upower-compat, then click Y to remove other conflicts (there will be many of them, as Unity does conflict with some of Gnome packages). Once install is done type this command and reboot:

systemctl enable lightdm

You should now boot in to LightDM login manager, it will not look nice and you might think that it is not working. Just type your password and hit Enter. It will then boot in to Unity.

LightDM

Now what happens next depends on you. As most (if not all) of customization which applies to Ubuntu, will now work on this installation. You can continue customizing it on your own or continue following guide. Currently it should look more or less like this:

Unity

 

Unity-stock

Firstly you might want to install some icon and GTK themes, as default one is boring. In order to do that you need yaourt and base-devel for other software installation:

pacman -S base-devel yaourt numix-themes gnome-tweak-tool

yaourt -S moka-icon-theme-git

Now launch Gnome-tweak-tool. Set GTK theme as Numix and Icon theme as Faba-Mono in order to get these result:

Unity-themes

Now you might want to have Skype, no problem to install it via pacman -S skype however there is no systray for it once you launch it. Yet there is fix for it. Launch dconf and add Skype to whitelist in this location, please note that you will need to reboot system.

dconf

LightDM does work as you can see, but it does not look too good. As we have full Gnome installed, you might want to use GDM login manager, in order to do so:
systemctl disable lightdm
systemctl enable gdm

If you want to customize it a bit you can install this tool:
pacman -S gdm3setup

Currently you have a good looking Unity running on Manjaro/Arch. You can freely install other software you use, but you might be interested tweaking system to allow accessing network and removal storage’s. I am not going to explain what these command are going to do, if you need it, you can visit Manjaro Wiki.

Here are commands you should use, paste them one at a time:
mkdir -p /var/lib/samba/usershare
groupadd sambashare
chown root:sambashare /var/lib/samba/usershare
chmod 1770 /var/lib/samba/usershare
cp /etc/samba/smb.conf.default /etc/samba/smb.conf
nano /etc/samba/smb.conf

You can replace nano with the name of your preferred text editor, I personally use leafpad. To make usershares possible we need to add the following parameters under section [global]:

usershare path = /var/lib/samba/usershare
 usershare max shares = 100
 usershare allow guests = yes
 usershare owner only = yes

Approximately halfway in the [global] section is the parameter security = user. Find this line and add the following immediately after:

map to guest = bad user

This line makes it possible for users without a “proper username” to still connect to a share.

Save the smb.conf file with CTRL+O and close nano with CTRL+X.

Now add your user to the sambashare group. Replace username with your real username. In the terminal, enter:
usermod -a -G sambashare username
We still need to enable the samba service. In the terminal, enter:
systemctl enable smbd nmbd
systemctl start smbd nmbd

Now install some extra packages to get more support:
pacman -S gamin gvfs
pacman -S gvfs-afc
pacman -S gvfs-obexftp
pacman -S gvfs-smb
pacman -S gvfs-afp

Here is how it looks on my end:

Fin

3 thoughts on “Installing Unity on Manjaro .NET of 0.8.12

    1. I have not tried that personally, as I prefer clean environment. Installing Unity on top of Xfce might trash your system with multiple apps which do the same thing. Yet it should work.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s