Score:1

Set Firefox and Music player on different audio outputs on boot

cn flag

I have a pie that:

  1. runs a server with a web application (that has sound effects)
  2. needs to play music

The web application and the musicplayer both need different sound outputs so that they don't get mixed together.

I have a touch-display connected with the pie (hdmi) for my webapplication (Firefox). And I have an analog jack for the music player connected to the pie.

I there a way I can set the hdmi as audio output for firefox and the analog jack as output for the music player as the pie boots up? This needs to done automatically and can not be done by hand, as the pie will reboot several times a week (at worst).

I can set the correct outputs with PulseAudio but when I reboot the pie I have to manually set it right again, which is not what I want. I guess what I need is a cronjob that does this on boot or something? Or how would I achieve this?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.