https://wiki.archlinux.org/api.php?action=feedcontributions&user=Oi+wtf&feedformat=atomArchWiki - User contributions [en]2024-03-29T15:54:23ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=User:Oi_wtf/common.css&diff=737448User:Oi wtf/common.css2022-07-13T12:44:21Z<p>Oi wtf: Blanked the page</p>
<hr />
<div></div>Oi wtfhttps://wiki.archlinux.org/index.php?title=User:Oi_wtf/common.css&diff=737447User:Oi wtf/common.css2022-07-13T12:41:30Z<p>Oi wtf: Created page with ".mw-content-container { display: flow-root; max-width: 75em; margin-left: auto; margin-right: 0; }"</p>
<hr />
<div>.mw-content-container {<br />
display: flow-root;<br />
max-width: 75em;<br />
margin-left: auto;<br />
margin-right: 0;<br />
}</div>Oi wtfhttps://wiki.archlinux.org/index.php?title=Samba&diff=364071Samba2015-03-05T12:49:39Z<p>Oi wtf: /* Add Share to /etc/fstab */ comment=systemd.automount was removed in systemd 219, use x-systemd.automount as stated in systemd.mount(5)</p>
<hr />
<div>[[Category:Networking]]<br />
[[cs:Samba]]<br />
[[da:Samba]]<br />
[[de:Samba]]<br />
[[es:Samba]]<br />
[[fr:Samba]]<br />
[[it:Samba]]<br />
[[ja:Samba]]<br />
[[ru:Samba]]<br />
[[sr:Samba]]<br />
[[tr:Samba]]<br />
[[zh-CN:Samba]]<br />
[[zh-TW:Samba]]<br />
{{Related articles start}}<br />
{{Related|Samba/Tips and tricks}}<br />
{{Related|Samba/Troubleshooting}}<br />
{{Related|Samba/Advanced file sharing with KDE4}}<br />
{{Related|Samba domain controller}}<br />
{{Related|Active Directory Integration}}<br />
{{Related|Samba 4 Active Directory domain controller}}<br />
{{Related|OpenChange server}}<br />
{{Related|NFS}}<br />
{{Related articles end}}<br />
<br />
'''Samba''' is a re-implementation of the [[wikipedia:Server_Message_Block|SMB/CIFS]] networking protocol, it facilitates file and printer sharing among Linux and Windows systems as an alternative to [[NFS]]. Some users say that Samba is easily configured and that operation is very straight-forward. However, many new users run into problems with its complexity and non-intuitive mechanism. It is strongly suggested that the user sticks close to the following directions.<br />
<br />
== Server configuration ==<br />
<br />
To share files with Samba, [[pacman#Installing specific packages|install]] {{Pkg|samba}}, from the [[official repositories]].<br />
<br />
The Samba server is configured in {{ic|/etc/samba/smb.conf}}. Copy the default Samba configuration file to {{ic|/etc/samba/smb.conf}}:<br />
# cp /etc/samba/smb.conf.default /etc/samba/smb.conf<br />
<br />
{{Tip|Run {{ic|testparm}} to check the validity of ''samba'' configuration file.}}<br />
<br />
=== Creating a share ===<br />
<br />
Edit {{ic|/etc/samba/smb.conf}}, scroll down to the '''Share Definitions''' section. The default configuration automatically creates a share for each user's home directory. It also creates a share for printers by default. There are a number of commented sample configurations included. More information about available options for shared resources can be found in {{ic|man smb.conf}}. [http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html Here] is the on-line version.<br />
<br />
On Windows side, be sure to change {{ic|smb.conf}} to the Windows Workgroup. (Windows default: WORKGROUP)<br />
<br />
=== Starting services ===<br />
<br />
To provide basic file sharing through SMB [[Systemd#Using units|start/enable]] {{ic|smbd.service}} and {{ic|nmbd.service}} services. See [http://www.samba.org/samba/docs/man/manpages-3/smbd.8.html smbd] and [http://www.samba.org/samba/docs/man/manpages-3/nmbd.8.html nmbd] manpages for details.<br />
<br />
{{Tip|Instead of having the service running since boot, you can enable {{ic|smbd.socket}} so the daemon is started on the first incoming connection. Don't forget to disable {{ic|smbd.service}}.}}<br />
<br />
=== Creating usershare path ===<br />
{{Note|This is an optional feature. Skip this section if you don't need it.}}<br />
<br />
"Usershare" is a feature that gives non-root users the capability to add, modify, and delete their own share definitions. <br />
<br />
This creates the usershares directory in {{ic|/var/lib/samba}}:<br />
<br />
# mkdir -p /var/lib/samba/usershare<br />
<br />
This makes the group sambashare:<br />
<br />
# groupadd sambashare<br />
<br />
This changes the owner of the directory and group you just created to root:<br />
<br />
# chown root:sambashare /var/lib/samba/usershare<br />
<br />
This changes the permissions of the usershares directory so that users in the group sambashare can read, write and execute files:<br />
<br />
# chmod 1770 /var/lib/samba/usershare<br />
<br />
Set the following variables in {{ic|smb.conf}} configuration file: <br />
<br />
{{hc|/etc/samba/smb.conf|2=<br />
...<br />
[global]<br />
usershare path = /var/lib/samba/usershare<br />
usershare max shares = 100<br />
usershare allow guests = yes<br />
usershare owner only = yes<br />
...<br />
}}<br />
<br />
Add your user to the ''sambashare'' group. Replace {{ic|''your_username''}} with the name of your user:<br />
<br />
# usermod -a -G sambashare ''your_username''<br />
<br />
Restart {{ic|smbd}} and {{ic|nmbd}} services.<br />
<br />
Log out and log back in. You should now be able to configure your samba share using GUI. For example, in [[Thunar]] you can right click on any directory and share it on the network. If you want to share pathes inside your home directory you must make it listable for the group others.<br />
<br />
=== Adding a user ===<br />
<br />
Create a [[Users and groups#User management|Linux user account]] for ''samba'' user. Substitute {{ic|''samba_user''}} with preferred name if desired:<br />
<br />
# useradd ''samba_user''<br />
<br />
Then create a ''Samba'' user account with the same name:<br />
<br />
# pdbedit -a -u ''samba_user''<br />
<br />
=== Changing Samba user's password ===<br />
<br />
To change a user's password, use {{ic|smbpasswd}}:<br />
<br />
# smbpasswd ''samba_user''<br />
<br />
=== Required ports ===<br />
<br />
If you're using a [[firewall]]; don't forget to open required ports (usually 137-139 + 445). For a complete list please check [https://wiki.samba.org/index.php/Samba_port_usage Samba port usage].<br />
<br />
== Client configuration ==<br />
<br />
Only {{Pkg|smbclient}} is required to access files from a Samba/SMB/CIFS server. It is available from the official repositories.<br />
<br />
Shared resources from other computers on the LAN may be accessed and mounted locally by GUI or CLI methods. Depending on the [[desktop environment]], GUI methods may not be available. See also [[#File_manager_configuration]] for use with a file manager.<br />
<br />
There are two parts in sharing access. The first is the underlying file system mechanism, which some environments have built in. The second is the interface which allows the user to mount shared resources.<br />
<br />
{{Note|<br />
* After installing cifs-utils or smbclient, you must restart or modprobe cifs<br />
* Otherwise mount fails with "cifs filesystem not supported by the system"<br />
}}<br />
<br />
=== Manual mounting ===<br />
<br />
For a lighter approach without support for listing public shares, only install {{Pkg|cifs-utils}} to provide {{ic|/usr/bin/mount.cifs}}.<br />
<br />
To list public shares on a server:<br />
<br />
$ smbclient -L ''hostname'' -U%<br />
<br />
Create a mount point for the share:<br />
<br />
# mkdir /mnt/''mountpoint''<br />
<br />
Mount the share using the {{ic|mount.cifs}} type. Not all the options listed below are needed or desirable (ie. {{ic|password}}).<br />
<br />
{{bc|1=<br />
# mount -t cifs //''SERVER''/''sharename'' /mnt/''mountpoint'' -o user=''username'',password=''password'',workgroup=''workgroup'',ip=''serverip''<br />
}}<br />
{{Note|If you get the output "mount error(13): Permission denied", this might be due to a bug in mount.cifs. See the following bug report. https://bugs.archlinux.org/task/43015#comment130771<br />
Try specifying the option <nowiki>"sec=ntlmv2"</nowiki> to work around it.}}<br />
<br />
''SERVER''<br />
: The Windows system name.<br />
<br />
''sharename''<br />
: The shared directory.<br />
<br />
''mountpoint''<br />
: The local directory where the share will be mounted.<br />
<br />
{{ic|<nowiki>-o [options]</nowiki>}}<br />
: See {{ic|man mount.cifs}} for more information.<br />
<br />
{{Note|<br />
* Abstain from using a trailing {{ic|/}}. {{ic|//''SERVER''/''sharename'''''/'''}} will not work.<br />
* If your mount does not work stable, stutters or freezes, try to enable different SMB protocol version with {{ic|1=vers=}} option. For example, {{ic|1=vers=2.0}} for Windows Vista mount.<br />
}}<br />
<br />
==== Add Share to /etc/fstab ====<br />
<br />
The simplest way to add an fstab entry is something like this:<br />
<br />
{{hc|/etc/fstab|2=<br />
//''SERVER''/''sharename'' /mnt/''mountpoint'' cifs username=''username'',password=''password'' 0 0<br />
}}<br />
<br />
However, storing passwords in a world readable file is not recommended! A safer method would be to use a credentials file. As an example, create a file and {{ic|chmod 600 ''filename''}} so only the owning user can read and write to it. It should contain the following information:<br />
<br />
{{hc|/path/to/credentials/sambacreds|2=<br />
username=''username''<br />
password=''password''<br />
}}<br />
<br />
and the line in your fstab should look something like this:<br />
<br />
{{hc|/etc/fstab|2=<br />
//SERVER/SHARENAME /mnt/''mountpoint'' cifs credentials=''/path/to/credentials/sambacreds'' 0 0<br />
}}<br />
<br />
If using ''systemd'' (modern installations), one can utilize the {{ic|1=x-systemd.automount}} option, which speeds up service boot by a few seconds. Also, one can map current user and group to make life a bit easier, utilizing {{ic|uid}} and {{ic|gid}} options.<br />
<br />
{{Warning|Using the {{ic|uid}} and {{ic|gid}} options may cause input ouput errors in programs that try to fetch data from network drives.}}<br />
<br />
{{hc|/etc/fstab|2=<br />
//''SERVER''/''SHARENAME'' /mnt/''mountpoint'' cifs credentials=''/path/to/smbcredentials'',x-systemd.automount,uid=''username'',gid=''usergroup'' 0 0<br />
}}<br />
<br />
{{Note|Space in sharename should be replaced by {{ic|\040}} (ASCII code for space in octal). For example, {{ic|//''SERVER''/share name}} on the command line should be {{ic|//''SERVER''/share\040name}} in {{ic|/etc/fstab}}.}}<br />
<br />
==== User mounting ====<br />
<br />
{{hc|/etc/fstab|2=<br />
//''SERVER''/''SHARENAME'' /mnt/''mountpoint'' cifs users,credentials=''/path/to/smbcredentials'',workgroup=''workgroup'',ip=''serverip'' 0 0<br />
}}<br />
<br />
{{Note|The option is user'''s''' (plural). For other filesystem types handled by mount, this option is usually ''user''; sans the "'''s'''".}}<br />
<br />
This will allow users to mount it as long as the mount point resides in a directory controllable by the user; i.e. the user's home. For users to be allowed to mount and unmount the Samba shares with mount points that they do not own, use [[#smbnetfs|smbnetfs]], or grant privileges using [[sudo]].<br />
<br />
=== WINS host names ===<br />
<br />
The {{pkg|smbclient}} package provides a driver to resolve host names using WINS. To enable it, add “wins” to the “hosts” line in /etc/nsswitch.conf.<br />
<br />
=== Automatic mounting ===<br />
<br />
There are several ways to easily browse shared resources:<br />
<br />
==== smbnetfs ====<br />
<br />
{{Note|1=smbnetfs needs an intact Samba server setup.<br />
See above on how to do that.}}<br />
<br />
First, check if you can see all the shares you are interested in mounting:<br />
$ smbtree -U ''remote_user''<br />
<br />
If that does not work, find and modify the following line<br />
in {{ic|/etc/samba/smb.conf}} accordingly:<br />
<br />
domain master = auto<br />
<br />
Now [[systemd#Using units|restart]] {{ic|smbd.service}} and {{ic|nmbd.service}}.<br />
<br />
If everything works as expected, [[pacman#Installing specific packages|install]] {{Pkg|smbnetfs}} from the official repositories.<br />
<br />
Then, add the following line to {{ic|/etc/fuse.conf}}:<br />
<br />
user_allow_other<br />
<br />
and load the {{ic|fuse}} [[kernel module]]:<br />
<br />
# modprobe fuse<br />
<br />
Now copy the directory {{ic|/etc/smbnetfs/.smb}} to your home directory:<br />
<br />
$ cp -a /etc/smbnetfs/.smb ~<br />
<br />
Then create a link to {{ic|smb.conf}}:<br />
<br />
$ ln -sf /etc/samba/smb.conf ~/.smb/smb.conf<br />
<br />
If a username and a password are required to access some of the shared folders, edit {{ic|~/.smb/smbnetfs.auth}}<br />
to include one or more entries like this:<br />
<br />
{{hc|~/.smb/smbnetfs.auth|<br />
auth "hostname" "username" "password"<br />
}}<br />
<br />
It is also possible to add entries for specific hosts to be mounted by smbnetfs, if necessary.<br />
More details can be found in {{ic|~/.smb/smbnetfs.conf}}.<br />
<br />
If you are using the Dolphin or Nautilus file managers, you may want to the following to {{ic|~/.smb/smbnetfs.conf}} to avoid "Disk full" errors as smbnetfs by default will report 0 bytes of free space:<br />
{{hc|~/.smb/smbnetfs.conf|<br />
free_space_size 1073741824<br />
}}<br />
<br />
When you are done with the configuration, you need to run<br />
$ chmod 600 ~/.smb/smbnetfs.*<br />
Otherwise, smbnetfs complains about 'insecure config file permissions'.<br />
<br />
Finally, to mount your Samba network neighbourhood to a directory of your choice, call<br />
$ smbnetfs ''mount_point''<br />
<br />
===== Daemon =====<br />
<br />
The Arch Linux package also maintains an additional system-wide operation mode for smbnetfs. To enable it, you need to make the<br />
said modifications in the directoy {{ic|/etc/smbnetfs/.smb}}.<br />
<br />
Then, you can start and/or enable the {{ic|smbnetfs}} [[daemon]] as usual. The system-wide mount point is at {{ic|/mnt/smbnet/}}.<br />
<br />
==== autofs ====<br />
<br />
See [[Autofs]] for information on the kernel-based automounter for Linux.<br />
<br />
=== File manager configuration ===<br />
<br />
==== GNOME Files, Nemo, Thunar and PCManFM ====<br />
<br />
In order to access samba shares through GNOME Files, Nemo, Thunar or PCManFM, install the {{Pkg|gvfs-smb}} package, available in the [[official repositories]].<br />
<br />
Press {{ic|Ctrl+l}} and enter {{ic|smb://''servername''/''share''}} in the location bar to access your share.<br />
<br />
The mounted share is likely to be present at {{ic|/run/user/''your_UID''/gvfs}} in the filesystem.<br />
<br />
==== KDE ====<br />
<br />
KDE, has the ability to browse Samba shares built in. Therefore do not need any additional packages. However, for a GUI in the KDE System Settings, install the {{Pkg|kdenetwork-filesharing}} package from the official repositories.<br />
<br />
If when navigating with Dolphin you get a "Time Out" Error, you should uncomment and edit this line in smb.conf:{{bc|1=name resolve order = lmhosts bcast host wins}}<br />
as shown in this [http://ubuntuforums.org/showthread.php?t=1605499 page].<br />
<br />
==== Other graphical environments ====<br />
<br />
There are a number of useful programs, but they may need to have packages created for them. This can be done with the Arch package build system. The good thing about these others is that they do not require a particular environment to be installed to support them, and so they bring along less baggage.<br />
<br />
* {{Pkg|pyneighborhood}} is available in the official repositories.<br />
* LinNeighborhood, RUmba, xffm-samba plugin for Xffm are not available in the official repositories or the AUR. As they are not officially (or even unofficially supported), they may be obsolete and may not work at all.<br />
<br />
== See also ==<br />
<br />
* [http://www.samba.org/samba/docs/SambaIntro.html Samba: An Introduction]<br />
* [http://www.samba.org/ Official Samba site]</div>Oi wtfhttps://wiki.archlinux.org/index.php?title=Unity&diff=269242Unity2013-08-01T14:15:31Z<p>Oi wtf: corrected the rm-command, the way it was, it would delete PKGBUILDs too</p>
<hr />
<div>[[it:Notify OSD]]<br />
[[ja:Unity]]<br />
[[zh-CN:Unity]]<br />
[[Category:Desktop environments]]<br />
{{Article summary start|Summary}}<br />
{{Article summary text|This article discusses how to install and use Unity. Unity is a shell interface for the GNOME desktop environment. This article covers how to get Unity on your system and how to configure it to fit your needs.}}<br />
{{Article summary heading|Related}}<br />
{{Article summary wiki|GNOME}}<br />
{{Article summary end}}<br />
[http://unity.ubuntu.com/ Unity] is a powerful desktop and netbook environment that brings consistency and elegance to the Ubuntu experience.<br />
<br />
== Installation ==<br />
There are two ways to install Unity on Arch Linux: from the source and from a repository.<br />
<br />
=== From source ===<br />
All of the PKGBUILDs can be browsed on the [https://github.com/chenxiaolong/Unity-for-Arch Github repository], where [https://github.com/chenxiaolong/Unity-for-Arch Unity-For-Arch] provides a minimal working Unity shell, and [https://github.com/chenxiaolong/Unity-for-Arch-Extra 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.<br />
<br />
To install a minimal Unity shell:<br />
<br />
1. 'cd' into a directory, where you want to keep the sources, and run:<br />
{{bc|$ git clone https://github.com/chenxiaolong/Unity-for-Arch.git}}<br />
For this to work, {{Pkg|git}} is required.<br />
<br />
2 Open the README file and build packages according to the ordered list. Basically run:<br />
{{bc|$ cd packagename<br />
$ rm -rvf src pkg # Clears out any files from a previous build<br />
$ makepkg -sci # '-s' means install needed dependencies, '-c' means clear left files after build and '-i' means install the package after it is built.<br />
}}<br />
3. Log out and log into the Unity session.<br />
<br />
To use '''lightdm''' to start Unity, follow the same steps mentionned above to install '''lightdm-ubuntu''' and '''lightdm-unity-greeter''' from the [https://github.com/chenxiaolong/Unity-for-Arch-Extra Unity-For-Arch-Extra] repository. '''lightdm''' needs to be added to autostart daemons. For Systemd users, check the [https://wiki.archlinux.org/index.php/Systemd Systemd wiki page].<br />
<br />
{{Tip|To complete this procedure automatically, [https://gist.github.com/3906721 this script] can be used.}}<br />
<br />
=== From repository ===<br />
Compiled packages are also available at [http://unity.humbug.in/ unity.humbug.in] and [http://unity.xe-xe.org/ unity.xe-xe.org].<br />
Take '''unity.xe-xe.org''' as an example, to install the packages,<br />
add<br />
{{bc|<br />
[unity]<br />
Server &#61; http://unity.xe-xe.org/$arch<br />
<br />
[unity-extra]<br />
Server &#61; http://unity.xe-xe.org/extra/$arch<br />
}}<br />
to {{ic|/etc/pacman.conf}}<br />
<br />
Run:<br />
{{bc|<br />
$ pacman -Suy<br />
$ pacman -S $(pacman -Slq unity)}}<br />
<br />
{{Tip| There are many ubuntu-patched packages that replace original Arch packages.<br />
It is also recommended to use freetype2-ubuntu from '''AUR'''.}}<br />
<br />
{{Warning|Remember that you are installing '''unofficial''' packages which are not supported by the Arch Linux developers.}}<br />
{{Warning|Almost all packages related to Unity in '''AUR''' are outdated. Do not mix those packages with the ones provided from the repository.}}<br />
<br />
=== From testing repository ===<br />
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.<br />
<br />
{{bc|<br />
[Unity-for-Arch]<br />
SigLevel &#61; Optional TrustAll<br />
Server &#61; http://dl.dropbox.com/u/486665/Repos/Unity-for-Arch/$arch<br />
<br />
[Unity-for-Arch-Extra] <br />
SigLevel &#61; Optional TrustAll <br />
Server &#61; http://dl.dropbox.com/u/486665/Repos/Unity-for-Arch-Extra/$arch<br />
}}<br />
<br />
==Update==<br />
For Unity repository, the update is the same as packages from official repositories.<br />
<br />
Otherwise:<br />
<br />
1. 'cd' into the 'Unity-for-Arch' directory where it was originally cloned<br />
<br />
2. pull all of changes from github repository:<br />
{{bc|$ git pull}}<br />
3. Check if packages need to be updated:<br />
{{bc|$ ./What_can_I_update\?.py}}<br />
4. If any packages need to be updated, just build them like mentioned above in '''from source''' section.<br />
<br />
{{Note| Sometimes if certain crucial package is updated, those package which depend on it will also need to be recompiled though they won't be reported. For example, '''Unity''' is often required to be recompiled if '''nux''' gets updated}}<br />
<br />
==Trouble Shooting==<br />
<br />
=== Unity notifications doesn't work ===<br />
Ensure following is installed: {{Pkg|notify-osd}}<br />
<br />
=== Screensaver locking doesn't work ===<br />
Ensure following is installed: {{Pkg|gnome-screensaver}} . For now you need to also create this file<br />
{{hc|/usr/share/dbus-1/services/org.gnome.ScreenSaver.service|[D-BUS Service]<br />
Name&#61;org.gnome.ScreenSaver<br />
Exec&#61;/usr/bin/gnome-screensaver --no-daemon}}<br />
<br />
=== online accounts doesn't work ===<br />
Ensure following is installed: {{Pkg|signon-keyring-extension}} and {{Pkg|gnome-keyring}}. You may also require {{Pkg|telepathy}} to get certain accounts to work.<br />
<br />
=== ssh keys aren't remembered by keyring ===<br />
Ensure following is installed: {{Pkg|gnome-keyring}}<br />
<br />
=== KDE apps aren't integrated into the HUD and menubar ===<br />
Ensure following is installed: {{Pkg|appmenu-qt}}<br />
<br />
=== Files and Folder lens doesn't seem to work or display anything ===<br />
Ensure following is installed: {{Pkg|zeitgeist}} and {{Pkg|zeitgeist-datahub}}<br />
<br />
=== Can't right click on desktop ===<br />
Few things this addresses/fixes:<br />
* Can't right click on the desktop<br />
* Title bar at top doesn't display 'Arch Linux Desktop'<br />
* Shortcut keys like Super and Alt doesn't work when there are no active windows<br />
<br />
Simply install {{Pkg|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'''.<br />
<br />
===Unity stops working after update===<br />
Try to run:<br />
{{bc|$ compiz.reset}}<br />
and Log out and log into the Unity session.<br />
<br />
If it still doesn't work, report an issue on [https://github.com/chenxiaolong/Unity-for-Arch/issues?state=open github] or discuss it on [https://bbs.archlinux.org/viewtopic.php?id=125423&p=1 Arch forum].<br />
<br />
===Window decoration doesn't work properly===<br />
Try to install {{Pkg|gnome-tweak-tool}} to adjust the theme.<br />
<br />
===Window decoration can't use certain theme===<br />
Install metacity-ubuntu instead of metacity.<br />
<br />
===Some gtk themes look ugly after update to Gnome 3.6===<br />
It also happens for unity default theme light-themes. Put<br />
{{bc|<br />
GtkLabel {<br />
background-color: @transparent;<br />
}<br />
}}<br />
in {{ic|.config/gtk3.0/gtk.css}}<br />
<br />
===Workspace switcher widget dissappeared===<br />
Check this setting: Go to settings, Appearance, Behaviour, Enable workspaces<br />
<br />
===Newly opened window is always placed at (0,0) on the screen===<br />
'''Metacity-ubuntu''' needs to be used instead of {{Pkg|metacity}}. '''Metacity-ubuntu''' is now included in [https://github.com/chenxiaolong/Unity-for-Arch Unity-for-Arch] again.<br />
<br />
===Window's titlebar still exists when maximized===<br />
'''Metacity-ubuntu''' needs to be used instead of {{Pkg|metacity}}.<br />
<br />
===''Indicator-messages'' doesn't work properly===<br />
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.<br />
<br />
==Known Issues==</div>Oi wtfhttps://wiki.archlinux.org/index.php?title=Unity&diff=233107Unity2012-11-01T23:16:27Z<p>Oi wtf: /* from repository */</p>
<hr />
<div>[[it:Notify OSD]]<br />
[[zh-CN:Notify OSD]]<br />
[[Category:Desktop environments]]<br />
{{Article summary start|Summary}}<br />
{{Article summary text|This article discusses how to install and use Unity. Unity is a shell interface for the GNOME desktop environment. This article covers how to get Unity on your system and how to configure it to fit your needs.}}<br />
{{Article summary heading|Related}}<br />
{{Article summary wiki|GNOME}}<br />
{{Article summary end}}<br />
<br />
[http://unity.ubuntu.com/ Unity] is an alternative shell for the GNOME desktop environment, developed by Canonical in its Ayatana project. It consists of several components including the Launcher, Dash, lenses, Panel, indicators, Notify OSD and Overlay Scrollbar. Unity used to available in two implementations: 'Unity' is the 3D accelerated version, which uses Compiz window manager and Nux toolkit; and 'Unity 2D' is a lighter alternative, which uses Metacity window manager and Qt toolkit. Unity 2D is already dropped by Canonical from Ubuntu 12.10. Instead a version powered by Gallium3D llvmpipe alternative is used.<br />
<br />
== Installation ==<br />
There are two ways to install Unity on Archlinux:<br />
*'''from source code''' <br />
*'''from repository'''<br />
=== From source ===<br />
All of the pkgbuilds can be browsed in [https://github.com/chenxiaolong/Unity-for-Arch Github repository], where [https://github.com/chenxiaolong/Unity-for-Arch Unity-For-Arch] provides a minimal working Unity shell, [https://github.com/chenxiaolong/Unity-for-Arch-Extra Unity-For-Arch-Extra] provides some additoinal applications including '''lightdm-ubuntu'''(lightdm with ubuntu patch), '''light-themes''', '''ubuntu-tweak'''(a popular ubuntu tweak tool) and so on.<br />
<br />
To install minimal Unity shell:<br />
<br />
1. 'cd' to a directory that you want to keep the sources in and then run:<br />
{{bc|$ git clone https://github.com/chenxiaolong/Unity-for-Arch.git}}<br />
Where {{Pkg|git}} is required.<br />
<br />
2 Open the README file and build packages according to the order listed. Basically run:<br />
{{bc|$ cd packagename<br />
$ rm -rvf # Clears out any files from a previous build<br />
$ makepkg -sci # '-s' means install needed dependencies, '-c' means clear left files after build and '-i' means install the package after it is built.<br />
}}<br />
3. Log out and log into the Unity session.<br />
<br />
To use lightdm to start Unity, almost the same steps need to be followed to instal '''lightdm-ubuntu''' and '''lightdm-unity-greeter''' from [https://github.com/chenxiaolong/Unity-for-Arch-Extra Unity-For-Arch-Extra]. And lightdm needs to be added to autostart daemons.<br />
<br />
=== From repository ===<br />
Compiled packages are also available at [http://unity.humbug.in/ unity.humbug.in] and [http://unity.xe-xe.org/ unity.xe-xe.org].<br />
Take '''unity.xe-xe.org''' as an example, to install the packages,<br />
add<br />
{{bc|<br />
[unity]<br />
Server &#61; http://unity.xe-xe.org/$arch<br />
<br />
[unity-extra]<br />
Server &#61; http://unity.xe-xe.org/extra/$arch<br />
}}<br />
to {{ic|/etc/pacman.conf}}<br />
<br />
Run:<br />
{{bc|<br />
$ pacman -Suy<br />
$ pacman -S $(pacman -Slq unity)}}<br />
<br />
{{Tip| There are many ubuntu-patched packages that replace original Arch packages.<br />
Also it is recommended to use freetype2-ubuntu and libxft-ubuntu from AUR.}}<br />
<br />
{{Warning|Remember you're installing '''unofficial''' packages that are unsupported by the Arch Linux developers.}}<br />
{{Warning|Almost all of the packages related to Unity in AUR are outdated. Don't mix those packages with those from the repository.}}<br />
<br />
==Update==<br />
For Unity repository, the update is the same as packages from official repositories.<br />
<br />
Otherwise:<br />
<br />
1. 'cd' into the 'Unity-for-Arch' directory where it was originally cloned<br />
<br />
2. pull all of changes from github repository:<br />
{{bc|$ git pull}}<br />
3. Check if packages need to be updated:<br />
{{bc|$ ./What_can_I_update\?.py}}<br />
4. If any packages need to be updated, just build them like mentioned above in '''from source''' section.<br />
<br />
{{Note| Sometimes if certain crucial package is updated, those package which depend on it will also need to be recompiled though they won't be reported. For example, '''Unity''' is often required to be recompiled if '''nux''' gets updated}}<br />
<br />
==Trouble Shooting==<br />
===Unity stops working after update===<br />
Try to run:<br />
{{bc|$ compiz.reset}}<br />
and Log out and log into the Unity session.<br />
<br />
If it still doesn't work, report an issue on [https://github.com/chenxiaolong/Unity-for-Arch/issues?state=open github] or discuss it on [https://bbs.archlinux.org/viewtopic.php?id=125423&p=1 Arch forum].<br />
<br />
===Window decoration doesn't work properly===<br />
Try to install {{Pkg|gnome-tweak-tool}} to adjust the theme.<br />
<br />
===Window decoration can't use certain theme===<br />
It's an known issue which is supposed to be solved with Gnome 3.6. <br />
A dirt hack is to remove ''shadow'' and ''padding'' entries in {{ic|path-to-theme/metacity-1/metacity-theme-1.xml}}.<br />
<br />
==Known Issues==<br />
===Window decoration doesn't work properly===<br />
===Ubuntu 12.10 new feature ''Webapps'' doesn't work properly===</div>Oi wtfhttps://wiki.archlinux.org/index.php?title=Unity&diff=233105Unity2012-11-01T23:12:04Z<p>Oi wtf: /* From repository */</p>
<hr />
<div>[[it:Notify OSD]]<br />
[[zh-CN:Notify OSD]]<br />
[[Category:Desktop environments]]<br />
{{Article summary start|Summary}}<br />
{{Article summary text|This article discusses how to install and use Unity. Unity is a shell interface for the GNOME desktop environment. This article covers how to get Unity on your system and how to configure it to fit your needs.}}<br />
{{Article summary heading|Related}}<br />
{{Article summary wiki|GNOME}}<br />
{{Article summary end}}<br />
<br />
[http://unity.ubuntu.com/ Unity] is an alternative shell for the GNOME desktop environment, developed by Canonical in its Ayatana project. It consists of several components including the Launcher, Dash, lenses, Panel, indicators, Notify OSD and Overlay Scrollbar. Unity used to available in two implementations: 'Unity' is the 3D accelerated version, which uses Compiz window manager and Nux toolkit; and 'Unity 2D' is a lighter alternative, which uses Metacity window manager and Qt toolkit. Unity 2D is already dropped by Canonical from Ubuntu 12.10. Instead a version powered by Gallium3D llvmpipe alternative is used.<br />
<br />
== Installation ==<br />
There are two ways to install Unity on Archlinux:<br />
*'''from source code''' <br />
*'''from repository'''<br />
=== From source ===<br />
All of the pkgbuilds can be browsed in [https://github.com/chenxiaolong/Unity-for-Arch Github repository], where [https://github.com/chenxiaolong/Unity-for-Arch Unity-For-Arch] provides a minimal working Unity shell, [https://github.com/chenxiaolong/Unity-for-Arch-Extra Unity-For-Arch-Extra] provides some additoinal applications including '''lightdm-ubuntu'''(lightdm with ubuntu patch), '''light-themes''', '''ubuntu-tweak'''(a popular ubuntu tweak tool) and so on.<br />
<br />
To install minimal Unity shell:<br />
<br />
1. 'cd' to a directory that you want to keep the sources in and then run:<br />
{{bc|$ git clone https://github.com/chenxiaolong/Unity-for-Arch.git}}<br />
Where {{Pkg|git}} is required.<br />
<br />
2 Open the README file and build packages according to the order listed. Basically run:<br />
{{bc|$ cd packagename<br />
$ rm -rvf # Clears out any files from a previous build<br />
$ makepkg -sci # '-s' means install needed dependencies, '-c' means clear left files after build and '-i' means install the package after it is built.<br />
}}<br />
3. Log out and log into the Unity session.<br />
<br />
To use lightdm to start Unity, almost the same steps need to be followed to instal '''lightdm-ubuntu''' and '''lightdm-unity-greeter''' from [https://github.com/chenxiaolong/Unity-for-Arch-Extra Unity-For-Arch-Extra]. And lightdm needs to be added to autostart daemons.<br />
<br />
=== From repository ===<br />
Compiled packages are also available at [http://unity.humbug.in/ unity.humbug.in] and [http://unity.xe-xe.org/ unity.xe-xe.org].<br />
Take '''unity.xe-xe.org''' as an example, to install the packages,<br />
add<br />
{{bc|<br />
[unity]<br />
Server &#61; http://unity.xe-xe.org/$arch<br />
<br />
[unity-extra]<br />
Server &#61; http://unity.xe-xe.org/extra/$arch<br />
}}<br />
to {{ic|/etc/pacman.conf}}<br />
<br />
Run:<br />
{{bc|<br />
$ pacman -Suy<br />
$ pacman -S $(pacman -Slq unity)}}<br />
<br />
{{Tip| There are many ubuntu-patched packages that replace original Arch packages.<br />
Also it is recommended to use freetype2-ubuntu and libxft-ubuntu from AUR.}}<br />
<br />
{{Warning|Remember you're installing '''unofficial''' packages that are unsupported by the Arch Linux developers.}}<br />
{{Warning|Almost all of the packages related to Unity in AUR are outdated. Don't mix that packages with those from the repository.}}<br />
<br />
==Update==<br />
For Unity repository, the update is the same as packages from official repositories.<br />
<br />
Otherwise:<br />
<br />
1. 'cd' into the 'Unity-for-Arch' directory where it was originally cloned<br />
<br />
2. pull all of changes from github repository:<br />
{{bc|$ git pull}}<br />
3. Check if packages need to be updated:<br />
{{bc|$ ./What_can_I_update\?.py}}<br />
4. If any packages need to be updated, just build them like mentioned above in '''from source''' section.<br />
<br />
{{Note| Sometimes if certain crucial package is updated, those package which depend on it will also need to be recompiled though they won't be reported. For example, '''Unity''' is often required to be recompiled if '''nux''' gets updated}}<br />
<br />
==Trouble Shooting==<br />
===Unity stops working after update===<br />
Try to run:<br />
{{bc|$ compiz.reset}}<br />
and Log out and log into the Unity session.<br />
<br />
If it still doesn't work, report an issue on [https://github.com/chenxiaolong/Unity-for-Arch/issues?state=open github] or discuss it on [https://bbs.archlinux.org/viewtopic.php?id=125423&p=1 Arch forum].<br />
<br />
===Window decoration doesn't work properly===<br />
Try to install {{Pkg|gnome-tweak-tool}} to adjust the theme.<br />
<br />
===Window decoration can't use certain theme===<br />
It's an known issue which is supposed to be solved with Gnome 3.6. <br />
A dirt hack is to remove ''shadow'' and ''padding'' entries in {{ic|path-to-theme/metacity-1/metacity-theme-1.xml}}.<br />
<br />
==Known Issues==<br />
===Window decoration doesn't work properly===<br />
===Ubuntu 12.10 new feature ''Webapps'' doesn't work properly===</div>Oi wtfhttps://wiki.archlinux.org/index.php?title=Unity&diff=233103Unity2012-11-01T23:11:39Z<p>Oi wtf: /* From repository */</p>
<hr />
<div>[[it:Notify OSD]]<br />
[[zh-CN:Notify OSD]]<br />
[[Category:Desktop environments]]<br />
{{Article summary start|Summary}}<br />
{{Article summary text|This article discusses how to install and use Unity. Unity is a shell interface for the GNOME desktop environment. This article covers how to get Unity on your system and how to configure it to fit your needs.}}<br />
{{Article summary heading|Related}}<br />
{{Article summary wiki|GNOME}}<br />
{{Article summary end}}<br />
<br />
[http://unity.ubuntu.com/ Unity] is an alternative shell for the GNOME desktop environment, developed by Canonical in its Ayatana project. It consists of several components including the Launcher, Dash, lenses, Panel, indicators, Notify OSD and Overlay Scrollbar. Unity used to available in two implementations: 'Unity' is the 3D accelerated version, which uses Compiz window manager and Nux toolkit; and 'Unity 2D' is a lighter alternative, which uses Metacity window manager and Qt toolkit. Unity 2D is already dropped by Canonical from Ubuntu 12.10. Instead a version powered by Gallium3D llvmpipe alternative is used.<br />
<br />
== Installation ==<br />
There are two ways to install Unity on Archlinux:<br />
*'''from source code''' <br />
*'''from repository'''<br />
=== From source ===<br />
All of the pkgbuilds can be browsed in [https://github.com/chenxiaolong/Unity-for-Arch Github repository], where [https://github.com/chenxiaolong/Unity-for-Arch Unity-For-Arch] provides a minimal working Unity shell, [https://github.com/chenxiaolong/Unity-for-Arch-Extra Unity-For-Arch-Extra] provides some additoinal applications including '''lightdm-ubuntu'''(lightdm with ubuntu patch), '''light-themes''', '''ubuntu-tweak'''(a popular ubuntu tweak tool) and so on.<br />
<br />
To install minimal Unity shell:<br />
<br />
1. 'cd' to a directory that you want to keep the sources in and then run:<br />
{{bc|$ git clone https://github.com/chenxiaolong/Unity-for-Arch.git}}<br />
Where {{Pkg|git}} is required.<br />
<br />
2 Open the README file and build packages according to the order listed. Basically run:<br />
{{bc|$ cd packagename<br />
$ rm -rvf # Clears out any files from a previous build<br />
$ makepkg -sci # '-s' means install needed dependencies, '-c' means clear left files after build and '-i' means install the package after it is built.<br />
}}<br />
3. Log out and log into the Unity session.<br />
<br />
To use lightdm to start Unity, almost the same steps need to be followed to instal '''lightdm-ubuntu''' and '''lightdm-unity-greeter''' from [https://github.com/chenxiaolong/Unity-for-Arch-Extra Unity-For-Arch-Extra]. And lightdm needs to be added to autostart daemons.<br />
<br />
=== From repository ===<br />
Compiled packages are also available at [http://unity.humbug.in/ unity.humbug.in] and [http://unity.xe-xe.org/ unity.xe-xe.org].<br />
Take '''unity.xe-xe.org''' as an example, to install the packages,<br />
add<br />
{{bc|<br />
[unity]<br />
Server &#61; http://unity.xe-xe.org/$arch<br />
<br />
[unity-extra]<br />
Server &#61; http://unity.xe-xe.org/extra/$arch<br />
}}<br />
to {{ic|/etc/pacman.conf}}<br />
<br />
Run:<br />
{{bc|<br />
$ pacman -Suy<br />
$ pacman -S $(pacman -Slq unity)}}<br />
<br />
{{Tip| There are many ubuntu-patched packages that replace original Arch packages.<br />
Also it is recommended to use freetype2-ubuntu and libxft-ubuntu from AUR.}}<br />
<br />
{{Warning|Remember you're installing '''unofficial''' packages that are unsupported by the Arch Linux developers.}}<br />
{{Warning|Almost all of the packages related to Unity in AUR are outdated. Don't mix those packages with those from the repository.}}<br />
<br />
==Update==<br />
For Unity repository, the update is the same as packages from official repositories.<br />
<br />
Otherwise:<br />
<br />
1. 'cd' into the 'Unity-for-Arch' directory where it was originally cloned<br />
<br />
2. pull all of changes from github repository:<br />
{{bc|$ git pull}}<br />
3. Check if packages need to be updated:<br />
{{bc|$ ./What_can_I_update\?.py}}<br />
4. If any packages need to be updated, just build them like mentioned above in '''from source''' section.<br />
<br />
{{Note| Sometimes if certain crucial package is updated, those package which depend on it will also need to be recompiled though they won't be reported. For example, '''Unity''' is often required to be recompiled if '''nux''' gets updated}}<br />
<br />
==Trouble Shooting==<br />
===Unity stops working after update===<br />
Try to run:<br />
{{bc|$ compiz.reset}}<br />
and Log out and log into the Unity session.<br />
<br />
If it still doesn't work, report an issue on [https://github.com/chenxiaolong/Unity-for-Arch/issues?state=open github] or discuss it on [https://bbs.archlinux.org/viewtopic.php?id=125423&p=1 Arch forum].<br />
<br />
===Window decoration doesn't work properly===<br />
Try to install {{Pkg|gnome-tweak-tool}} to adjust the theme.<br />
<br />
===Window decoration can't use certain theme===<br />
It's an known issue which is supposed to be solved with Gnome 3.6. <br />
A dirt hack is to remove ''shadow'' and ''padding'' entries in {{ic|path-to-theme/metacity-1/metacity-theme-1.xml}}.<br />
<br />
==Known Issues==<br />
===Window decoration doesn't work properly===<br />
===Ubuntu 12.10 new feature ''Webapps'' doesn't work properly===</div>Oi wtf