# General Linux Thread

**URL:** <https://forum.hifiguides.com/t/general-linux-thread/10885>\
**Category:** Off-Topic\
**Created:** [April 18, 2020, 5:09pm UTC](https://forum.hifiguides.com/t/general-linux-thread/10885 "2020-04-18T17:09:59Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![DagoRed](https://forum.hifiguides.com/user_avatar/forum.hifiguides.com/dagored/32/14538_2.png) [@DagoRed](https://forum.hifiguides.com/u/DagoRed)\
**Post date:** [April 18, 2020, 5:09pm UTC](https://forum.hifiguides.com/t/general-linux-thread/10885/1 "2020-04-18T17:09:59Z")

</div>

Linux Software thread! Questions, recommendations, and help… mostly so I don’t feel like the only linux user. I’ll post stuff I find as I go through. Try to remain distro agnostic if you can please.

---

<div class="post-metadata">

**Author:** ![MazeFrame](https://forum.hifiguides.com/user_avatar/forum.hifiguides.com/mazeframe/32/61745_2.png) [@MazeFrame](https://forum.hifiguides.com/u/MazeFrame)\
**Post date:** [April 18, 2020, 5:19pm UTC](https://forum.hifiguides.com/t/general-linux-thread/10885/2 "2020-04-18T17:19:38Z")

</div>

> [@DagoRed](#):
>
> mostly so I don’t feel like the only linux user

You are not alone (well, I dual-boot Win10 and Fedora31)

 ![image](https://forum.hifiguides.com/uploads/default/original/2X/e/e9bcc75e8da6777d9c1d6662d4042eb3fa2f726e.jpeg)

---

<div class="post-metadata">

**Author:** ![DagoRed](https://forum.hifiguides.com/user_avatar/forum.hifiguides.com/dagored/32/14538_2.png) [@DagoRed](https://forum.hifiguides.com/u/DagoRed)\
**Post date:** [April 18, 2020, 5:30pm UTC](https://forum.hifiguides.com/t/general-linux-thread/10885/3 "2020-04-18T17:30:08Z")

</div>

I will say, the more user friendly a distro is… the harder it is to add non-distro blessed software. Simplicity and convenience is an argument with the amount of time spent poking at linux.

---

<div class="post-metadata">

**Author:** ![MazeFrame](https://forum.hifiguides.com/user_avatar/forum.hifiguides.com/mazeframe/32/61745_2.png) [@MazeFrame](https://forum.hifiguides.com/u/MazeFrame)\
**Post date:** [April 18, 2020, 5:36pm UTC](https://forum.hifiguides.com/t/general-linux-thread/10885/4 "2020-04-18T17:36:09Z")

</div>

Agreed.  
Should probably mention I took the `Ubuntu → Mint → Manjaro → Fedora → Fedora XFCE` round trip.

---

<div class="post-metadata">

**Author:** ![DagoRed](https://forum.hifiguides.com/user_avatar/forum.hifiguides.com/dagored/32/14538_2.png) [@DagoRed](https://forum.hifiguides.com/u/DagoRed)\
**Post date:** [April 18, 2020, 5:43pm UTC](https://forum.hifiguides.com/t/general-linux-thread/10885/5 "2020-04-18T17:43:49Z")

</div>

I’m an Arch Linux ARM dev and do some work with Arch Strike. That aside, pulling up some notes for pulse audio to use an external dac.

---

<div class="post-metadata">

**Author:** ![Voifi](https://forum.hifiguides.com/user_avatar/forum.hifiguides.com/voifi/32/7205_2.png) [@Voifi](https://forum.hifiguides.com/u/Voifi)\
**Post date:** [April 18, 2020, 5:57pm UTC](https://forum.hifiguides.com/t/general-linux-thread/10885/6 "2020-04-18T17:57:18Z")

</div>

I settled on OpenSUSE after a while on Mint and Fedora. It’s still my secondary OS though, mainly because of package issues, it uses RPM like Fedora but it’s technically different so some packages don’t behave properly. It’s like the Monoprice of the Linux world.

---

<div class="post-metadata">

**Author:** ![DagoRed](https://forum.hifiguides.com/user_avatar/forum.hifiguides.com/dagored/32/14538_2.png) [@DagoRed](https://forum.hifiguides.com/u/DagoRed)\
**Post date:** [April 18, 2020, 6:09pm UTC](https://forum.hifiguides.com/t/general-linux-thread/10885/7 "2020-04-18T18:09:54Z")

</div>

So… if you’re using Pulse Audio on your linux box of choice (this works on Raspberry Pi’s also) and lets say you want to connect to another DAC. Here at the steps. The following example is me using digital audio (TOSLINK and SPID/F activated at the same time) right now on my big box. Please note, sudo or root is not required to do any of the following.

Assuming USB for the DAC, first check that the DAC exists with `lsusb`. Warning, if connected to a hub one might not see see the device.

Next, verify what adapters are connected and recognized by Pulse Audio with:

```auto
$ pacmd list-sinks | grep -e 'index:' -e 'card:'
    index: 0
	card: 0 <alsa_card.pci-0000_03_00.1>
    index: 1
	card: 1 <alsa_card.usb-Schiit_Audio_Schiit_Bifrost_2_Unison_USB-00>
    index: 2
	card: 2 <alsa_card.usb-Schiit_Audio_I_m_Fulla_Schiit-00>
  * index: 3
	card: 3 <alsa_card.pci-0000_00_1b.0>

```

To set a different out to a different DAC, set by the index. In this example I’ll switch from `index: 3` to `index: 1` for my Bifrost 2. To make the change across the entire system use: `pacmd set-default-sink 1` .

The updated result is shown here.

```auto
$ pacmd list-sinks | grep -e 'index:' -e 'card:'
    index: 0
	card: 0 <alsa_card.pci-0000_03_00.1>
  * index: 1
	card: 1 <alsa_card.usb-Schiit_Audio_Schiit_Bifrost_2_Unison_USB-00>
    index: 2
	card: 2 <alsa_card.usb-Schiit_Audio_I_m_Fulla_Schiit-00>
    index: 3
	card: 3 <alsa_card.pci-0000_00_1b.0>

```

And… if you want the GUI way checkout [https://www.addictivetips.com/ubuntu-linux-tips/manage-audio-devices-on-linux-pavucontrol/](https://www.addictivetips.com/ubuntu-linux-tips/manage-audio-devices-on-linux-pavucontrol/) . The package should be called `pauvcontrol` in nearly every distro available.

---

<div class="post-metadata">

**Author:** ![DagoRed](https://forum.hifiguides.com/user_avatar/forum.hifiguides.com/dagored/32/14538_2.png) [@DagoRed](https://forum.hifiguides.com/u/DagoRed)\
**Post date:** [April 18, 2020, 6:16pm UTC](https://forum.hifiguides.com/t/general-linux-thread/10885/8 "2020-04-18T18:16:29Z")

</div>

Oh… and once the default sink is set then running `alasmixer` can be set through the command line with an ncurses based interface that DOES work via ssh to set the volume.

 ![image](https://forum.hifiguides.com/uploads/default/original/2X/2/245ea08437c257ae50bceecab0a1db99f3a602d9.png)

---

<div class="post-metadata">

**Author:** ![LeDechaine](https://forum.hifiguides.com/user_avatar/forum.hifiguides.com/ledechaine/32/9495_2.png) [@LeDechaine](https://forum.hifiguides.com/u/LeDechaine)\
**Post date:** [April 18, 2020, 6:44pm UTC](https://forum.hifiguides.com/t/general-linux-thread/10885/9 "2020-04-18T18:44:52Z")

</div>

Hello!

```
ledechaine@symphony:~$ uname -a
Linux symphony 5.4.0-3-amd64 #1 SMP Debian 5.4.13-1 (2020-01-19) x86_64 GNU/Linux

```

Debian testing. It’s been my main computer for **years**. I was waiting for “debian CUT” (constanty usable testing) but it never happened. So I’m using debian testing as a “rolling-release”.

```
ledechaine@symphony:~$ sudo tune2fs -l /dev/mapper/sdb1_crypt | grep 'Filesystem created:'
Filesystem created: Sat Mar 26 22:36:58 2016

```

Random penguin/tux plush on computer. 😛

 ![20200418_143828-1](https://forum.hifiguides.com/uploads/default/original/2X/c/cee7af9098dfc4bad77c5ddd51c932209ae9148d.jpeg)

---

<div class="post-metadata">

**Author:** ![DagoRed](https://forum.hifiguides.com/user_avatar/forum.hifiguides.com/dagored/32/14538_2.png) [@DagoRed](https://forum.hifiguides.com/u/DagoRed)\
**Post date:** [April 18, 2020, 6:46pm UTC](https://forum.hifiguides.com/t/general-linux-thread/10885/10 "2020-04-18T18:46:46Z")

</div>

So… neat but if you’re going to \*nix flex then let me introduce you to `neofetch`.

Example:

 ![image](https://forum.hifiguides.com/uploads/default/original/2X/9/940c6884fb860ce7f054505b3594f4fffa4d099d.png)

---

<div class="post-metadata">

**Author:** ![LeDechaine](https://forum.hifiguides.com/user_avatar/forum.hifiguides.com/ledechaine/32/9495_2.png) [@LeDechaine](https://forum.hifiguides.com/u/LeDechaine)\
**Post date:** [April 18, 2020, 6:53pm UTC](https://forum.hifiguides.com/t/general-linux-thread/10885/11 "2020-04-18T18:53:09Z")

</div>

```
       _,met$$$$$gg. ledechaine@symphony 
    ,g$$$$$$$$$$$$$$$P. ------------------- 
  ,g$$P" """Y$$.". OS: Debian GNU/Linux bullseye/sid x86_64 
 ,$$P' `$$$. Host: SX2380 
',$$P ,ggs. `$$b: Kernel: 5.4.0-3-amd64 
`d$$' ,$P"' . $$$ Uptime: 8 days, 22 hours, 24 mins 
 $$P d$' , $$P Packages: 3905 (dpkg) 
 $$: $$. - ,d$$' Shell: bash 5.0.16 
 $$; Y$b._ _,d$P' Resolution: 1920x1080 
 Y$$. `.`"Y$$$$P"' DE: MATE 
 `$$b "-.__ WM: Metacity (Marco) 
  `Y$$ WM Theme: Menta 
   `Y$$. Theme: TraditionalOk [GTK2/3] 
     `$$b. Icons: gnome [GTK2/3] 
       `Y$$b. Terminal: mate-terminal 
          `"Y$b._ Terminal Font: Monospace 13 
              `""" CPU: AMD A8-5500 APU (4) @ 3.200GHz 
                              GPU: AMD ATI Radeon HD 7560D 
                              Memory: 6520MiB / 9409MiB 

```

Neat. 🙂

---

<div class="post-metadata">

**Author:** ![LeDechaine](https://forum.hifiguides.com/user_avatar/forum.hifiguides.com/ledechaine/32/9495_2.png) [@LeDechaine](https://forum.hifiguides.com/u/LeDechaine)\
**Post date:** [April 18, 2020, 6:58pm UTC](https://forum.hifiguides.com/t/general-linux-thread/10885/12 "2020-04-18T18:58:45Z")

</div>

> [@LeDechaine](#):
>
> Host: SX2380

Yes, that’s a shitty all-in-one Gateway computer I got for sale.  
(The joys of linux: It’s still “overkill” for all I do with it.)  
Also no GPU, just integrated graphics – but I will receive a RX550-4G soon.

---

<div class="post-metadata">

**Author:** ![DagoRed](https://forum.hifiguides.com/user_avatar/forum.hifiguides.com/dagored/32/14538_2.png) [@DagoRed](https://forum.hifiguides.com/u/DagoRed)\
**Post date:** [April 18, 2020, 7:15pm UTC](https://forum.hifiguides.com/t/general-linux-thread/10885/13 "2020-04-18T19:15:07Z")

</div>

If I need it… I’ll make a write up and automation for something like this with automation scripts:

> <https://raspberrypi.stackexchange.com/questions/11735/using-pi-to-stream-all-audio-output-from-my-pc-to-my-stereo>

But, Pulse Audio had the ability to list systems a “source” and a “sink”. Network was baked into it. So if anyone is curious, the computer part of a Sonos, Amazon Echo, Google home, etc… with the room control implements PulseAudio. If you want to play music in one place or separate channels of audio via network, THIS is what I would use. And yes, with Pulse Audio for windows it can stream to Pi’s (or anything like it). I recommend a DAC for each sink source however.

---

<div class="post-metadata">

**Author:** ![muffitoftea](https://forum.hifiguides.com/user_avatar/forum.hifiguides.com/muffitoftea/32/19308_2.png) [@muffitoftea](https://forum.hifiguides.com/u/muffitoftea)\
**Post date:** [August 26, 2020, 11:07pm UTC](https://forum.hifiguides.com/t/general-linux-thread/10885/14 "2020-08-26T23:07:43Z")

</div>

hello, what music players do you guys use? I’ve been using cmus for a while but I’m not really feeling it anymore. ~~I’ve also heard it doesn’t have bit-perfect audio playback, but it’s not like I noticed.~~ apparently setting output\_plugin to alsa can solve that.

 ![2020-08-27_01-04](https://forum.hifiguides.com/uploads/default/original/3X/b/0/b0d5cfac73a5d9c497d44224afd93c8b6e142aa7.png)

---

<div class="post-metadata">

**Author:** ![DagoRed](https://forum.hifiguides.com/user_avatar/forum.hifiguides.com/dagored/32/14538_2.png) [@DagoRed](https://forum.hifiguides.com/u/DagoRed)\
**Post date:** [August 27, 2020, 2:20am UTC](https://forum.hifiguides.com/t/general-linux-thread/10885/15 "2020-08-27T02:20:21Z")

</div>

I use citrus mostly, but I’ve played around with a few others.

---

<div class="post-metadata">

**Author:** ![LeDechaine](https://forum.hifiguides.com/user_avatar/forum.hifiguides.com/ledechaine/32/9495_2.png) [@LeDechaine](https://forum.hifiguides.com/u/LeDechaine)\
**Post date:** [August 28, 2020, 10:58pm UTC](https://forum.hifiguides.com/t/general-linux-thread/10885/16 "2020-08-28T22:58:16Z")

</div>

“Deadbeef” is a music player with a weird name but fully customizable + plugins + easy bitperfect playback.

Also allows you to see the waveform like foobar2000, as in Zeos’s videos’s.

---

<div class="post-metadata">

**Author:** ![grumpygrimnir](https://forum.hifiguides.com/user_avatar/forum.hifiguides.com/grumpygrimnir/32/19475_2.png) [@grumpygrimnir](https://forum.hifiguides.com/u/grumpygrimnir)\
**Post date:** [August 29, 2020, 7:03pm UTC](https://forum.hifiguides.com/t/general-linux-thread/10885/17 "2020-08-29T19:03:43Z")

</div>

I’m fairly clueless when it comes to audio, and paulseaudio, but I seem to recall fiddling with `/etc/pulse/daemon.conf` and setting `default-sample-rate = 192000` to get my DX7s to go above 48kHz. Probably a better way to do it.

---

<div class="post-metadata">

**Author:** ![grumpygrimnir](https://forum.hifiguides.com/user_avatar/forum.hifiguides.com/grumpygrimnir/32/19475_2.png) [@grumpygrimnir](https://forum.hifiguides.com/u/grumpygrimnir)\
**Post date:** [August 29, 2020, 7:11pm UTC](https://forum.hifiguides.com/t/general-linux-thread/10885/18 "2020-08-29T19:11:41Z")

</div>

Personally I use moc; I used to use gooey players years ago, but I was always reluctant to waste screen real estate on them.

 ![2020-08-29_2010](https://forum.hifiguides.com/uploads/default/original/3X/d/b/db09bd9cab21744d2871353c3eeefe810ee8d2c0.jpeg)

---

<div class="post-metadata">

**Author:** ![DagoRed](https://forum.hifiguides.com/user_avatar/forum.hifiguides.com/dagored/32/14538_2.png) [@DagoRed](https://forum.hifiguides.com/u/DagoRed)\
**Post date:** [October 3, 2020, 3:46am UTC](https://forum.hifiguides.com/t/general-linux-thread/10885/19 "2020-10-03T03:46:23Z")

</div>

So… want to update for how to update your pulse daemon.conf and leave a little pearl of wisdom myself.

FYI, on Pulse Audio, if you don’t know what sample rate or bit you’re running it’s 16 bit at 44.1k. Want to fix that? I got you. First, if you’ve heard any sound on linux then cd into a folder for your user `~/.config/pulse`. Once there copy in a file like this: `cp /etc/pulse/daemon.config .`

Look inside that daemon.config uncomment and change anything you want. If you need a guide then look in `man 5 pulse-daemon.conf` for everything you might want/need for that file. Once you get the settings you want you simply reload just the service, but feel free to reload the socket too like this:

```bash
systemctl --user restart pulseaudio.service
systemctl --user restart pulseaudio.socket

```

That’s it!

Now if you want my `~/.config/pulse/daemon.conf` file, here it is:

```auto
default-sample-format = s24le
default-sample-rate = 192000
alternate-sample-rate = 44100 
default-sample-channels = 2 

```

---

<div class="post-metadata">

**Author:** ![LeDechaine](https://forum.hifiguides.com/user_avatar/forum.hifiguides.com/ledechaine/32/9495_2.png) [@LeDechaine](https://forum.hifiguides.com/u/LeDechaine)\
**Post date:** [October 3, 2020, 4:16am UTC](https://forum.hifiguides.com/t/general-linux-thread/10885/20 "2020-10-03T04:16:10Z")

</div>

> [@DagoRed](#):
>
> if you don’t know what sample rate or bit you’re running

I really like Deadbeef player for this.  
In the settings you just choose Plugin: ALSA, Output: (your output here) “direct hardware device without any software conversions”.  
Then in the plug-ins, search ALSA → config: Disable resampling.

_That’s it, that’s all, bitperfect playback!_ It will send 44.1khz when playing 44.1, 192khz when playing 192khz, etc.

**P.S.:** Be aware you chose “without any software conversions”. If your DAC can only do 192khz and you send it 384khz files, it will just play the file at half speed (yes – I mean, your DAC **can’t** do it).

> [@LeDechaine](#):
>
> Also allows you to see the waveform like foobar2000, as in Zeos’s videos’s.

And I did not even show what it looked like. D’oh. Voilà:

 ![Capture du 2020-10-03 00-06-42](https://forum.hifiguides.com/uploads/default/original/3X/4/5/4527e6480ed4e12fc96c3e3b56016f9a18a12055.png)

[Next page](https://forum.hifiguides.com/t/general-linux-thread/10885.md?page=2)
