Results 1 to 4 of 4

Thread: How can i change how my linux computer works

  1. #1
    Join Date
    Jul 2020
    Beans
    3

    Question How can i change how my linux computer works

    Hi I was wondering if i can do something to make ubuntu change my audio output when i connect HDMI. I'm a linux beginner and i dont know how to really use the console. I hope you understan what im trying to say. Greetings from Argentina.

  2. #2
    Join Date
    Feb 2015
    Beans
    Hidden!
    Distro
    Ubuntu Mate 18.04 Bionic Beaver

    Re: How can i change how my linux computer works

    No need for the console/terminal if you have pulseaudio volume control (package name: pavucontrol) installed.
    As an example of its use I have attached a screenshot, it shows xmms2 running (currently paused but still active).
    pulse-output-options.jpg
    To change the audio output for xmms2 I click on the output button and a drop down menu appears from where I can select hdmi or stereo or in my case a combination of the 2 running together as I have enabled a combined sink as well. This will only change the output for that particular applications stream (xmms2) though.

    To set an output sink as default output you can go to the outputs tab in pavucontrol and click the relevant "set as fallback" button (the green circle with a tick mark in it) for the output you want used by default. In the attached screenshot I only show my default (HDMI) output for selecting a fallback device...
    default-pulse-output.jpg

    As you mention the console I am wondering if you are actually wanting to do this from the terminal/console.
    I assumed you want to do this from the desktop, I can give terminal commands for this IF you are doing this from the console.
    Let me know if this answer is applicable to your needs.

    Good luck,
    Regards, yeti.
    Last edited by yetimon_64; July 11th, 2020 at 12:47 AM. Reason: gr.

  3. #3
    Join Date
    Jul 2020
    Beans
    3

    Re: How can i change how my linux computer works

    Thanks dude, that was really helpful and it worked perfectly. By the way, how do yo enable a combination output? I try to do that a time ago and i didnt find a way to do it, so maybe you'll solve two of my problems hahaha. Thanks again!

  4. #4
    Join Date
    Feb 2015
    Beans
    Hidden!
    Distro
    Ubuntu Mate 18.04 Bionic Beaver

    Re: How can i change how my linux computer works

    Quote Originally Posted by enzolakes View Post
    Thanks dude, that was really helpful and it worked perfectly. By the way, how do yo enable a combination output? I try to do that a time ago and i didnt find a way to do it, so maybe you'll solve two of my problems hahaha. Thanks again!
    Good to hear that worked .

    For setting up a combined sink I do a bit of scripting with the pacmd command to set mine up here due to spending a lot of time on a console only boot. My combined sink is automatically enabled on the console using bashrc and the scripting and carries over into any desktop I start up.

    Use this next method for normal GUI usage ...

    For more "normal" GUI usage I have the packages "paprefs" and "pasystray" installed and can set up a combined sink by using the icon in the notification area (Edit: actually it is the "indicator applet") of my DE and selecting "Configure local sound server"...
    configure-local-sound-server.png

    From the window that pops up using "Configure local sound server" choose the "Simultaneous output" tab and tick the check box there "Add virtual output device for for simultaneous output on all local sound cards". That should set you up using a more standard method than I use ...
    simultaneous-output-tab.png

    Regards, yeti.
    Last edited by yetimon_64; July 11th, 2020 at 03:05 AM. Reason: changed "notification area" to "indicator applet"

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •