<?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=3431&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / IBUS issue]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3431</link>
		<description><![CDATA[The most recent posts in IBUS issue.]]></description>
		<lastBuildDate>Sun, 12 Apr 2020 16:27:37 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: IBUS issue]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21081#p21081</link>
			<description><![CDATA[<p>Thank you very much!<br />BTW, I completely forgot about the backports (which I did not activate).<br />I doubt that I&#039;ll ever upgrade my system on this machine, so I simply resorted to making an executable script, starting Lazarus 1.8 and put it right into the /usr/bin where the links to Lazarus binaries are. Everything seems to work fine now, thanks again!</p>]]></description>
			<author><![CDATA[dummy@example.com (Copper36)]]></author>
			<pubDate>Sun, 12 Apr 2020 16:27:37 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21081#p21081</guid>
		</item>
		<item>
			<title><![CDATA[Re: IBUS issue]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21036#p21036</link>
			<description><![CDATA[<div class="quotebox"><cite>Copper36 wrote:</cite><blockquote><div><p>how do I create a launching script?</p></div></blockquote></div><p>Create a file called /usr/lib/lazarus/1.6.2/startlazarus-custom with this content:</p><div class="codebox"><pre><code>#!/bin/sh
GTK_IM_MODULE=gtk-im-context-simple QT_IM_MODULE=simple XMODIFIERS=@im=none /usr/lib/lazarus/1.6.2/startlazarus &quot;$@&quot;</code></pre></div><p>Use <span class="bbc">chmod +x</span> to make the script executable and then symlink it to /usr/local/bin/, like this:</p><div class="codebox"><pre><code># ln -s /usr/lib/lazarus/1.6.2/startlazarus-custom /usr/local/bin/startlazarus-1.6.2
# ln -s /usr/lib/lazarus/1.6.2/startlazarus-custom /usr/local/bin/lazarus-ide-1.6.2</code></pre></div><p>Then use this to add the script to the alternatives system:</p><div class="codebox"><pre><code># update-alternatives \
   --install /usr/bin/lazarus-ide lazarus-ide /usr/lib/lazarus/1.6.2/startlazarus-custom 1060200 \
   --slave /usr/bin/startlazarus startlazarus /usr/lib/lazarus/1.6.2/startlazarus-custom \
   --slave /usr/share/pixmaps/lazarus.xpm lazarus.xpm /usr/share/pixmaps/lazarus-1.6.2.xpm</code></pre></div><p>Finally run this and select the new startlazarus-custom alternative:</p><div class="codebox"><pre><code># update-alternatives --config lazarus-ide</code></pre></div><p>If you ever upgrade the system or change to the newer Lazarus package from the backports repository then remove the custom script from the alternatives system beforehand:</p><div class="codebox"><pre><code># update-alternatives --remove lazarus-ide /usr/lib/lazarus/1.6.2/startlazarus-custom</code></pre></div><p>Also remove /usr/lib/lazarus/1.6.2/startlazarus-custom and the /usr/local/bin/startlazarus-1.6.2 &amp; /usr/local/bin/lazarus-ide-1.6.2 symlinks.</p><p>After the upgrade you can create new scripts &amp; symlinks and add the new alternative using the new package version names.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Wed, 08 Apr 2020 17:29:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21036#p21036</guid>
		</item>
		<item>
			<title><![CDATA[IBUS issue]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21035#p21035</link>
			<description><![CDATA[<p>Hi,<br />I&#039;ve got a problem with a (rather old) Lazarus installation (ver.1.6, from Devuan repos). Briefly, whatever symbol I type into the fields, appears doubled (i.e. &quot;aa&quot; instead of &quot;a&quot;). Lazarus developers claim it is due to a number of bugs in ibus, and since it is all not new, there are a number of workarounds for it.<br />The general description is here:<br /><a href="https://wiki.freepascal.org/Lazarus_Faq#Typing_in_edit_fields_generate_duplicate_letters" rel="nofollow">https://wiki.freepascal.org/Lazarus_Faq … te_letters</a>:</p><div class="quotebox"><blockquote><div><p>In order to do that you have a number of options, namely:</p><p>&#160; &#160; 1 - Disable (or set to &quot;none&quot;) the Input Method in System Settings-&gt;Preferences-&gt;Input Method<br />&#160; &#160; 2 - Add the three following lines in /etc/profile (system wide)</p><p>export GTK_IM_MODULE=gtk-im-context-simple<br />export QT_IM_MODULE=simple<br />export XMODIFIERS=@im=none</p><p>&#160; &#160; 3 - Add a file named input_method.sh containing just the 3 lines above in /etc/profile.d (system wide)<br />&#160; &#160; 4 - Add the 3 lines above in the home directory ~/.xprofile (per user). If there&#039;s no ~/.xprofile in your home directory, you should create one.<br />&#160; &#160; 5 - Create a Lazarus launching script containing the same 3 lines. (affects only Lazarus)</p><p>Methods 1 and 2 may not survive after a system update, while 3,4 and 5 will.<br />Be aware that both GTK and QT applications may change dynamically the IM. If you experience the problem in an apparently random way, chances are good that some other application is enabling again an IM and fails to set to default when terminates. If such is the case method 5 is the only one suitable.</p></div></blockquote></div><p>What would you suggest to choose? I incline to point 5 as I do not have (apparently) any other ibus-related issues.<br />And then, how do I create a launching script?</p><p>Thank you!</p>]]></description>
			<author><![CDATA[dummy@example.com (Copper36)]]></author>
			<pubDate>Wed, 08 Apr 2020 15:18:51 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21035#p21035</guid>
		</item>
	</channel>
</rss>
