updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / bundle-desktop-jianingy / bundle-desktop-setup.sh
blob7c1a68d5b51488663ca9272549ce6591f6522bd0
1 #!/bin/bash
3 # GConf
4 gconftool=$(type -p gconftool-2)
5 [ -z "$gconftool" ] && echo 2>&1 "gconftool-2 not found" && exit 255
6 $gconftool -s /desktop/gnome/font_rendering/antialiasing --type=string rgba
7 $gconftool -s /desktop/gnome/font_rendering/dpi --type=float 96
8 $gconftool -s /desktop/gnome/font_rendering/hinting --type=string slight
9 $gconftool -s /desktop/gnome/font_rendering/rgba_order --type=string rgb
10 $gconftool -s /desktop/gnome/interface/document_font_name --type=string "Verdana 9.599609375"
11 $gconftool -s /desktop/gnome/interface/font_name --type=string "Tahoma 9.599609375"
12 $gconftool -s /desktop/gnome/interface/monospace_font_name --type=string "Monaco 9.599609375"
13 $gconftool -s /desktop/gnome/interface/icon_theme "ubuntu-mono-light" --type=string
14 $gconftool -s /desktop/gnome/interface/gtk_theme --type=string 'Radiance'
15 $gconftool -s /desktop/gnome/interface/gtk_key_theme --type=string 'Emacs'
16 $gconftool -s /apps/gnomenu/Menu_Name --type=string 'Vista'
18 bdir=/usr/share/bundle-desktop
20 # wallpaper
21 rsync -aP $bdir/wallpaper.png ~/.wallpaper.png
22 $gconftool -s /desktop/gnome/background/picture_filename --type=string "$HOME/.wallpaper.png" || exit 1
23 $gconftool -s /desktop/gnome/background/picture_options --type=string "stretched" || exit 1
24 $gconftool -s /apps/gnome-do/preferences/Do/CorePreferences/Theme --type=string "Glass" || exit 1
26 # pannel
27 $gconftool --load $bdir/gconf-panel.xml
28 rsync -aP "/usr/share/emerald/themes/Ambiance Emerald BW/*" ~/.emerald/theme
29 mkdir -p ~/.config/compiz/compizconfig
30 rsync -aP $bdir/fusion-icon ~/.config/compiz
31 rsync -aP $bdir/compiz.ini ~/.config/compiz/compizconfig/Default.ini
32 rsync -aP $bdir/*.desktop ~/.config/autostart
33 ibus-setup