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

Side by Side Diff: session_manager_setup.sh

Issue 2238006: Use DBUS_FATAL_WARNINGS=0 environment variable on Chrome just like as Ubuntu. (Closed) Base URL: ssh://git@gitrw.chromium.org//login_manager.git
Patch Set: Created 10 years, 7 months 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 | « no previous file | 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
1 #!/bin/sh 1 #!/bin/sh
2 2
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 XAUTH=/usr/bin/xauth 7 XAUTH=/usr/bin/xauth
8 XAUTH_FILE="/var/run/chromelogin.auth" 8 XAUTH_FILE="/var/run/chromelogin.auth"
9 SERVER_READY= 9 SERVER_READY=
10 10
(...skipping 10 matching lines...) Expand all
21 21
22 export USER=chronos 22 export USER=chronos
23 export DATA_DIR=/home/${USER} 23 export DATA_DIR=/home/${USER}
24 export LOGIN_PROFILE_DIR=${DATA_DIR}/Default 24 export LOGIN_PROFILE_DIR=${DATA_DIR}/Default
25 export LOGNAME=${USER} 25 export LOGNAME=${USER}
26 export SHELL=/bin/bash 26 export SHELL=/bin/bash
27 export HOME=${DATA_DIR}/user 27 export HOME=${DATA_DIR}/user
28 export DISPLAY=:0.0 28 export DISPLAY=:0.0
29 export PATH=/bin:/usr/bin:/usr/local/bin:/usr/bin/X11 29 export PATH=/bin:/usr/bin:/usr/local/bin:/usr/bin/X11
30 export GTK_IM_MODULE=ibus 30 export GTK_IM_MODULE=ibus
31 # By default, libdbus treats all warnings as fatal errors. That's too strict.
32 export DBUS_FATAL_WARNINGS=0
31 33
32 # Uncomment this to turn on chrome logs. 34 # Uncomment this to turn on chrome logs.
33 # They will be be output to /home/chrome/chrome_log 35 # They will be be output to /home/chrome/chrome_log
34 # and preserved in /home/chrome/chrome_old_logs 36 # and preserved in /home/chrome/chrome_old_logs
35 #ENABLE_CHROME_LOGGING=YES 37 #ENABLE_CHROME_LOGGING=YES
36 38
37 if [ -n "$ENABLE_CHROME_LOGGING" ] ; then 39 if [ -n "$ENABLE_CHROME_LOGGING" ] ; then
38 CHROME_LOG=${DATA_DIR}/chrome_log 40 CHROME_LOG=${DATA_DIR}/chrome_log
39 CHROME_OLD_LOGS=${DATA_DIR}/chrome_old_logs 41 CHROME_OLD_LOGS=${DATA_DIR}/chrome_old_logs
40 # Forces Chrome to put its log into the home directory. 42 # Forces Chrome to put its log into the home directory.
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 --enable-chat-manager \ 148 --enable-chat-manager \
147 --log-level=0 \ 149 --log-level=0 \
148 "$CHROME_LOG_FLAG" \ 150 "$CHROME_LOG_FLAG" \
149 --main-menu-url="http://welcome-cros.appspot.com/menu" \ 151 --main-menu-url="http://welcome-cros.appspot.com/menu" \
150 --no-first-run \ 152 --no-first-run \
151 --user-data-dir=/home/$USER \ 153 --user-data-dir=/home/$USER \
152 --login-profile=user \ 154 --login-profile=user \
153 --in-chrome-auth \ 155 --in-chrome-auth \
154 --enable-login-images \ 156 --enable-login-images \
155 "${SKIP_OOBE}" 157 "${SKIP_OOBE}"
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698