12.10: mate install script
#!/bin/bash # to setup mate and other various things # should be executed as normal user but root password is necessary # make system up to date sudo apt-get update sudo apt-get upgrade -y # not needed for mint - install repos - may be changed for 12.10, 13.04 etc. sudo add-apt-repository "deb http://packages.mate-desktop.org/repo/ubuntu quantal main" -y sudo add-apt-repository "deb http://repo.mate-desktop.org/ubuntu quantal main" -y sudo add-apt-repository "deb http://mirror1.mate-desktop.org/ubuntu quantal main" -y # not needed for mint - install mate desktop sudo apt-get update sudo apt-get install mate-archive-keyring -y --force-yes sudo apt-get update # this install base packages sudo apt-get install mate-core -y # this install more packages sudo apt-get install mate-desktop-environment mate-desktop-environment-extra mate-desktop-gnome mate-desktop-extra mate-system-tools mate-text-editor mate-bluetooth -y sudo apt-get remove unity-lens-shopping # install various programs and remove some not used sudo apt-get install jed vlc synaptic gparted gimp pidgin -y -q sudo apt-get remove tomboy xchat aisleriot shotwell -y -q # setup the environment mateconftool-2 --set /apps/caja/desktop/computer_icon_name --type string "$HOSTNAME" mateconftool-2 --set /apps/caja/desktop/computer_icon_visible --type bool "1" mateconftool-2 --set /apps/caja/desktop/home_icon_visible --type bool "0" mateconftool-2 --set /apps/caja/desktop/network_icon_visible --type bool "1" mateconftool-2 --set /apps/caja/desktop/computer_icon_name --type string "Den här datorn - $HOSTNAME" mateconftool-2 --set /apps/caja/desktop/trash_icon_visible --type bool "1" mateconftool-2 --set /apps/caja/desktop/volumes_visible --type bool "0" mateconftool-2 --set /apps/caja/desktop/network_icon_name --type string "Nätverket" mateconftool-2 --set /apps/caja/preferences/always_use_location_entry --type bool "1" mateconftool-2 --set /apps/caja/icon_view/default_zoom_level --type string "small" # panel mateconftool-2 --set /apps/panel/toplevels/panel_0/orientation --type string "top" # menus - setup standard menu # mateconftool-2 /apps/panel/default_setup/applets/window_menu/action_type --type string "lock" # mateconftool-2 /apps/panel/default_setup/applets/window_menu/applied_iid --type string "WnckletFactory::WindowMenuApplet" # mateconftool-2 /apps/panel/default_setup/applets/window_menu/attached_toplevel_id --type string "" # mateconftool-2 /apps/panel/default_setup/applets/window_menu/custom_icon --type string "" # mateconftool-2 /apps/panel/default_setup/applets/window_menu/launcher_location --type string "" # mateconftool-2 /apps/panel/default_setup/applets/window_menu/locked --type bool "0" # mateconftool-2 /apps/panel/default_setup/applets/window_menu/menu_path --type string "applications:/" # mateconftool-2 /apps/panel/default_setup/applets/window_menu/object_type --type string "matecomponent-applet" # mateconftool-2 /apps/panel/default_setup/applets/window_menu/panel_right_stick --type bool "1" # mateconftool-2 /apps/panel/default_setup/applets/window_menu/position --type int "0" # mateconftool-2 /apps/panel/default_setup/applets/window_menu/tooltip --type string "" # mateconftool-2 /apps/panel/default_setup/applets/window_menu/toplevel_id --type string "top_panel" # mateconftool-2 /apps/panel/default_setup/applets/window_menu/toplevel_id --type string "top_panel" # mateconftool-2 /apps/panel/default_setup/applets/window_menu/use_custom_icon --type bool "0" # mateconftool-2 /apps/panel/default_setup/applets/window_menu/use_menu_path --type bool "0" # mint menu mateconftool-2 --set /apps/mintMenu/applet_text --type string "Start" # setup terminal mateconftool-2 --set /apps/mate-terminal/global/use_menu_accelerators --type bool "0" mateconftool-2 --set /apps/mate-terminal/global/use_mnemonics --type bool "0" mateconftool-2 --set /apps/mate-terminal/profiles/Default/use_theme_colors --type bool "0" mateconftool-2 --set /apps/mate-terminal/profiles/Default/background_color --type string "#000000000000" mateconftool-2 --set /apps/mate-terminal/profiles/Default/foreground_color --type string "#FFFFFFFFFFFF" # keybindings mateconftool-2 --set /desktop/mate/keybindings/custom0/action --type string "mate-system-monitor" mateconftool-2 --set /desktop/mate/keybindings/custom0/binding --type string "<Primary><Alt>Delete" mateconftool-2 --set /desktop/mate/keybindings/custom0/name --type string "aktivitetshanteraren" # turn off antialiasing touch ~/.fonts.conf echo '<?xml version="1.0"?>' > ~/.fonts.conf echo '<!DOCTYPE fontconfig SYSTEM "fonts.dtd">' >> ~/.fonts.conf echo '<fontconfig>' >> ~/.fonts.conf echo '<match target="font">' >> ~/.fonts.conf echo '<edit name="antialias" mode="assign">' >> ~/.fonts.conf echo '<bool>false</bool>' >> ~/.fonts.conf echo '</edit>' >> ~/.fonts.conf echo '</match>' >> ~/.fonts.conf echo '</fontconfig>' >> ~/.fonts.conf
This is a personal note. Last updated: 2013-10-01 02:02:02.