added a default audiostart hook to force output over main speaker and set a sane default volume

Signed-off-by: Stacy Harper <contact@stacyharper.net>
master
Maarten van Gompel 3 years ago committed by Stacy Harper
parent b857198eb0
commit 61451f6292
No known key found for this signature in database
GPG Key ID: EABA44759877E02A
  1. 1
      configs/appcfg/sway_template
  2. 7
      configs/appcfg/xinit_template
  3. 9
      configs/default_hooks/audiostart

@ -230,4 +230,5 @@ exec sxmo_modemmonitortoggle.sh restart
exec sxmo_notificationmonitor.sh exec sxmo_notificationmonitor.sh
exec mako exec mako
exec sxmo_hooks.sh lisgdstart exec sxmo_hooks.sh lisgdstart
exec sxmo_hooks.sh audiostart
exec sxmo_menumode_toggler.sh exec sxmo_menumode_toggler.sh

@ -17,12 +17,7 @@ conky -c /usr/share/sxmo/appcfg/conky.conf -d #12 hour clock (am/pm)
# Force audio over the main speaker # Force audio over the main speaker
# and set a sane default volume # and set a sane default volume
sxmo_audioout.sh Speaker sxmo_hooks.sh audiostart
amixer sset 'Line Out Source' 'Mono Differential','Mono Differential'
amixer set "Line Out" 50%
# Play a funky startup tune
#mpv --quiet --no-video ~/welcome.ogg &
# You will sometime get SMS or calls from not # You will sometime get SMS or calls from not
# country code prefixed phone numbers. To make # country code prefixed phone numbers. To make

@ -0,0 +1,9 @@
# Force audio over the main speaker
# and set a sane default volume
sxmo_audioout.sh Speaker
amixer sset 'Line Out Source' 'Mono Differential','Mono Differential'
amixer set "Line Out" 75%
# Play a funky startup tune if you want (disabled by default)
#mpv --quiet --no-video ~/welcome.ogg &
Loading…
Cancel
Save