From ArchWiki
Revision as of 12:01, 16 June 2012 by Xiazhujie (talk | contribs)
Jump to: navigation, search

zh-CN:MATE Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary link Template:Article summary heading Template:Article summary wiki Template:Article summary end

The MATE Desktop Environment is a fork of GNOME 2 that aims to provide an attractive and intuitive desktop to Linux users using traditional metaphors. For more information, see this forum thread.


MATE is currently developed on GitHub and hosted on two pacman mirrors:

Development packages are also available through the AUR (mate-desktop-environmentAUR).

Warning: There is a new set of packages as of 10th February 2012 with a different version numbering in the repositories. In order to safely update your system you'll have to use
# pacman -Syuu

once. Otherwise pacman will warn you about local packages being newer than the ones in the repository. The old packages are considered development packages from now and will only be updated sporadically! If you would like to stay with them please update your pacman.conf like so:

Server =$arch


To install the stable version of MATE via pacman add the following lines to your /etc/pacman.conf:

Server =$arch


# pacman -Syy

and then

# pacman -S mate

It might also be of interest to people to install certain packages from the mate-extra group (most being counterparts to packages in the gnome-extra group):

Note: Currently, there are two extra groups in the MATE pacman repositories: mate-extra and mate-extras. It is advised to look in both for the needed applications until it gets properly merged/fixed into a single extra group.
# pacman -S mate-extra


# pacman -S mate-extras

You are very likely to get file conflicts when installing. Simply rename the offending files or install with the --force flag. You will also require dbus.

Note: Currently, many MATE packages do not provide, conflict or replace any GNOME packages.


Always make sure dbus is in your DAEMONS array in rc.conf before starting MATE.


In order to start MATE manually, you must add

exec ck-launch-session mate-session

to your ~/.xinitrc file and then run

$ startx
Note: If you have authorization problems (e.g. when mounting disks), try adding dbus-launch after ck-launch-session.

Automatically at boot time

See Display Manager and Start X at Boot for details.

GDM (Old)

If you are using gdm-oldAUR from the AUR, simply select the MATE session from the Sessions list. For your first time launching MATE, make sure to click "Just this session" when prompted.

MATE Display Manager

The MATE Display Manager (MDM) is the MATE desktop's counterpart to the GNOME Display Manager (GDM). It's package 'mate-display-manager' can be found in the mate-extra group or in the AUR package mate-display-managerAUR. It works relatively the same as GDM does/did.


In order to be able to launch MATE from KDM, the KDE Display Manager, you have to edit the KDM configuration. As root, edit the /usr/share/config/kdm/kdmrc configuration file. Find the SessionsDir parameter and add /usr/share/xsessions to the list. It should then look like this:


Restart KDM and select the "MATE session" from the list.


Just fallow the SLIM tutorial to know how to install and how to copy and use the .xinitrc file. And just add this line to the .xinitrc file :

exec mate-session


Core applications

It is important to note that many GNOME core applications are rebranded for MATE, as per the licensing terms. Here is a simple Rosetta Stone of GNOME -> MATE applications.

  • Nautilus is renamed caja
  • Metacity is renamed marco
  • Gconf is renamed mate-conf

Other applications and core components prefixed with GNOME (such as GNOME Panel, GNOME Menus etc) have simply had the prefix renamed "MATE" and become MATE Panel and MATE Menus.

Extra applications

Not all of the GNOME extra applications (built for GTK2) have been forked yet. The following extra applications are available in MATE:

  • Totem (mate-video-player)
  • Eye of GNOME (mate-image-viewer)
  • Gedit (mate-text-editor)
  • File Roller (mate-file-archiver)
  • GNOME Panel applets (mate-applets)
  • GNOME Terminal (mate-terminal)

If you are using NetworkManager to connect to the internet, you can install network-manager-applet-gtk2AUR from the AUR for a GTK2 nm-applet. You will need to modify the PKGBUILD to depend on mate-bluetooth rather than gnome-bluetooth to prevent a recursive dependency on gnome-desktop.

Using Compiz Fusion sans Emerald

If you would like to use Marco with Compiz Fusion, install and start Compiz Fusion as you would normally and install the package gtk-window-decorator and run the following command to create a symlink:

# ln -s /usr/lib/ /usr/lib/

Enable the Window Decoration plugin in the Compiz Fusion settings manager and use

gtk-window-decorator --replace

as the command. However, without recompiling gtk-window-decorator, the necessary mateconf keys will not be created and you will be stuck with Cairo based decorations. It may be possible to create these keys yourself.

Known issues

Endless spawning of file manager instances

You may find that after you log in, the Caja file manager keeps spawning new instances and never stops. A temporary fix is performed with the following command:

# ln -s /usr/lib/ /usr/lib/

Log out and log back in again once you perform this command.

This may also fix an issue where the clock panel applet does not appear.

Qt Applications are not styled

You may find that Qt4 applications are not inheriting the GTK2 theme like they should. This can be fixed easily by installing libgnomeui with the --force flag. If the problem persists, run qtconfig and make sure that the selected GUI Style is GTK+. This is likely to be fixed as MATE development continues.

Evolution Email Not Working

Please see Evolution#Using_Evolution_Outside_Of_Gnome.

Sticky Notes lost between Reboots

As of Version 1.1.0, the Sticky Notes Panel Applet fails to save the notes created. This can be easily solved with the following two commands:

$ mkdir /home/username/.config/mate/
$ touch /home/username/.config/mate/stickynotes_applet

For more information, see this post in the MATE Forums.