Backup your Mint qiana theme settings

Some of you might have installed mint qiana or have a newer Version of cinnamon and want to save some settings as enabled applets list, panel heigth , enabled theme heigth and window manager and icon theme.

Thats relatively easy to do if you don`t trust any tweak tools, but this scripts:

#!/bin/bash
get_settingscript () {
echo '#''!''/'bin/bash
echo ""
echo gsettings set org.cinnamon.theme name "`gsettings get org.cinnamon.theme name`"
echo gsettings set org.cinnamon.desktop.interface icon-theme "`gsettings get org.cinnamon.desktop.interface icon-theme`"
echo gsettings set org.cinnamon.desktop.interface gtk-theme "`gsettings get org.cinnamon.desktop.interface gtk-theme`"
echo gsettings set org.cinnamon.desktop.wm.preferences theme "`gsettings get org.cinnamon.desktop.wm.preferences theme`"
echo gsettings set org.cinnamon next-applet-id "`gsettings get org.cinnamon next-applet-id`"
echo gsettings set org.cinnamon enabled-applets '"'"`gsettings get org.cinnamon enabled-applets`"'"'
echo gsettings set org.cinnamon panel-bottom-height "`gsettings get org.cinnamon panel-bottom-height`"
echo gsettings set org.cinnamon panel-resizable "`gsettings get org.cinnamon panel-resizable`"
}

if [ ! -f cinnamon-settings-restore.sh ]
then
get_settingscript > cinnamon-settings-restore.sh; chmod a+x cinnamon-settings-restore.sh
else
echo backup script does exist already - move it to a safer place and or execute it
exit
fi

it won`t backup your themes , applet configuration etc. but save their names in a script that you can easily reapply.
This might also be interesting to get the „correct“ etc/gconf .override for remastering/remixing/rebuilding your own Linux Mint based distro .

Some of the script lines do also work under unity if you replace cinnamon with gnome.
Hope it helps some people who are changing their Linux Mnt configuration very often.

Posted by: bluedxca93-web-blog.coolpage.biz on