<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=6632&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Discord Flatpak - No sound on Ratpoison WM]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6632</link>
		<description><![CDATA[The most recent posts in [SOLVED] Discord Flatpak - No sound on Ratpoison WM.]]></description>
		<lastBuildDate>Sat, 01 Jun 2024 09:06:36 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Discord Flatpak - No sound on Ratpoison WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=50245#p50245</link>
			<description><![CDATA[<p>Fixed !</p><p>I had to add </p><div class="codebox"><pre><code>wireplumber &amp;
pipewire &amp;
pipewire-pulse &amp;</code></pre></div><p>to my .xinitrc</p><p>(I did a minimal installation and installed dwm and ratpoison. So I launch my X session with startx now and I found this solution)</p><p>[edit] If we want to autostart Discord from .xinitrc, we need to launch this command :</p><div class="codebox"><pre><code>flatpak run com.discorapp.Discord --socket=pulseaudio &amp;</code></pre></div><p>Also, Discord needs a DBus session instance to start.</p>]]></description>
			<author><![CDATA[dummy@example.com (jeudi)]]></author>
			<pubDate>Sat, 01 Jun 2024 09:06:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=50245#p50245</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Discord Flatpak - No sound on Ratpoison WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=50225#p50225</link>
			<description><![CDATA[<div class="quotebox"><cite>jeudi wrote:</cite><blockquote><div><p>I don&#039;t know if I want to try some computing BSDM stuffs for the moment</p></div></blockquote></div><p>I do not know whether ALSA was created by sadomasochists or not, but PulseAudio, PipeWire, and systemd certainly were.</p>]]></description>
			<author><![CDATA[dummy@example.com (igorzwx)]]></author>
			<pubDate>Fri, 31 May 2024 14:00:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=50225#p50225</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Discord Flatpak - No sound on Ratpoison WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=50183#p50183</link>
			<description><![CDATA[<p>First, thank you for the help.</p><div class="quotebox"><cite>igorzwx wrote:</cite><blockquote><div><p>A solution might be: &quot;apulse discord&quot; and .asoundrc (for mic to work with Discord and Firefox).</p><p>If you do not have &quot;arateconf&quot; to generate .asoundrc, you may try to create it manually, although, of course, it might be an exercise in masochism. One may presume that it might be much easier to compile arateconf and fftrate</p></div></blockquote></div><p>I don&#039;t know if I want to try some computing BSDM stuffs for the moment. x)<br />I need Discord to detect dynamically if I use my speakers or my headphones. Your solution<br />seems a bit complicated for my needs. Probably it worth to give it a try for the sport but<br />not at this time. For some personnal reason I don&#039;t want to try some handy stuffs now.<br />Probably later.</p><p>Thanks again, but for now, I give up (and as I know myself, in few days I will just come back on this problem).</p><p>P.S.: if I remember right, I had Discord working on sdorfehs, which is a fork of Ratpoison. But I <br />can&#039;t remember if it was on Debian or Arch Linux (Flatpak/Official package)</p>]]></description>
			<author><![CDATA[dummy@example.com (jeudi)]]></author>
			<pubDate>Wed, 29 May 2024 12:00:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=50183#p50183</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Discord Flatpak - No sound on Ratpoison WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=50167#p50167</link>
			<description><![CDATA[<div class="quotebox"><cite>jeudi wrote:</cite><blockquote><div><p>sound works on Firefox on Ratpoison but not with Discord.</p></div></blockquote></div><p>Firefox can play sound with ALSA without PulseAudio or apulse.<br />Discord needs PulseAudio or apulse to work with ALSA.</p><p>This may mean that ALSA works on your Ratpoison, but PulseAudio seems to fail.</p><p>A solution might be: &quot;apulse discord&quot; and .asoundrc (for mic to work with Discord and Firefox).</p><p>If you do not have &quot;arateconf&quot; to generate .asoundrc, you may try to create it manually, although, of course, it might be an exercise in masochism. One may presume that it might be much easier to compile arateconf and <a href="https://github.com/PetrovSE/fftrate" rel="nofollow">fftrate</a> </p><p>In any case, you may try something like this: </p><div class="quotebox"><blockquote><div><p><a href="https://www.pro-linux.de/artikel/2/1462/alsa-konfigurieren.html" rel="nofollow">ALSA konfigurieren</a> </p><div class="codebox"><pre class="vscroll"><code>pcm.snd_card {
    type hw
    card 0
    device 0
}

ctl.snd_card {
    type hw
    card 0
    device 0
}

# Das dmix-Plugin wird definiert.
pcm.dmixer {
    type dmix           # pcm.NAME: der Name jedes Gerätes kann angepasst werden
    ipc_key 1024
    ipc_perm 0666       # Andere Benutzer können ebenfalls dmix gleichzeitig nutzen
    slave.pcm &quot;snd_card&quot;
    slave {
        channels 2
    }
}

ctl.dmixer {
    type hw
    card 0
}

# Das dsnoop-Plugin, welches es erlaubt, mehrere Programme gleichzeitig aufnehmen zu lassen.
pcm.dsnooper {
    type dsnoop
    ipc_key 2048
    ipc_perm 0666
    slave.pcm &quot;snd_card&quot;
    slave
    {
        channels 2
    }
}

# Dies definiert unser Fullduplex-Plugin als Standard für alle ALSA-Programme.
pcm.duplex {
    type asym
    playback.pcm &quot;dmixer&quot;	#natürlich muss dann auch das passende Gegenstück angepasst werden
    capture.pcm &quot;dsnooper&quot;
}

pcm.!default {
    type plug
    slave.pcm &quot;duplex&quot;  
}</code></pre></div></div></blockquote></div><p><strong>arateconf</strong> was created in 2009<br /><strong>asoundconf</strong> was depricated in 2009 (or 2008)<br />But a fork of it is still available in Arch Linux AUR repository</p><div class="quotebox"><blockquote><div><p><a href="https://aur.archlinux.org/packages/asoundconf" rel="nofollow">https://aur.archlinux.org/packages/asoundconf</a><br />Package Details: asoundconf 1:1.2-8<br />Package Base:&#160; &#160; asoundconf<br />Description:&#160; &#160; utility to read and change the user&#039;s ALSA library configuration<br />Upstream URL:&#160; &#160; <a href="https://bitbucket.org/stativ/asoundconf" rel="nofollow">https://bitbucket.org/stativ/asoundconf</a><br />Licenses:&#160; &#160; GPL<br />First Submitted:&#160; &#160; 2022-04-01 16:35 (UTC)<br />Last Updated:&#160; &#160; 2024-02-27 15:52 (UTC)</p></div></blockquote></div><div class="quotebox"><blockquote><div><p><a href="https://bitbucket.org/stativ/asoundconf/src/master/" rel="nofollow">https://bitbucket.org/stativ/asoundconf/src/master/</a><br /><strong>asoundconf</strong><br />This is asoundconf-gtk, the GTK+ applet to allow you to select your default sound card. It is licenced under the GPLv2, which you can find in COPYING, and is (C) 2006 Toby Smithe. The projects which code has been taken from are also subject to copyright, and this is further detailed in the source file. It is Python, so you can execute it from source, which is found in asoundconf-gtk/asoundconf-gtk, but you can install it as well, using setup.py. This places the .desktop file in /usr/share/applications as well, which on a GNOME system should place an icon in System-&gt;Preferences.</p></div></blockquote></div><p>One may wonder why it is not available in Devuan repositories.<br />Gnome2 was also depricated in 2009, but a fork of it is available in Devuan repositories (it is now Mate desktop).</p>]]></description>
			<author><![CDATA[dummy@example.com (igorzwx)]]></author>
			<pubDate>Tue, 28 May 2024 22:10:52 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=50167#p50167</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Discord Flatpak - No sound on Ratpoison WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=50156#p50156</link>
			<description><![CDATA[<div class="quotebox"><cite>jeudi wrote:</cite><blockquote><div><p>(Sorry, I don&#039;t know how to quote someone while answering ^^&#039;)</p></div></blockquote></div><p>Please use the options on the &quot;Quick reply&quot; line immediately above the input box.</p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Tue, 28 May 2024 15:03:05 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=50156#p50156</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Discord Flatpak - No sound on Ratpoison WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=50149#p50149</link>
			<description><![CDATA[<div class="quotebox"><cite>jeudi wrote:</cite><blockquote><div><p>I installed Discord from flatpak repo, I&#039;m not going to add a <strong>ppa </strong>to my installation.</p></div></blockquote></div><p>Which &quot;ppa&quot;? It is a proprietary spyware.</p><p>Try to run Discord through apulse </p><div class="codebox"><pre><code>sudo apt install apulse</code></pre></div><div class="codebox"><pre><code>apulse discord --no-sandbox</code></pre></div><div class="codebox"><pre><code>apulse discord</code></pre></div><p>Playback may work, but mic is not likely to work, if you do not have a special .asoundrc<br />I have already tested this on a sort of Fedora with Discord (flatpak) and pipewire installed.</p><p>To understand the problem with Ratpoison one may need output of those Linux command (see my previous post).</p><p>In a word, Ubuntu Universe Repository is a standard Ubuntu repository which is usually enabled by default (on Ubunty, of course).<br />All dependencies are available in Devuan repositories:</p><div class="codebox"><pre><code>sudo apt update</code></pre></div><div class="codebox"><pre><code>sudo apt install gcc git gconf2 libasound2 libnotify4 libnspr4</code></pre></div><div class="codebox"><pre><code>apt show gcc git gconf2 libasound2 libnotify4 libnspr4</code></pre></div><p>They are in Daedalus main repository:</p><div class="codebox"><pre><code>$ apt show gcc git gconf2 libasound2 libnotify4 libnspr4 | grep /main
APT-Sources: http://deb.devuan.org/merged daedalus/main amd64 Packages
APT-Sources: http://deb.devuan.org/merged daedalus/main amd64 Packages
APT-Sources: http://deb.devuan.org/merged daedalus/main amd64 Packages
APT-Sources: http://deb.devuan.org/merged daedalus/main amd64 Packages
APT-Sources: http://deb.devuan.org/merged daedalus/main amd64 Packages
APT-Sources: http://deb.devuan.org/merged daedalus/main amd64 Packages</code></pre></div><div class="codebox"><pre><code>$ cat /etc/apt/sources.list
deb http://deb.devuan.org/merged daedalus main non-free-firmware non-free contrib
deb-src http://deb.devuan.org/merged daedalus main non-free-firmware non-free contrib

deb http://deb.devuan.org/merged daedalus-security main non-free-firmware non-free contrib
deb-src http://deb.devuan.org/merged daedalus-security main non-free-firmware non-free contrib

deb http://deb.devuan.org/merged daedalus-updates main non-free-firmware non-free contrib
deb-src http://deb.devuan.org/merged daedalus-updates main non-free-firmware non-free contrib</code></pre></div><p>discord-0.0.54.deb is available for download on Discord website <a href="https://discord.com/download" rel="nofollow">https://discord.com/download</a></p><div class="quotebox"><cite>jeudi wrote:</cite><blockquote><div><p>I don&#039;t know how to quote someone</p></div></blockquote></div><div class="codebox"><pre><code>[quote=jeudi]I don&#039;t know how to quote someone[/quote]</code></pre></div><p>See: <a href="https://dev1galaxy.org/help.php#img" rel="nofollow">https://dev1galaxy.org/help.php#img</a></p>]]></description>
			<author><![CDATA[dummy@example.com (igorzwx)]]></author>
			<pubDate>Tue, 28 May 2024 12:36:56 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=50149#p50149</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Discord Flatpak - No sound on Ratpoison WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=50147#p50147</link>
			<description><![CDATA[<p>I&#039;m launching Ratpoison with SLim login manager. I wrote a .desktop file in /usr/share/xsessions</p><p>I installed Discord from flatpak repo, I&#039;m not going to add a ppa to my installation.</p><p>Discord works normally on XFCE, sound works on Firefox on Ratpoison but not with Discord.<br />Pavucontrol on Ratpoison works normally.<br />When I go in the sound configuration menu in Discord, there is nothing in the mic/output menus.</p><p>(Sorry, I don&#039;t know how to quote someone while answering ^^&#039;)</p>]]></description>
			<author><![CDATA[dummy@example.com (jeudi)]]></author>
			<pubDate>Tue, 28 May 2024 10:50:37 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=50147#p50147</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Discord Flatpak - No sound on Ratpoison WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=50115#p50115</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>golinux<br />Huh?</p></div></blockquote></div><p>Hello.<br />If you installed&#160; package </p><div class="codebox"><pre><code>xfce4</code></pre></div><p> (Meta-package for the Xfce Lightweight Desktop Environment), it depends on xfce4-pulseaudio-plugin. xfce4-pulseaudio-plugin recommends </p><div class="codebox"><pre><code>pavucontrol</code></pre></div><p> and </p><div class="codebox"><pre><code>pulseaudio</code></pre></div><p>And in Devuan, by default, recommended packages are installed automatically.</p>]]></description>
			<author><![CDATA[dummy@example.com (stopAI)]]></author>
			<pubDate>Sat, 25 May 2024 15:46:20 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=50115#p50115</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Discord Flatpak - No sound on Ratpoison WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=50114#p50114</link>
			<description><![CDATA[<p>You may post output of these commands:</p><div class="codebox"><pre><code>cat /proc/asound/cards</code></pre></div><div class="codebox"><pre><code>aplay -l</code></pre></div><div class="codebox"><pre><code>arecord -l</code></pre></div><div class="codebox"><pre><code>lsmod | grep snd</code></pre></div><div class="codebox"><pre><code>find /dev/snd -type c</code></pre></div><div class="codebox"><pre><code>fuser -av $(find /dev/snd -type c 2&gt;/dev/null)</code></pre></div><p>You may also run alsamixer (on terminal) and unmute sound devices:</p><div class="codebox"><pre><code>alsamixer</code></pre></div><p>see: </p><div class="codebox"><pre><code>man alsamixer</code></pre></div><p>You may try </p><div class="codebox"><pre><code>speaker-test</code></pre></div><p>see: <a href="https://wiki.archlinux.org/title/Advanced_Linux_Sound_Architecture" rel="nofollow">https://wiki.archlinux.org/title/Advanc … chitecture</a></p><p><strong>How to Install Discord on Ubuntu or debian</strong><br /><a href="https://www.webhi.com/how-to/setup-discord-ubuntu-debian-linux/" rel="nofollow">https://www.webhi.com/how-to/setup-disc … ian-linux/</a></p><p>It works without pulseaudio:<br />Devuan Mate Desktop (pulseaudio was removed),<br />ALSA + ALSA fftrate plugin <a href="https://github.com/PetrovSE/fftrate" rel="nofollow">https://github.com/PetrovSE/fftrate</a><br /> </p><div class="codebox"><pre><code>$ arateconf | grep Plug-ins -A3
M - Plug-ins:
 [X] Convert,  [ ] Expand, [X] Asym
 [ ] Play Vol, [X] Dmix
 [ ] Rec. Vol, [X] Dsnoop</code></pre></div><p><strong>discord-0.0.54.deb</strong> from <a href="https://discord.com/download" rel="nofollow">https://discord.com/download</a></p><div class="codebox"><pre><code>apulse discord --no-sandbox</code></pre></div><div class="codebox"><pre><code>apulse discord</code></pre></div><p>Sound test (mic and playback) – everything works.</p>]]></description>
			<author><![CDATA[dummy@example.com (igorzwx)]]></author>
			<pubDate>Sat, 25 May 2024 14:46:25 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=50114#p50114</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Discord Flatpak - No sound on Ratpoison WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=50113#p50113</link>
			<description><![CDATA[<div class="quotebox"><cite>stopAI wrote:</cite><blockquote><div><p>By default, with xfce, Devuan uses pulse audio.</p></div></blockquote></div><p>Huh? I have been using Devuan with xfce since 2015 and NEVER had to use pulse audio. apulse has always been there so alsa worked ootb. <img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Sat, 25 May 2024 14:18:39 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=50113#p50113</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Discord Flatpak - No sound on Ratpoison WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=50111#p50111</link>
			<description><![CDATA[<p>Hello. </p><p>By default, with xfce, Devuan uses pulse audio.</p><p>I want to ask, how does the ratpoison window manager start? From display manager, or with startx?</p>]]></description>
			<author><![CDATA[dummy@example.com (stopAI)]]></author>
			<pubDate>Sat, 25 May 2024 11:35:49 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=50111#p50111</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Discord Flatpak - No sound on Ratpoison WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=50107#p50107</link>
			<description><![CDATA[<p>I don&#039;t know what Devuan use by default. It&#039;s a fresh install.<br />I will check it out in few days, I can&#039;t for the moment. : )</p>]]></description>
			<author><![CDATA[dummy@example.com (jeudi)]]></author>
			<pubDate>Sat, 25 May 2024 07:51:12 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=50107#p50107</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Discord Flatpak - No sound on Ratpoison WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=50089#p50089</link>
			<description><![CDATA[<p>Are you using pipewire audio?</p><p>There are usually 3 programs to start with the X session (pipewire, pipewire-pulse, wireplumber. There is a forum thread).<br />Maybe, these are auto-started on XFCE, but not on Ratpoison?</p>]]></description>
			<author><![CDATA[dummy@example.com (delgado)]]></author>
			<pubDate>Fri, 24 May 2024 15:41:38 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=50089#p50089</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Discord Flatpak - No sound on Ratpoison WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=50086#p50086</link>
			<description><![CDATA[<p>If it&#039;s a Flatpak problem, why does it work on XFCE but not on Ratpoison ? Oo</p>]]></description>
			<author><![CDATA[dummy@example.com (jeudi)]]></author>
			<pubDate>Fri, 24 May 2024 13:48:15 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=50086#p50086</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Discord Flatpak - No sound on Ratpoison WM]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=50084#p50084</link>
			<description><![CDATA[<p>A Flatpak problem?</p>]]></description>
			<author><![CDATA[dummy@example.com (swanson)]]></author>
			<pubDate>Fri, 24 May 2024 13:36:42 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=50084#p50084</guid>
		</item>
	</channel>
</rss>
