MATE (简体中文)

From ArchWiki
Revision as of 08:19, 22 December 2013 by Fengchao (Talk | contribs) (Flag for translation.)

Jump to: navigation, search

Tango-preferences-desktop-locale.png本页面需要更新翻译,内容可能已经与英文脱节。要贡献翻译,请访问简体中文翻译组Tango-preferences-desktop-locale.png

附注: please use the first argument of the template to provide more detailed indications.

MATE 桌面环境 是 GNOME 2 的一个分支,旨在使用传统的方式,为Linux用户提供一个有吸引力的和直观的桌面. 更多信息, 请看 this forum thread.

获得

MATE 现在位于 GitHub:

安装

要通过 pacman 安装稳定版本的 MATE , 添加下面几行到 /etc/pacman.conf:

[mate]
Server = http://packages.mate-desktop.org/repo/archlinux/$arch

运行

# pacman -Syy

然后

# pacman -S mate

一些人可能对从mate-extra 组 (大部分是 gnome-extra 组里的包的副本)安装某些包感兴趣:

Note: 目前, MATE 的pacman 仓库里有两个扩展组: mate-extramate-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.

启动

手动

为了手动启动 MATE , 需要添加

exec mate-session

到你的 ~/.xinitrc 文件,然后运行

$ startx
注意: xinitrc有详细介绍,例如保持 logind (或 consolekit) 会话等。

启动时自动启动

详情请看 Display ManagerStart X at Login .

LightDM, GDM & LXDM

直接选择即可,无需特别配置。

GDM (旧)

如果你在使用 AUR 中的 gdm-oldAUR, 简单的从会话列表中选择 MATE 会话即可. 第一次启动 MATE, 出现提示时确认点击 "只对此会话" .

MATE Display Manager

The MATE Display Manager (MDM) is the MATE desktop's counterpart to the GNOME Display Manager (GDM). 它的包 'mate-display-manager' 在 mate-extra 组或者在 AUR 软件包 mate-display-managerAUR. It works relatively the same as GDM does/did.

KDM

为了从 KDM 启动MATE, the KDE Display Manager, 需要编辑 KDM 配置. 用 root 用户, 编辑 /usr/share/config/kdm/kdmrc . 找到 SessionsDir 小节,并添加 /usr/share/xsessions 到列表. 编辑后应该类似于下面:

SessionsDirs=/usr/share/config/kdm/sessions,/usr/share/apps/kdm/sessions,/usr/share/xsessions

重启 KDM 并从列表中选择 "MATE session".

SLIM

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

应用程序

核心应用程序

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 重命名为 caja
  • Metacity 重命名为 marco
  • Gconf 重命名为 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.

扩展应用程序

Not all of the GNOME extra applications (built for GTK2) have been forked yet. 下面的扩展应用程序在 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)

如果你使用 NetworkManager 连接互联网, 可以为 GTK2 nm-applet 从 AUR 安装 network-manager-applet-gtk2AUR. 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/libmarco-private.so.0 /usr/lib/libmetacity-private.so.0

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.

已知问题

Qt 应用程序不风格化

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 setting GTK+ as GUI style under System ⇒ Preferences ⇒ QT4 Settings.

Evolution Email 不工作

请看 Evolution#Using_Evolution_Outside_Of_Gnome.