<?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=6584&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] flatpak and $XDG_DATA_DIR]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=6584</link>
		<description><![CDATA[The most recent posts in [SOLVED] flatpak and $XDG_DATA_DIR.]]></description>
		<lastBuildDate>Thu, 02 May 2024 12:52:05 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] flatpak and $XDG_DATA_DIR]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=49787#p49787</link>
			<description><![CDATA[<p>it seems that <span class="bbc">chsh -s /bin/zsh</span>-ing was the culprit. I&#039;ve added the following line to my <span class="bbc">~/.zprofile</span> per <a href="https://bugs.launchpad.net/snapd/+bug/1747081/comments/8" rel="nofollow">this comment</a> (after reading <a href="https://www.reddit.com/r/kde/comments/tp61ih/a_problem_with_wayland_and_flatpaks/" rel="nofollow">this discussion</a>) and now everything seems to be working</p><div class="codebox"><pre><code>emulate sh -c &#039;source /etc/profile&#039;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (morenonatural)]]></author>
			<pubDate>Thu, 02 May 2024 12:52:05 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=49787#p49787</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] flatpak and $XDG_DATA_DIR]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=49780#p49780</link>
			<description><![CDATA[<p>hey, sup yall... using a mostly-recent net-install of Daedalus with KDE Plasma desktop here</p><p>I recently installed flatpak and was missing application icons in Plasma menu (the one that pops up when you press super/win key).</p><p>I noticed while running <span class="bbc">flatpak</span> that it noticed that it complained that <span class="bbc">XDG_DATA_DIRS</span> wasn&#039;t set. Looking around for values I added the following line to to my <span class="bbc">~/.zprofile</span> (I use <span class="bbc">TERM=zsh</span>, by the way)</p><div class="codebox"><pre><code>export XDG_DATA_DIRS=/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share:$XDG_DATA_DIRS</code></pre></div><p>This <em>would</em> eventually add icons to Plasma menu, but it messes up plasma-wayland real bad. plasma-wayland.desktop wouldn&#039;t start or would start &quot;without KWin&quot; (I could see some borderless application windows, no background…). I didn&#039;t notice that changing my profile script with the line above would mess up plasma-wayland, so I had to switch to plasma.desktop (using X) and began trying different stuff to get back to wayland. I tried switching sddm→lightdm, debugging each desktop manager, no dice.</p><p>For the time being, I removed this magical line, but I&#039;m back to not seeing the icons in plasma menu.</p><p>What can/should I do to have flatpak icons <em>and</em> keep using plasma-wayland.desktop?</p>]]></description>
			<author><![CDATA[dummy@example.com (morenonatural)]]></author>
			<pubDate>Wed, 01 May 2024 20:31:43 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=49780#p49780</guid>
		</item>
	</channel>
</rss>
