[157] | 1 | #!/bin/sh |
---|
| 2 | # |
---|
| 3 | # XpGnome Script |
---|
| 4 | # Written by PhrankDaChicken |
---|
| 5 | # http://ubunut.online02.com/xpgnome |
---|
| 6 | # |
---|
| 7 | # Last Update: 12/25/08 |
---|
| 8 | # |
---|
| 9 | |
---|
| 10 | DIR=$(pwd) |
---|
| 11 | |
---|
| 12 | if ! $(zenity --question --no-wrap --title "XpGnome" --text "WARNING: This script will change your Gnome desktop to look like Windows XP! \n Continue?") ; then |
---|
| 13 | echo "no" |
---|
| 14 | exit 0 |
---|
| 15 | fi |
---|
| 16 | |
---|
| 17 | ( |
---|
| 18 | echo "# Saving Settings..." |
---|
| 19 | |
---|
| 20 | RESTOREDIR=$(date +%b_%d_%Y,%H-%M-%S) |
---|
| 21 | RESTOREDIR="RestoreSettings_$RESTOREDIR" |
---|
| 22 | mkdir $RESTOREDIR |
---|
| 23 | echo "#!/bin/sh" > /tmp/Restore_Settings.sh |
---|
| 24 | echo "gconftool-2 --set \"/desktop/gnome/interface/icon_theme\" --type string" \"$(gconftool-2 --get "/desktop/gnome/interface/icon_theme")\" >> /tmp/Restore_Settings.sh |
---|
| 25 | echo "gconftool-2 --set \"/desktop/gnome/peripherals/mouse/cursor_theme\" --type string" \"$(gconftool-2 --get "/desktop/gnome/peripherals/mouse/cursor_theme")\" >> /tmp/Restore_Settings.sh |
---|
| 26 | echo "gconftool-2 --set \"/desktop/gnome/interface/gtk_theme\" --type string" \"$(gconftool-2 --get "/desktop/gnome/interface/gtk_theme")\" >> /tmp/Restore_Settings.sh |
---|
| 27 | echo "gconftool-2 --set \"/apps/metacity/general/theme\" --type string" \"$(gconftool-2 --get "/apps/metacity/general/theme")\" >> /tmp/Restore_Settings.sh |
---|
| 28 | echo "gconftool-2 --set \"/desktop/gnome/interface/toolbar_style\" --type string" \"$(gconftool-2 --get "/desktop/gnome/interface/toolbar_style")\" >> /tmp/Restore_Settings.sh |
---|
| 29 | echo "gconftool-2 --set \"/apps/nautilus/preferences/side_pane_view\" --type string" \"$(gconftool-2 --get "/apps/nautilus/preferences/side_pane_view")\" >> /tmp/Restore_Settings.sh |
---|
| 30 | echo "gconftool-2 --set \"/apps/nautilus/sidebar_panels/tree/show_only_directories\" --type bool" $(gconftool-2 --get "/apps/nautilus/sidebar_panels/tree/show_only_directories") >> /tmp/Restore_Settings.sh |
---|
| 31 | echo "gconftool-2 --set \"/apps/nautilus/desktop/computer_icon_visible\" --type bool" $(gconftool-2 --get "/apps/nautilus/desktop/computer_icon_visible") >> /tmp/Restore_Settings.sh |
---|
| 32 | echo "gconftool-2 --set \"/apps/nautilus/desktop/computer_icon_name\" --type string " \"$(gconftool-2 --get "/apps/nautilus/desktop/computer_icon_name")\" >> /tmp/Restore_Settings.sh |
---|
| 33 | echo "gconftool-2 --set \"/apps/nautilus/desktop/home_icon_visible\" --type bool" $(gconftool-2 --get "/apps/nautilus/desktop/home_icon_visible") >> /tmp/Restore_Settings.sh |
---|
| 34 | echo "gconftool-2 --set \"/apps/nautilus/desktop/home_icon_name\" --type string" \"$(gconftool-2 --get "/apps/nautilus/desktop/home_icon_name")\" >> /tmp/Restore_Settings.sh |
---|
| 35 | echo "gconftool-2 --set \"/apps/nautilus/desktop/network_icon_visible\" --type bool" $(gconftool-2 --get "/apps/nautilus/desktop/network_icon_visible") >> /tmp/Restore_Settings.sh |
---|
| 36 | echo "gconftool-2 --set \"/apps/nautilus/desktop/network_icon_name\" --type string" \"$(gconftool-2 --get "/apps/nautilus/desktop/network_icon_name")\" >> /tmp/Restore_Settings.sh |
---|
| 37 | echo "gconftool-2 --set \"/apps/nautilus/desktop/trash_icon_visible\" --type bool" $(gconftool-2 --get "/apps/nautilus/desktop/trash_icon_visible") >> /tmp/Restore_Settings.sh |
---|
| 38 | echo "gconftool-2 --set \"/apps/nautilus/desktop/trash_icon_name\" --type string" \"$(gconftool-2 --get "/apps/nautilus/desktop/trash_icon_name")\" >> /tmp/Restore_Settings.sh |
---|
| 39 | echo "gconftool-2 --set \"/apps/nautilus/desktop/volumes_visible\" --type bool" $(gconftool-2 --get "/apps/nautilus/desktop/volumes_visible") >> /tmp/Restore_Settings.sh |
---|
| 40 | echo "gconftool-2 --set \"/apps/gnome-session/options/show_splash_screen\" --type bool" $(gconftool-2 --get "/apps/gnome-session/options/show_splash_screen") >> /tmp/Restore_Settings.sh |
---|
| 41 | echo "gconftool-2 --set \"/apps/gnome-session/options/splash_image\" --type string" \"$(gconftool-2 --get "/apps/gnome-session/options/splash_image")\" >> /tmp/Restore_Settings.sh |
---|
| 42 | echo "gconftool-2 --set \"/desktop/gnome/background/picture_filename\" --type string" \"$(gconftool-2 --get "/desktop/gnome/background/picture_filename")\" >> /tmp/Restore_Settings.sh |
---|
| 43 | echo "gconftool-2 --set \"/desktop/gnome/background/picture_options\" --type string" \"$(gconftool-2 --get "/desktop/gnome/background/picture_options")\" >> /tmp/Restore_Settings.sh |
---|
| 44 | echo "gconftool-2 --set \"/apps/metacity/general/num_workspaces\" --type int" $(gconftool-2 --get "/apps/metacity/general/num_workspaces") >> /tmp/Restore_Settings.sh |
---|
| 45 | echo "rm -r $HOME/.icons/GnomeXP" >> /tmp/Restore_Settings.sh |
---|
| 46 | echo "rm -r $HOME/.icons/xp" >> /tmp/Restore_Settings.sh |
---|
| 47 | echo "rm -r $HOME/.themes/XPLuna" >> /tmp/Restore_Settings.sh |
---|
| 48 | echo "gconftool-2 --load Panel_Settings.xml" >> /tmp/Restore_Settings.sh |
---|
| 49 | echo "killall gnome-panel" >> /tmp/Restore_Settings.sh |
---|
| 50 | echo "gksudo -m \"Enter your password to remove and change the XP GDM/Login theme\" \"rm -r /usr/share/gdm/themes/XP_Ubuntu\"" >> /tmp/Restore_Settings.sh |
---|
| 51 | echo "gksudo gdmsetup" >> /tmp/Restore_Settings.sh |
---|
| 52 | echo "zenity --info --no-wrap --title \"XpGnome\" --text \"Settings restored!" >> /tmp/Restore_Settings.sh |
---|
| 53 | chmod a+x /tmp/Restore_Settings.sh |
---|
| 54 | mv /tmp/Restore_Settings.sh $DIR/$RESTOREDIR/Restore_Settings.sh |
---|
| 55 | gconftool-2 --dump /apps/panel > $DIR/$RESTOREDIR/Panel_Settings.xml |
---|
| 56 | #cp /etc/gdm/gdm.conf-custom $DIR/$RESTOREDIR/ |
---|
| 57 | |
---|
| 58 | echo "# Theming Desktop...." |
---|
| 59 | mkdir $HOME/.themes |
---|
| 60 | mkdir $HOME/.icons |
---|
| 61 | |
---|
| 62 | # Icons |
---|
| 63 | cp files/GnomeXP.tar.gz $HOME/.icons |
---|
| 64 | cd $HOME/.icons |
---|
| 65 | tar -xf GnomeXP.tar.gz |
---|
| 66 | rm GnomeXP.tar.gz |
---|
| 67 | gconftool-2 --set "/desktop/gnome/interface/icon_theme" --type string "GnomeXP" |
---|
| 68 | cd $DIR |
---|
| 69 | |
---|
| 70 | # Cursor |
---|
| 71 | cp files/xp_cursor.tar.gz $HOME/.icons |
---|
| 72 | cd $HOME/.icons |
---|
| 73 | tar -xf xp_cursor.tar.gz |
---|
| 74 | rm xp_cursor.tar.gz |
---|
| 75 | gconftool-2 --set "/desktop/gnome/peripherals/mouse/cursor_theme" --type string "xp" |
---|
| 76 | cd $DIR |
---|
| 77 | |
---|
| 78 | # GTK Theme - XPLuna |
---|
| 79 | cp files/XPLuna.tar.gz $HOME/.themes |
---|
| 80 | cd $HOME/.themes |
---|
| 81 | tar -xf XPLuna.tar.gz |
---|
| 82 | rm XPLuna.tar.gz |
---|
| 83 | gconftool-2 --set "/desktop/gnome/interface/gtk_theme" --type string "XPLuna" |
---|
| 84 | cd $DIR |
---|
| 85 | |
---|
| 86 | # Meacity Theme |
---|
| 87 | gconftool-2 --set "/apps/metacity/general/theme" --type string "XPLuna" |
---|
| 88 | |
---|
| 89 | # Toolbars - Icons Only |
---|
| 90 | gconftool-2 --set "/desktop/gnome/interface/toolbar_style" --type string "icons" |
---|
| 91 | # Nautilus Sidebar |
---|
| 92 | gconftool-2 --set "/apps/nautilus/preferences/side_pane_view" --type string "NautilusTreeSidebar" |
---|
| 93 | gconftool-2 --set "/apps/nautilus/sidebar_panels/tree/show_only_directories" --type bool TRUE |
---|
| 94 | |
---|
| 95 | # Desktop Icons |
---|
| 96 | gconftool-2 --set "/apps/nautilus/desktop/computer_icon_visible" --type bool TRUE |
---|
| 97 | gconftool-2 --set "/apps/nautilus/desktop/computer_icon_name" --type string "My Computer" |
---|
| 98 | gconftool-2 --set "/apps/nautilus/desktop/home_icon_visible" --type bool TRUE |
---|
| 99 | gconftool-2 --set "/apps/nautilus/desktop/home_icon_name" --type string "My Documents" |
---|
| 100 | gconftool-2 --set "/apps/nautilus/desktop/network_icon_visible" --type bool TRUE |
---|
| 101 | gconftool-2 --set "/apps/nautilus/desktop/network_icon_name" --type string "My Network Places" |
---|
| 102 | gconftool-2 --set "/apps/nautilus/desktop/trash_icon_visible" --type bool TRUE |
---|
| 103 | gconftool-2 --set "/apps/nautilus/desktop/trash_icon_name" --type string "Recycle Bin" |
---|
| 104 | gconftool-2 --set "/apps/nautilus/desktop/volumes_visible" --type bool FALSE |
---|
| 105 | |
---|
| 106 | # Splash Screen |
---|
| 107 | gconftool-2 --set "/apps/gnome-session/options/show_splash_screen" --type bool TRUE |
---|
| 108 | gconftool-2 --set "/apps/gnome-session/options/splash_image" --type string "$HOME/.themes/XPLuna/windowslogin.png" |
---|
| 109 | |
---|
| 110 | # Background |
---|
| 111 | gconftool-2 --set "/desktop/gnome/background/picture_filename" --type string "$HOME/.themes/XPLuna/Bliss_XP.jpg" |
---|
| 112 | gconftool-2 --set "/desktop/gnome/background/picture_options" --type string "stretched" |
---|
| 113 | |
---|
| 114 | # Set One Workplace |
---|
| 115 | gconftool-2 --set "/apps/metacity/general/num_workspaces" --type int 1 |
---|
| 116 | |
---|
| 117 | echo "# Creating Panels...." |
---|
| 118 | ## Panel Stuff |
---|
| 119 | # Create New Panel |
---|
| 120 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/animation_speed" --type string "medium" |
---|
| 121 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/auto_hide" --type bool FALSE |
---|
| 122 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/auto_hide_size" --type int 6 |
---|
| 123 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/enable_animations" --type bool TRUE |
---|
| 124 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/enable_arrows" --type bool TRUE |
---|
| 125 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/enable_buttons" --type bool FALSE |
---|
| 126 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/expand" --type bool TRUE |
---|
| 127 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/hide_delay" --type int 500 |
---|
| 128 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/monitor" --type int 0 |
---|
| 129 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/name" --type string "bottom_panel_0" |
---|
| 130 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/orientation" --type string "bottom" |
---|
| 131 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/screen" --type int 0 |
---|
| 132 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/size" --type int 32 |
---|
| 133 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/unhide_delay" --type int 500 |
---|
| 134 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/x" --type int 0 |
---|
| 135 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/x_centered" --type bool FALSE |
---|
| 136 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/x_right" --type int |
---|
| 137 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/y" --type int 0 |
---|
| 138 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/y_bottom" --type int |
---|
| 139 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/y_centered" --type bool FALSE |
---|
| 140 | |
---|
| 141 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/background/color" --type string "#ffffff" |
---|
| 142 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/background/fit" --type bool FALSE |
---|
| 143 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/background/image" --type string "" |
---|
| 144 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/background/opacity" --type int 6000 |
---|
| 145 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/background/rotate" --type bool FALSE |
---|
| 146 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/background/stretch" --type bool FALSE |
---|
| 147 | gconftool-2 --set "/apps/panel/toplevels/bottom_panel_0/background/type" --type string "gtk" |
---|
| 148 | |
---|
| 149 | # Start Menu |
---|
| 150 | gconftool-2 --set "/apps/panel/objects/object_0/action_type" --type string "lock" |
---|
| 151 | gconftool-2 --set "/apps/panel/objects/object_0/attached_toplevel_id" --type string "" |
---|
| 152 | gconftool-2 --set "/apps/panel/objects/object_0/bonobo_iid" --type string "" |
---|
| 153 | gconftool-2 --set "/apps/panel/objects/object_0/custom_icon" --type string "/home/"$USER"/.themes/XPLuna/start.png" |
---|
| 154 | gconftool-2 --set "/apps/panel/objects/object_0/launcher_location" --type string "" |
---|
| 155 | gconftool-2 --set "/apps/panel/objects/object_0/locked" --type bool TRUE |
---|
| 156 | gconftool-2 --set "/apps/panel/objects/object_0/menu_path" --type string "applications:/" |
---|
| 157 | gconftool-2 --set "/apps/panel/objects/object_0/object_type" --type string "menu-object" |
---|
| 158 | gconftool-2 --set "/apps/panel/objects/object_0/panel_right_stick" --type bool FALSE |
---|
| 159 | gconftool-2 --set "/apps/panel/objects/object_0/position" --type int 0 |
---|
| 160 | gconftool-2 --set "/apps/panel/objects/object_0/tooltip" --type string "Main Menu" |
---|
| 161 | gconftool-2 --set "/apps/panel/objects/object_0/toplevel_id" --type string "bottom_panel_0" |
---|
| 162 | gconftool-2 --set "/apps/panel/objects/object_0/use_custom_icon" --type bool TRUE |
---|
| 163 | gconftool-2 --set "/apps/panel/objects/object_0/use_menu_path" --type bool FALSE |
---|
| 164 | |
---|
| 165 | # Show Desktop |
---|
| 166 | gconftool-2 --set "/apps/panel/applets/applet_0/action_type" --type string "lock" |
---|
| 167 | gconftool-2 --set "/apps/panel/applets/applet_0/attached_toplevel_id" --type string "" |
---|
| 168 | gconftool-2 --set "/apps/panel/applets/applet_0/bonobo_iid" --type string "OAFIID:GNOME_ShowDesktopApplet" |
---|
| 169 | gconftool-2 --set "/apps/panel/applets/applet_0/custom_icon" --type string "" |
---|
| 170 | gconftool-2 --set "/apps/panel/applets/applet_0/launcher_location" --type string "" |
---|
| 171 | gconftool-2 --set "/apps/panel/applets/applet_0/locked" --type bool TRUE |
---|
| 172 | gconftool-2 --set "/apps/panel/applets/applet_0/menu_path" --type string "applications:/" |
---|
| 173 | gconftool-2 --set "/apps/panel/applets/applet_0/object_type" --type string "bonobo-applet" |
---|
| 174 | gconftool-2 --set "/apps/panel/applets/applet_0/panel_right_stick" --type bool FALSE |
---|
| 175 | gconftool-2 --set "/apps/panel/applets/applet_0/position" --type int 1 |
---|
| 176 | gconftool-2 --set "/apps/panel/applets/applet_0/tooltip" --type string "" |
---|
| 177 | gconftool-2 --set "/apps/panel/applets/applet_0/toplevel_id" --type string "bottom_panel_0" |
---|
| 178 | gconftool-2 --set "/apps/panel/applets/applet_0/use_custom_icon" --type bool FALSE |
---|
| 179 | gconftool-2 --set "/apps/panel/applets/applet_0/use_menu_path" --type bool FALSE |
---|
| 180 | |
---|
| 181 | # Window Switcher |
---|
| 182 | gconftool-2 --set "/apps/panel/applets/applet_1/action_type" --type string "lock" |
---|
| 183 | gconftool-2 --set "/apps/panel/applets/applet_1/attached_toplevel_id" --type string "" |
---|
| 184 | gconftool-2 --set "/apps/panel/applets/applet_1/bonobo_iid" --type string "OAFIID:GNOME_WindowListApplet" |
---|
| 185 | gconftool-2 --set "/apps/panel/applets/applet_1/custom_icon" --type string "" |
---|
| 186 | gconftool-2 --set "/apps/panel/applets/applet_1/launcher_location" --type string "" |
---|
| 187 | gconftool-2 --set "/apps/panel/applets/applet_1/locked" --type bool TRUE |
---|
| 188 | gconftool-2 --set "/apps/panel/applets/applet_1/menu_path" --type string "applications:/" |
---|
| 189 | gconftool-2 --set "/apps/panel/applets/applet_1/object_type" --type string "bonobo-applet" |
---|
| 190 | gconftool-2 --set "/apps/panel/applets/applet_1/panel_right_stick" --type bool FALSE |
---|
| 191 | gconftool-2 --set "/apps/panel/applets/applet_1/position" --type int 2 |
---|
| 192 | gconftool-2 --set "/apps/panel/applets/applet_1/tooltip" --type string "" |
---|
| 193 | gconftool-2 --set "/apps/panel/applets/applet_1/toplevel_id" --type string "bottom_panel_0" |
---|
| 194 | gconftool-2 --set "/apps/panel/applets/applet_1/use_custom_icon" --type bool FALSE |
---|
| 195 | gconftool-2 --set "/apps/panel/applets/applet_1/use_menu_path" --type bool FALSE |
---|
| 196 | |
---|
| 197 | gconftool-2 --set "/apps/panel/applets/applet_1/prefs/display_all_workspaces" --type bool FALSE |
---|
| 198 | gconftool-2 --set "/apps/panel/applets/applet_1/prefs/group_windows" --type string "never" |
---|
| 199 | gconftool-2 --set "/apps/panel/applets/applet_1/prefs/maximum_size" --type int 4096 |
---|
| 200 | gconftool-2 --set "/apps/panel/applets/applet_1/prefs/minimum_size" --type int 50 |
---|
| 201 | gconftool-2 --set "/apps/panel/applets/applet_1/prefs/move_unminimized_windows" --type bool TRUE |
---|
| 202 | |
---|
| 203 | # Notification Area |
---|
| 204 | gconftool-2 --set "/apps/panel/applets/applet_2/action_type" --type string "lock" |
---|
| 205 | gconftool-2 --set "/apps/panel/applets/applet_2/attached_toplevel_id" --type string "" |
---|
| 206 | gconftool-2 --set "/apps/panel/applets/applet_2/bonobo_iid" --type string "OAFIID:GNOME_NotificationAreaApplet" |
---|
| 207 | gconftool-2 --set "/apps/panel/applets/applet_2/custom_icon" --type string "" |
---|
| 208 | gconftool-2 --set "/apps/panel/applets/applet_2/launcher_location" --type string "" |
---|
| 209 | gconftool-2 --set "/apps/panel/applets/applet_2/locked" --type bool TRUE |
---|
| 210 | gconftool-2 --set "/apps/panel/applets/applet_2/menu_path" --type string "applications:/" |
---|
| 211 | gconftool-2 --set "/apps/panel/applets/applet_2/object_type" --type string "bonobo-applet" |
---|
| 212 | gconftool-2 --set "/apps/panel/applets/applet_2/panel_right_stick" --type bool TRUE |
---|
| 213 | gconftool-2 --set "/apps/panel/applets/applet_2/position" --type int 3 |
---|
| 214 | gconftool-2 --set "/apps/panel/applets/applet_2/tooltip" --type string "" |
---|
| 215 | gconftool-2 --set "/apps/panel/applets/applet_2/toplevel_id" --type string "bottom_panel_0" |
---|
| 216 | gconftool-2 --set "/apps/panel/applets/applet_2/use_custom_icon" --type bool FALSE |
---|
| 217 | gconftool-2 --set "/apps/panel/applets/applet_2/use_menu_path" --type bool FALSE |
---|
| 218 | |
---|
| 219 | # Volume Control |
---|
| 220 | gconftool-2 --set "/apps/panel/applets/applet_3/action_type" --type string "lock" |
---|
| 221 | gconftool-2 --set "/apps/panel/applets/applet_3/attached_toplevel_id" --type string "" |
---|
| 222 | gconftool-2 --set "/apps/panel/applets/applet_3/bonobo_iid" --type string "OAFIID:GNOME_MixerApplet" |
---|
| 223 | gconftool-2 --set "/apps/panel/applets/applet_3/custom_icon" --type string "" |
---|
| 224 | gconftool-2 --set "/apps/panel/applets/applet_3/launcher_location" --type string "" |
---|
| 225 | gconftool-2 --set "/apps/panel/applets/applet_3/locked" --type bool TRUE |
---|
| 226 | gconftool-2 --set "/apps/panel/applets/applet_3/menu_path" --type string "applications:/" |
---|
| 227 | gconftool-2 --set "/apps/panel/applets/applet_3/object_type" --type string "bonobo-applet" |
---|
| 228 | gconftool-2 --set "/apps/panel/applets/applet_3/panel_right_stick" --type bool TRUE |
---|
| 229 | gconftool-2 --set "/apps/panel/applets/applet_3/position" --type int 2 |
---|
| 230 | gconftool-2 --set "/apps/panel/applets/applet_3/tooltip" --type string "" |
---|
| 231 | gconftool-2 --set "/apps/panel/applets/applet_3/toplevel_id" --type string "bottom_panel_0" |
---|
| 232 | gconftool-2 --set "/apps/panel/applets/applet_3/use_custom_icon" --type bool FALSE |
---|
| 233 | gconftool-2 --set "/apps/panel/applets/applet_3/use_menu_path" --type bool FALSE |
---|
| 234 | |
---|
| 235 | # Clock |
---|
| 236 | gconftool-2 --set "/apps/panel/applets/applet_4/action_type" --type string "lock" |
---|
| 237 | gconftool-2 --set "/apps/panel/applets/applet_4/attached_toplevel_id" --type string "" |
---|
| 238 | gconftool-2 --set "/apps/panel/applets/applet_4/bonobo_iid" --type string "OAFIID:GNOME_ClockApplet" |
---|
| 239 | gconftool-2 --set "/apps/panel/applets/applet_4/custom_icon" --type string "" |
---|
| 240 | gconftool-2 --set "/apps/panel/applets/applet_4/launcher_location" --type string "" |
---|
| 241 | gconftool-2 --set "/apps/panel/applets/applet_4/locked" --type bool TRUE |
---|
| 242 | gconftool-2 --set "/apps/panel/applets/applet_4/menu_path" --type string "applications:/" |
---|
| 243 | gconftool-2 --set "/apps/panel/applets/applet_4/object_type" --type string "bonobo-applet" |
---|
| 244 | gconftool-2 --set "/apps/panel/applets/applet_4/panel_right_stick" --type bool TRUE |
---|
| 245 | gconftool-2 --set "/apps/panel/applets/applet_4/position" --type int 0 |
---|
| 246 | gconftool-2 --set "/apps/panel/applets/applet_4/tooltip" --type string "" |
---|
| 247 | gconftool-2 --set "/apps/panel/applets/applet_4/toplevel_id" --type string "bottom_panel_0" |
---|
| 248 | gconftool-2 --set "/apps/panel/applets/applet_4/use_custom_icon" --type bool FALSE |
---|
| 249 | gconftool-2 --set "/apps/panel/applets/applet_4/use_menu_path" --type bool FALSE |
---|
| 250 | |
---|
| 251 | gconftool-2 --set "/apps/panel/applets/applet_4/prefs/config_tool" --type string "" |
---|
| 252 | gconftool-2 --set "/apps/panel/applets/applet_4/prefs/custom_format" --type string "" |
---|
| 253 | gconftool-2 --set "/apps/panel/applets/applet_4/prefs/expand_appointments" --type bool TRUE |
---|
| 254 | gconftool-2 --set "/apps/panel/applets/applet_4/prefs/expand_birthdays" --type bool TRUE |
---|
| 255 | gconftool-2 --set "/apps/panel/applets/applet_4/prefs/expand_tasks" --type bool FALSE |
---|
| 256 | gconftool-2 --set "/apps/panel/applets/applet_4/prefs/expand_weather" --type bool FALSE |
---|
| 257 | gconftool-2 --set "/apps/panel/applets/applet_4/prefs/format" --type string "12-hour" |
---|
| 258 | gconftool-2 --set "/apps/panel/applets/applet_4/prefs/gmt_time" --type bool FALSE |
---|
| 259 | gconftool-2 --set "/apps/panel/applets/applet_4/prefs/hour_format" --type string "12" |
---|
| 260 | gconftool-2 --set "/apps/panel/applets/applet_4/prefs/internet_time" --type bool FALSE |
---|
| 261 | gconftool-2 --set "/apps/panel/applets/applet_4/prefs/show_date" --type bool FALSE |
---|
| 262 | gconftool-2 --set "/apps/panel/applets/applet_4/prefs/show_seconds" --type bool FALSE |
---|
| 263 | gconftool-2 --set "/apps/panel/applets/applet_4/prefs/show_timezones" --type bool FALSE |
---|
| 264 | gconftool-2 --set "/apps/panel/applets/applet_4/prefs/show_tooltip" --type bool TRUE |
---|
| 265 | gconftool-2 --set "/apps/panel/applets/applet_4/prefs/show_week_numbers" --type bool TRUE |
---|
| 266 | gconftool-2 --set "/apps/panel/applets/applet_4/prefs/unix_time" --type bool FALSE |
---|
| 267 | gconftool-2 --set "/apps/panel/applets/applet_4/prefs/timezones/tz_id_list" --type list --list-type string "[]" |
---|
| 268 | |
---|
| 269 | # Add Panels Items |
---|
| 270 | gconftool-2 --set "/apps/panel/general/applet_id_list" --type list --list-type string "[applet_0,applet_1,applet_2,applet_3,applet_4]" |
---|
| 271 | gconftool-2 --set "/apps/panel/general/object_id_list" --type list --list-type string "[object_0]" |
---|
| 272 | gconftool-2 --set "/apps/panel/general/toplevel_id_list" --type list --list-type string "[bottom_panel_0]" |
---|
| 273 | |
---|
| 274 | echo "# Setting up GDM theme..." |
---|
| 275 | # GDM Theme |
---|
| 276 | cp files/XP_Ubuntu.tar.gz /tmp |
---|
| 277 | gksudo -m "Enter your (sudo/root) password to change the Login screen to a XP Style - Or click cancel if you do not wish to change it" files/GDMTheme.sh |
---|
| 278 | rm /tmp/XP_Ubuntu.tar.gz |
---|
| 279 | |
---|
| 280 | killall gnome-panel |
---|
| 281 | echo "# Done! Your desktop is now fully XP themed. \nRun the Restore_Settings_$FILEDATE.sh script to revert to the previous settings." |
---|
| 282 | ) | zenity --progress --width 500 --height 300 --title "XpGnome" --text "Setting stuff up..." --pulsate |
---|