UBports Robot Logo UBports Forum
    • Kategorien
    • Aktuell
    • Tags
    • Beliebt
    • Benutzer
    • Gruppen
    • Suche
    • Registrieren
    • Anmelden

    Change volume from command line

    Geplant Angeheftet Gesperrt Verschoben Lomiri (was Unity8)
    10 Beiträge 5 Kommentatoren 1.5k Aufrufe 3 Watching
    Lade mehr Beiträge
    • Älteste zuerst
    • Neuste zuerst
    • Meiste Stimmen
      Antworten
      • In einem neuen Thema antworten
      Anmelden zum Antworten
      Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
      • mihaelM Online
        mihael
        zuletzt editiert von

        Is there any way to change sink-input-by-media-role:multimedia from the command line?

        With pactl set-sink-mute @DEFAULT_SINK@ toggle I can mute / unmute the general volume but I don't know how to access the multimedia specific volume.

        Many, many thanks!

        OP 5T, stable channel

        D 1 Antwort Letzte Antwort Antworten Zitieren 1
        • D Offline
          domubpkm @mihael
          zuletzt editiert von

          @mihael I don't know with command line but you have https://open-store.io/app/uvolman.mateosalta to do that.

          mihaelM E 2 Antworten Letzte Antwort Antworten Zitieren 0
          • mihaelM Online
            mihael @domubpkm
            zuletzt editiert von

            @domubpkm Yes, of course, but I am trying to make a script that would mute multimedia and alert volumes based on the position of the try-state-slider on the OP 5T. I looked into the code of uVolMan but couldn't understand how to do it... That works through DBUS or something... I don't know much...

            1 Antwort Letzte Antwort Antworten Zitieren 0
            • E Offline
              Emphrath @domubpkm
              zuletzt editiert von

              @domubpkm I used this app extensively in the past. Sadly it's not available for arm64

              D 1 Antwort Letzte Antwort Antworten Zitieren 0
              • D Offline
                domubpkm @Emphrath
                zuletzt editiert von

                @emphrath Yes, i have it on my Volla
                screenshot20220729_203035278.png

                E 1 Antwort Letzte Antwort Antworten Zitieren 0
                • E Offline
                  Emphrath @domubpkm
                  zuletzt editiert von

                  @domubpkm indeed ! Thank you, I missed out on that

                  1 Antwort Letzte Antwort Antworten Zitieren 0
                  • mihaelM Online
                    mihael
                    zuletzt editiert von

                    Before this thread goes dead please allow me to ask one more time if anybody can help with changing the volume of multimedia from command line. Thank you.

                    AppLeeA 1 Antwort Letzte Antwort Antworten Zitieren 0
                    • AppLeeA Offline
                      AppLee @mihael
                      zuletzt editiert von

                      Hello @mihael
                      The answer was to take a look at uVolMan sources and see how the app does it.
                      Unless someone with the answer on top of their head come by, I guess this is your best option.

                      mihaelM 1 Antwort Letzte Antwort Antworten Zitieren 0
                      • mihaelM Online
                        mihael @AppLee
                        zuletzt editiert von

                        @applee I tried to do that but that is above my level 🙂

                        1 Antwort Letzte Antwort Antworten Zitieren 1
                        • R Offline
                          rebellion
                          zuletzt editiert von rebellion

                          Find the index number of the multimedia client with pacmd list-sink-inputs

                          then mute it (the multimedia client) by running this command: pactl set-sink-input-volume <index num> 0%

                          google pixel 3a - ota23 daily use

                          ΉГ=L2[SU(2)L/SU(2)N] && [Lia,Ljb]=iδabl2єijkLka && Wυ=(PSL(2,C)OYγψυ)(Ι)

                          1 Antwort Letzte Antwort Antworten Zitieren 2
                          • D digi6622 referenced this topic on
                          • Erster Beitrag
                            Letzter Beitrag