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

Unified Diff: src/platform/acpi/action_hotkey.sh

Issue 668272: This reverts commit 97758de2adf4eb8c861b66826e890e5c3479e071. (Closed)
Patch Set: Created 10 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/platform/audioconfig/pulse/client-cros.conf » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/acpi/action_hotkey.sh
diff --git a/src/platform/acpi/action_hotkey.sh b/src/platform/acpi/action_hotkey.sh
index 3ca6a870a0b8e7e2c5c0e446cee9425d0efd9550..57cf831ca10288c96b925359e359aca7df1eb243 100755
--- a/src/platform/acpi/action_hotkey.sh
+++ b/src/platform/acpi/action_hotkey.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
+# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -13,7 +13,9 @@
USER_ID="$(/usr/bin/id -u chronos)"
MINIJAIL_FLAGS="--use-capabilities"
-export PULSE_RUNTIME_PATH=/var/run/pulse
+# Needed by amixer to so that the alsa pulseaudio plugin, can locate the
+# correct ${HOME}/.pulse directory.
+export HOME=/home/chronos/user
case "$3" in
00000013) # Toggle sound
« no previous file with comments | « no previous file | src/platform/audioconfig/pulse/client-cros.conf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698