diff --git a/bin/sugar.in b/bin/sugar.in
index 0cc97ca..094917f 100644
a
|
b
|
EOF |
14 | 14 | exit 0 |
15 | 15 | } |
16 | 16 | |
| 17 | init_cursor() { |
| 18 | # have to reset cursor(metacity sets it on startup) |
| 19 | # ugly but works |
| 20 | for i in 1 2 3; do |
| 21 | sleep 1 |
| 22 | xsetroot -cursor_name left_ptr |
| 23 | done |
| 24 | } |
| 25 | |
17 | 26 | while [ $# -ne 0 ] ; do |
18 | 27 | case "$1" in |
19 | 28 | -d | --display) |
… |
… |
if [ -f ~/.sugar/debug ]; then |
50 | 59 | . ~/.sugar/debug |
51 | 60 | fi |
52 | 61 | |
| 62 | echo Xcursor.theme: sugar | xrdb -merge |
53 | 63 | metacity --no-force-fullscreen -d $DISPLAY & |
| 64 | init_cursor & |
54 | 65 | |
55 | 66 | exec sugar-session |
diff --git a/bin/sugar-session b/bin/sugar-session
old mode 100644
new mode 100755
index 41c9255..427eeb8
a
|
b
|
def main(): |
181 | 181 | logger.start('shell') |
182 | 182 | |
183 | 183 | client = gconf.client_get_default() |
184 | | client.set_string('/desktop/gnome/peripherals/mouse/cursor_theme', 'sugar') |
185 | 184 | client.set_string('/apps/metacity/general/mouse_button_modifier', |
186 | 185 | 'disabled') |
187 | 186 | |