[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: X11 disregards numpad options set by setxkbmap
From:       Sreyan Chakravarty <sreyan32 () gmail ! com>
Date:       2020-02-18 18:53:25
Message-ID: CAMaziXvUwf3yEcQY0jmD0HbKy5jRXWJL3Aa17v3ghD8E2=8P8Q () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


The culprit was Oracle VirtualBox. Nothing wrong with Linux. Just don't
expect Linux to behave completely normally when in a VM. This is one
example of a subtle issue.

On Tue, Feb 18, 2020 at 7:19 PM Sreyan Chakravarty <sreyan32@gmail.com>
wrote:

> I am having a hard time in i3 setting the numpad options to microsoft.
>
> So I am running these commands:
>
> > setxkbmap -option
>
> This is to delete the options set.
>
> Then I am running:
>
> > setxkbmap -option numpad:microsoft
>
> This actually runs successfully since the output of
>
> > setxkbmap -print -verbose 10
>
> is:
>
> Setting verbose level to 10
> locale is C
> Trying to load rules file ./rules/evdev...
> Trying to load rules file /usr/share/X11/xkb/rules/evdev...
> Success.
> Applied rules from evdev:
> rules:      evdev
> model:      pc105
> layout:     us
> options:    numpad:microsoft
> Trying to build keymap using the following components:
> keycodes:   evdev+aliases(qwerty)
> types:      complete+numpad(microsoft)
> compat:     complete
> symbols:    pc+us+inet(evdev)
> geometry:   pc(pc105)
> xkb_keymap {
> xkb_keycodes  { include "evdev+aliases(qwerty)" };
> xkb_types     { include "complete+numpad(microsoft)" };
> xkb_compat    { include "complete" };
> xkb_symbols   { include "pc+us+inet(evdev)" };
> xkb_geometry  { include "pc(pc105)" };
> };
>
> Yet when I Press Shift+KP_1 (NumLock ON) I get KP_1 and not KP_End.
>
> The changes seem to have no effect whatsoever.
>
> --
> Regards,
> Sreyan Chakravarty
>


-- 
Regards,
Sreyan Chakravarty

[Attachment #5 (text/html)]

<div dir="ltr">The culprit was Oracle VirtualBox. Nothing wrong with Linux. Just \
don&#39;t expect  Linux to behave completely normally when in a VM. This is one \
example of a subtle issue.</div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Tue, Feb 18, 2020 at 7:19 PM Sreyan Chakravarty &lt;<a \
href="mailto:sreyan32@gmail.com">sreyan32@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I \
am having a hard time in i3 setting the numpad options to \
microsoft.</div><div><br></div><div>So I am running these \
commands:</div><div><br></div><div>&gt; setxkbmap \
-option</div><div><br></div><div>This is to delete the options \
set.</div><div><br></div><div>Then I am running:</div><div><br></div><div>&gt; \
setxkbmap -option numpad:microsoft</div><div><br></div><div>This actually runs \
successfully since the output of <br></div><div><br></div><div>&gt; setxkbmap -print \
-verbose 10</div><div><br></div><div>is:</div><div><br></div><div>Setting verbose \
level to 10<br>locale is C<br>Trying to load rules file ./rules/evdev...<br>Trying to \
load rules file /usr/share/X11/xkb/rules/evdev...<br>Success.<br>Applied rules from \
evdev:<br>rules:         evdev<br>model:         pc105<br>layout:       \
us<br>options:      numpad:microsoft<br>Trying to build keymap using the following \
components:<br>keycodes:    evdev+aliases(qwerty)<br>types:         \
complete+numpad(microsoft)<br>compat:       complete<br>symbols:      \
pc+us+inet(evdev)<br>geometry:    pc(pc105)<br>xkb_keymap {<br>	xkb_keycodes   { \
include &quot;evdev+aliases(qwerty)&quot;	};<br>	xkb_types       { include \
&quot;complete+numpad(microsoft)&quot;	};<br>	xkb_compat      { include \
&quot;complete&quot;	};<br>	xkb_symbols    { include \
&quot;pc+us+inet(evdev)&quot;	};<br>	xkb_geometry   { include \
&quot;pc(pc105)&quot;	};<br>};</div><div><br></div><div>Yet when I Press Shift+KP_1 \
(NumLock ON) I get KP_1 and not KP_End.</div><div><br></div><div>The changes seem to \
have no effect whatsoever.<br></div><div><br>-- <br><div dir="ltr"><div \
dir="ltr">Regards,<div>Sreyan Chakravarty</div></div></div></div></div> \
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" \
class="gmail_signature"><div dir="ltr">Regards,<div>Sreyan \
Chakravarty</div></div></div>



_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic