<?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=6157&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Best way to decouple autostarting daemons from WM in dotfiles?]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6157</link>
		<description><![CDATA[The most recent posts in Best way to decouple autostarting daemons from WM in dotfiles?.]]></description>
		<lastBuildDate>Mon, 20 Nov 2023 20:08:49 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Best way to decouple autostarting daemons from WM in dotfiles?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=45533#p45533</link>
			<description><![CDATA[<p>Hi all,</p><p>I&#039;m tinkering to make my config more modular, and want to decouple autostarting some daemons from my WM e.g. udiskie, transmission-daemon, mpd, etc. I was wondering what the best way to do that was via dotfiles?</p><p>I remove these autostarting via services because by default my user can&#039;t access my music library via mpd, or&#160; interact with the transmission-daemon etc. so I currently have them started via my WM&#039;s config file e.g.</p><p>(in ~/.config/i3/config)</p><div class="codebox"><pre><code>exec --no-startup-id mpd
exec --no-startup-id transmission-daemon

etc.</code></pre></div><p>My goal is to make my setup a bit more modular so that if/when I jump ship to a different WM, I won&#039;t need to configure as much. My first thought was to put these in <span class="bbc">~/.bash_profile</span> because I sometimes don&#039;t even run an X environment and just use a tty. However that felt off to me somehow because I&#039;ve not heard of it before.</p><p>Anyone have any reckons or any experience with this? Is putting this stuff in <span class="bbc">~/.bash_profile</span> ok? Or should I be using the services better? Something else? Ideally it&#039;s something I can write into a config somewhere to manage as part of my dotfiles repo.</p><p>Very keen to learn what other people do and also what would be technically &quot;correct&quot;, if applicable.</p>]]></description>
			<author><![CDATA[dummy@example.com (mrshll)]]></author>
			<pubDate>Mon, 20 Nov 2023 20:08:49 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=45533#p45533</guid>
		</item>
	</channel>
</rss>
