summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmchooser/files/run-virt.sh
diff options
context:
space:
mode:
authorMichael Janczyk2009-03-25 19:56:23 +0100
committerMichael Janczyk2009-03-25 19:56:23 +0100
commit9a95a742de93b3289946d5daf39ca0d44d5aed6f (patch)
tree01caf3a51424dc457401a9fe722f2516989102d0 /os-plugins/plugins/vmchooser/files/run-virt.sh
parentxserver plugin: (diff)
downloadcore-9a95a742de93b3289946d5daf39ca0d44d5aed6f.tar.gz
core-9a95a742de93b3289946d5daf39ca0d44d5aed6f.tar.xz
core-9a95a742de93b3289946d5daf39ca0d44d5aed6f.zip
better define the VM-Vars at the end, because we change one of them sometimes
ne amixer settings: Front is headphone at the front, Speaker is now PCspeker git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2758 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmchooser/files/run-virt.sh')
-rw-r--r--os-plugins/plugins/vmchooser/files/run-virt.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/os-plugins/plugins/vmchooser/files/run-virt.sh b/os-plugins/plugins/vmchooser/files/run-virt.sh
index 87d7abf3..41144edd 100644
--- a/os-plugins/plugins/vmchooser/files/run-virt.sh
+++ b/os-plugins/plugins/vmchooser/files/run-virt.sh
@@ -207,10 +207,12 @@ EOL
# Adjust sound volume
writelog "Unmuting sound...\c "
-amixer -q sset Master 28 unmute 2>/dev/null
-amixer -q sset PCM 28 unmute 2>/dev/null
-amixer -q sset Headphone 28 unmute 2>/dev/null
-amixer -q sset Front 0 mute 2>/dev/null
+amixer -q sset Master 80% unmute 2>/dev/null
+amixer -q sset PCM 80% unmute 2>/dev/null
+amixer -q sset CD 80% unmute 2>/dev/null
+amixer -q sset Headphone 80% unmute 2>/dev/null
+amixer -q sset Front 80% umute 2>/dev/null # In SUSE 11.0 it's Headphone
+amixer -q sset Speaker 0 mute 2>/dev/null # annoying built-in speaker
writelog "finished\n"
# Copy guest configuration (with added information) config.xml to be accessed