tvtime sound config file need change after reboot

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












On my Ubuntu 16.04 every time I run tvtime after a reboot the sound does not work. I discovered that it is because it changes the order of the sound boards in this list:



$ cat / proc / asound / cards
0 [HDMI ]: HDA-Intel - HDA Intel HDMI
HDA Intel HDMI at 0xf7b14000 irq 33
1 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf7b10000 irq 32
2 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf7080000 irq 17
3 [Camera ]: USB-Audio - USB2.0 Camera
AVEO Technology Corp. USB2.0 Camera at usb-0000:00:14.0-4, high speed


The one that I use is the 1 (PCH) the problem is that in the next restart it changes the order being able to be in 2 so i need to modifie the config file.



In the configuration file .tvtime.xml the line that I must modify is:



<option name = "MixerDevice" value = "hw: 1 / Line" />


changing the 1 by the number in which it falls.



Is there a way to make a script that does this in an automated way?



I hope my English is not very bad and it is understood.



Thank you very much.







share|improve this question


























    up vote
    0
    down vote

    favorite












    On my Ubuntu 16.04 every time I run tvtime after a reboot the sound does not work. I discovered that it is because it changes the order of the sound boards in this list:



    $ cat / proc / asound / cards
    0 [HDMI ]: HDA-Intel - HDA Intel HDMI
    HDA Intel HDMI at 0xf7b14000 irq 33
    1 [PCH ]: HDA-Intel - HDA Intel PCH
    HDA Intel PCH at 0xf7b10000 irq 32
    2 [NVidia ]: HDA-Intel - HDA NVidia
    HDA NVidia at 0xf7080000 irq 17
    3 [Camera ]: USB-Audio - USB2.0 Camera
    AVEO Technology Corp. USB2.0 Camera at usb-0000:00:14.0-4, high speed


    The one that I use is the 1 (PCH) the problem is that in the next restart it changes the order being able to be in 2 so i need to modifie the config file.



    In the configuration file .tvtime.xml the line that I must modify is:



    <option name = "MixerDevice" value = "hw: 1 / Line" />


    changing the 1 by the number in which it falls.



    Is there a way to make a script that does this in an automated way?



    I hope my English is not very bad and it is understood.



    Thank you very much.







    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      On my Ubuntu 16.04 every time I run tvtime after a reboot the sound does not work. I discovered that it is because it changes the order of the sound boards in this list:



      $ cat / proc / asound / cards
      0 [HDMI ]: HDA-Intel - HDA Intel HDMI
      HDA Intel HDMI at 0xf7b14000 irq 33
      1 [PCH ]: HDA-Intel - HDA Intel PCH
      HDA Intel PCH at 0xf7b10000 irq 32
      2 [NVidia ]: HDA-Intel - HDA NVidia
      HDA NVidia at 0xf7080000 irq 17
      3 [Camera ]: USB-Audio - USB2.0 Camera
      AVEO Technology Corp. USB2.0 Camera at usb-0000:00:14.0-4, high speed


      The one that I use is the 1 (PCH) the problem is that in the next restart it changes the order being able to be in 2 so i need to modifie the config file.



      In the configuration file .tvtime.xml the line that I must modify is:



      <option name = "MixerDevice" value = "hw: 1 / Line" />


      changing the 1 by the number in which it falls.



      Is there a way to make a script that does this in an automated way?



      I hope my English is not very bad and it is understood.



      Thank you very much.







      share|improve this question














      On my Ubuntu 16.04 every time I run tvtime after a reboot the sound does not work. I discovered that it is because it changes the order of the sound boards in this list:



      $ cat / proc / asound / cards
      0 [HDMI ]: HDA-Intel - HDA Intel HDMI
      HDA Intel HDMI at 0xf7b14000 irq 33
      1 [PCH ]: HDA-Intel - HDA Intel PCH
      HDA Intel PCH at 0xf7b10000 irq 32
      2 [NVidia ]: HDA-Intel - HDA NVidia
      HDA NVidia at 0xf7080000 irq 17
      3 [Camera ]: USB-Audio - USB2.0 Camera
      AVEO Technology Corp. USB2.0 Camera at usb-0000:00:14.0-4, high speed


      The one that I use is the 1 (PCH) the problem is that in the next restart it changes the order being able to be in 2 so i need to modifie the config file.



      In the configuration file .tvtime.xml the line that I must modify is:



      <option name = "MixerDevice" value = "hw: 1 / Line" />


      changing the 1 by the number in which it falls.



      Is there a way to make a script that does this in an automated way?



      I hope my English is not very bad and it is understood.



      Thank you very much.









      share|improve this question













      share|improve this question




      share|improve this question








      edited May 23 at 18:55









      Thomas

      3,10071325




      3,10071325










      asked May 23 at 18:41









      user1877038

      11




      11

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1039532%2ftvtime-sound-config-file-need-change-after-reboot%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1039532%2ftvtime-sound-config-file-need-change-after-reboot%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491