Created
August 26, 2014 07:06
-
-
Save gravitano/f069076875b38779be6b to your computer and use it in GitHub Desktop.
Ubuntu - Replace Unity by Mate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install Packages | |
| sudo apt-get install --no-install-recommends mate-desktop-environment mate-desktop-environment-extra mate-archive-keyring caja-gksu caja-sendto mate-indicator-applet mate-media-gstreamer mate-icon-theme-faenza | |
| # Remove substituted packages | |
| sudo apt-get remove gcalctool gnome-screenshot gedit file-roller eog gnome-system-monitor gnome-system-log baobab gnome-terminal gnome-applets gnome-media gnome-power-manager gnome-screensaver | |
| # Set default desktop for new users | |
| sudo /usr/lib/lightdm/lightdm-set-defaults -s mate | |
| # Folders: | |
| xdg-mime default caja-folder-handler.desktop inode/directory | |
| # SSH sites: | |
| xdg-mime default caja-folder-handler.desktop x-scheme-handler/ssh | |
| mateconftool-2 --set --type=bool /desktop/mate/url-handlers/ssh/enabled true | |
| mateconftool-2 --set --type=string /desktop/mate/url-handlers/ssh/command 'caja "%s"' | |
| mateconftool-2 --set --type=bool /desktop/mate/url-handlers/ssh/needs_terminal false | |
| # FTP sites: | |
| xdg-mime default caja-folder-handler.desktop x-scheme-handler/ftp | |
| mateconftool-2 --set --type=bool /desktop/mate/url-handlers/ftp/enabled true | |
| mateconftool-2 --set --type=string /desktop/mate/url-handlers/ftp/command 'caja "%s"' | |
| mateconftool-2 --set --type=bool /desktop/mate/url-handlers/ftp/needs_terminal false | |
| # Images: | |
| xdg-mime default eom.desktop image/bmp | |
| xdg-mime default eom.desktop image/gif | |
| xdg-mime default eom.desktop image/jpeg | |
| xdg-mime default eom.desktop image/x-pcx | |
| xdg-mime default eom.desktop image/png | |
| xdg-mime default eom.desktop image/tiff | |
| # Plain text: | |
| xdg-mime default pluma.desktop text/plain | |
| xdg-mime default pluma.desktop text/x-log | |
| xdg-mime default pluma.desktop application/x-perl | |
| xdg-mime default pluma.desktop application/javascript | |
| xdg-mime default pluma.desktop application/rdf+xml | |
| # If you want for Wine plain text files: | |
| xdg-mime default pluma.desktop application/x-wine-extension-ini | |
| xdg-mime default pluma.desktop application/x-wine-extension-vbs | |
| xdg-mime default pluma.desktop text/x-csrc | |
| xdg-mime default pluma.desktop application/x-wine-extension-inf | |
| # PDF: | |
| xdg-mime default atril.desktop application/pdf | |
| # Update alternative | |
| update-alternatives --install "$(which x-terminal-emulator)" x-terminal-emulator "$(which mate-terminal)" 30 | |
| update-alternatives --set x-terminal-emulator "$(which mate-terminal)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment