पिछले उत्तरों पर निर्माण:
11.10 के लिए
#!/bin/bash
if [ "$XDG_CURRENT_DESKTOP" = "Unity" ]
then
gsettings set org.gnome.desktop.interface gtk-theme 'Ambiance'
gconftool-2 --set --type string /apps/metacity/general/theme 'Ambiance'
gsettings set org.gnome.desktop.interface icon-theme 'Faenza-Ambiance'
else
gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita'
gconftool-2 --set --type string /apps/metacity/general/theme 'Adwaita'
gsettings set org.gnome.desktop.interface icon-theme 'Faenza'
fi
12.04 और 12.10 के लिए
#!/bin/bash
if [ "$XDG_CURRENT_DESKTOP" = "Unity" ]
then
gsettings set org.gnome.desktop.interface gtk-theme 'Ambiance'
gsettings set org.gnome.desktop.interface icon-theme 'ubuntu-mono-dark'
gsettings set org.gnome.desktop.wm.preferences theme 'Ambiance'
else
gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita'
gsettings set org.gnome.desktop.interface icon-theme 'gnome'
gsettings set org.gnome.desktop.wm.preferences theme 'Adwaita'
fi
इस स्क्रिप्ट को Startup Applications
जोड़ें (जोड़ें => कमांड sh path/to/script
)।