<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>flatpak &amp;mdash; Sebastian Wiesner</title>
    <link>https://swsnr.writeas.com/tag:flatpak</link>
    <description>System engineer for satellite mission planning. Gnome. Rust. Arch.  </description>
    <pubDate>Sat, 09 May 2026 12:25:34 +0000</pubDate>
    <image>
      <url>https://i.snap.as/9knB2j11.jpg</url>
      <title>flatpak &amp;mdash; Sebastian Wiesner</title>
      <link>https://swsnr.writeas.com/tag:flatpak</link>
    </image>
    <item>
      <title>HTTP Proxy in Electron flatpaks</title>
      <link>https://swsnr.writeas.com/http-proxy-in-electron-flatpaks?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[flatpak &#xA;&#xA;Some electron-based flatpaks (e.g. Mattermost, see https://github.com/flathub/com.mattermost.Desktop/issues/23) for some reason ignore Gnome’s HTTP proxy settings. In this case we can set the proxy directly inside the affected flatpak.&#xA;&#xA;!--more--&#xA;&#xA;We can enter a shell in the flatpak with:&#xA;&#xA;$ flatpak run --command=sh com.mattermost.Desktop&#xA;&#xA;In this shell we can set the corresponding Gnome settings with the gsettings utility:&#xA;&#xA;$ settings set org.gnome.system.proxy mode manual&#xA;$ gsettings set org.gnome.system.proxy.http host REDACTED&#xA;$ gsettings set org.gnome.system.proxy.http port REDACTED&#xA;$ gsettings set org.gnome.system.proxy.https host REDACTED &#xA;$ gsettings set org.gnome.system.proxy.https port REDACTED&#xA;&#xA;The corresponding application will then use the proxy correctly.&#xA;&#xA;This issue exists in Standard Notes and Mattermost, but curiously not in Signal even though the Signal client is also an Electron application as far as I know.&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p><a href="https://swsnr.writeas.com/tag:flatpak" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">flatpak</span></a></p>

<p>Some electron-based flatpaks (e.g. Mattermost, see <a href="https://github.com/flathub/com.mattermost.Desktop/issues/23" rel="nofollow">https://github.com/flathub/com.mattermost.Desktop/issues/23</a>) for some reason ignore Gnome’s HTTP proxy settings. In this case we can set the proxy directly inside the affected flatpak.</p>



<p>We can enter a shell in the flatpak with:</p>

<pre><code class="language-console">$ flatpak run --command=sh com.mattermost.Desktop
</code></pre>

<p>In this shell we can set the corresponding Gnome settings with the <code>gsettings</code> utility:</p>

<pre><code class="language-console">$ settings set org.gnome.system.proxy mode manual
$ gsettings set org.gnome.system.proxy.http host REDACTED
$ gsettings set org.gnome.system.proxy.http port REDACTED
$ gsettings set org.gnome.system.proxy.https host REDACTED 
$ gsettings set org.gnome.system.proxy.https port REDACTED
</code></pre>

<p>The corresponding application will then use the proxy correctly.</p>

<p>This issue exists in Standard Notes and Mattermost, but curiously not in Signal even though the Signal client is also an Electron application as far as I know.</p>
]]></content:encoded>
      <guid>https://swsnr.writeas.com/http-proxy-in-electron-flatpaks</guid>
      <pubDate>Tue, 27 Jul 2021 07:55:41 +0000</pubDate>
    </item>
  </channel>
</rss>