<?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=3322&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / i3 window manager: mod4 (win key) doesn't work]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3322</link>
		<description><![CDATA[The most recent posts in i3 window manager: mod4 (win key) doesn't work.]]></description>
		<lastBuildDate>Wed, 19 Feb 2020 08:02:11 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: i3 window manager: mod4 (win key) doesn't work]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20128#p20128</link>
			<description><![CDATA[<p>I dont know much about i3 but below command should swap your meta key from left Alt to left Super or Win key. If you want this behaviour and it works you need to put it in your autostart file so it saves the configuration over reboots and logouts etc. </p><div class="codebox"><pre><code>setxkbmap -option altwin:swap_alt_win</code></pre></div><p>The below command will unset above command and set your keybinds back to what they were originally.</p><div class="codebox"><pre><code>setxkbmap -option</code></pre></div><p>If you are using xfce4 and the i3 window manager together and not using xfwm then you need to figure out why i3wm is not taking the settings.</p><p>what are your configurations,</p><p>1. xfce4 - i3wm session <br />2. xfce4 - xfwm session<br />3.standalone i3 session no desktop</p>]]></description>
			<author><![CDATA[dummy@example.com (HevyDevy)]]></author>
			<pubDate>Wed, 19 Feb 2020 08:02:11 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20128#p20128</guid>
		</item>
		<item>
			<title><![CDATA[Re: i3 window manager: mod4 (win key) doesn't work]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20125#p20125</link>
			<description><![CDATA[<div class="codebox"><pre><code>~$ setxkbmap -option altwin:swap_alt_win</code></pre></div><p>give me no output, xev give me the same output when I press the win key and mod+keybind in i3 doesn&#039;t work</p><p>but...</p><p><a href="https://ibb.co/HVfrzPs" rel="nofollow"><span class="postimg"><img src="https://i.ibb.co/HVfrzPs/Screenshot-2020-02-18-16-00-39.png" alt="Screenshot-2020-02-18-16-00-39.png" /></span></a></p><p>In xfce now i can set the shortcuts super+anyletter as I wish.</p><p>I also gave</p><div class="codebox"><pre><code>~$ setxkbmap -option</code></pre></div><p>and the win key still work with combos</p><p>EDIT</p><p>Seems that </p><div class="codebox"><pre><code>~$ setxkbmap -option altwin:swap_alt_win</code></pre></div><p>works only if also give after</p><div class="codebox"><pre><code>~$ setxkbmap -option</code></pre></div><p>If I logout the xfce session and I log in after, I have to give again both commands to make the combos with the win key working. I will try later with i3 but I have to find a way to run the terminal in a session with Mod4 binding key with Mod4 not working!</p>]]></description>
			<author><![CDATA[dummy@example.com (stecco)]]></author>
			<pubDate>Tue, 18 Feb 2020 15:14:48 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20125#p20125</guid>
		</item>
		<item>
			<title><![CDATA[Re: i3 window manager: mod4 (win key) doesn't work]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20122#p20122</link>
			<description><![CDATA[<p>sorry i should have read your opening post better, looks like you have looked into xmodmap. I think i meant to say setxkbmap</p><p>what does doing this command give you?</p><div class="codebox"><pre><code>setxkbmap -option altwin:swap_alt_win</code></pre></div><p>if this works for you, put it in your autostart file.</p><p>to restore the default behaviour do...</p><div class="codebox"><pre><code>setxkbmap -option</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (HevyDevy)]]></author>
			<pubDate>Tue, 18 Feb 2020 09:27:10 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20122#p20122</guid>
		</item>
		<item>
			<title><![CDATA[Re: i3 window manager: mod4 (win key) doesn't work]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20117#p20117</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>Perhaps the key is sticking. Can you test with a different keyboard? Or perhaps try a live session to eliminate mis-configuration.</p></div></blockquote></div><p>I tried to <strong>xev</strong> on a devuan live&#160; session from the iso, this is the output:</p><div class="codebox"><pre><code>KeyPress event, serial 37, synthetic NO, window 0x2c00001,
    root 0xeb, subw 0x0, time 46783, (144,366), root:(1655,1178),
    state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x2c00001,
    root 0xeb, subw 0x0, time 46852, (144,366), root:(1655,1178),
    state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False</code></pre></div><p>the win key here is&#160; <strong>Super_L</strong> not <strong>Multi_key</strong></p><p>I also tried a Manjaro i3 live session and the keybindings with the win key worked perfectly. Command <strong>xev</strong> didn&#039;t worked, the package wasn&#039;t installed.</p><p>@HevyDevy I read the manpage, could be this the section that i have to look?</p><div class="codebox"><pre><code>Many applications support the notion of Meta keys (similar to Control keys except that Meta is held down instead of Control). However, some servers do not have a Meta keysym in the default keymap table, so one needs to be added by hand. The following command will attach Meta to the Multi-language key (sometimes labeled Compose Character). It also takes advantage of the fact that applications that need a Meta key simply need to get the keycode and don&#039;t require the keysym to be in the first column of the keymap table. This means that applications that are looking for a Multi_key (including the default modifier map) won&#039;t notice any change.

%  xmodmap -e &quot;keysym Multi_key = Multi_key Meta_L&quot;</code></pre></div><p>Have I to remap my win key something like this?</p><div class="codebox"><pre><code>%  xmodmap -e &quot;keysym Multi_key = Super_L&quot;</code></pre></div><p>Forgive me if I made some sintax errors</p>]]></description>
			<author><![CDATA[dummy@example.com (stecco)]]></author>
			<pubDate>Mon, 17 Feb 2020 17:20:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20117#p20117</guid>
		</item>
		<item>
			<title><![CDATA[Re: i3 window manager: mod4 (win key) doesn't work]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20109#p20109</link>
			<description><![CDATA[<p>Look into using xmodmap</p><p><a href="https://manpages.debian.org/buster/x11-xserver-utils/xmodmap.1.en.html" rel="nofollow">https://manpages.debian.org/buster/x11- … .1.en.html</a></p>]]></description>
			<author><![CDATA[dummy@example.com (HevyDevy)]]></author>
			<pubDate>Mon, 17 Feb 2020 14:52:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20109#p20109</guid>
		</item>
		<item>
			<title><![CDATA[Re: i3 window manager: mod4 (win key) doesn't work]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20107#p20107</link>
			<description><![CDATA[<p>Perhaps the key is sticking. Can you test with a different keyboard? Or perhaps try a live session to eliminate mis-configuration.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Mon, 17 Feb 2020 14:19:41 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20107#p20107</guid>
		</item>
		<item>
			<title><![CDATA[Re: i3 window manager: mod4 (win key) doesn't work]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20106#p20106</link>
			<description><![CDATA[<p>I am now in the xfce session and I&#039;m trying to set keyboard shortcuts for applications:</p><p><a href="https://ibb.co/vw33R9B" rel="nofollow"><span class="postimg"><img src="https://i.ibb.co/vw33R9B/Screenshot-2020-02-17-14-39-23.png" alt="Screenshot-2020-02-17-14-39-23.png" /></span></a></p><p>When I try to set xfce4-appfinder from alt+F3 to Super+F3 and I press the win key, xfce doesn&#039;t allow me to create a combination with the window key but I can create a shortcut just with the win key. Seems that the problem is that for some reason I can&#039;t create combinations with the &quot;Multi key&quot; (aka win key) key</p>]]></description>
			<author><![CDATA[dummy@example.com (stecco)]]></author>
			<pubDate>Mon, 17 Feb 2020 13:51:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20106#p20106</guid>
		</item>
		<item>
			<title><![CDATA[Re: i3 window manager: mod4 (win key) doesn't work]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20092#p20092</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>Did the wizard ask you which modifier to use? I just tried it myself and it asked me.</p></div></blockquote></div><p>Yes it did</p><div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>The relevant section in ~/.config/i3/config seems to be</p><div class="codebox"><pre><code>set $mod Mod4</code></pre></div><p>Do you have that?</p></div></blockquote></div><p>Yes I do.</p>]]></description>
			<author><![CDATA[dummy@example.com (stecco)]]></author>
			<pubDate>Sun, 16 Feb 2020 15:54:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20092#p20092</guid>
		</item>
		<item>
			<title><![CDATA[Re: i3 window manager: mod4 (win key) doesn't work]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20091#p20091</link>
			<description><![CDATA[<p>Did the wizard ask you which modifier to use? I just tried it myself and it asked me.</p><p>The relevant section in ~/.config/i3/config seems to be</p><div class="codebox"><pre><code>set $mod Mod4</code></pre></div><p>Do you have that?</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sun, 16 Feb 2020 15:12:23 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20091#p20091</guid>
		</item>
		<item>
			<title><![CDATA[Re: i3 window manager: mod4 (win key) doesn't work]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20089#p20089</link>
			<description><![CDATA[<p>Thank you Head_on_Stick for your help.</p><div class="codebox"><pre><code>~$ rm .config/i3/config</code></pre></div><div class="codebox"><pre><code>~$ i3-config-wizard 
[libi3] ../../i3-wm-4.13/libi3/font.c Using Pango font monospace, size 8
[libi3] ../../i3-wm-4.13/libi3/font.c X11 root window dictates 96.050420 DPI
[libi3] ../../i3-wm-4.13/libi3/font.c Using Pango font monospace, size 8
Keypress 36, state raw = 0
 (65293)
Modifier keycode for Mod1: 0x40
Modifier keycode for Mod1: 0xcd
Modifier keycode for Mod4: 0x86
Modifier keycode for Mod4: 0xce
Modifier keycode for Mod4: 0xcf
Keypress 36, state raw = 0
 (65293)
creating &quot;/home/stecco/.config/i3/config&quot;...</code></pre></div><p>But the win key is still not working.</p>]]></description>
			<author><![CDATA[dummy@example.com (stecco)]]></author>
			<pubDate>Sun, 16 Feb 2020 12:20:11 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20089#p20089</guid>
		</item>
		<item>
			<title><![CDATA[Re: i3 window manager: mod4 (win key) doesn't work]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20082#p20082</link>
			<description><![CDATA[<p>Try</p><div class="codebox"><pre><code>i3-config-wizard</code></pre></div><p>^ That should ask which modifier key to use as the default.</p><p>Remove your extant configuration file beforehand though to prevent conflicts. You can re-apply your options to ~/.config/i3/config afterwards.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sat, 15 Feb 2020 21:56:13 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20082#p20082</guid>
		</item>
		<item>
			<title><![CDATA[i3 window manager: mod4 (win key) doesn't work]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20074#p20074</link>
			<description><![CDATA[<p>mod1 (alt) instead works perfectly.</p><p>I tried to </p><div class="codebox"><pre><code>xev</code></pre></div><p> then I pressed the win key and this is the result:</p><div class="codebox"><pre><code>KeyPress event, serial 37, synthetic NO, window 0x2e00001,
    root 0xeb, subw 0x0, time 4162734, (-817,-155), root:(694,703),
    state 0x0, keycode 133 (keysym 0xff20, Multi_key), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: True

KeyRelease event, serial 37, synthetic NO, window 0x2e00001,
    root 0xeb, subw 0x0, time 4162817, (-817,-155), root:(694,703),
    state 0x0, keycode 133 (keysym 0xff20, Multi_key), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False</code></pre></div><p>then I did</p><div class="codebox"><pre><code>~$ xmodmap -e &quot;clear mod4&quot;</code></pre></div><div class="codebox"><pre><code>~$ xmodmap -e &quot;add Mod4 = Multi_key&quot;</code></pre></div><p>also, if I</p><div class="codebox"><pre><code>~$ xmodmap -pm|grep mod4
mod4        Super_R (0x86),  Super_L (0xce),  Hyper_L (0xcf)</code></pre></div><p>However, mod4 still doesn&#039;t work. Any suggest?</p>]]></description>
			<author><![CDATA[dummy@example.com (stecco)]]></author>
			<pubDate>Sat, 15 Feb 2020 18:13:10 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20074#p20074</guid>
		</item>
	</channel>
</rss>
