Right Windows Key

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Right Windows Key

Postby frabato » Feb 27th, '19, 02:50

Hi,

I'm new to mageia and I'm having trouble using my right windows key for shortcuts with XFCE. Any clues that might help?

Thanks
frabato
 
Posts: 3
Joined: Feb 27th, '19, 02:47

Re: Right Windows Key

Postby doktor5000 » Feb 27th, '19, 20:04

Hi, you may want to add some context information what "having trouble" means in particular.
Is it not recognised at all for shortcuts? What about the left windows key? What application do you use to set up those shortcuts?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Right Windows Key

Postby frabato » Feb 28th, '19, 05:14

Thanks for your response, to be more specific, I have used the right windows key + the F keys for shortcuts to often used programs. This still works on debian, ubuntu, arch linux, fedora and others. On Mageia the left windows key still works for this but the right key does not. This is the same on pclinuxos and openmandriva. Is there a way for me to regain this functionality. I've been using these key combinations for 15 years so they are deeply ingrained.

Thanks
frabato
 
Posts: 3
Joined: Feb 27th, '19, 02:47

Re: Right Windows Key

Postby doktor5000 » Feb 28th, '19, 13:00

Can you please run xev (you might have to install that) in a terminal and in that small window that appears, press the right windows key and release it, then post the whole output from xev here.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Right Windows Key

Postby frabato » Feb 28th, '19, 23:09

Here it is:
Code: Select all
[a@localhost ~]$ xev
Outer window is 0x4800001, inner window is 0x4800002

PropertyNotify event, serial 8, synthetic NO, window 0x4800001,
    atom 0x27 (WM_NAME), time 89276721, state PropertyNewValue

PropertyNotify event, serial 9, synthetic NO, window 0x4800001,
    atom 0x22 (WM_COMMAND), time 89276721, state PropertyNewValue

PropertyNotify event, serial 10, synthetic NO, window 0x4800001,
    atom 0x28 (WM_NORMAL_HINTS), time 89276721, state PropertyNewValue

CreateNotify event, serial 11, synthetic NO, window 0x4800001,
    parent 0x4800001, window 0x4800002, (10,10), width 50, height 50
border_width 4, override NO

PropertyNotify event, serial 14, synthetic NO, window 0x4800001,
    atom 0x139 (WM_PROTOCOLS), time 89276721, state PropertyNewValue

MapNotify event, serial 15, synthetic NO, window 0x4800001,
    event 0x4800001, window 0x4800002, override NO

PropertyNotify event, serial 22, synthetic NO, window 0x4800001,
    atom 0x147 (_NET_WM_STATE), time 89276722, state PropertyNewValue

PropertyNotify event, serial 22, synthetic NO, window 0x4800001,
    atom 0x154 (_NET_WM_DESKTOP), time 89276722, state PropertyNewValue

ConfigureNotify event, serial 22, synthetic NO, window 0x4800001,
    event 0x4800001, window 0x4800001, (0,0), width 178, height 178,
    border_width 0, above 0x4600009, override NO

ReparentNotify event, serial 22, synthetic NO, window 0x4800001,
    event 0x4800001, window 0x4800001, parent 0x145fc87,
    (2,30), override NO

ConfigureNotify event, serial 22, synthetic NO, window 0x4800001,
    event 0x4800001, window 0x4800001, (2,30), width 178, height 178,
    border_width 0, above 0x145fc96, override NO

ConfigureNotify event, serial 22, synthetic YES, window 0x4800001,
    event 0x4800001, window 0x4800001, (871,447), width 178, height 178,
    border_width 0, above 0x0, override NO

MapNotify event, serial 22, synthetic NO, window 0x4800001,
    event 0x4800001, window 0x4800001, override NO

VisibilityNotify event, serial 22, synthetic NO, window 0x4800001,
    state VisibilityUnobscured

Expose event, serial 22, synthetic NO, window 0x4800001,
    (0,0), width 178, height 10, count 3

Expose event, serial 22, synthetic NO, window 0x4800001,
    (0,10), width 10, height 58, count 2

Expose event, serial 22, synthetic NO, window 0x4800001,
    (68,10), width 110, height 58, count 1

