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>
This commit is contained in:
parent
b857198eb0
commit
61451f6292
3 changed files with 11 additions and 6 deletions
|
@ -230,4 +230,5 @@ exec sxmo_modemmonitortoggle.sh restart
|
|||
exec sxmo_notificationmonitor.sh
|
||||
exec mako
|
||||
exec sxmo_hooks.sh lisgdstart
|
||||
exec sxmo_hooks.sh audiostart
|
||||
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
|
||||
# and set a sane default volume
|
||||
sxmo_audioout.sh Speaker
|
||||
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 &
|
||||
sxmo_hooks.sh audiostart
|
||||
|
||||
# You will sometime get SMS or calls from not
|
||||
# country code prefixed phone numbers. To make
|
||||
|
|
9
configs/default_hooks/audiostart
Normal file
9
configs/default_hooks/audiostart
Normal file
|
@ -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…
Add table
Add a link
Reference in a new issue