<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[HyperForum — Hyperbola 0.4 setup - Openbox with a dark theme]]></title>
		<link>https://forums.hyperbola.info/viewtopic.php?id=662</link>
		<atom:link href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=662&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Hyperbola 0.4 setup - Openbox with a dark theme.]]></description>
		<lastBuildDate>Wed, 31 Aug 2022 14:31:04 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Hyperbola 0.4 setup - Openbox with a dark theme]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=4959#p4959</link>
			<description><![CDATA[<p>Bookworm eBook reader in the repos supports dark mode so no need to unpack EPUBs anymore.</p>]]></description>
			<author><![CDATA[null@example.com (aloniv)]]></author>
			<pubDate>Wed, 31 Aug 2022 14:31:04 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=4959#p4959</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hyperbola 0.4 setup - Openbox with a dark theme]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=4474#p4474</link>
			<description><![CDATA[<p>After editing the Openbox menu (using obmenu3) one can view the new menu without logging out and in by simply running the following command.<br /></p><div class="codebox"><pre><code>$ openbox --reconfigure</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (aloniv)]]></author>
			<pubDate>Mon, 02 May 2022 08:27:20 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=4474#p4474</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hyperbola 0.4 setup - Openbox with a dark theme]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=4455#p4455</link>
			<description><![CDATA[<div class="quotebox"><cite>aloniv wrote:</cite><blockquote><p>EPUB files are just ZIP files containing HTML documents and images so a possible dark theme solution is simply unpacking them using the unzip command and opening the HTML files using the browser (which supports a dark theme).</p></blockquote></div><p>Wrapper script:</p><p>&gt;cat bin/epub.sh <br />#/bin/sh<br />unzip -qcp &quot;$1&quot; &quot;*ml&quot; &quot;*.htm&quot;&nbsp; &nbsp;| lynx -force-html -dump -stdin -nolist | less -r&nbsp; -M +Gg</p><p>With a few tweaks it&#039;s possible to use a tmp directory with mktemp and read <br />epubs with images with something lightweight such as dillo.</p>]]></description>
			<author><![CDATA[null@example.com (anthk)]]></author>
			<pubDate>Thu, 28 Apr 2022 23:20:58 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=4455#p4455</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hyperbola 0.4 setup - Openbox with a dark theme]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=4280#p4280</link>
			<description><![CDATA[<p>EPUB files are just ZIP files containing HTML documents and images so a possible dark theme solution is simply unpacking them using the unzip command and opening the HTML files using the browser (which supports a dark theme).</p>]]></description>
			<author><![CDATA[null@example.com (aloniv)]]></author>
			<pubDate>Thu, 31 Mar 2022 11:48:54 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=4280#p4280</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hyperbola 0.4 setup - Openbox with a dark theme]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=4276#p4276</link>
			<description><![CDATA[<p>Very cool. Thanks for sharing.</p>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Wed, 30 Mar 2022 12:16:56 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=4276#p4276</guid>
		</item>
		<item>
			<title><![CDATA[Hyperbola 0.4 setup - Openbox with a dark theme]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=4272#p4272</link>
			<description><![CDATA[<p>I thought this guide would be useful for anyone who wants a basic desktop using a dark theme.</p><p>First install Openbox packages, a dark GTK theme and a theme switcher application:<br /></p><div class="quotebox"><blockquote><p># pacman -S openbox obconf e17-gtk-theme lxappearance</p></blockquote></div><p>Then run lxappearance and set the dark theme. In order for the new theme to work properly you might need to log out and log back in.</p><p>Qt applications can also use the GTK theme. First install the following package.</p><div class="quotebox"><blockquote><p># pacman -S qtct</p></blockquote></div><p> <br />You&#039;ll also need to install the package qt5-styleplugins (from AUR) so that Qt can use GTK themes.<br />Then add the following line to the file .bashrc<br /></p><div class="quotebox"><blockquote><p>export QT_QPA_PLATFORMTHEME=qt5ct</p></blockquote></div><p>After logging out and back in, Qt applications when run from the terminal should use the dark theme.</p><p>In order to edit the items in Openbox&#039;s menu, it&#039;s best to install a menu editor. I installed obmenu3 from AUR.</p><p>When a Qt application is run from Openbox&#039;s menu it will not use the dark theme unless the execute command is altered e.g. via obmenu3. A command such as this one for Avidemux works (just replace avidemux 3_qt5 with the command needed to run the Qt application).<br /></p><div class="quotebox"><blockquote><p>sh -c &#039;export QT_QPA_PLATFORMTHEME=qt5ct &amp;&amp; avidemux3_qt5&#039;</p></blockquote></div><p>If you want a task manager as well you can install tint2.<br /></p><div class="quotebox"><blockquote><p># pacman -S tint2</p></blockquote></div><p>In order for it to run after login add the line<br /></p><div class="quotebox"><blockquote><p>tint2 &amp;</p></blockquote></div><p>to .config/openbox/autostart</p><p>Qt applications when run from tint2 will not use the dark theme unless you edit the .desktop files.<br />Copy the relevant files to .local/share/applications (you might need to create the latter directory), e.g. for Avidemux.<br /></p><div class="quotebox"><blockquote><p>cp /usr/share/applications/org.avidemux.Avidemux.desktop .local/share/applications/</p></blockquote></div><p> Then edit the Exec line - I use this one.<br /></p><div class="quotebox"><blockquote><p>Exec=sh -c &#039;export QT_QPA_PLATFORMTHEME=qt5ct &amp;&amp; avidemux3_qt5&#039;&nbsp; %f</p></blockquote></div><p>What&#039;s still left to do: get PDF and EPUB files to use a dark theme (using mupdf and epdfview).</p>]]></description>
			<author><![CDATA[null@example.com (aloniv)]]></author>
			<pubDate>Wed, 30 Mar 2022 09:23:07 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=4272#p4272</guid>
		</item>
	</channel>
</rss>