Expose event, serial 22, synthetic NO, window 0x4800001,
    (0,68), width 178, height 110, count 0

PropertyNotify event, serial 22, synthetic NO, window 0x4800001,
    atom 0x137 (WM_STATE), time 89276723, state PropertyNewValue

PropertyNotify event, serial 22, synthetic NO, window 0x4800001,
    atom 0x15c (_NET_WM_ALLOWED_ACTIONS), time 89276723, state PropertyNewValue

PropertyNotify event, serial 22, synthetic NO, window 0x4800001,
    atom 0x147 (_NET_WM_STATE), time 89276723, state PropertyNewValue

FocusIn event, serial 22, synthetic NO, window 0x4800001,
    mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 22, synthetic NO, window 0x0,
    keys:  4294967186 0   0   0   16  0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

PropertyNotify event, serial 22, synthetic NO, window 0x4800001,
    atom 0x185 (_NET_FRAME_EXTENTS), time 89276723, state PropertyNewValue

PropertyNotify event, serial 22, synthetic NO, window 0x4800001,
    atom 0x147 (_NET_WM_STATE), time 89276723, state PropertyNewValue

ColormapNotify event, serial 29, synthetic NO, window 0x4800001,
    colormap 0x20, new NO, state ColormapInstalled

PropertyNotify event, serial 29, synthetic NO, window 0x4800001,
    atom 0x147 (_NET_WM_STATE), time 89276724, state PropertyNewValue

PropertyNotify event, serial 33, synthetic NO, window 0x4800001,
    atom 0x1ca (_NET_WM_ICON_GEOMETRY), time 89276731, state PropertyNewValue

KeyRelease event, serial 34, synthetic NO, window 0x4800001,
    root 0x1e5, subw 0x0, time 89276817, (-257,-117), root:(614,330),
    state 0x10, keycode 36 (keysym 0xff0d, Return), same_screen YES,
"   XLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x4800001,
    root 0x1e5, subw 0x0, time 89280597, (-257,-117), root:(614,330),
    state 0x10, keycode 134 (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 0x4800001,
    root 0x1e5, subw 0x0, time 89280714, (-257,-117), root:(614,330),
    state 0x10, keycode 134 (keysym 0xff20, Multi_key), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

FocusOut event, serial 37, synthetic NO, window 0x4800001,
    mode NotifyNormal, detail NotifyNonlinear

PropertyNotify event, serial 37, synthetic NO, window 0x4800001,
    atom 0x147 (_NET_WM_STATE), time 89286964, state PropertyNewValue



Thanks
Last edited by doktor5000 on Mar 1st, '19, 02:24, edited 1 time in total.
Reason: changed quote to code tags
frabato
 
Posts: 3
Joined: Feb 27th, '19, 02:47

Re: Right Windows Key

Postby doktor5000 » Mar 1st, '19, 02:46

frabato wrote:KeyRelease event, serial 34, synthetic NO, window 0x4800001,
root 0x1e5, subw 0x0, time 89276817, (-257,-117), root:(614,330),
state 0x10, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x4800001,
root 0x1e5, subw 0x0, time 89280597, (-257,-117), root:(614,330),
state 0x10, keycode 134 (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 0x4800001,
root 0x1e5, subw 0x0, time 89280714, (-257,-117), root:(614,330),
state 0x10, keycode 134 (keysym 0xff20, Multi_key), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False


Ok, so you first have only a keyrelease event, but that might be from just clicking into the window or so - it is the keycode for the return or enter key.

Then you have the usual duo of keypress and keyrelease event for your right windows key. But the interesting thing is the underlined part, which might be part of your issue - XFilterEvent returns: True
https://www.x.org/releases/X11R7.5/doc/ ... ent.3.html
Although I'm not sure whether this is due to the windows key being one of the meta keys, which usually only go together with another key, same as e.g. shift, alt and alt gr and such. You can test out with some of the other meta keys in xev, if they behave the same, just forget what I mentioned.

I'm not sure whether this behavior is due to some special treatment that was only added for the left windows key (many keyboards only have one windows key, the left one) to make it function standalone, or if there's something specific to XFCE here,
or if it's simply about the keyboard layout variant for your language.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron