<?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=5367&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] How to set keyboard layout in a remote X session?]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5367</link>
		<description><![CDATA[The most recent posts in [SOLVED] How to set keyboard layout in a remote X session?.]]></description>
		<lastBuildDate>Sat, 22 Apr 2023 12:38:14 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] How to set keyboard layout in a remote X session?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41939#p41939</link>
			<description><![CDATA[<p>@guuml.dev1: Thanks for the reply (yes, long ago). There are &quot;ä,ö,ü,ß&quot;. [AltGr] is onyl working, if <span class="bbc">xrdp</span> uses an appropriate keymap too.</p><p><strong>Update</strong> - a cleaner way to set a default keymap for <span class="bbc">xrdp</span>:<br />Initially loaded is <span class="bbc">/etc/xrdp/km-00000000.ini</span>. The file is not existing, so a link or copy can be made without interfering the installation. The issue occurred again on a new PC.<br />In my case:</p><div class="codebox"><pre><code>$ sudo cp -a /etc/xrdp/km-00000407.ini /etc/xrdp/km-00000000.ini</code></pre></div><p>After logging in, it is still a &quot;us&quot; or &quot;en&quot; keymap, but switching to &quot;de&quot; now fully works. </p><div class="codebox"><pre><code>$ setxkbmap de</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (delgado)]]></author>
			<pubDate>Sat, 22 Apr 2023 12:38:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41939#p41939</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to set keyboard layout in a remote X session?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=40958#p40958</link>
			<description><![CDATA[<div class="quotebox"><cite>delgado wrote:</cite><blockquote><div><p>…&#160; And look for another remote X session solution.</p></div></blockquote></div><p>Some weeks ago I have read in <span class="bbc">setxkbmap(1)</span>:</p><div class="quotebox"><blockquote><div><p>USING WITH xkbcomp<br />If you have an Xserver and a client shell running on different<br />computers and some XKB configuration files on those machines are<br />different, you can get problems specifying a keyboard map by model,<br />layout, and options names. …</p><p>For example, the command …</p><p>&#160; &#160; &#160; <strong>setxkbmap <ins>us</ins> -print | xkbcomp - $DISPLAY</strong></p><p>makes both steps run on the same (client) machine and loads a keyboard<br />map into the server.</p></div></blockquote></div><p>Note the &quot;us&quot; difference to an example setting with <ins>de_DE.UTF-8:</ins></p><div class="codebox"><pre><code>$ setxkbmap -print
xkb_keymap {
	xkb_keycodes  { include &quot;evdev+aliases(qwertz)&quot;	};
	xkb_types     { include &quot;complete&quot;	};
	xkb_compat    { include &quot;complete&quot;	};
	xkb_symbols   { include &quot;pc+de(nodeadkeys)+inet(evdev)&quot;	};
	xkb_geometry  { include &quot;pc(pc105)&quot;	};
};</code></pre></div><p>Using the command</p><div class="codebox"><pre><code>setxkbmap de nodeadkeys -print | xkbcomp - $DISPLAY</code></pre></div><p>should provide a german keyboard (with no deadkeys) to the server.</p>]]></description>
			<author><![CDATA[dummy@example.com (guuml.dev1)]]></author>
			<pubDate>Tue, 07 Feb 2023 23:23:09 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=40958#p40958</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to set keyboard layout in a remote X session?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=40030#p40030</link>
			<description><![CDATA[<p>Update:<br />The original post was not very precise: <span class="bbc">xrdp</span> is the problem.<br />And I found a somewhat dirty hack to fix the keyboard layout.</p><p>The loaded keymap is:</p><div class="codebox"><pre><code>sudo cat /var/log/xrdp.log | grep km-000 | tail -1
[20230106-12:31:06] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini</code></pre></div><p>Which is &quot;us&quot;. &quot;de&quot; is &quot;km-00000407.ini&quot;. <br />Backup and copy:</p><div class="codebox"><pre><code>sudo gzip /etc/xrdp/km-00000409.ini
sudo cp /etc/xrdp/km-00000407.ini /etc/xrdp/km-00000409.ini</code></pre></div><p>After logging in, it is still a &quot;us&quot; keymap, but switching to &quot;de&quot; now works</p><div class="codebox"><pre><code>setxkbmap de</code></pre></div><p>Would prefer a cleaner solution, but at least it works by now.</p><p>Edit: Will mark it as solved. And look for another remote X session solution.</p>]]></description>
			<author><![CDATA[dummy@example.com (delgado)]]></author>
			<pubDate>Fri, 06 Jan 2023 12:14:08 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=40030#p40030</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] How to set keyboard layout in a remote X session?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=38901#p38901</link>
			<description><![CDATA[<p>Hi,</p><p>when I&#039;m at home, having a wire guard vpn connection to the company, via remote-desktop to xrdp (virtual session, not screen mirror): The keyboard layout switches to &#039;en_US&#039;.</p><p>The reason is unknown, this does not happen when the connection comes form a local machine. Anyway.</p><p>I used to have a German keyboard, anything else is English / en_GB. <br />To switch back to the layout:</p><div class="codebox"><pre><code>$ setxkbmap -layout &quot;de&quot; -nodeadkeys   # same with or without &#039;nodeadkeys&#039;</code></pre></div><p>This works not 100%. The [Altgr] key stays dead, which means none of {[]}\| .</p><p>What am I missing? Or<br />How to get the [Altgr] key working?</p><p>Thanks and regards.</p>]]></description>
			<author><![CDATA[dummy@example.com (delgado)]]></author>
			<pubDate>Wed, 23 Nov 2022 11:56:07 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=38901#p38901</guid>
		</item>
	</channel>
</rss>
