Unity

From ArchWiki
Revision as of 08:19, 19 February 2011 by Dcelasun (Talk | contribs)

Jump to: navigation, search

Tango-view-fullscreen.pngThis article or section needs expansion.Tango-view-fullscreen.png

Reason: please use the first argument of the template to provide a brief explanation. (Discuss in Talk:Unity#)

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary link |- | style="text-align: left; padding: 3px" | Ayatana thread on Arch Forums Template:Article summary end

As its website states, "The Ayatana Project is the collective project that houses user interface, design and interaction projects started by Canonical." All the latest changes in Ubuntu's interface (e.g.: Indicator Applets, Unity and Notify-OSD) are grouped within this project. This page describes how to get Ayatana's software working on Arch through building some packages.

Before You Start

Remember you're installing unofficial packages. There is a chance this will eat your cat and kill your hamster. You have been warned.

Notify OSD

TODO: Write this part of the page

Indicator Applets

Ayatana Indicators are an initiative by Canonical to provide crisp and clean system and application status indication. They take the form of an icon and associated menu, displayed (usually) in the desktop panel. You can read more about them in the Ubuntu Wiki here.

Technically, Indicators are basically small programs (written in C, Python, etc.) that runs when an applet loads their basic infrastructure. Indicators are known to work in all the main desktop environments that can run the messaging indicator, including KDE.

In Arch, indicators are working in GNOME, LXDE and XFCE. There is no support for KDE at the moment.

Installation

You can install the infrastructure by simply installing the ayatana-indicators-baselibs metapackage. Among the packages needed, gtk2-appmenu will be installed. This is basically gtk2 with some patches coming from Ubuntu and so it conflicts with the one in extra. You will have to replace it or the infrastructure will not compile properly.

Some of the packages installed will be:

libdbusmenu 
A small little library that was created by pulling out some common code out of indicator-applet. (Canonical Ayatana Project)
http://aur.archlinux.org/packages.php?ID=32050
libindicate 
A small library for applications to raise "flags" on DBus for other components of the desktop to pick up and visualize. (Canonical Ayatana Project).
http://aur.archlinux.org/packages.php?ID=32049
libindicator 
A set of symbols and convience functions that all indicators would like to use. (Canonical Ayatana Project) - Bzr version.
http://aur.archlinux.org/packages.php?ID=31343
ido 
Widgets and other objects used for indicators.
http://aur.archlinux.org/packages.php?ID=34437
gtk2-appmenu 
gtk2 with ubuntu-patches.
http://aur.archlinux.org/packages.php?ID=41736

Once you're done, install the applet for your favourite DE. If you're using GNOME install indicator-applet and you're done. Then you can add the Indicator Applet Complete applet to your panel.

Next up, install the actual indicators. Here's a list of the packages you can install:

indicator-applet 
A small applet to display information from various applications consistently in the panel. (Canonical Ayatana Project)
http://aur.archlinux.org/packages.php?ID=31344
Dependencies gnome-system-tools
indicator-application 
http://aur.archlinux.org/packages.php?ID=34448
indicator-session 
http://aur.archlinux.org/packages.php?ID=32051
Dependencies: gnome-session-ubuntu (to get session control working properly)
indicator-messages 
http://aur.archlinux.org/packages.php?ID=32052
indicator-me 
http://aur.archlinux.org/packages.php?ID=34438
indicator-sound 
http://aur.archlinux.org/packages.php?ID=42614
indicator-datetime 
http://aur.archlinux.org/packages.php?ID=43436
indicator-weather-bzr 
http://aur.archlinux.org/packages.php?ID=38468
indicator-network-bzr 
http://aur.archlinux.org/packages.php?ID=38467
evolution-indicator 
http://aur.archlinux.org/packages.php?ID=38334
indicator-sound 
http://aur.archlinux.org/packages.php?ID=42614
indicator-pastie 
clipboard manager http://aur.archlinux.org/packages.php?ID=43373
indicator-workspaces 
http://aur.archlinux.org/packages.php?ID=43375
indicator-usb 
http://aur.archlinux.org/packages.php?ID=43444
rhythmbox-indicator-plugin 
http://aur.archlinux.org/packages.php?ID=43262

More are available searching for indicator in the AUR website or in your favourite AUR wrapper.

Unity

Unity depends on a patched Compiz version which uses the GLib main loop instead of the Compiz main loop. This means you need to compile compiz.

Using your preffer pacman-wrapper install compiz-core from AUR:

There are at the moment no suitable compiz-core pacakage. I will upload compiz-core-glib-loop  shortly --Lafka 09:01, 7 December 2010 (EST)

Now we need the rest of the compiz tools

libcompizconfig compizconfig-python ccsm plugins-main plugins-extra

since pacman uses the 0.8.X version of compiz and the development core is 0.9.X

If nux-bzr complains that glewmx is not found you need to use the following glewmx package instead: http://aur.archlinux.org/packages.php?ID=44175

Last before we build Unity we need the OpenGL toolkit Nux. This can be aquired through AUR. http://aur.archlinux.org/packages.php?ID=44144 (nux-bzr)

Now lets build Unity:

# bzr branch lp:unity
# cd unity
# mkdir build; cd build
# cmake .. -DCMAKE_BUILD_TYPE=Debug -DCOMPIZ_PLUGIN_INSTALL_TYPE=package  DCMAKE_INSTALL_PREFIX=/opt/unity
# make
# sudo make install
#
# unset PKG_CONFIG_PATH
# unset LD_LIBRARY_PATH
# unset LD_RUN_PATH

Unity project

clutk-bzr 
A general-purpose toolkit for Clutter used by UNR's netbook-launcher.
http://aur.archlinux.org/packages.php?ID=38460
libunity-misc 
Misc. differently licensed stuff for Unity (Canonical Ayatana Project)
http://aur.archlinux.org/packages.php?ID=42313
dee 
Libdee is a library that uses DBus to provide objects allowing you to create Model-View-Controller type programs across DBus.
http://aur.archlinux.org/packages.php?ID=41087

Further work

Usability issues

  • indicator-datetime and indicator-appmenu doesn't work
  • evolution isnt showing in indicator-messages, when run from autostart. running manually works.
  • battery-status compiles properly but doesn't work
  • transmission-gtk-libappindicator-svn doesnt work on some installs and works on others
  • libindicate doesn't compile on some setups, even in a clean chroot