<?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=7053&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / .xinitrc like in wayland ?]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=7053</link>
		<description><![CDATA[The most recent posts in .xinitrc like in wayland ?.]]></description>
		<lastBuildDate>Mon, 10 Feb 2025 00:29:07 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: .xinitrc like in wayland ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=54444#p54444</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>Are you possibly doing this for running pipewire in Wayland? I couldn&#039;t make it work on wayland so.</p></div></blockquote></div><p>Not that I use it as it kills off my mouse button mapping I use but it does work in an autostart script I made the .xsessionrc into on my KDE desktop.</p><div class="codebox"><pre><code>zeus@9600k:~$ cat bin/pipewire_start.sh
#!/bin/bash

# Added to start pipewire on login to desktop
# https://dev1galaxy.org/viewtopic.php?id=5867
# was the ~/.xsessionrc -rw-rw-r-- permissions
# now ~/bin/pipewire_start.sh executable permissions
# as bash script loaded from KDE autostart in System Settings

# kill any existing pipewire instance to restore sound
pkill -u &quot;$USER&quot; -fx /usr/bin/pipewire-pulse 1&gt;/dev/null 2&gt;&amp;1
pkill -u &quot;$USER&quot; -fx /usr/bin/wireplumber 1&gt;/dev/null 2&gt;&amp;1
pkill -u &quot;$USER&quot; -fx /usr/bin/pipewire 1&gt;/dev/null 2&gt;&amp;1

exec /usr/bin/pipewire &amp;

# wait for pipewire to start before attempting to start related daemons
while [ &quot;$(pgrep -f /usr/bin/pipewire)&quot; = &quot;&quot; ] ; do
   sleep 1
done

# start wireplumber
exec /usr/bin/wireplumber &amp;

# start pipewire-pulse
exec /usr/bin/pipewire-pulse &amp;</code></pre></div><p>Edit: I think others desktops have a similar feature to do the same.</p>]]></description>
			<author><![CDATA[dummy@example.com (RedGreen925)]]></author>
			<pubDate>Mon, 10 Feb 2025 00:29:07 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=54444#p54444</guid>
		</item>
		<item>
			<title><![CDATA[Re: .xinitrc like in wayland ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=54442#p54442</link>
			<description><![CDATA[<p>Are you possibly doing this for running pipewire in Wayland? I couldn&#039;t make it work on wayland so.</p>]]></description>
			<author><![CDATA[dummy@example.com (recklessswing)]]></author>
			<pubDate>Sun, 09 Feb 2025 20:41:38 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=54442#p54442</guid>
		</item>
		<item>
			<title><![CDATA[Re: .xinitrc like in wayland ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=54398#p54398</link>
			<description><![CDATA[<p>you could give this thing i made a shot, it was originally made with the x11 achitecture in mind but it is written in pure posix shell and should be flexible enough to work with wayland, tho i still got to add some more stuff to differentiate the managed daemons in groups other than the current session service group</p><p><a href="https://github.com/eylles/shed" rel="nofollow">https://github.com/eylles/shed</a></p>]]></description>
			<author><![CDATA[dummy@example.com (EDX-0)]]></author>
			<pubDate>Thu, 06 Feb 2025 06:33:35 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=54398#p54398</guid>
		</item>
		<item>
			<title><![CDATA[Re: .xinitrc like in wayland ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=54372#p54372</link>
			<description><![CDATA[<p>yes looks like there is an automatic &quot;startx&quot; after login, then I start WM with : </p><p><span class="bbc">[ &quot;$(tty)&quot; = &quot;/dev/tty1&quot; ] &amp;&amp; exec dbus-run-session sway</span></p><p>Into .bash_profile</p><p>And start programs into WM&#039;s config but I don&#039;t like it...</p>]]></description>
			<author><![CDATA[dummy@example.com (unixuser)]]></author>
			<pubDate>Sun, 02 Feb 2025 13:49:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=54372#p54372</guid>
		</item>
		<item>
			<title><![CDATA[Re: .xinitrc like in wayland ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=54370#p54370</link>
			<description><![CDATA[<p>I don&#039;t think this works at all in wayland unless they deliberately left this option in for wayland.</p><p>Btw, fun fact, there is also sx which is like startx but requires and provides less. </p><p>Its basically a suckless startx.&#160; I don&#039;t know the specifics, but on hyperbola, I don&#039;t need anymore&#160; functionality than that has.<br />Also, I tried startx on devuan a few times, it worked up until like 5 months ago. Weird it is.</p>]]></description>
			<author><![CDATA[dummy@example.com (zapper)]]></author>
			<pubDate>Sun, 02 Feb 2025 04:14:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=54370#p54370</guid>
		</item>
		<item>
			<title><![CDATA[.xinitrc like in wayland ?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=54360#p54360</link>
			<description><![CDATA[<p>Hi there,</p><p>I&#039;m asking here because I think you guys are the most qualified to answer...</p><p>On x11, I used to startx with .bash_profile, then start the wm with the .xinitrc (and start some others stuff at startup), but I wonder what is the right procedure for wayland ? <br />ATM I start my wm (sway) into the .bash_profile and startup programs into .config/sway/config... But I don&#039;t like have startup programs into this file.<br />I wonder how you guys do ? </p><p>Thx and HF guys</p>]]></description>
			<author><![CDATA[dummy@example.com (unixuser)]]></author>
			<pubDate>Sat, 01 Feb 2025 12:50:10 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=54360#p54360</guid>
		</item>
	</channel>
</rss>
