<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=5596&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] /.config and /.cache with Daedalus]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=5596</link>
		<description><![CDATA[The most recent posts in [SOLVED] /.config and /.cache with Daedalus.]]></description>
		<lastBuildDate>Thu, 05 Oct 2023 04:20:03 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] /.config and /.cache with Daedalus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44695#p44695</link>
			<description><![CDATA[<p>To install <em>pipewire</em> for X11, the first step, from <a href="https://pipewire-debian.github.io/pipewire-debian/" rel="nofollow">Debian Pipewire&#039;s Github</a> (a Wayland arrangement is mentioned in that link), would be to add their repo, but, you might be better off just tracking Devuan&#039;s repos.&#160; You can use <em>doas</em> preferably over <em>sudo</em>, but we&#039;ll have to omit <strong>pipewire-locales</strong>, as it is not in Devuan Daedalus&#039; repo at the moment, so instead of...</p><div class="codebox"><pre><code>doas apt install gstreamer1.0-pipewire libpipewire-0.3-{0,dev,modules} libspa-0.2-{bluetooth,dev,jack,modules} pipewire{,-{audio-client-libraries,pulse,bin,jack,alsa,v4l2,libcamera,locales,tests}}</code></pre></div><p>...leave out the <em>locales</em> package if you can do without it, and instead do:</p><div class="codebox"><pre><code>doas apt install gstreamer1.0-pipewire libpipewire-0.3-{0,dev,modules} libspa-0.2-{bluetooth,dev,jack,modules} pipewire{,-{audio-client-libraries,pulse,bin,jack,alsa,v4l2,libcamera,tests}}</code></pre></div><p>You might have some of the above packages already installed in Devuan Daedalus, but apt should pass on those.</p><p>Install some &#039;recommends&#039;:</p><div class="codebox"><pre><code>doas apt install libcamera-ipa pipewire-doc</code></pre></div><p>Useful also, including <strong>pavucontrol</strong> to control audio levels:</p><div class="codebox"><pre><code>doas apt install libpipewire-0.3-modules-x11 pavucontrol
doas apt-get install wireplumber{,-doc} gir1.2-wp-0.4 libwireplumber-0.4-{0,dev}</code></pre></div><p>Make sure that apt responds to the following by saying that <strong>xdg-desktop-portal</strong> is installed:</p><div class="codebox"><pre><code>apt list --installed | grep xdg-desktop-portal</code></pre></div><p>If not, install it.&#160; In my experience, at least in my <em>gtk</em> environment, to avoid some muted videos in a browser for example, it is good to also install a portal backend for <strong>xdg-desktop-portal</strong>.&#160; So depending on whether your desktop environment is Gnome, gtk, KDE, etc, one of the following could be helpful to install:</p><div class="codebox"><pre><code>$ apt-cache search xdg-desktop-portal
xdg-desktop-portal - desktop integration portal for Flatpak and Snap
xdg-desktop-portal-dev - desktop integration portal - development files
xdg-desktop-portal-gnome - GNOME portal backend for xdg-desktop-portal
xdg-desktop-portal-gtk - GTK+/GNOME portal backend for xdg-desktop-portal
xdg-desktop-portal-kde - backend implementation for xdg-desktop-portal using Qt
xdg-desktop-portal-tests - desktop integration portal - automated tests
xdg-desktop-portal-wlr - xdg-desktop-portal backend for wlroots</code></pre></div><p>Get rid of some material, which, in my experience, might not have been purged by <em>apt</em>:</p><div class="codebox"><pre><code>doas apt purge libkf5pulseaudioqt3 libpulsedsp pulseaudio-utils
doas apt autoclean &amp;&amp; doas apt autoremove</code></pre></div><p>Next, make <strong>pipewire</strong> and <strong>wireplumber</strong> start properly, say, by using the so-called &#039;Alpine solution&#039; mentioned in <a href="https://dev1galaxy.org/viewtopic.php?pid=41396#p41396" rel="nofollow">post No. 4</a> above.&#160; At the moment, Devuan users might have to prepare scripts, whereas Debian uses systemd services instead.&#160; The Alpine solution <a href="https://git.alpinelinux.org/aports/tree/community/pipewire/pipewire-launcher.sh" rel="nofollow">script</a>, as an <em>autostart</em> file or using a similar text in your <span class="bbc">~/.xinitrc</span> file if you have one, might not be the appropriate solution, however, so you might have to investigate.&#160; Other similar scripts appear in this forum.</p><p>A good <a href="https://dev1galaxy.org/viewtopic.php?pid=41397#p41397" rel="nofollow">tip</a> from <a href="http://dev1galaxy.org/profile.php?id=2" rel="nofollow">Altoid</a> could be to avoid having some other package dragging <strong>pulseaudio</strong> back on your system.&#160; So pin the package off by opening an editor and starting a new file like so:</p><div class="codebox"><pre><code>doas rnano -w /etc/apt/preferences.d/avoid_pulseaudio</code></pre></div><p>Enter the following text in that file.&#160; <strong>Ctr+S</strong> to save and<strong> Ctr+x</strong> to exit that <em>rnano</em> editor.</p><div class="codebox"><pre><code>Package: pulseaudio:*
Pin: version *
Pin-Priority: -1</code></pre></div><p>Reboot.&#160; I hope this helps.&#160; If anyone can improve on this, please let us know.&#160; Thank you.</p><p><em>EDIT:</em>&#160; This upstream Debian pipewire github page may not mention any configuration;&#160; <strong>pipewire</strong> currently seems to fail for me without any.&#160; Note that I am only a user, but I am trying to share my successes.&#160; So, we&#039;ll continue by following Debian 12&#039;s wiki section and adapting it to Devuan Daedalus;&#160; <a href="https://wiki.debian.org/PipeWire#Debian_12" rel="nofollow">note particularly</a>:</p><div class="quotebox"><blockquote><div><p>A notable change compared to Debian 11 is that the configuration directory has been moved from /etc/pipewire/ to /usr/share/pipewire/: you may want to get rid of the former to avoid confusion.</p></div></blockquote></div><p>Debian 12&#039;s wiki section otherwise tracks the section for Debian 11, so we will update any such references in Debian&#039;s 11&#039;s wiki section to <span class="bbc">/usr/share/pipewire/</span> .</p><p>Also, instead of applying the <em>systemd</em> or perhaps also <em>pactl</em> directives, we&#039;ll rely as stated earlier on running <strong>pipewire</strong> and <strong>wireplumber</strong> either from <span class="bbc">.xinitrc</span> or in autostart batch files (or perhaps in <span class="bbc">.xsessionrc</span>).&#160; The wiki also uses <em>systemctl</em> commands (a <em>&quot;daemonless &quot;systemctl&quot; command to manage services without systemd&quot;</em>, according to <em>apt</em>), but in my experience, perhaps one might be able to do without installing that. </p><p>The <a href="https://wiki.debian.org/PipeWire#Debian_11" rel="nofollow">wiki</a> recommends applying instructions of <em>&quot;all&quot;</em> three sections, yet somehow there is also a fourth section -- <strong>PulseAudio</strong> (<em>&quot;replacing PulseAudio completely&quot;</em>), <strong>Alsa</strong>, <strong>JACK</strong> and <strong>bluetooth</strong>:</p><div class="quotebox"><blockquote><div><p>The three instructional sections below are independent of each other, but you are still highly recommended to use PipeWire to replace all of them if you intend to replace any of it, for the best integration between different applications.</p></div></blockquote></div><p>At any rate, <strong>bluetooth</strong> seems to take care of itself, as no configuration action is mentioned; we had already installed <strong>libspa-0.2-bluetooth</strong> earlier.</p><p>For <strong>PulseAudio</strong>, which is being replaced:</p><div class="codebox"><pre><code>doas mkdir /usr/share/pipewire/media-session.d
doas touch /usr/share/pipewire/media-session.d/with-pulseaudio</code></pre></div><p>As mentioned earlier, we&#039;ll pass over the commands to create services (<em>&quot;Create a pipewire-pulse service by copying the example files&quot;</em>); we&#039;ll also pass over the guide to run <strong>wireplumber</strong> as root.</p><p>Next, for <strong>Alsa</strong>:</p><div class="codebox"><pre><code>doas touch /usr/share/pipewire/media-session.d/with-alsa</code></pre></div><p>Our master guide (Debian 11 as a guide for Debian 12) then instructs: <span class="bbc"># cp /usr/share/doc/pipewire/examples/alsa.conf.d/99-pipewire-default.conf /etc/alsa/conf.d/</span> .&#160; As there appears to be no <strong>Alsa</strong> configuration example folder in Daedalus (<span class="bbc">/usr/share/doc/pipewire/examples/alsa.conf.d/</span>), hopefully there is no <strong>Alsa</strong> configuration file needed.</p><p>Next, for <strong>JACK</strong>, and remembering to use <span class="bbc">/usr/share/pipewire</span> instead of <span class="bbc">/etc/pipewire</span>:</p><div class="codebox"><pre><code>doas touch /usr/share/pipewire/media-session.d/with-jack</code></pre></div><p>There is one example configuration file for <strong>JACK</strong>, and it&#039;s not yet at the target folder (<span class="bbc">/etc/ld.so.conf.d/</span>), so try copying it over:</p><div class="codebox"><pre><code>doas cp /usr/share/doc/pipewire/examples/ld.so.conf.d/pipewire-jack-*.conf /etc/ld.so.conf.d/</code></pre></div><p>Create links and cache:</p><div class="codebox"><pre><code>doas ldconfig</code></pre></div><p>Now launch <strong>pavucontrol</strong> aka <em>PulseAudio Volume Control</em> (although it is hardly dependent on PulseAudio in Devuan), and under &#039;Configuration&#039;, set one or more profiles to &#039;Pro audio&#039;.&#160; Pipewire runs fine now for me.</p><p>Note:&#160; As an alternative to being inspired by the &#039;Alpine solution&#039; above, I am now starting up packages in <span class="bbc">.xinitrc</span> as suggested elsewhere in this forum, but adding 2-4 second delays.&#160; Try placing the instructions high up in <span class="bbc">.xinitrc</span> (or perhaps <span class="bbc">.xsessionrc</span>), before any audio package command such as <span class="bbc">amixer</span>;&#160; perhaps those may need to be delayed similarly.</p><div class="codebox"><pre><code>pipewire &amp;
( sleep 2 ; pipewire-pulse) &amp;
( sleep 4 ; wireplumber) &amp;</code></pre></div><p>I hope this helps.</p>]]></description>
			<author><![CDATA[dummy@example.com (ExposeGlobalistsMadness)]]></author>
			<pubDate>Thu, 05 Oct 2023 04:20:03 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44695#p44695</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] /.config and /.cache with Daedalus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44669#p44669</link>
			<description><![CDATA[<p>Would someone write a step by step tutorial for replacing &#039;pulse&#039; with &#039;pipewire&#039; and put it in Documentation section of the forum? That would be nice!</p><p>p.s. I often record parts of radio streams with &#039;audio-recorder&#039; and my concern about purging &#039;pulse&#039; is if I will still be able to do that with &#039;pipewire&#039;.</p>]]></description>
			<author><![CDATA[dummy@example.com (amaro)]]></author>
			<pubDate>Wed, 04 Oct 2023 04:23:57 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44669#p44669</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] /.config and /.cache with Daedalus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44356#p44356</link>
			<description><![CDATA[<p>I had given up on this issue so that&#039;s a good find.&#160; I don&#039;t have a pulse user so my issue is something different but that does indeed shine some light in a direction I hadn&#039;t looked.&#160; FWIW, /.config isn&#039;t being created anymore here but /.cache still is.</p>]]></description>
			<author><![CDATA[dummy@example.com (User479)]]></author>
			<pubDate>Sat, 16 Sep 2023 03:37:54 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44356#p44356</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] /.config and /.cache with Daedalus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44344#p44344</link>
			<description><![CDATA[<p>Hello, I&#039;m a newcomer as a Devuan user.<br />I had a similar situation where /.config or /.cache were created in MX Linux as same as Devuan.<br />So I thought it might be an init issue since SysVinit is common.</p><p>After I read this thread, I took note of the pulseaudio home directory.<br />The user &quot;pulse&quot;&#039;s home directory is /run/pulse, defined in /etc/passwd.</p><div class="quotebox"><blockquote><div><p>pulse:x:110:116:PulseAudio daemon,,,:/run/pulse:/usr/sbin/nologin</p></div></blockquote></div><p>However, /run/pulse was not exist in my fresh installation.<br />Other similar daemon home directories are existing, e.g. /run/openntpd, /run/avahi-daemon, or /run/sshd.<br />grep mkdir /etc/init.d showed that these directories were explicitly mkdir&#039;d, except /run/pulse.</p><p>Therefore, I have added an init script that does mkdir /run/pulse &amp;&amp; chown pulse:pulse /run/pulse and it seems that /.config is no longer recreated now.<br />The files are not actually placed in /run/pulse even after I added it, but it may be origin for determining some relative directories.</p><p>I hope this will be of some hint.<br />Thanks.</p>]]></description>
			<author><![CDATA[dummy@example.com (ytomino)]]></author>
			<pubDate>Fri, 15 Sep 2023 17:21:39 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44344#p44344</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] /.config and /.cache with Daedalus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=41537#p41537</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>boughtonp wrote:</cite><blockquote><div><p>... because there&#039;s no obvious harm at the moment doesn&#039;t mean there isn&#039;t some hidden/future problem.</p></div></blockquote></div><p>Maybe no even harm, obvious or not.<br />But *something* left behind that could/may, in conjunction with something else, bring up a problem or a situation that could bring up a problem.</p><div class="quotebox"><cite>boughtonp wrote:</cite><blockquote><div><p>... remembered <a href="https://docs.kernel.org/5.10/filesystems/inotify.html" rel="nofollow">inotify</a>, which can monitor filesystem use ...</p></div></blockquote></div><p>Good idea ...<br />Please keep us posted.</p><p>Thanks for your input.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Thu, 16 Mar 2023 23:55:53 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=41537#p41537</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] /.config and /.cache with Daedalus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=41536#p41536</link>
			<description><![CDATA[<div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><p>All those <em>&quot;won&#039;t fix because it is harmless&quot;</em> issues, warnings and/or bug reports which end up being swept under the rug will are not healthy.<br />I see it as lousy coding and may (eventually) end up causing issues somewhere in the system.</p></div></blockquote></div><p>Yep, just because there&#039;s no obvious harm at the moment doesn&#039;t mean there isn&#039;t some hidden/future problem.</p><p>-</p><p>I&#039;ve just remembered <a href="https://docs.kernel.org/5.10/filesystems/inotify.html" rel="nofollow">inotify</a>, which can monitor filesystem use - so <span class="bbc"><a href="https://manpages.debian.org/bullseye/inotify-tools/inotifywait.1.en.html" rel="nofollow">inotifywait</a> --daemon -e create /</span> should log when a directory is created in root, and <span class="bbc">inotifywait --daemon -r /.cache</span> will monitor all events within that directory, to see if it&#039;s being used - although it doesn&#039;t look like inotifywait reports pid/uid information, so the first one probably isn&#039;t useful, but if files are being created/removed the names may give a clue as to what it is doing it.</p>]]></description>
			<author><![CDATA[dummy@example.com (boughtonp)]]></author>
			<pubDate>Thu, 16 Mar 2023 23:50:05 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=41536#p41536</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] /.config and /.cache with Daedalus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=41534#p41534</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>User479 wrote:</cite><blockquote><div><p>I&#039;ll keep digging.</p></div></blockquote></div><p>Please do.</p><div class="quotebox"><cite>User479 wrote:</cite><blockquote><div><p>... not hurting anything ...</p></div></blockquote></div><p>Not that you <em>know</em> of.</p><div class="quotebox"><cite>User479 wrote:</cite><blockquote><div><p>... just annoying now that I know about it.</p></div></blockquote></div><p>Indeed ...</p><p>I think that what is annoying is that something (unknown to you) is creating a <span class="bbc">.config</span> dir in <span class="bbc">/</span>.</p><p>And from what I have been told, it should <em>not</em> be happening.<br />Unless at some time your <span class="bbc">$HOME</span> was set to <span class="bbc">/</span>.<br />Which does not seem to be the case.</p><p>Granted, it may <em>not</em> be a big deal, but it should not be happening.</p><p>My idea of things like these is that they should be investigated and fixed.<br />If it is a bug or an oversight, it should be squashed/fixed.</p><p>All those <em>&quot;won&#039;t fix because it is harmless&quot;</em> issues, warnings and/or bug reports which end up being swept under the rug will are not healthy.<br />I see it as lousy coding and may (eventually) end up causing issues somewhere in the system.</p><p>Of course, YMMV.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Thu, 16 Mar 2023 20:29:09 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=41534#p41534</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] /.config and /.cache with Daedalus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=41533#p41533</link>
			<description><![CDATA[<div class="quotebox"><cite>boughtonp wrote:</cite><blockquote><div><p>So what is result of...</p></div></blockquote></div><p>That returns &quot;home=/root;config=;cache=;&quot;</p><div class="quotebox"><cite>boughtonp wrote:</cite><blockquote><div><p>...use stat to get the precise time</p></div></blockquote></div><p>Good idea.&#160; During two boots the messages preceeding creation of /.cache were coming from smartd, but I don&#039;t know why it would need a cache file.&#160; I deleted /.cache and restarted that service, and several others (chrony, opensmtpd, dovecot, rsyslog, cron, dbus), without a new /.cache being created.&#160; I&#039;ll keep digging.&#160; Or maybe not.&#160; It&#039;s not hurting anything, it&#039;s just annoying now that I know about it.</p>]]></description>
			<author><![CDATA[dummy@example.com (User479)]]></author>
			<pubDate>Thu, 16 Mar 2023 19:56:52 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=41533#p41533</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] /.config and /.cache with Daedalus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=41522#p41522</link>
			<description><![CDATA[<p>configHello:</p><div class="quotebox"><cite>User479 wrote:</cite><blockquote><div><p>... pulseaudio purged, an empty /.cache/ is getting created at each boot.</p></div></blockquote></div><p>Not here:</p><div class="codebox"><pre><code>~$ uname -a
Linux devuan 5.10.0-0.deb10.16-amd64 #1 SMP Debian 5.10.127-2~bpo10+1 (2022-07-28) x86_64 GNU/Linux
~$ </code></pre></div><p>There is no <span class="bbc">.cache</span> in my <span class="bbc">/</span>.<br />All of them live in the <span class="bbc">/home/user</span> dir.</p><p>And this is all the <em>pulse</em> I have:</p><div class="codebox"><pre><code>~$ apt list | grep installed | grep -i pulse*
--- snip ---
debian-pulseaudio-config-override/oldstable,oldstable,now 1.0 all [installed,automatic]
libpulse0/oldstable,now 12.2-4+deb10u1 amd64 [installed,automatic]
libpulse0/oldstable,now 12.2-4+deb10u1 i386 [installed,automatic]
~$ </code></pre></div><p>Maybe something <em>else</em> is doing that?</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Wed, 15 Mar 2023 20:36:45 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=41522#p41522</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] /.config and /.cache with Daedalus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=41521#p41521</link>
			<description><![CDATA[<p>So what is result of...</p><div class="codebox"><pre><code>echo &quot;home=$HOME;config=$XDG_CONFIG_HOME;cache=$XDG_CACHE_HOME;&quot;</code></pre></div><p>...when running as root?</p><p>Or I guess:</p><div class="codebox"><pre><code>awk -F: &#039;$6~&quot;^/?$&quot;&#039; /etc/passwd</code></pre></div><p>?</p><p>Also, have you identified precisely when during boot it gets re-created? i.e. use <a href="https://manpages.debian.org/bullseye/coreutils/stat.1.en.html" rel="nofollow">stat</a> to get the precise time, and compare with files in /var/log to see what happens around the same time.</p>]]></description>
			<author><![CDATA[dummy@example.com (boughtonp)]]></author>
			<pubDate>Wed, 15 Mar 2023 20:31:11 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=41521#p41521</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] /.config and /.cache with Daedalus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=41519#p41519</link>
			<description><![CDATA[<p>For what it&#039;s worth, even with pulseaudio purged, an empty /.cache/ is getting created at each boot.</p>]]></description>
			<author><![CDATA[dummy@example.com (User479)]]></author>
			<pubDate>Wed, 15 Mar 2023 20:15:18 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=41519#p41519</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] /.config and /.cache with Daedalus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=41401#p41401</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>steve_v wrote:</cite><blockquote><div><p>... strongly suspect we&#039;re going to need something like daemon ...</p></div></blockquote></div><p>... as systemd <del>user-units become more popular.</del> continues to extend its tentacles further and further into Linux.&#160; &#160;<strong>&lt;---</strong> reads better now, I think.</p><div class="quotebox"><cite>steve_v wrote:</cite><blockquote><div><p>... this /.config and /.cache garbage is created on chimera ...</p></div></blockquote></div><p>Not only on chimaera.</p><p>I run Devuan Beowulf with a backported kernel.<br />I suspect it was there since ascii but can&#039;t confirm.</p><div class="quotebox"><cite>steve_v wrote:</cite><blockquote><div><p>... but not remove them if they exist ...<br />... not tracked by dpkg (for extra nastiness).</p></div></blockquote></div><p>So I have seen.</p><div class="quotebox"><cite>steve_v wrote:</cite><blockquote><div><p>... absolutely consider this a bug to be fixed.</p></div></blockquote></div><p>Probably to be reported to Debian.<br />Don&#039;t think it&#039;s a Devuan thing, but ...</p><div class="quotebox"><cite>steve_v wrote:</cite><blockquote><div><p>... has to do with pulse <strong>ass</strong>uming systemd and doing broken things ...</p></div></blockquote></div><p>... if that is so, it <em>could/may</em> be due to an incomplete/faulty sanitisation of the pulseaudio package by the Devuan devs.</p><p>Thanks for your input.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Mon, 06 Mar 2023 09:55:57 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=41401#p41401</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] /.config and /.cache with Daedalus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=41400#p41400</link>
			<description><![CDATA[<div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><div class="codebox"><pre><code># apt purge pulseaudio &amp;&amp; apt autoclean &amp;&amp; apt autoremove</code></pre></div></div></blockquote></div><p>Much as I too dislike pulseaudio, if one wants such niceties as on-the-fly switching of bluetooth sinks and whatnot, pure ALSA is a PITA.<br />While it is still far too complicated IMO, pipewire does at least solve some of the more glaring deficiencies of pulseaudio. Anyone wanting modern convenience features on a laptop or such will probably need one or the other.</p><div class="quotebox"><cite>User479 wrote:</cite><blockquote><div><p>Edit 1: Except the phone and tablet have systemd, of course, and setting up pipewire without that is a bit more complicated.</p><p>Edit 2: Actually, the &quot;<a href="https://git.alpinelinux.org/aports/tree/community/pipewire" rel="nofollow">Alpine solution</a>&quot; turned out to be pretty simple.&#160; pipewire-launcher.sh worked without modifications.</p></div></blockquote></div><p>FWIW, I have been playing with pipewire on my (openrc) Gentoo desktop too. Gentoo uses exactly the same pipewire-launcher.sh (anybody&#039;s guess who nicked it from who), and while it should work on any distro it does come with one problem - it has no facility for terminating pipewire / wireplumber when the user logs out.<br />That&#039;s not a big deal on a single-user system, nor is it a problem if one has logind set to kill user processes (which in turn breaks the old-school ability to background a task and leave it running after logout though).<br />If neither of those are true however, it results in stale pipewire processes left running and blocking the sound device when one user logs out and another logs in.</p><p>To solve this, I lifted a solution from <a href="https://www.linuxquestions.org/questions/slackware-14/using-pipewire-instead-of-pulseaudio-in-slackware-15-a-4175693980/" rel="nofollow">slackware</a>, namely using <a href="https://github.com/raforg/daemon" rel="nofollow">daemon</a> to manage the equivalent of systemd &quot;user-units&quot;.</p><p>The result is 3 autostart files (pipewire, pipewire-pulse, wireplumber), like e.g.:</p><div class="codebox"><pre><code>[Desktop Entry]
Version=1.0
Name=Pipewire
Comment=PipeWire media server
Exec=/usr/bin/daemon --bind --respawn --pidfiles=$XDG_RUNTIME_DIR --name=pipewire /usr/bin/pipewire
Terminal=false
Type=Application
X-GNOME-Autostart-Phase=Initialization
X-KDE-autostart-phase=1
X-GNOME-HiddenUnderSystemd=true
X-KDE-HiddenUnderSystemd=true
X-systemd-skip=true</code></pre></div><p>Zero launcher shell scripts or hacky anti-race sleeps, and the ability to do things like:</p><div class="codebox"><pre><code>$ daemon --list
cdemu
pipewire
pipewire-pulse
pipewire-wireplumber
systembus-notify</code></pre></div><p>As well as stopping, starting, and restarting these user daemons without resorting to pkill and co, giving them pid files, retrying failed starts, and binding to the user&#039;s logind session so they exit when they should.</p><p>Fractionally more effort (IIRC daemon is in the devuan repos already), but cleaner and more flexible IMO.<br />Just something to consider, FWIW I strongly suspect we&#039;re going to need something like daemon for more than just pipewire in future (I&#039;m also using it for cdemu-daemon and the dbus-notifier part of earlyoom here), as systemd user-units become more popular.</p><p>To return to the OT, yes, this /.config and /.cache garbage is created on chimera (default desktop-live/refracta install) as well, and AFAICT the culprit is pulseaudio. Removing pulse will prevent their creation but not remove them if they exist, as they are not tracked by dpkg (for extra nastiness).</p><p>Whatever ones opinion of pulseaudio, it shouldn&#039;t be creating XDG configuration directories in the system root and so long as devuan is shipping it in the default desktop, I absolutely consider this a bug to be fixed. <br />I don&#039;t have a debian install to compare right now, but my suspicion is that this has to do with pulse <strong>ass</strong>uming systemd and doing broken things when started as root by traditional init (i.e. when XDG_FOO isn&#039;t set).</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Mon, 06 Mar 2023 04:23:19 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=41400#p41400</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] /.config and /.cache with Daedalus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=41397#p41397</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>User479 wrote:</cite><blockquote><div><p>... ditch pulseaudio on my destop.</p></div></blockquote></div><p>Yes, but do remember to check the link I posted.<br />You <em>don&#039;t</em> want <span class="bbc">pulseaudio</span> pulled in again by some uncouth package.</p><div class="codebox"><pre><code>~$ cat /etc/apt/preferences.d/avoid_pulseaudio
Package: pulseaudio:*
Pin: version *
Pin-Priority: -1
~$ </code></pre></div><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 05 Mar 2023 21:25:33 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=41397#p41397</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] /.config and /.cache with Daedalus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=41396#p41396</link>
			<description><![CDATA[<div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><p>No matter, quite easy to fix.</p><p>First this:</p><div class="codebox"><pre><code># apt purge pulseaudio &amp;&amp; apt autoclean &amp;&amp; apt autoremove</code></pre></div></div></blockquote></div><p>Very good point.&#160; I&#039;m using pipewire &amp; wireplumber on my phone &amp; tablet (with mobian bookworm) and it seems to work so I can now just ditch pulseaudio on my destop.</p><p>Edit 1: Except the phone and tablet have systemd, of course, and setting up pipewire without that is a bit more complicated.</p><p>Edit 2: Actually, the &quot;<a href="https://git.alpinelinux.org/aports/tree/community/pipewire" rel="nofollow">Alpine solution</a>&quot; turned out to be pretty simple.&#160; pipewire-launcher.sh worked without modifications.&#160; &#160;I use XFCE so it needed the desktop file in ~/.config/autostart/ (with Exec= adapted).&#160; I killed pulseaudio, started pipewire, reset the volume control, and it&#039;s done.</p>]]></description>
			<author><![CDATA[dummy@example.com (User479)]]></author>
			<pubDate>Sun, 05 Mar 2023 21:05:58 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=41396#p41396</guid>
		</item>
	</channel>
</rss>
