(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
make
sudo make install
If you haven't already, grab firefox and synaptic
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
Multimedia. Mate lacks a multimedia player. The aim is to build mate-video-player, a draft fork of Totem as well as some gstreamer plugins. Install some dvelopment libraries
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
Build ffmpeg. Get the source (newer than what precise uses but not too new to cause problems)
http://ffmpeg.mplayerhq.hu/releases/...0.8.12.tar.bz2
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
make
make install
sudo checkinstall
sudo ldconfig
Now for the plugins. First build libquicktime and mjpegtools (installing these from the repository might not work. We need libquicktime with --with-libdv and mjpegtools built against that)
http://sourceforge.net/projects/libq...ar.gz/download and
http://sourceforge.net/projects/mjpe...ar.gz/download
libquicktime
Code:
./configure --with-libdv --without-doxygen
make
make install
# For checkinstall, change name to libquicktime2
sudo checkinstall
mjpegtools
Code:
./configure
make
make install
sudo checkinstall
Now we can start building the plugins. This is just the basic configuration. Read the output of ./configure carefully. If you want additional features, try installing the appropriate development libraries. Note that all options are not available on all platforms, and upon detecting some libraries, others get disabled so do not expect all plugins to be built. MAKE SURE to add --prefix=/usr or else Totem will not find the plugins.
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
bad plugin:
http://archive.ubuntu.com/ubuntu/poo...3.orig.tar.bz2
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
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
Code:
./configure --prefix=/usr
sudo make
sudo make install
# For checkinstall change name to gstreamer0.10-plugins-bad
checkinstall
ugly plugin:
http://archive.ubuntu.com/ubuntu/poo...14.orig.tar.gz
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
make
sudo make install
# For checkinstall change name to gstreamer0.10-plugins-ugly
sudo checkinstall
ffmpeg plugin:
http://archive.ubuntu.com/ubuntu/poo...3.orig.tar.bz2
Code:
./configure --prefix=/usr --with-system-ffmpeg
make
sudo make install
# For checkinstall change name to gstreamer0.10-ffmpeg
sudo checkinstall
Now build the media player itself. First we need to build mate-pl-parser (a fork of totem-pl-parser), not in the release as it is a draft.
http://en.sourceforge.jp/projects/sf...parser.tar.gz/
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
make
sudo make install
# For checkinstall change name to mate-pl-parser and version to 2.32
mate-video-player:
http://sourceforge.jp/projects/sfnet...player.tar.gz/
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
make
sudo make install
# For checkinstall change name to mate-video-player, version to 2.32, and conflicts to totem if you wish to prevent Gnome 3's totem from ever being installed
sudo checkinstall
Note: The debs for mate-character-map, mate-notes, and mate-video-player may not install as they may conflict with one another. If that happens, the package manager won't be aware that these packages are installed. But the applications are installed, as you already ran "make install." I deliberately left off checkinstall instructions for these packages.
In firefox, type about
lugins 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
make
sudo make install
sudo checkinstall
Install skin using instructions on MPlayer web site.
cinelerra:
Code:
sudo apt-get install git git-man liberror-perl
Code:
git clone git://git.cinelerra.org/CinelerraCV.git cinelerra-cv
Download an important patch. This lets us use the newer version of ffmpeg that we installed earlier. (For more information, see
http://comments.gmane.org/gmane.comp....general/12922)
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
patch -p0 < ../12950-001.bin
If it doesn't work for you, you might be prompted to type in the entire full path of the file name that it is looking for. We need to patch something else by hand. The swscale.h file is not found so we need to explicitly tell it where it is
Code:
nano cinelerra/ffmpeg.C
In line 5, change the included directory to be /usr/local/include/libswscale/swscale.h Save and exit. Now we can hopefully build (note, the CXXFLAGS stuff is required on i686 as well):
Code:
./autogen.sh
CXXFLAGS=-D__STDC_CONSTANT_MACROS ./configure --with-external-ffmpeg
make
sudo make install
# For checkinstall change name to cinelerra-cv and version to 2.2
sudo checkinstall
End Optional Steps
*****
Thematization
Code:
sudo apt-get install mate-conf-editor
- Volume Control
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
sudo mv ~/Desktop/gnome-volume-control /usr/bin/mate-volume-control
Now click the the volume icon near your clock and then click the "Volume Control" button. You should see the familiar volume control.
- 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
Click System -> Preferences -> Appearance and change theme to Human. Note, you have to log out and back in for the icons to fully refresh.
- Buttons, Icons, and Toolbars
Get gtk icon appearances for LibreOffice
Code:
sudo apt-get install libreoffice-gtk libreoffice-style-tango
In your libreoffice applications, click Tools -> Options. At the left, under LibreOffice, click View. Change the icon size to small. Then set the style to Human.
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
Now get ccsm:
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
Now run mate-conf-editor.
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
gzip Human.tar
Now install the theme:
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
Paste this into the file, save, and exit.
[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
sudo apt-get purge ttf-freefont
sudo dpkg -i ttf-freefont_20060501cvs-12_all.deb
sudo apt-get purge fonts-liberation
sudo dpkg -i ttf-bitstream-vera_1.10-7_all.deb
sudo dpkg -i ttf-dejavu-core_2.23-1_all.deb ttf-dejavu-extra_2.23-1_all.deb ttf-dejavu_2.23-1_all.deb
sudo dpkg-reconfigure fontconfig
To get firefox/seamonkey/etc interface fonts to match the rest of the system:
Code:
sudo rm /etc/fonts/conf.d/10*.conf
sudo dpkg-reconfigure fontconfig
To undo the firefox "fix" later:
Code:
sudo ln -s /etc/fonts/conf.avail/10-antialias.conf /etc/fonts/conf.d
sudo ln -s /etc/fonts/conf.avail/10-hinting.conf /etc/fonts/conf.d
sudo ln -s /etc/fonts/conf.avail/10-hinting-slight.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
Now, install gdebi (the standard way to install deb archives graphically). Go to
http://packages.ubuntu.com/source/natty/gdebi and download the source and the dsc file.
So, we can rebuild the debs. Now, run
Code:
dpkg-source -x gdebi_0.7.0.dsc
dpkg-buildpackage -rfakeroot -b
Congratulations, you just rebuilt debian packages according the method according to the disribution's specifications. That's a bit more elegant than checkinstall. The debs you just built are located in the parent directory.
Code:
cd ..
sudo dpkg -i gdebi-core_0.7.0_all.deb gdebi_0.7.0_all.deb
*****
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.