Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(602)

Side by Side Diff: start_wm.sh

Issue 479011: Scripts to use chrome as a login manager (Closed)
Patch Set: revert to /dev/urandom Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « start_login.sh ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/sh
2
3 BACKGROUND_FILE=background_1024x600.png
4 if [ -e /tmp/use_ugly_x_cursor ]; then
5 BACKGROUND_FILE=background_1024x600_retro.png
6 fi
7
8 WM=/usr/bin/chromeos-wm
9 IMAGES=/usr/share/chromeos-assets/images
10 BACKGROUND="${IMAGES}/${BACKGROUND_FILE}"
11 LOG_DIR="${HOME}/log"
12 XTERM_COMMAND="/usr/bin/xterm -bg black -fg grey"
13
14 # TODO(cmasone): figure out where the ibus stuff should go.
15 # Start IBus daemon so users can input CJK characters.
16 # TODO(yusukes): should not launch ibus-daemon when no IME is configured.
17 # export GTK_IM_MODULE=ibus
18 # (sleep 5; /usr/bin/ibus-daemon) &
19 /usr/bin/xscreensaver -no-splash &
20 /usr/sbin/omaha_tracker.sh &
21
22 cd "${HOME}"
23 exec "${WM}" \
24 --hotkey_overlay_image_dir="${IMAGES}" \
25 --panel_anchor_image="${IMAGES}/panel_anchor.png" \
26 --panel_bar_image="${IMAGES}/panel_bar_bg.png" \
27 --shadow_image_dir="${IMAGES}" \
28 --wm_background_image="${BACKGROUND}" \
29 --wm_xterm_command="${XTERM_COMMAND}" \
30 --log_dir="${LOG_DIR}"
OLDNEW
« no previous file with comments | « start_login.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698