Difference between revisions of "MATE"

From ArchWiki
Jump to: navigation, search
m
(Additional MATE packages: add topmenu-gtk)
 
(267 intermediate revisions by 50 users not shown)
Line 6: Line 6:
 
[[ru:MATE]]
 
[[ru:MATE]]
 
[[zh-CN:MATE]]
 
[[zh-CN:MATE]]
{{Article summary start}}
+
{{Related articles start}}
{{Article summary text|What is MATE and how to get it.}}
+
{{Related|GNOME}}
{{Article summary heading|Required software}}
+
{{Related|Cinnamon}}
{{Article summary link|MATE|http://mate-desktop.org}}
+
{{Related|Desktop environment}}
{{Article summary heading|Related}}
+
{{Related|Display manager}}
{{Article summary wiki|GNOME}}
+
{{Related|Uniform Look for Qt and GTK Applications}}
{{Article summary end}}
+
{{Related articles 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 [https://bbs.archlinux.org/viewtopic.php?id=121162 this forum thread.]
+
From [http://mate-desktop.org/ MATE homepage]:
  
== Obtaining ==
+
:''The MATE Desktop Environment is the continuation of GNOME 2. It provides an intuitive and attractive desktop environment using traditional metaphors for Linux and other Unix-like operating systems. MATE is [https://github.com/mate-desktop under active development] to add support for new technologies while preserving a traditional desktop experience.''
  
MATE is currently developed on [https://github.com/mate-desktop GitHub].
+
== MATE applications ==
Stable packages with release-based version numbering are hosted on http://repo.mate-desktop.org/archlinux/.
+
 
 +
MATE is largely composed of GNOME 2 applications and utilities, forked and renamed to avoid conflicting with their GNOME 3 counterparts. Below is a list of common GNOME applications which have been renamed in MATE.
 +
 
 +
{| class="wikitable"
 +
! Application
 +
! GNOME 2
 +
! MATE
 +
|-
 +
| menu editor
 +
| Alacarte
 +
| style="font-weight: bold;" | Mozo
 +
|-
 +
| file manager
 +
| Nautilus
 +
| style="font-weight: bold;" | Caja
 +
|-
 +
| window manager
 +
| Metacity
 +
| style="font-weight: bold;" | Marco
 +
|-
 +
| text editor
 +
| Gedit
 +
| style="font-weight: bold;" | Pluma
 +
|-
 +
| image viewer
 +
| Eye of GNOME
 +
| style="font-weight: bold;" | Eye of MATE
 +
|-
 +
| document viewer
 +
| Evince
 +
| style="font-weight: bold;" | Atril
 +
|-
 +
| archive manager
 +
| File Roller
 +
| style="font-weight: bold;" | Engrampa
 +
|}
 +
 
 +
Other applications and core components prefixed with GNOME (such as GNOME Terminal, GNOME Panel, GNOME Menus, etc.) have had the prefix changed to MATE so they become MATE Panel, MATE Menus etc.
  
 
== Installation ==
 
== Installation ==
  
To install the stable version of MATE via [[pacman]] add the following lines to your {{ic|/etc/pacman.conf}}:
+
MATE is available in the [[official repositories]] and can be [[installed]] with one of the following:
  
{{bc|<nowiki>
+
*The {{Grp|mate}} group contains the core desktop environment required for the standard MATE experience.
[mate]
+
*The {{Grp|mate-extra}} group contains additional utilities and applications that integrate well with the MATE desktop. Installing just the {{Grp|mate-extra}} group will not pull in the whole {{Grp|mate}} group via dependencies. If you want to install all MATE packages then you will need to explicitly install both groups.
Server = http://repo.mate-desktop.org/archlinux/$arch
+
</nowiki>}}
+
  
Run
+
The base desktop consists of {{Pkg|marco}}, {{Pkg|mate-panel}} and {{Pkg|mate-session-manager}},
  
# pacman -Syy
+
=== Additional MATE packages ===
  
and then
+
There are additional official packages not included in the {{Grp|mate}} or {{Grp|mate-extra}} groups because they are not necessarily useful to everyone.
  
# pacman -S mate
+
* {{App|GNOME Main Menu|A MATE panel applet similar to the traditional main-menu, but with a few additions.|http://mate-desktop.org|{{Pkg|gnome-main-menu}}}}
 +
* {{App|MATE Netbook|This applet will automatically maximize all windows and provides an application switcher applet.|http://mate-desktop.org|{{Pkg|mate-netbook}}}}
  
It might also be of interest to people to install certain packages from the '''mate-extras''' group (most being counterparts to packages in the {{Grp|gnome-extra}} group):
+
There are also a number of other unofficial MATE applications that are contributed to and maintained by the MATE community and therefore not included in the {{Grp|mate}} or {{Grp|mate-extra}} groups.
+
# pacman -S mate-extras
+
  
You are very likely to get file conflicts when installing. Simply rename the offending files or install with the {{ic|--force}} flag. You will also require [[dbus]].
+
* {{App|MATE AccountsDialog|An application to view and modify user accounts information for MATE.|https://github.com/NiceandGently/mate-accountsdialog|{{Pkg|mate-accountsdialog}}}}
 +
* {{App|Lock Keys Applet|A MATE panel applet that shows which of the CapsLock, NumLock and ScrollLock keys are on and which are off.|http://www.zavedil.com/mate-lock-keys-applet/|{{Pkg|mate-applet-lockkeys}}}}
 +
* {{App|Online Radio Applet|A MATE panel applet to let you play your favourite online radio station with a single click.|http://www.zavedil.com/online-radio-applet/|{{Pkg|mate-applet-streamer}}}}
 +
* {{App|MATE Color Manager|Color management application for MATE.|https://github.com/NiceandGently/mate-color-manager|{{Pkg|mate-color-manager}}}}
 +
* {{App|MATE Disk Utility|Disk management application for MATE.|https://github.com/NiceandGently/mate-disk-utility|{{Pkg|mate-disk-utility}}}}
 +
* {{App|MATE Screensaver Hacks|Enable screensavers from xscreensaver for MATE.|http://www.jwz.org/xscreensaver/|{{Pkg|mate-screensaver-hacks}}}}
 +
* {{App|Variety|Variety changes the wallpaper on a regular interval using user-specified or automatically downloaded images.|http://peterlevi.com/variety/|{{Pkg|variety}}}}
  
{{note|Currently, many MATE packages do not provide, conflict with or replace any GNOME packages.}}
+
The followings are also available via the AUR and integrate with MATE but the packages are not maintained by the MATE team.
  
== Starting ==
+
* {{App|Dock Applet|Application dock for the MATE panel.|https://github.com/robint99/dock-applet|{{AUR|mate-applet-dock}}}}
 +
* {{App|MATE Menu|Advanced menu for MATE Panel, a fork of MintMenu.|https://bitbucket.org/ubuntu-mate/mate-menu|{{AUR|mate-menu}}}}
 +
* {{App|MATE Tweak|Tweak tool for MATE, a fork of mintDesktop.|https://bitbucket.org/ubuntu-mate/mate-tweak|{{AUR|mate-tweak}}}}
 +
* {{App|TopMenu (GTK+)|MATE panel applet for a global menubar.|https://git.javispedro.com/cgit/topmenu-gtk.git/about/|{{AUR|topmenu-gtk}}}}
  
=== Manually ===
+
Additional packages need to be installed to take advantage of some of Caja's advanced features - see [[File manager functionality]].
  
In order to start MATE manually, you must add
+
=== GTK+ 3 version ===
  
exec mate-session
+
An experimental GTK+ 3 build of MATE can be installed with {{Grp|mate-gtk3}} and {{Grp|mate-extra-gtk3}} groups. While it works mostly, there are some known issues with [https://github.com/mate-desktop/caja/milestones/Gtk+3 caja], [https://github.com/mate-desktop/eom/milestones/Gtk+3 eom], [https://github.com/mate-desktop/marco/milestones/Gtk+3 marco], [https://github.com/mate-desktop/mate-applets/milestones/Gtk+3 mate-applets], [https://github.com/mate-desktop/mate-control-center/milestones/Gtk+3 mate-control-center], [https://github.com/mate-desktop/mate-netbook/milestones/Gtk+3 mate-netbook], [https://github.com/mate-desktop/mate-notification-daemon/milestones/Gtk+3 mate-notification-daemon], [https://github.com/mate-desktop/mate-panel/milestones/Gtk+3 mate-panel] and [https://github.com/mate-desktop/pluma/milestones/Gtk+3 pluma].
  
to your {{ic|[[xinitrc|~/.xinitrc]]}} file and then run
+
== Starting MATE ==
  
$ startx
+
Choose ''MATE'' from the menu in a [[display manager]] of choice. The MATE team recommends [[LightDM]] as the display manager.
  
{{note|See [[xinitrc]] for details, such as preserving the logind (and/or consolekit) session.}}
+
Alternatively, to start MATE with ''startx'', append  {{ic|exec mate-session}} to your {{ic|~/.xinitrc}} file. See [[xinitrc]] for details, such as preserving the logind session.
  
=== Automatically at boot time ===
+
== Configuration ==
  
See [[Display Manager]] and [[Start X at Boot]] for details.
+
MATE can be configured with its ''Control Center'' application (''mate-control-center'') provided by the {{Pkg|mate-control-center}} package. To manage some hardware, you may need to install additional tools.
  
==== GDM (Old) ====
+
; Audio
 +
: [[ALSA]] and [[PulseAudio]] backends are supported by the {{Pkg|mate-media}} package.
 +
; Bluetooth
 +
: For [[Bluetooth]] device support, install the {{Pkg|blueman}} package. See [[Blueman]].
 +
; Networking
 +
: For configuring the network, install the {{Pkg|network-manager-applet}} package. See [[NetworkManager]].
 +
; Power
 +
: UPower backend is supported by the {{Pkg|mate-power-manager}} package.
 +
; Printers
 +
: For configuring the printers, install the {{Pkg|system-config-printer}} package.
  
If you are using {{AUR|gdm-old}} 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.
+
=== Accessibility ===
 +
 
 +
MATE is well suited for use by individuals with sight or mobility impairment. [[Install]] {{Pkg|orca}}, {{Pkg|espeak}} (Screen reader for individuals who are blind or visually impaired) and {{Pkg|onboard}} (On-screen keyboard useful for mobility impaired users)
 +
 
 +
Before starting MATE for the first time, enter the following command as the user who needs accessibility features:
 +
 
 +
gsettings set org.mate.interface accessibility true
 +
 
 +
Once you start MATE, you can configure the accessibility applications via ''System > Preferences > Assistive Technologies'', although if you need Orca, you will need to run it from the {{ic|Alt-F2}} run window in order to start getting speech.
 +
 
 +
== Tips and tricks ==
 +
 
 +
=== Enabling compositing ===
 +
 
 +
Compositing is not enabled by default. To enable it navigate to run {{ic|System -> Preferences -> Windows}} and click the tick box alongside '''Enable software compositing window manager''' in the {{ic|General}} tab. Alternatively, you can run the following from the terminal:
 +
 
 +
$ dconf write /org/mate/marco/general/compositing-manager true
 +
 
 +
=== Enabling new window centering ===
 +
 
 +
By default, new windows are placed in the top-left corner. To center new windows on creation navigate to run {{ic|System -> Preferences -> Windows}} and click the tick box alongside '''Center new windows''' in the {{ic|Placement}} tab. Alternatively, you can run the following from the terminal:
 +
 
 +
$ dconf write /org/mate/marco/general/center-new-windows true
 +
 
 +
=== Enabling window snapping ===
 +
 
 +
Window snapping is not be enabled by default, to enable it navigate to run {{ic|System -> Preferences -> Windows}} and click the tick box alongside '''Enable side by side tiling''' in the {{ic|Placement}} tab. Alternatively, you can run the following from the terminal:
 +
 
 +
$ dconf write /org/mate/marco/general/side-by-side-tiling true
 +
 
 +
=== Show or hide desktop icons ===
 +
 
 +
By default, MATE shows multiple icons on the desktop: The content of your desktop directory, computer, home and network directories, the trash and mounted drives. You can show or hide them individually or all at once using {{ic|dconf}}.
 +
 
 +
==== Hide all desktop icons ====
 +
 
 +
$ dconf write /org/mate/desktop/background/show-desktop-icons false
 +
 
 +
==== Hide individual icons ====
 +
 
 +
Hide computer icon:
 +
 
 +
$ dconf write /org/mate/caja/desktop/computer-icon-visible false
 +
 
 +
Hide user directory icon:
 +
 
 +
$ dconf write /org/mate/caja/desktop/home-icon-visible false
 +
 
 +
Hide network icon:
 +
 
 +
$ dconf write /org/mate/caja/desktop/network-icon-visible false
 +
 
 +
Hide trash icon:
 +
 
 +
$ dconf write /org/mate/caja/desktop/trash-icon-visible false
 +
 
 +
Hide mounted volumes:
 +
 
 +
$ dconf write /org/mate/caja/desktop/volumes-visible false
 +
 
 +
Replace {{ic|false}} with {{ic|true}} for the icons to reappear.
 +
 
 +
=== Use a different window manager with MATE ===
 +
 
 +
The ''marco'' window manager can be replaced with another window manager via either of the following methods:
 +
 
 +
;Using DConf (recommended)
 +
Execute the following to specify a different window manager for MATE:
 +
$ dconf write /org/mate/desktop/session/required-components/windowmanager ''wm-name''
 +
 
 +
;Using MATE session autostart
 +
You can autostart a window manager of your choice using ''mate-session-properties''. This means that the autostarted window manager will replace the default window manager at login. Navigate to ''System'' -> ''Preferences'' -> ''Startup Applications''. In the dialog click ''Add.'' The command should take the syntax {{ic|''wm-name'' --replace}}.
 +
 
 +
=== Prevent Caja from managing the desktop ===
 +
 
 +
To prevent Caja from managing the desktop, execute the following:
 +
$ gsettings set org.mate.background show-desktop-icons false
 +
$ killall caja # caja will be restarted by session manager
 +
 
 +
=== Change window decoration button order ===
 +
 
 +
You can change the button using dconf. The key is in org.mate.marco.general.button-layout. Use the graphical dconf-editor or the dconf command line tool to change it:
 +
 
 +
$ dconf write /org/mate/marco/general/button-layout "'close,maximize,minimize:'"
 +
 
 +
and put '''menu''', '''close''', '''minimize''' and '''maximize''' in your desired order, separated by commas. The colon is used to specify on which side of the titlebar the window buttons will appear and must be used for the changes to apply.
 +
 
 +
=== Auto open file manager after drive mount ===
 +
 
 +
By default, MATE automatically opens a new file manager window when a drive is mounted. To disable this, change the following key in dconf:
 +
 
 +
$ dconf write /org/mate/desktop/media-handling/automount-open false
 +
 
 +
=== Screensaver ===
 +
 
 +
MATE uses {{pkg|mate-screensaver}} to lock your session. By default there are a limited number of screensavers available. To make more screensavers available, install the {{Pkg|mate-screensaver-hacks}} package. This will allow you to use [[XScreenSaver]] screensavers with {{pkg|mate-screensaver}}.
 +
 
 +
=== Lock screen and default background image ===
 +
 
 +
The full list of configuration options can be found in <code>/usr/share/glib-2.0/schemas/org.mate.background.gschema.xml</code>, they are overridden by creating the file <code>/usr/share/glib-2.0/schemas/mate-background.gschema.override</code>.
 +
 
 +
{{note|The values on the right must be enclosed in single quotes (<nowiki>''</nowiki>) otherwise an error will occur during re-compile.}}
 +
 
 +
Example #1: Change the background image of the lock screen:
 +
{{hc|/usr/share/glib-2.0/schemas/mate-background.gschema.override|2=
 +
 
 +
[org.mate.background]
 +
picture-filename='/path/to/the/background.jpg'}}
 +
 
 +
Example #2: Change the lock screen to use a gradient:
 +
{{hc|/usr/share/glib-2.0/schemas/mate-background.gschema.override|2=
 +
 
 +
[org.mate.background]
 +
color-shading-type='vertical-gradient'
 +
picture-options='scaled'
 +
picture-filename=<nowiki>''</nowiki>
 +
primary-color='#152233'
 +
secondary-color='#000000'}}
 +
 
 +
Re-compile the schemas:
 +
# glib-compile-schemas /usr/share/glib-2.0/schemas/
 +
 
 +
Finally, restart your X session for the change to effect.
 +
 
 +
=== Spatial view in Caja ===
 +
 
 +
To ensure that each new folder opens in a new window (known as spatial view), open Caja's preferences dialog, click on the behaviour tab and tick the 'Open each folder in its own window' option. Alternatively, execute the following command which achieves the same effect:
 +
$ gsettings set org.mate.caja.preferences always-use-browser false
 +
 
 +
=== Change font DPI setting ===
 +
 
 +
You can alter the DPI (dots per inch) of the fonts in MATE by right-clicking on the desktop and choosing ''Change desktop background > Fonts > Details > Resolution''.
 +
 
 +
=== Change applications menu icon ===
 +
 
 +
By default, the applications menu icon is set to {{ic|start-here}}. To use a different icon, copy your icon to a folder such as {{ic|/usr/local/share/pixmaps}} and execute the following:
 +
$ gsettings set org.mate.panel.menubar icon-name ''icon''
 +
where ''icon'' is the name of your icon. Do not include the file extension in the icon name. Finally, restart MATE Panel.
 +
 
 +
=== Panel speed settings ===
 +
 
 +
;Hide/Unhide delay
 +
To adjust the amount of time it takes for the panel to disappear or reappear when autohide is enabled, execute the following:
 +
$ dconf write /org/mate/panel/toplevels/''panel''/(un)hide-delay ''time''
 +
where ''panel'' is either ''top'' or ''bottom'' and ''time'' is a value in miliseconds, e.g. 300.
 +
 
 +
;Animation speed
 +
To set the speed at which panel animations occur, execute the following:
 +
$ dconf write /org/mate/panel/toplevels/''panel''/animation-speed ''value''
 +
where ''panel'' is either ''top'' or ''bottom'' and ''value'' is either {{ic|"'fast'"}}, {{ic|"'medium'"}} or {{ic|"'slow'"}}.
 +
 
 +
== Troubleshooting ==
 +
 
 +
=== Toggling compositing ===
 +
 
 +
Some software may have issues rendering graphics when working on an environment using the nvidia proprietary drivers and a compositing window manager.
 +
 
 +
To easily toggle the compositing feature, save the following script somewhere within the Home directory, e.g. {{ic|~/.scripts/compositing.sh}}:
 +
 
 +
{{bc|<nowiki>
 +
#!/bin/bash
 +
if $(dconf read /org/mate/marco/general/compositing-manager) == "true"
 +
then
 +
  dconf write /org/mate/marco/general/compositing-manager false
 +
else
 +
  dconf write /org/mate/marco/general/compositing-manager true
 +
fi
 +
</nowiki>}}
  
==== [[LightDM]], [[GDM]] & [[LXDM]] ====
+
and then create a custom keyboard shortcut that executes the file, e.g. {{ic|Ctrl+Alt+C}}, to {{ic|sh ~/.scripts/compositing.sh}}.
  
Just select MATE from the Sessions list.  Works well.
+
=== Vertical sync for compositing ===
  
==== MATE Display Manager ====
+
''marco'' does not support vertical synchronization via ''OpenGL'', which may cause video tearing with enabled compositing. [https://github.com/mate-desktop/marco/issues/91] Consider a different [[composite manager]] with OpenGL support such as [[Compton]].
  
The MATE Display Manager (MDM) is the MATE desktop's counterpart to the GNOME Display Manager (GDM). It's package 'mate-display-manager' has been found in the '''mate-extra''' group or in the AUR package {{AUR|mate-display-manager}}. It has worked relatively the same as GDM does/did; unfortunately, the subproject is currently in flux, and MDM is not now (2012/07/01) available.
+
=== Consistent cursor theme ===
  
==== [[KDM]] ====
+
See [[Cursor themes#Desktop environments]].
  
In order to be able to launch MATE from [[KDM]], the [[KDE]] Display Manager, you have to edit the KDM configuration.
+
=== Use of gradient backgrounds with LightDM ===
As root, edit the <code>/usr/share/config/kdm/kdmrc</code> configuration file. Find the '''SessionsDir''' parameter and add <code>/usr/share/xsessions</code> to the list.
+
It should then look like this:
+
  
SessionsDirs=/usr/share/config/kdm/sessions,/usr/share/apps/kdm/sessions,/usr/share/xsessions
+
If you wish to use the default MATE (1.8) ''Stripes'' background as the LightDM background as well so as to make for seamless transition from LightDM to MATE, you will find that it is runtime-constructed from a grayscale PNG upon which MATE layers a vertical blue-to-green gradient, something which LightDM does not currently support. If insistent, you can work around this by temporarily setting {{ic|/org/mate/desktop/background/show-desktop-icons}} to {{ic|false}}, either through the {{ic|dconf Editor}} tool available from the {{ic|System Tools}} menu or by running
  
Restart KDM and select the "MATE session" from the list.
+
dconf write /org/mate/desktop/background/show-desktop-icons false
  
==== [[SLIM]] ====
+
from the Alt-F2 {{ic|Run Application}} dialog, then running {{ic|killall mate-panel}} from said dialog and hitting {{ic|Print Screen}} before the panel reappears. You are then presented with a {{ic|Save As}} dialog for exactly that fully rendered, screen-sized PNG that you need for LightDM. Run
  
Just fоllow 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 :
+
  dconf reset /org/mate/desktop/background/show-desktop-icons
  exec mate-session
+
  
== Applications ==
+
to have your desktop icons reappear.
  
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.
+
=== Enabling panel shadow ===
  
* Nautilus is renamed '''Caja'''
+
Due to a race condition, the panel shadow does not appear after logging in to the MATE desktop, even with compositing enabled. [https://github.com/mate-desktop/mate-panel/issues/193]
* Metacity is renamed '''Marco'''
+
* Gconf is renamed '''Mate-conf'''
+
* Gedit is renamed '''Pluma'''
+
* Eye of GNOME is renamed '''Eye of MATE'''
+
* Evince is renamed  '''Atril'''
+
* File Roller is renamed '''Engrampa'''
+
* GNOME Terminal is renamed '''MATE Terminal'''
+
  
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.
+
Copy {{ic|/usr/share/applications/marco.desktop}} and add a delay:
  
Not all of the GNOME extra applications (built for GTK2) have been forked yet. The following extra applications '''are''' available in MATE:
+
{{hc|~/.local/share/applications/marco.desktop|2=
 +
X-MATE-Autostart-Phase='''Applications'''
 +
'''X-MATE-Autostart-Delay=2'''
 +
X-MATE-Provides=windowmanager
 +
X-MATE-Autostart-Notify=true
 +
}}
  
* Totem (mate-video-player)
+
{{Note|Delays are only allowed in the applications phase, hence {{ic|X-MATE-Autostart-Phase}} must be set to {{ic|Applications}}.}}
* GNOME Panel applets (mate-applets)
+
  
If you are using NetworkManager to connect to the internet, you can install {{AUR|network-manager-applet-gtk2}} 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.
+
If this has no effect, increase the delay duration.
  
== Known issues ==
+
=== Disabling scroll in taskbar ===
  
=== Qt Applications are not styled ===
+
A feature of the MATE panel window list is that windows can be scrolled through using the mouse or touchpad. This feature may be troublesome for some as there is potential for accidental, unintended scrolling through windows.
  
You may find that Qt4 applications are not inheriting the GTK2 theme like they should. This can be fixed easily by running qtconfig and setting GTK+ as GUI style under System ⇒ Preferences ⇒ QT4 Settings.
+
Whilst there is no way of disabling this feature through MATE's settings, this feature can be disabled by patching {{Pkg|libwnck}} using the [[Arch Build System]]; in this case, rebuild libwnck with the following [http://pastebin.com/raw.php?i=Bj0AnH1c patch]. For more information on rebuilding packages with patches applied, see [[Patching in ABS#Applying patches]].
  
=== Evolution Email Not Working ===
+
== See also ==
  
Please see [[Evolution#Using_Evolution_Outside_Of_Gnome]].
+
* [http://mate-desktop.org MATE homepage]
 +
* [http://wiki.mate-desktop.org/archlinux_custom_repo MATE wiki for Arch Linux]
 +
* [http://mate-desktop.org/gallery/1.8/ ''MATE desktop screenshots'']
 +
* [https://bbs.archlinux.org/viewtopic.php?pid=1018647 ''The MATE Desktop Environment''] - Arch Linux forum discussion about MATE

Latest revision as of 04:42, 26 February 2016

From MATE homepage:

The MATE Desktop Environment is the continuation of GNOME 2. It provides an intuitive and attractive desktop environment using traditional metaphors for Linux and other Unix-like operating systems. MATE is under active development to add support for new technologies while preserving a traditional desktop experience.

MATE applications

MATE is largely composed of GNOME 2 applications and utilities, forked and renamed to avoid conflicting with their GNOME 3 counterparts. Below is a list of common GNOME applications which have been renamed in MATE.

Application GNOME 2 MATE
menu editor Alacarte Mozo
file manager Nautilus Caja
window manager Metacity Marco
text editor Gedit Pluma
image viewer Eye of GNOME Eye of MATE
document viewer Evince Atril
archive manager File Roller Engrampa

Other applications and core components prefixed with GNOME (such as GNOME Terminal, GNOME Panel, GNOME Menus, etc.) have had the prefix changed to MATE so they become MATE Panel, MATE Menus etc.

Installation

MATE is available in the official repositories and can be installed with one of the following:

  • The mate group contains the core desktop environment required for the standard MATE experience.
  • The mate-extra group contains additional utilities and applications that integrate well with the MATE desktop. Installing just the mate-extra group will not pull in the whole mate group via dependencies. If you want to install all MATE packages then you will need to explicitly install both groups.

The base desktop consists of marco, mate-panel and mate-session-manager,

Additional MATE packages

There are additional official packages not included in the mate or mate-extra groups because they are not necessarily useful to everyone.

  • GNOME Main Menu — A MATE panel applet similar to the traditional main-menu, but with a few additions.
http://mate-desktop.org || gnome-main-menu
  • MATE Netbook — This applet will automatically maximize all windows and provides an application switcher applet.
http://mate-desktop.org || mate-netbook

There are also a number of other unofficial MATE applications that are contributed to and maintained by the MATE community and therefore not included in the mate or mate-extra groups.

  • MATE AccountsDialog — An application to view and modify user accounts information for MATE.
https://github.com/NiceandGently/mate-accountsdialog || mate-accountsdialog
  • Lock Keys Applet — A MATE panel applet that shows which of the CapsLock, NumLock and ScrollLock keys are on and which are off.
http://www.zavedil.com/mate-lock-keys-applet/ || mate-applet-lockkeys
  • Online Radio Applet — A MATE panel applet to let you play your favourite online radio station with a single click.
http://www.zavedil.com/online-radio-applet/ || mate-applet-streamer
  • MATE Color Manager — Color management application for MATE.
https://github.com/NiceandGently/mate-color-manager || mate-color-manager
  • MATE Disk Utility — Disk management application for MATE.
https://github.com/NiceandGently/mate-disk-utility || mate-disk-utility
  • MATE Screensaver Hacks — Enable screensavers from xscreensaver for MATE.
http://www.jwz.org/xscreensaver/ || mate-screensaver-hacks
  • Variety — Variety changes the wallpaper on a regular interval using user-specified or automatically downloaded images.
http://peterlevi.com/variety/ || variety

The followings are also available via the AUR and integrate with MATE but the packages are not maintained by the MATE team.

  • Dock Applet — Application dock for the MATE panel.
https://github.com/robint99/dock-applet || mate-applet-dockAUR
  • MATE Menu — Advanced menu for MATE Panel, a fork of MintMenu.
https://bitbucket.org/ubuntu-mate/mate-menu || mate-menuAUR
  • MATE Tweak — Tweak tool for MATE, a fork of mintDesktop.
https://bitbucket.org/ubuntu-mate/mate-tweak || mate-tweakAUR
  • TopMenu (GTK+) — MATE panel applet for a global menubar.
https://git.javispedro.com/cgit/topmenu-gtk.git/about/ || topmenu-gtkAUR

Additional packages need to be installed to take advantage of some of Caja's advanced features - see File manager functionality.

GTK+ 3 version

An experimental GTK+ 3 build of MATE can be installed with mate-gtk3 and mate-extra-gtk3 groups. While it works mostly, there are some known issues with caja, eom, marco, mate-applets, mate-control-center, mate-netbook, mate-notification-daemon, mate-panel and pluma.

Starting MATE

Choose MATE from the menu in a display manager of choice. The MATE team recommends LightDM as the display manager.

Alternatively, to start MATE with startx, append exec mate-session to your ~/.xinitrc file. See xinitrc for details, such as preserving the logind session.

Configuration

MATE can be configured with its Control Center application (mate-control-center) provided by the mate-control-center package. To manage some hardware, you may need to install additional tools.

Audio
ALSA and PulseAudio backends are supported by the mate-media package.
Bluetooth
For Bluetooth device support, install the blueman package. See Blueman.
Networking
For configuring the network, install the network-manager-applet package. See NetworkManager.
Power
UPower backend is supported by the mate-power-manager package.
Printers
For configuring the printers, install the system-config-printer package.

Accessibility

MATE is well suited for use by individuals with sight or mobility impairment. Install orca, espeak (Screen reader for individuals who are blind or visually impaired) and onboard (On-screen keyboard useful for mobility impaired users)

Before starting MATE for the first time, enter the following command as the user who needs accessibility features:

gsettings set org.mate.interface accessibility true

Once you start MATE, you can configure the accessibility applications via System > Preferences > Assistive Technologies, although if you need Orca, you will need to run it from the Alt-F2 run window in order to start getting speech.

Tips and tricks

Enabling compositing

Compositing is not enabled by default. To enable it navigate to run System -> Preferences -> Windows and click the tick box alongside Enable software compositing window manager in the General tab. Alternatively, you can run the following from the terminal:

$ dconf write /org/mate/marco/general/compositing-manager true

Enabling new window centering

By default, new windows are placed in the top-left corner. To center new windows on creation navigate to run System -> Preferences -> Windows and click the tick box alongside Center new windows in the Placement tab. Alternatively, you can run the following from the terminal:

$ dconf write /org/mate/marco/general/center-new-windows true

Enabling window snapping

Window snapping is not be enabled by default, to enable it navigate to run System -> Preferences -> Windows and click the tick box alongside Enable side by side tiling in the Placement tab. Alternatively, you can run the following from the terminal:

$ dconf write /org/mate/marco/general/side-by-side-tiling true 

Show or hide desktop icons

By default, MATE shows multiple icons on the desktop: The content of your desktop directory, computer, home and network directories, the trash and mounted drives. You can show or hide them individually or all at once using dconf.

Hide all desktop icons

$ dconf write /org/mate/desktop/background/show-desktop-icons false

Hide individual icons

Hide computer icon:

$ dconf write /org/mate/caja/desktop/computer-icon-visible false

Hide user directory icon:

$ dconf write /org/mate/caja/desktop/home-icon-visible false

Hide network icon:

$ dconf write /org/mate/caja/desktop/network-icon-visible false

Hide trash icon:

$ dconf write /org/mate/caja/desktop/trash-icon-visible false

Hide mounted volumes:

$ dconf write /org/mate/caja/desktop/volumes-visible false

Replace false with true for the icons to reappear.

Use a different window manager with MATE

The marco window manager can be replaced with another window manager via either of the following methods:

Using DConf (recommended)

Execute the following to specify a different window manager for MATE:

$ dconf write /org/mate/desktop/session/required-components/windowmanager wm-name
Using MATE session autostart

You can autostart a window manager of your choice using mate-session-properties. This means that the autostarted window manager will replace the default window manager at login. Navigate to System -> Preferences -> Startup Applications. In the dialog click Add. The command should take the syntax wm-name --replace.

Prevent Caja from managing the desktop

To prevent Caja from managing the desktop, execute the following:

$ gsettings set org.mate.background show-desktop-icons false
$ killall caja # caja will be restarted by session manager

Change window decoration button order

You can change the button using dconf. The key is in org.mate.marco.general.button-layout. Use the graphical dconf-editor or the dconf command line tool to change it:

$ dconf write /org/mate/marco/general/button-layout "'close,maximize,minimize:'"

and put menu, close, minimize and maximize in your desired order, separated by commas. The colon is used to specify on which side of the titlebar the window buttons will appear and must be used for the changes to apply.

Auto open file manager after drive mount

By default, MATE automatically opens a new file manager window when a drive is mounted. To disable this, change the following key in dconf:

$ dconf write /org/mate/desktop/media-handling/automount-open false

Screensaver

MATE uses mate-screensaver to lock your session. By default there are a limited number of screensavers available. To make more screensavers available, install the mate-screensaver-hacks package. This will allow you to use XScreenSaver screensavers with mate-screensaver.

Lock screen and default background image

The full list of configuration options can be found in /usr/share/glib-2.0/schemas/org.mate.background.gschema.xml, they are overridden by creating the file /usr/share/glib-2.0/schemas/mate-background.gschema.override.

Note: The values on the right must be enclosed in single quotes ('') otherwise an error will occur during re-compile.

Example #1: Change the background image of the lock screen:

/usr/share/glib-2.0/schemas/mate-background.gschema.override
[org.mate.background]
picture-filename='/path/to/the/background.jpg'

Example #2: Change the lock screen to use a gradient:

/usr/share/glib-2.0/schemas/mate-background.gschema.override
[org.mate.background]
color-shading-type='vertical-gradient'
picture-options='scaled'
picture-filename=''
primary-color='#152233'
secondary-color='#000000'

Re-compile the schemas:

# glib-compile-schemas /usr/share/glib-2.0/schemas/

Finally, restart your X session for the change to effect.

Spatial view in Caja

To ensure that each new folder opens in a new window (known as spatial view), open Caja's preferences dialog, click on the behaviour tab and tick the 'Open each folder in its own window' option. Alternatively, execute the following command which achieves the same effect:

$ gsettings set org.mate.caja.preferences always-use-browser false

Change font DPI setting

You can alter the DPI (dots per inch) of the fonts in MATE by right-clicking on the desktop and choosing Change desktop background > Fonts > Details > Resolution.

Change applications menu icon

By default, the applications menu icon is set to start-here. To use a different icon, copy your icon to a folder such as /usr/local/share/pixmaps and execute the following:

$ gsettings set org.mate.panel.menubar icon-name icon

where icon is the name of your icon. Do not include the file extension in the icon name. Finally, restart MATE Panel.

Panel speed settings

Hide/Unhide delay

To adjust the amount of time it takes for the panel to disappear or reappear when autohide is enabled, execute the following:

$ dconf write /org/mate/panel/toplevels/panel/(un)hide-delay time

where panel is either top or bottom and time is a value in miliseconds, e.g. 300.

Animation speed

To set the speed at which panel animations occur, execute the following:

$ dconf write /org/mate/panel/toplevels/panel/animation-speed value

where panel is either top or bottom and value is either "'fast'", "'medium'" or "'slow'".

Troubleshooting

Toggling compositing

Some software may have issues rendering graphics when working on an environment using the nvidia proprietary drivers and a compositing window manager.

To easily toggle the compositing feature, save the following script somewhere within the Home directory, e.g. ~/.scripts/compositing.sh:

#!/bin/bash
if $(dconf read /org/mate/marco/general/compositing-manager) == "true"
then
  dconf write /org/mate/marco/general/compositing-manager false
else
  dconf write /org/mate/marco/general/compositing-manager true
fi

and then create a custom keyboard shortcut that executes the file, e.g. Ctrl+Alt+C, to sh ~/.scripts/compositing.sh.

Vertical sync for compositing

marco does not support vertical synchronization via OpenGL, which may cause video tearing with enabled compositing. [1] Consider a different composite manager with OpenGL support such as Compton.

Consistent cursor theme

See Cursor themes#Desktop environments.

Use of gradient backgrounds with LightDM

If you wish to use the default MATE (1.8) Stripes background as the LightDM background as well so as to make for seamless transition from LightDM to MATE, you will find that it is runtime-constructed from a grayscale PNG upon which MATE layers a vertical blue-to-green gradient, something which LightDM does not currently support. If insistent, you can work around this by temporarily setting /org/mate/desktop/background/show-desktop-icons to false, either through the dconf Editor tool available from the System Tools menu or by running

dconf write /org/mate/desktop/background/show-desktop-icons false

from the Alt-F2 Run Application dialog, then running killall mate-panel from said dialog and hitting Print Screen before the panel reappears. You are then presented with a Save As dialog for exactly that fully rendered, screen-sized PNG that you need for LightDM. Run

dconf reset /org/mate/desktop/background/show-desktop-icons

to have your desktop icons reappear.

Enabling panel shadow

Due to a race condition, the panel shadow does not appear after logging in to the MATE desktop, even with compositing enabled. [2]

Copy /usr/share/applications/marco.desktop and add a delay:

~/.local/share/applications/marco.desktop
X-MATE-Autostart-Phase=Applications
X-MATE-Autostart-Delay=2
X-MATE-Provides=windowmanager
X-MATE-Autostart-Notify=true
Note: Delays are only allowed in the applications phase, hence X-MATE-Autostart-Phase must be set to Applications.

If this has no effect, increase the delay duration.

Disabling scroll in taskbar

A feature of the MATE panel window list is that windows can be scrolled through using the mouse or touchpad. This feature may be troublesome for some as there is potential for accidental, unintended scrolling through windows.

Whilst there is no way of disabling this feature through MATE's settings, this feature can be disabled by patching libwnck using the Arch Build System; in this case, rebuild libwnck with the following patch. For more information on rebuilding packages with patches applied, see Patching in ABS#Applying patches.

See also