Howto: Install MATE on Ubuntu 12.04 with NO other Desktop Environments
Ubuntu 12.04 LTS has recently been released and with its five-year support cycle, it is sure to appeal to users who do not wish to reinstall often or perhaps to the enterprise market. However the Unity shell has drawn much controversy. I will outline here how to install Ubuntu 12.04 with only the MATE desktop environment.
Beforehand, I wish to clear up some things that seem to not be understood very well from what I have seen on many of the message boards. MATE, as most know, is a fork of Gnome 2.32 but it does not conflict with Gnome 3, meaning that you can have both MATE and Gnome 3 installed on the same system. However, beyond this, users seem to diverge in their opinions of what the implications of this actually are. An operating system, a desktop environment, and a shell are THREE separate things. Most Gnome 2 users didn't need to understand what a "shell" was until Gnome 3 came on the scene, with the revamped and highly controversial (if not even "hated") "Gnome Shell." The "shell" dictates how application windows are handled (i.e., switched between, minimized, restored, etc.). In Gnome 2 this was gnome-panel: you could click on the minimized button on your "panel" (or "taskbar" as in Windows). How to do that in Gnome Shell or Unity, well, that's best left to be discussed elsewhere. Linux Mint 12 was the first major operating system to include MATE - however, they only did so for purposes of the shell, apparently. When you install Linux Mint, it will include all of the familiar Gnome applications - gedit, file-roller, and so on. The collection of these applications is the desktop environment. Effectively, Linux Mint includes MATE as a shell over top of Gnome 3. In this respect, Ubuntu's Unity is not a desktop environment (there is no Unity suite of applications), but rather e.g. the text editor is gedit 3.x so you are getting Gnome 3 desktop environment with a Unity shell on top. MATE is not just a shell but a desktop environment - Yes, you can run MATE and still use gedit 3.x, nautilus "whatever" and mate-panel isn't going to care one bit. But MATE aims to include the 2.3x versions of gedit (now called pluma), gnome-terminal (now called mate-terminal), and so on. So what if you want to install Linux Mint with "just" MATE as the desktop environment without gnome 3.x applications? Well, you're pretty much out of luck unless you want to risk breaking your installation. So while Linux Mint is to be praised for including MATE, they should tell users what they are really getting. The differences between the 2.3x (MATE) versions of these applications and the 3.x (Gnome 3) ones are open to debate. In my subjective opinion, I believe that the latter have been redesigned to fit the tablet interface of Gnome Shell. If you have a large screen, the Gnome 3.x applications are far too big and have far too many features removed to be considered "desktop" applications. If you would rather install Ubuntu 12.04 WITHOUT Unity and WITHOUT Gnome 3 anything, then your only route is to do a minimal "netinstall." You can get these ISO images here: http://archive.ubuntu.com/ubuntu/dis...mages/netboot/ Change installer-amd64 to installer-i386 if you want 32-bit operating system. The download size is very small - only about 30 MB. The installation follows a text-based wizard similar to Ubuntu's alternate CD. When you get to the screen asking what type of system you want to install, just choose something simple like "OpenSSH Server." DO NOT install any desktop or anything or else that defeats the whole purpose of this. Once the installation finishes, you will have only a simple, command-line to work with - not even X11. We're talking bare-bones here. Then, add the MATE repository for Ubuntu Precise: Code:
sudo nano /etc/apt/sources.list Code:
deb http://packages.mate-desktop.org/repo/ubuntu precise main Code:
sudo apt-get update Code:
sudo apt-get install xinit I realize this tutorial only gives a very barebones desktop environment (in fact the whole OS is only using 1.7 GiB according to the Mate System Monitor), but it is yours to customize to your heart's desire just like Gnome 2. |
Good tutorial, may I suggest instead of using GDM or KDM etc, you use LightDM. LightDM is the default on Ubuntu now as far as I am aware.
|
This is a good tutorial for Ubuntu users, but yeah GDM is going to bring in a lot of Gnome 3 dependencies. Slim or LightDM are good alternatives. I hope the Mate developers can start porting everything to GTK3 otherwise I have doubts as to whether or not the project can survive the 5 year LTS cycle. GTK2 is deprecated and will eventually begin to break down. I hope they do. I would totally use Mate on my Fedora machines but GTK3 is far superior to GTK2 so for now I'm sticking with the shell at least until Cinnamon becomes more stable and full featured.
|
I didn't realize LightDM had so few dependencies. That's definitely a good thing. I am concerned about whether things like fast user switching and lock screen, etc. will work with any other display manager than mate-display-manager. I have never got these things to work on any distribution using MATE yet but then again I haven't tested out the latest versions yet.
As for GTK3, don't forget that GTK2 and GTK3 can co-exist perfectly (as could GTK1 when GTK2 came out). GTK3 is not a replacement for GTK2 in the way that Gnome3 is for Gnome2. So recoding everything for GTK3 might be nice but it isn't strictly necessary. I myself would like to see a lot of the GTK2 themes get ported to GTK3. I may be wrong here, but I seem to recall reading that it is possible (or might be in the future) to set preferences for both GTK2/GTK3 themes for their respective programs in MATE though I haven't looked in to this too much. |
I read somewhere that the MATE devs are going to move to GTK3 which I think is a good thing. If they can move to GTK3 and still be able to use GTK2 for certain things then we have the best of both worlds.
|
Hmm...LightDM doesn't seem to be the best choice, either. Despite the requirements listed on packages.ubuntu.com it seems to pull in a lot of gnome dependencies. Not to mention all of the indicator applet packages, and even things like libsane (scanner packages needed for a desktop manager?).
Also I noticed that "Lock Screen" now works even without a desktop manager installed. |
slim
thanks! worked for me. I registered to share what I did to get around having to startx at console....
I gave slim a try. After the OP's instructions I did: Code:
sudo apt-get install slim Thanks again for the instructions. |
I'm glad the instructions were helpful. I must apologize as the instructions are now a bit out of date, and it's certainly possible to get a lot more bells and whistles working.
Installing Mate after performing a minimal install certainly gives the smallest footprint though it leaves out the "core" of what constitutes a typical Ubuntu installation minus the desktop environment. The following instructions are based on a minimal installation with only a simple SSH server installed. To deduce what the "core" is, I compared the manifest files for Ubuntu and Kubuntu and made a list of all the shared packages. This isn't perfect, as things like QT are imported which Mate doesn't need. You should edit this list based on the kernel you are running. First, run Code:
uname -r The minimal install now only has a command interface, so we need a way to import this list. One way is to make a simple perl script (as perl is already installed) by placing the package names inside the "system" command. Copy the following list, save it as "Install.pl" and then make it executable Code:
chmod +x Install.pl Code:
perl ./Install.pl Code:
#!/usr/bin/perl Code:
#!/usr/bin/perl Code:
sudo nano /etc/apt/sources.list Code:
deb http://packages.mate-desktop.org/repo/ubuntu precise main Code:
sudo apt-get update Edit /etc/apt/sources.list again and add this line Code:
deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu precise main Code:
sudo apt-get update One thing that you will notice is that there is no network manager applet. But you clearly have networking if you've gotten this far. Network Manager is not enabled right now. Installing the network manager applets from Ubuntu is possible although it is optimized for Unity. We will build the package (and the deb) from source and optimize it for gtk2, though we cannot use the Ubuntu build scripts as they depend on using indicators optimized for gtk3. Code:
sudo apt-get install build-essential checkinstall debhelper dh-apparmor dpkg-dev fakeroot gettext gir1.2-gconf-2.0 gir1.2-gnomekeyring-1.0 gir1.2-gtk-2.0 gir1.2-networkmanager-1.0 gir1.2-notify-0.7 gobject-introspection html2text intltool intltool-debian libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libatk1.0-dev libcairo-script-interpreter2 libcairo2-dev libdbus-1-dev libdbus-glib-1-dev libdpkg-perl libexpat1-dev libfontconfig1-dev libfreetype6-dev libgconf2-dev libgconf2-doc libgdk-pixbuf2.0-dev libgettextpo0 libglib2.0-bin libglib2.0-dev libgnome-keyring-dev libgtk2.0-dev libice-dev libmail-sendmail-perl libnm-glib-dev libnm-glib-vpn-dev libnm-util-dev libnotify-dev libpango1.0-dev libpcre3-dev libpcrecpp0 libpixman-1-dev libpng12-dev libpthread-stubs0 libpthread-stubs0-dev libsm-dev libsys-hostname-long-perl libunistring0 libx11-dev libx11-doc libxau-dev libxcb-render0-dev libxcb-shm0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxrandr-dev libxrender-dev network-manager-dev pkg-config po-debconf python-mako python-markupsafe x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-xext-dev x11proto-xinerama-dev xorg-sgml-doctools xtrans-dev zlib1g-dev Purge some conflicting packages (all of these will be inadvertently built as part of our source package): Code:
sudo apt-get purge libnm-gtk0 libnm-gtk-common network-manager-gnome network-manager-pptp-gnome Code:
./configure --prefix=/usr --sysconfdir=/etc --with-gtkver=2 --localstatedir=/var --libexecdir=/usr/lib/NetworkManager --disable-static --disable-maintainer-mode Code:
nano src/Makefile Delete -Werror when it is found Save the file (CTRL+X, Yes) Do the same for: src/utils/Makefile src/utils/tests/Makefile src/gconf-helpers/Makefile src/gconf-helpers/tests/Makefile src/wireless-security/Makefile src/libnm-gtk/Makefile src/connection-editor/Makefile Code:
make Code:
sudo checkinstall Code:
sudo gtk-update-icon-cache -f /usr/share/icons/hicolor Code:
sudo nano /etc/NetworkManager/NetworkManager.conf Save and exit. Then Code:
sudo rm /var/lib/NetworkManager/NetworkManager.state Code:
sudo service network-manager restart ***** Some other applications from Gnome2 can be installed but aren't part of the release as they are yet draft versions. Mate-character-map: Get the source here http://en.sourceforge.jp/projects/sf...er-map.tar.gz/ Code:
sudo apt-get install ibidl-dev libmateconf-dev libmatecorba-dev Code:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/mate-character-map |
(Page 2)
Mate-notes. This is GNote, aka Tomboy without the Mono code. This is a draft port and the name of the program is still gnote, meaning it will conflict if gnote is installed. Get the tarball http://sourceforge.net/projects/mate...ar.gz/download Code:
sudo apt-get install mate-doc-utils xsltproc libglibmm-2.4-dev libsigc++-2.0-dev libatkmm-1.6-dev libcairomm-1.0-dev libgtkmm-2.4-dev libpangomm-1.4-dev libxml2-dev libxslt1-dev uuid-dev libart-2.0-dev libboost-dev libboost1.46-dev libcanberra-dev libenchant-dev libgail-common libgail-dev libgtkspell-dev libgtkspell0 libmate-dev libmatecanvas-dev libmatecomponent-dev libmatecomponentui-dev libmatepanelapplet-dev libmatevfs-dev libpopt-dev libboost-test-dev libboost-test1.46-dev libboost-test1.46.1 gnome-doc-utils Code:
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/mate-notes --localstatedir=/var --disable-static Code:
sudo apt-get install aptdaemon aptdaemon-data firefox firefox-globalmenu gir1.2-atk-1.0 gir1.2-freedesktop gir1.2-gdkpixbuf-2.0 gir1.2-gtk-3.0 gir1.2-pango-1.0 gir1.2-vte-2.90 libcairo-perl libglib-perl libgtk2-perl libpango-perl librarian0 libvte-2.90-9 libvte-2.90-common python-aptdaemon python-aptdaemon.gtk3widgets python-defer rarian-compat software-properties-common software-properties-gtk synaptic xul-ext-ubufox Code:
sudo apt-get install liba52-0.7.4 liba52-0.7.4-dev libaacs0 libao-common libao-dev libao4 libasound2-dev libavahi-client-dev libavahi-common-dev libavc1394-dev libbluray-dev libbluray1 libbz2-dev libcaca-dev libcdio-cdda-dev libcdio-dev libcdio-paranoia-dev libcdparanoia-dev libdc1394-22 libdc1394-22-dev libdirac-decoder0 libdirac-dev libdirac-encoder0 libdrm-dev libdv4-dev libebml-dev libebml3 libfaac-dev libfaac0 libfaad-dev libfaad2 libfftw3-3 libfftw3-dev libflac++-dev libflac++6 libflac-dev libgl1-mesa-dev libglu1-mesa-dev libgsm1-dev libid3tag0 libid3tag0-dev libidn11-dev libiec61883-dev libilmbase-dev libiso9660-8 libiso9660-dev libjpeg-turbo8-dev libjpeg8-dev libkms1 liblircclient-dev liblircclient0 liblivemedia-dev libltdl-dev libmad0 libmad0-dev libmatroska-dev libmatroska5 libmp3lame-dev libmp3lame0 libmpcdec-dev libmpcdec6 libmpg123-0 libmpg123-dev libncurses5-dev libogg-dev liboil0.3 liboil0.3-dev libopencore-amrnb-dev libopencore-amrnb0 libopencore-amrwb-dev libopencore-amrwb0 libopenexr-dev liborc-0.4-dev libpulse-dev libraw1394-dev libsamplerate0-dev libschroedinger-dev libsdl1.2-dev libsdl1.2debian libslang2-dev libsndfile1-dev libsoundtouch-dev libsoundtouch0 libspeex-dev libtheora-dev libtiff4-dev libtiffxx0c2 libtinfo-dev libtool libtwolame-dev libtwolame0 libv4l-dev libvcdinfo-dev libvcdinfo0 libvorbis-dev libx264-120 libx264-dev libxt-dev libxv-dev libxvidcore-dev libxvidcore4 libxvmc-dev libxxf86vm-dev mesa-common-dev x11proto-video-dev x11proto-xf86vidmode-dev libdb4.8 libsvn1 nasm subversion yasm Code:
./configure --enable-postproc --enable-runtime-cpudetect --enable-x11grab --enable-libfaac --enable-libmp3lame --enable-libschroedinger --enable-libdirac --enable-libspeex --enable-libvorbis --enable-libtheora --enable-libx264 --enable-libxvid --enable-libgsm --enable-bzlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdc1394 --enable-shared --enable-pic --enable-gpl --enable-version3 --enable-nonfree libquicktime Code:
./configure --with-libdv --without-doxygen Code:
./configure Code:
sudo apt-get install gir1.2-gstreamer-0.10 libgstreamer0.10-dev gir1.2-gst-plugins-base-0.10 libgstreamer-plugins-base0.10-dev libmms-dev libmms0 Important! From this point forward, it is assumed that the following environment variables are set when building anything from source Code:
export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib Code:
./configure --prefix=/usr Note, this is from lucid. The version from precise is a bit buggy regarding x264. The precise version will compile without incident if you would rather have the latest version. Code:
./configure --prefix=/usr Code:
./configure --prefix=/usr --with-system-ffmpeg Code:
sudo apt-get install gir1.2-soup-2.4 gir1.2-xkl-1.0 gstreamer0.10-gconf gstreamer0.10-tools libcaja-extension-dev libffi-dev libgmime-2.6-0 libgmime-2.6-dev libmatekbd-dev libsoup-gnome2.4-dev libsoup2.4-dev libssl-dev libssl-doc libunique-dev libxklavier-dev python-dev python-gobject-2-dev python-gtk2-dev python-gtk2-doc python2.7-dev Code:
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/mate-pl-parser --localstatedir=/var --disable-static This is a draft version from last summer. The application name is still Totem therefore it will conflict with that supplied by Gnome 3 if it is installed on your system. Code:
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/mate-video-player --localstatedir=/var --disable-static In firefox, type about:plugins and check to see that plugins are installed. Optional steps: mplayer, cinelerra. These should fill the gap in any playback formats that the gstreamer plugins can't handle. Also there is no video editor in Mate. mplayer http://mplayerhq.hu/MPlayer/releases/MPlayer-1.1.tar.gz Code:
./configure --enable-runtime-cpudetection --enable-gui cinelerra: Code:
sudo apt-get install git git-man liberror-perl Code:
git clone git://git.cinelerra.org/CinelerraCV.git cinelerra-cv The patch: http://cache.gmane.org/gmane/comp/vi.../12950-001.bin Rename the source directory from cinelerra-cv to cinelerra-cv-2.1.5 (that's not the version, but doing so makes the patch work easier). You must cd into the source directory: Code:
cd cinelerra-cv-2.1.5 Code:
nano cinelerra/ffmpeg.C Code:
./autogen.sh ***** Thematization Code:
sudo apt-get install mate-conf-editor There is no volume control yet. Right-click in the notification next to the clock (but to the right of the vertical separator). If there isn't enough room for your pointer in there, move the separator to the left--you might have to "unlock" it first. Scroll down and find "Volume Control" and add it. Click on the volume control icon. Unmute it and drag it to the appropriate level. Click the Volume Control button and note what you see. This is the alsa version. If you want the pulseaudio version, download the gnome-media package: http://packages.ubuntu.com/lucid/gnome-media Download the appropriate deb for your architecture (scroll down to the box below "Download gnome-media"). DO NOT install the deb. Open it in engrampa (Archive Manager, formerly file-roller). Double-click usr, then bin, and extract gnome-volume-control (not the applet) to your Desktop. Replace mate-volume-control with gnome-volume-control: Code:
sudo mv /usr/bin/mate-volume-control /usr/bin/mate-volume-control.original - Human Theme I like the Human Theme back before it got all "light." By that I mean the orange/brown version. To get it back download these: http://packages.ubuntu.com/hardy-upd...looks/download http://packages.ubuntu.com/hardy/human-icon-theme http://packages.ubuntu.com/hardy/human-theme cd into the directory where these were downloaded and run (change architecture to i386 if necessary) Code:
sudo dpkg -i gtk2-engines-ubuntulooks_0.9.12-12_amd64.deb human-icon-theme_0.28_all.deb human-theme_0.18_all.deb - Buttons, Icons, and Toolbars Get gtk icon appearances for LibreOffice Code:
sudo apt-get install libreoffice-gtk libreoffice-style-tango Run mateconf-editor (Note, the program name has one hyphen in it but the package name has two). Navigate to desktop, mate, interface. Change toolbar_style to "both" (This will give the appearance from 8.04; if you don't know what this does, open Pluma and watch what happens once you save the changes) Remove computer, home, and trash icons from your desktop: Navigate to apps, caja, desktop. Uncheck computer_icon_visible, home_icon_visible, trash_icon_visible Add trash icon on the bottom taskbar: Right-click the workspaces, uncheck Lock to Panel. Move it a little to the left. Right-click empty space to the right of it, Add to Desktop, and then Trash. Move workspaces back and lock. ***** Compiz Mate uses marco, a fork of metacity, which is already running. If you want desktop effects back, you will need to use Compiz. Compiz does not work perfectly well anymore as it is optimized for Gnome 3, so things like the desktop cube only sort-of work. But most other things do. Since Compiz is a Gnome application, we need to install gconf-editor if you want to edit settings manually Mateconf-editor is not aware of compiz. Code:
sudo apt-get install gconf-defaults-service gconf-editor Code:
sudo apt-get install compiz-core compiz-plugins compiz-plugins-default compiz-plugins-main compiz-plugins-main-default compizconfig-settings-manager libboost-serialization1.46.1 libcompizconfig0 libdecoration0 libprotobuf7 python-central python-compizconfig Navidate to desktop -> mate -> session -> required_components. Change windowmanager from marco to compiz. Close mateconf-editor, log out and back in. Run ccsm and edit the setting to your liking. Make sure you use window decorations, or else your applications' title bars will disappear. Note: You can use metacity to get better compiz integration. Install it, and then configure its settings using gconf-editor (metacity is a gnome application). Navigate to apps -> metacity -> general. Because metacity is a gnome application, clicking System -> Application -> Appearance will have no effect (that only is aware of marco). That is why we need to configure it manually: - Make sure button_layout is menu:minimize,maximize,close - Change theme to whatever theme you're using, like Human - Change titlebar_font to Sans Bold 10 or whatever you were using with marco (Gnome 3 likes huge fonts) ***** GDM Themes MDM is a fork of gdm-2.20. We can use the ubuntu gdm themes though we need to change some names first. Here is how to install the default theme from <= 8.04 that prompts for a user name and password and doesn't list all of the users on the system: Download the theme deb (same for either architecture) http://packages.ubuntu.com/hardy/ubuntu-gdm-themes Don't install the deb. Extract the folder usr/share/gdm/themes/Human to, say, your desktop. Rename the file GdmGreeterTheme.desktop to MdmGreeterTheme.desktop but use the command line. If you rename it using the GUI, it will be renamed to MdmGreeterTheme.desktop.desktop and the rest of this won't work. Open the newly renamed file and change GdmGreeterTheme to MdmGreeterTheme. Zip up the Human folder to a gzipped tarball. So, from your Desktop, you would type Code:
tar -cf Human.tar Human sudo mdmsetup On the Local tab, click "Add" and find the tarball you just created. If it complains that it is not a valid tar.gz archive even if it is, then something isn't named right. Go back and make sure there are no .desktop.desktop renaming mistakes. This theme uses a .gtkrc file. Click the General tab, place a check next to GtkRC file and point to /usr/share/mdm/themes/Human/gtk-2.0/gtkrc Log out and you should see the proper theme. ***** Enable Hibernation You will notice that hibernation is disabled and doesn't show up on your System, Shut Down box or on the MDM screen. Code:
sudo nano /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla [Re-enable hibernate by default] Identity=unix-user:* Action=org.freedesktop.upower.hibernate ResultActive=yes Hibernate should be an option after rebooting, provided that you have enough swap space available. ***** Fonts (optional): You can use older versions of some fonts to give a more uniform appearance like in 8.04. Get these packages: http://packages.ubuntu.com/hardy/all...ejavu/download http://packages.ubuntu.com/hardy/all...-core/download http://packages.ubuntu.com/hardy/all...extra/download http://packages.ubuntu.com/hardy/all...-vera/download http://packages.ubuntu.com/hardy/all...efont/download http://packages.ubuntu.com/hardy/all/defoma/download Code:
sudo dpkg -i defoma_0.11.10-0.2_all.deb Code:
sudo rm /etc/fonts/conf.d/10*.conf Code:
sudo ln -s /etc/fonts/conf.avail/10-antialias.conf /etc/fonts/conf.d Install a Plymouth theme Open Synaptic and search for plymouth-theme. Install whichever you choose, or search online for more themes. If you wish to install one that isn't in deb format, the directory of interest is /lib/plymouth/themes. ***** Administrative Tools We need to install some things useful to administering partitions and packages. Code:
sudo apt-get install gparted ntfsprogs python-vte So, we can rebuild the debs. Now, run Code:
dpkg-source -x gdebi_0.7.0.dsc Code:
cd .. Pin Packages Pin all of the packages that we built from source or otherwise custom-installed so that they will not be upgraded when you update your system. Here is the list, depending on how many you used checkinstall with: network-manager-gnome mate-notes ffmpeg mplayer (optional) libquicktime2 mjpegtools gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly gstreamer0.10-ffmpeg mate-pl-parser mate-video-player cinelerra-cv (optional) gtk2-engines-ubuntulooks human-icon-theme human-theme ttf-dejavu (optional) ttf-dejavu-core (optional) ttf-dejavu-extra (optional) ttf-bitstream-vera (optional) ttf-freefont (optional) defoma (optional) gdebi gdebi-core Note: In 12.04 you MUST apply updates using Synaptic if you wish for your pinned rules to be observed! Using apt-get or any graphical tool such as muon will destroy all of this work. (To apply updates in Synaptic (DO NOT DO THIS BEFORE YOU PIN YOUR PACKAGES), run Synaptic, click Edit -> Mark All Upgrades, and then apply those changes) ***** Clean Up A lot of development libraries are installed, and now that we are finished, we really don't need them. Code:
sudo apt-get purge git git-man libcaja-extension-dev libffi-dev libgmime-2.6-dev libmatekbd-dev libsoup-gnome2.4-dev libsoup2.4-dev libssl-dev libssl-doc libunique-dev python-dev python-gobject-2-dev python-gtk2-dev python-gtk2-doc python2.7-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libmms-dev libsvn1 subversion nasm yasm liba52-0.7.4-dev libao-dev libasound2-dev libavahi-client-dev libavahi-common-dev libavc1394-dev libbluray-dev libbz2-dev libcaca-dev libcdio-cdda-dev libcdio-dev libcdio-paranoia-dev libcdparanoia-dev libdc1394-22-dev libdirac-dev libdrm-dev libdv4-dev libebml-dev libfaac-dev libfaad-dev libfftw3-dev libflac++-dev libflac-dev libgl1-mesa-dev libglu1-mesa-dev libgsm1-dev libid3tag0-dev libidn11-dev libiec61883-dev libilmbase-dev libiso9660-dev libjpeg-turbo8-dev libjpeg8-dev liblircclient-dev liblivemedia-dev libltdl-dev libmad0-dev libmatroska-dev libmp3lame-dev libmpcdec-dev libmpg123-dev libncurses5-dev libogg-dev liboil0.3-dev libopencore-amrnb-dev libopencore-amrwb-dev libopenexr-dev liborc-0.4-dev libpulse-dev libraw1394-dev libsamplerate0-dev libschroedinger-dev libsdl1.2-dev libslang2-dev libsndfile1-dev libsoundtouch-dev libspeex-dev libtheora-dev libtiff4-dev libtiffxx0c2 libtinfo-dev libtool libtwolame-dev libv4l-dev libvcdinfo-dev libvorbis-dev libx264-dev libxt-dev libxv-dev libxvidcore-dev libxvmc-dev libxxf86vm-dev mesa-common-dev x11proto-video-dev x11proto-xf86vidmode-dev libidl-dev libmateconf-dev libmatecorba-dev libglibmm-2.4-dev libsigc++-2.0-dev libatkmm-1.6-dev libcairomm-1.0-dev libgtkmm-2.4-dev libpangomm-1.4-dev libxml2-dev libxslt1-dev uuid-dev libart-2.0-dev libboost-dev libboost1.46-dev libcanberra-dev libenchant-dev libgail-dev libgtkspell-dev libmate-dev libmatecanvas-dev libmatecomponent-dev libmatecomponentui-dev libmatepanelapplet-dev libmatevfs-dev libpopt-dev libboost-test-dev libboost-test1.46-dev gnome-doc-utils mate-doc-utils xsltproc libcairo2-dev libdbus-1-dev libdbus-glib-1-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libgconf2-dev libgconf2-doc libgdk-pixbuf2.0-dev libglib2.0-bin libglib2.0-dev libgnome-keyring-dev libgtk2.0-dev libice-dev libmail-sendmail-perl libnm-glib-dev libnm-glib-vpn-dev libnm-util-dev libnotify-dev libpango1.0-dev libpcre3-dev libpixman-1-dev libpng12-dev libpthread-stubs0-dev libsm-dev libx11-dev libx11-doc libxau-dev libxcb-render0-dev libxcb-shm0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxrandr-dev libxrender-dev network-manager-dev x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-xext-dev x11proto-xinerama-dev xorg-sgml-doctools xtrans-dev zlib1g-dev Final notes Remember to move all of your built debs out of their source directories and keep them for later should you decide to uninstall them. I hope this can help give a more usable system that is a bit better integrated. |
Mate 1.6 any changes to the install process?
Hi OrdealByFire,
Thanks for your detailed howto, it's been most motivating to read it. I would like to do the same thing but useing Mate 1.6 which is now the latest and by all accounts much improved version of Mate. Have you done an install useing 1.6 yet? Are there any differences or traps that I need to be aware of? If you have any info or comments on doing the above, I'd appriciated you posting them as I'll shortly be making my own attempt at this. Thanks in advance. |
Yes Sailorxyz there are differences. May I suggest you take a look at the official forums for MATE.
|
Quote:
|
sailorxyz, Thanks for your interest in this howto. I hope you can get your system up and running smoothly. I have not yet installed Mate 1.6 in the manner described in the tutorial, but this weekend I did upgrade from 1.4 to 1.6. I will try to outline the procedure, and show where it differs from the above tutorial.
Most notably, MateConf has been replaced with GSettings. (MateConf is a fork of the configuration system used by Gnome 2. In Gnome 2, settings were changed by using gconftool or gconf-editor.) Despite responses by some angry users who didn't plan accordingly, no functionality has been lost, at least in principle. For users who have Mate 1.4 installed, take close note of your: - Applications Menu items (take screenshots!) - Desktop Theme, including fonts, wallpaper, applets on your panels, and anything else you changed or customized since you installed - In System, Preferences, Appearance: Make a note of all of the settings as they are - And anything else that you did using mateconf-editor Users who use heavy mockups like Macbuntu (yes, it does work with Mate) that rely heavily on the old configuration system, you will need to change each configuration option manually now. If a user hasn't yet installed Mate and wishes to install version 1.4, it is of course possible, as all of the packages for 1.2, 1.4, and 1.6 are in the repositories. Regarding Page 1 of the above tutorial, everything is the same except for Mate-character-map. It is in the repositories now so you can skip building this from source. Regarding Page 2: Please now do this first: Code:
sudo apt-get install libidl-dev http://pub.mate-desktop.org/releases...a-1.4.0.tar.xz http://pub.mate-desktop.org/releases...f-1.4.0.tar.xz Code:
tar -xJf mate-corba-1.4.0.tar.xz Code:
tar -xJf mate-conf-1.4.0.tar.xz For the Thematization section, this is where things get different. Do not install mate-conf-editor. It is not used in 1.6. If you install it and try to change settings in there, it will have no effect. Instead: Code:
sudo apt-get install dconf-tools You don't need to download the volume control package from Lucid. Mate now includes its own pulseaudio volume controller :) Code:
sudo apt-get install mate-media-pulse Continue down the page as it is. Stop when you get to "Run mateconf-editor." Instead, run Code:
dconf-editor & Note: to change the value of an entry in dconf-editor, you need to double click the [B]value[B] and a box will show around it; then you can type in your change. It took me a while to figure that one out. As described: Change toolbar_style to "both" [i.e., double-click on "both-horiz" and then type "both] (This will give the appearance from 8.04; if you don't know what this does, open Pluma and watch what happens once you save the changes) Remove computer, home, and trash icons from your desktop: Navigate to org > mate > caja > desktop. Uncheck computer_icon_visible, home_icon_visible, trash_icon_visible Regarding Compiz: Mate 1.6 now can have some degree of compositing using Marco (!) To enable it, go to System -> Preferences -> Windows and check "Enable software compositing." You can get some eye candy with ALT + TAB and so on. To use Compiz itself, install the packages as described in the totorial and then go into dconf-editor and navigate to org > mate > desktop > session > required compoents. Change windowmanager from marco to compiz. The rest still holds true. Note that you need to use gconf-editor (not dconf-editor) for this part: Navigate to apps -> metacity -> general. Because metacity is a gnome application, clicking System -> Application -> Appearance will have no effect (that only is aware of marco). That is why we need to configure it manually: - Make sure button_layout is menu:minimize,maximize,close - Change theme to whatever theme you're using, like Human - Change titlebar_font to Sans Bold 10 or whatever you were using with marco (Gnome 3 likes huge fonts) By the way, Desktop Cube now works as it should. The rest of the tutorial will work as written. For those upgrading, or those installing 1.6 and want more "traditional" fonts in the interface: Go to System -> Preferences -> Appearance and click the Fonts tab. The Application, Document, and Desktop fonts should be "Sans," "Window" title "Sans" Bold, and Fixed with "Monospace." By default these will probably now all be "Ubuntu." Nothing wrong with that font, but some users might find it to look a bit "cartoonish." Some other things of note: Now, when your desktop is locked and you go to unlock, you will now see a "Leave Message" button just as in Gnome > 2.22, and if you use MDM you will also see "Switch User." A fast user switch applet is still missing though. Also, the default wallpaper behind the login box on a locked desktop is now the "Light" wallpaper. You can change this to something else or leave it black. Now, for an addition: Mate now has an optical disk burning program. It is called Rejilla, and it is a fork of Brasero. Let's build it. Install the following development libraries (they can be removed after you are done building): Code:
sudo apt-get install build-essential checkinstall debhelper dh-apparmor dpkg-dev fakeroot gir1.2-gconf-2.0 gir1.2-gnomekeyring-1.0 gir1.2-networkmanager-1.0 gir1.2-notify-0.7 gobject-introspection html2text intltool libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libatk1.0-dev libcairo-script-interpreter2 libcairo2-dev libdbus-1-dev libdbus-glib-1-dev libdpkg-perl libexpat1-dev libfontconfig1-dev libfreetype6-dev libgconf2-dev libgconf2-doc libgdk-pixbuf2.0-dev libglib2.0-dev libgnome-keyring-dev libgtk2.0-dev libice-dev libnotify-dev libpango1.0-dev libpcre3-dev libpng12-dev libpthread-stubs0-dev libsm-dev libx11-dev libx11-doc libxau-dev libxcb-render0-dev libxcb-shm0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxrandr-dev libxrender-dev mate-doc-utils network-manager-dev python-mako python-markupsafe x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-xext-dev x11proto-xinerama-dev xorg-sgml-doctools xtrans-dev zlib1g-dev gir1.2-gst-plugins-base-0.10 gir1.2-gstreamer-0.10 libextutils-depends-perl libextutils-pkgconfig-perl libgstreamer-interfaces-perl libgstreamer-perl libgstreamer-plugins-base0.10-dev libgstreamer0.10-dev libxml2-dev libidl-dev libmatepolkit-dev libcanberra-dev libcanberra-gtk-common-dev libcanberra-gtk-dev gir1.2-gudev-1.0 libgudev-1.0-dev libudev-dev libcaja-extension-dev libdb4.8 libsvn1 subversion libcdio-dev gnome-doc-utils Code:
unzip rejilla-2-master.zip Also of note is another Mate program called bastile (not to be confused with bastille). It is a fork of seahorse. You can download it from github, but as of right now it will not build (no Configure.in gets created). I do apologize for addressing the updates / changes in this way. I will try rewriting the entire tutorial from start to finish for 1.6 when I get the time. |
Thanks OredealByFire for taking the time and making the effort, it's much appriciated. I'l give it a bash and report back later. Thanks once again.
|
There is a migration script to migrate the majority of MATE 1.4 settings to MATE 1.6.
My advice is do not use anything from MATE 1.4 in MATE 1.6. There is evidence in various distributions that keeping things from MATE 1.4 actually cause problems in MATE 1.6. If it is not in 1.6 it is most probably deprecated and will do nothing useful in 1.6 anyway. |
Quote:
|
Fedora has MATE 1.5.* in it and Nice&Gently has a dropbox repository for MATE 1.6 . He is a packager for Fedora.
I don't dislike Mint (btw Mint is still on MATE 1.4), I don't dislike Ubuntu either, but I do dislike being spoonfed and both those distros do that more than many others. My suggestion to you would be to give Debian Wheezy (which will be released in a couple of weeks as a stable release) a go. Whatever you do please make sure you research it. |
Quote:
|
Read this page and add the MATE repository in your sources.list when required. Then
Code:
apt-get update |
Quote:
There are quite a few Mate programs that people have ported from Gnome 2.32 that are not in the official repository yet, mainly because they might not work perfectly well. But I have found that programs like mate-notes, mate-video-player, rejilla, and so on, work sufficiently well for ordinary use. Your results may vary... |
The applications you mention appear to only be available for Ubuntu's MATE 1.4, they were not in Debian's MATE 1.4. I, personally, would just find an alternative like VLC for playing videos rather than bring in old, deprecated and no longer supported by anyone, applications.
|
I haven't yet tried doing any of this on Debian. Debian might have more or less libraries installed by default than Ubuntu so building things from source might have different requirements. It should be possible to totally eliminate these libraries even when building from source if the dependent development libraries are compiled like
Code:
./configure --enable-static --disable-shared [other arguments...] VLC relies on Qt nowadays for the GUI, so users with a bare-bones Mate system might need to pull in a significant amount of dependencies. The fork of Totem has apparently been updated recently, and now it is called Idol. I have yet to try compiling it. There is also mate-color-manager for using color profiles, etc. |
A rewrite of MATE using GTK3 is a major effort, and will likely take some time. I think Cinnamon is more future-proof, as it's already based on GTK3. Just my opinion.
|
Quote:
|
Audio controls
Hi,
I cannot understand which packages I need in order to have audio controls working. I see in the panel Mate Volume Control, but it does not recognize any sound card, even if when I give Code:
cat /proc/asound/cards Code:
aplay /usr/share/sounds/alsa/Front_Center.wav Thanks |
Hi all,
I want to try and install Mate but has any one got one up and running yet? Where can I download the disk I would like the 32bit and 64bit version USB live version or full install. Has any one made PDF file yet? I don't like the Ubuntu desktop but I have seen Mate. Right now I'm using LUbuntu 13.04 64bit version and my wife is using the 32bit version. Here is a link for my computer to see if it will work or not. Please take look tell me good or bad I want to know. http://reviews.cnet.com/desktops/hp-...-32609427.html The best thing is a man gave it to me for scrap because I do Refining Gold and Silver there are other PM inside plus I make money with the scrap. I got 7 grams of Gold and 15 grams of Silver last year hope to get a lot more. And yes the computer he gave me I didn't scrap it it works 90% but I had to put a new Hard Drive that what was bad in it. Any help would be great. Thanks Jack |
All times are GMT -5. The time now is 12:55 PM. |