Difference between revisions of "Unity"
m (→Installation: correct name) |
m (corrected the rm-command, the way it was, it would delete PKGBUILDs too) |
||
Line 24: | Line 24: | ||
2 Open the README file and build packages according to the ordered list. Basically run: | 2 Open the README file and build packages according to the ordered list. Basically run: | ||
{{bc|$ cd packagename | {{bc|$ cd packagename | ||
− | $ rm -rvf # Clears out any files from a previous build | + | $ rm -rvf src pkg # Clears out any files from a previous build |
$ makepkg -sci # '-s' means install needed dependencies, '-c' means clear left files after build and '-i' means install the package after it is built. | $ makepkg -sci # '-s' means install needed dependencies, '-c' means clear left files after build and '-i' means install the package after it is built. | ||
}} | }} |
Revision as of 14:15, 1 August 2013
zh-CN:UnityTemplate:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary wiki Template:Article summary end Unity is a powerful desktop and netbook environment that brings consistency and elegance to the Ubuntu experience.
Contents
- 1 Installation
- 2 Update
- 3 Trouble Shooting
- 3.1 Unity notifications doesn't work
- 3.2 Screensaver locking doesn't work
- 3.3 online accounts doesn't work
- 3.4 ssh keys aren't remembered by keyring
- 3.5 KDE apps aren't integrated into the HUD and menubar
- 3.6 Files and Folder lens doesn't seem to work or display anything
- 3.7 Can't right click on desktop
- 3.8 Unity stops working after update
- 3.9 Window decoration doesn't work properly
- 3.10 Window decoration can't use certain theme
- 3.11 Some gtk themes look ugly after update to Gnome 3.6
- 3.12 Workspace switcher widget dissappeared
- 3.13 Newly opened window is always placed at (0,0) on the screen
- 3.14 Window's titlebar still exists when maximized
- 3.15 Indicator-messages doesn't work properly
- 4 Known Issues
Installation
There are two ways to install Unity on Arch Linux: from the source and from a repository.
From source
All of the PKGBUILDs can be browsed on the Github repository, where Unity-For-Arch provides a minimal working Unity shell, and Unity-For-Arch-Extra provides some additional applications, including lightdm-ubuntu (lightdm with ubuntu patches), light-themes, unity-tweak-tool (a popular ubuntu tool) and some more.
To install a minimal Unity shell:
1. 'cd' into a directory, where you want to keep the sources, and run:
$ git clone https://github.com/chenxiaolong/Unity-for-Arch.git
For this to work, git is required.
2 Open the README file and build packages according to the ordered list. Basically run:
$ cd packagename $ rm -rvf src pkg # Clears out any files from a previous build $ makepkg -sci # '-s' means install needed dependencies, '-c' means clear left files after build and '-i' means install the package after it is built.
3. Log out and log into the Unity session.
To use lightdm to start Unity, follow the same steps mentionned above to install lightdm-ubuntu and lightdm-unity-greeter from the Unity-For-Arch-Extra repository. lightdm needs to be added to autostart daemons. For Systemd users, check the Systemd wiki page.
From repository
Compiled packages are also available at unity.humbug.in and unity.xe-xe.org. Take unity.xe-xe.org as an example, to install the packages, add
[unity] Server = http://unity.xe-xe.org/$arch [unity-extra] Server = http://unity.xe-xe.org/extra/$arch
to /etc/pacman.conf
Run:
$ pacman -Suy $ pacman -S $(pacman -Slq unity)
From testing repository
There is also a testing repository which provides bleeding edge features and is almost always synchronized to the changes made in Github repository. You may want to use it if you prefer newest features or if you've encountered some package conflicts while using the repositories mentioned above.
[Unity-for-Arch] SigLevel = Optional TrustAll Server = http://dl.dropbox.com/u/486665/Repos/Unity-for-Arch/$arch [Unity-for-Arch-Extra] SigLevel = Optional TrustAll Server = http://dl.dropbox.com/u/486665/Repos/Unity-for-Arch-Extra/$arch
Update
For Unity repository, the update is the same as packages from official repositories.
Otherwise:
1. 'cd' into the 'Unity-for-Arch' directory where it was originally cloned
2. pull all of changes from github repository:
$ git pull
3. Check if packages need to be updated:
$ ./What_can_I_update\?.py
4. If any packages need to be updated, just build them like mentioned above in from source section.
Trouble Shooting
Unity notifications doesn't work
Ensure following is installed: notify-osd
Screensaver locking doesn't work
Ensure following is installed: gnome-screensaver . For now you need to also create this file
/usr/share/dbus-1/services/org.gnome.ScreenSaver.service
[D-BUS Service] Name=org.gnome.ScreenSaver Exec=/usr/bin/gnome-screensaver --no-daemon
online accounts doesn't work
Ensure following is installed: signon-keyring-extension and gnome-keyring. You may also require telepathy to get certain accounts to work.
ssh keys aren't remembered by keyring
Ensure following is installed: gnome-keyring
Ensure following is installed: appmenu-qt
Files and Folder lens doesn't seem to work or display anything
Ensure following is installed: zeitgeist and zeitgeist-datahub
Can't right click on desktop
Few things this addresses/fixes:
- Can't right click on the desktop
- Title bar at top doesn't display 'Arch Linux Desktop'
- Shortcut keys like Super and Alt doesn't work when there are no active windows
Simply install gnome-tweak-tool then open Tweak Tool and check Have file manager handle the desktop. You might to uncheck Home icon visible on desktop and Trash icon visible on desktop.
Unity stops working after update
Try to run:
$ compiz.reset
and Log out and log into the Unity session.
If it still doesn't work, report an issue on github or discuss it on Arch forum.
Window decoration doesn't work properly
Try to install gnome-tweak-tool to adjust the theme.
Window decoration can't use certain theme
Install metacity-ubuntu instead of metacity.
Some gtk themes look ugly after update to Gnome 3.6
It also happens for unity default theme light-themes. Put
GtkLabel { background-color: @transparent; }
in .config/gtk3.0/gtk.css
Workspace switcher widget dissappeared
Check this setting: Go to settings, Appearance, Behaviour, Enable workspaces
Newly opened window is always placed at (0,0) on the screen
Metacity-ubuntu needs to be used instead of metacity. Metacity-ubuntu is now included in Unity-for-Arch again.
Window's titlebar still exists when maximized
Metacity-ubuntu needs to be used instead of metacity.
Indicator-messages doesn't work properly
Pidgin and a bunch of other applications can not be integrated into indicator-messages due to its API changes. Wait for the upstream software updates or you can help file a bug report.