<?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=4955&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / How to change menu and content font size of Xorg applications]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=4955</link>
		<description><![CDATA[The most recent posts in How to change menu and content font size of Xorg applications.]]></description>
		<lastBuildDate>Wed, 23 Mar 2022 20:52:21 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: How to change menu and content font size of Xorg applications]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=35357#p35357</link>
			<description><![CDATA[<p>Maybe if you want a more &quot;Debian way&quot; and use automatic X handling provided by Debian, just replace &quot;<em>~/.xprofile&quot;</em> by &quot;<em>~/.xsessionrc</em>&quot; without <em>xrdb</em> line:</p><p><em>~/.xsessionrc</em></p><div class="codebox"><pre><code>IM=&#039;uim&#039;
export GTK_IM_MODULE=$IM
export XMODIFIERS=&#039;@im=$IM&#039;
export QT_IM_MODULE=$IM
export XIM=$IM
uim-xim &amp;
uim-toolbar-gtk3-systray &amp; t</code></pre></div><p>and in&#160; ~/.xinitrc<em> just<br /></em></p><div class="codebox"><pre><code>#!/bin/sh

exec /etc/X11/Xsession /usr/bin/startlxqt</code></pre></div><p>and <em>~/.xsessionrc</em> and <em>xrdb</em> will be automatically read/run.</p>]]></description>
			<author><![CDATA[dummy@example.com (thierrybo)]]></author>
			<pubDate>Wed, 23 Mar 2022 20:52:21 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=35357#p35357</guid>
		</item>
		<item>
			<title><![CDATA[How to change menu and content font size of Xorg applications]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=35350#p35350</link>
			<description><![CDATA[<p>I&#039;m using LXQt vesion 0.16.0 in Xorg. </p><p>The resolution of screen is 3840 x 2160. </p><p>Libreoffice Writer,&#160; Brave Browser, Firefox ESR, and etc. would not honor the LXQt&#039;s system font settings. </p><p>The default DPI value was 96. I tested higher DPI values and 124 was right size for me. </p><p>To set 124 as default DPI in Xorg, I created ~/.Xresources file as below. And then modified Xorg startup script files. </p><p>You can test font size of new DPI value by run xrdb command in X terminal application. And then, run an Xorg application to see the effect. </p><div class="codebox"><pre><code>xrdb -merge ~/.Xresources </code></pre></div><p>To see Xresources setting, run &#039;xrdb -query -all&#039;&#160; </p><div class="codebox"><pre><code>$ xrdb -query -all
Xft.dpi:        124</code></pre></div><p>To load the DPI value when Xorg starts up, write the below line before the Xorg Window manager, i.e. LXQt &#039;exec startlxqt&#039; in this case.</p><div class="codebox"><pre><code>xrdb -merge -I$HOME ~/.Xresources &amp;</code></pre></div><p>~/.Xresources </p><div class="codebox"><pre><code>Xft.dpi: 124 </code></pre></div><p>~/.xprofile </p><div class="codebox"><pre><code>IM=&#039;uim&#039;
export GTK_IM_MODULE=$IM
export XMODIFIERS=&#039;@im=$IM&#039;
export QT_IM_MODULE=$IM
export XIM=$IM
uim-xim &amp;
uim-toolbar-gtk3-systray &amp; 
xrdb -merge -I$HOME ~/.Xresources &amp;</code></pre></div><p>~/.xinitrc</p><div class="codebox"><pre><code>#!/bin/sh

. ~/.xprofile
exec startlxqt</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (penguin)]]></author>
			<pubDate>Wed, 23 Mar 2022 10:38:13 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=35350#p35350</guid>
		</item>
	</channel>
</rss>
