Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meta key alone does not start launcher in KDE #2859

Closed
miklcct opened this issue Nov 18, 2023 · 7 comments
Closed

meta key alone does not start launcher in KDE #2859

miklcct opened this issue Nov 18, 2023 · 7 comments
Labels

Comments

@miklcct
Copy link

miklcct commented Nov 18, 2023

xrdp version

0.9.21.1

Detailed xrdp version, build options

xrdp 0.9.21.1
  A Remote Desktop Protocol Server.
  Copyright (C) 2004-2020 Jay Sorg, Neutrino Labs, and all contributors.
  See https://github.com/neutrinolabs/xrdp for more information.

  Configure options:
      --enable-ipv6
      --enable-jpeg
      --enable-fuse
      --enable-rfxcodec
      --enable-opus
      --enable-painter
      --enable-vsock
      --build=x86_64-linux-gnu
      --prefix=/usr
      --includedir=${prefix}/include
      --mandir=${prefix}/share/man
      --infodir=${prefix}/share/info
      --sysconfdir=/etc
      --localstatedir=/var
      --disable-silent-rules
      --libdir=${prefix}/lib/x86_64-linux-gnu
      --libexecdir=${prefix}/lib/x86_64-linux-gnu
      --disable-maintainer-mode
      --disable-dependency-tracking
      --with-socketdir=/run/xrdp/sockdir
      build_alias=x86_64-linux-gnu
      CFLAGS=-g -O2 -ffile-prefix-map=/build/xrdp-QTF2mN/xrdp-0.9.21.1=. -fstack-protector-strong -Wformat -Werror=format-security
      LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed
      CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2
      PKG_CONFIG_PATH=/build/xrdp-QTF2mN/xrdp-0.9.21.1/pkgconfig

  Compiled with OpenSSL 3.0.11 19 Sep 2023

Operating system & version

Debian 12

Installation method

dnf / apt / zypper / pkg / etc

Which backend do you use?

xorgxrdp

What desktop environment do you use?

KDE

Environment xrdp running on

VPS on SSD Nodes

What's your client?

mstsc.exe on Windows 11

Area(s) with issue?

Keyboard / Mouse

Steps to reproduce

  1. Configure KDE Plasma session (plasma version >= 5.8) such that it has an application launcher, with a global shortcut assigned.
  2. Sign in on the physical machine and start the Plasma session. Press the meta key on the keyboard. It should start the application launcher.
  3. Sign out the session on the physical machine.
  4. Configure the RDP client to handle special keys on the remote machine. Sign in through RDP to the Xrdp server on the same machine, and start the same Plasma session.
  5. Attempt to press the meta key to start the application launcher.

✔️ Expected Behavior

The application launcher shows, in the same way as signing in through the physical console.

❌ Actual Behavior

Nothing happens.

Anything else?

The meta key registers as part of a hotkey combination normally in shortcut settings.

@miklcct miklcct added the bug label Nov 18, 2023
@matt335672
Copy link
Member

Hi @miklcct

By the 'meta key' I assume you mean the Windows key?

First thing to check is the client settings 'Apply Windows key combinations':-

image

I think the default is 'Only when using the full screen'.

If that's not it, run xev in the session and see what kind of key events you're getting from the key.

@miklcct
Copy link
Author

miklcct commented Nov 20, 2023 via email

@remcoros
Copy link

remcoros commented Dec 5, 2023

Same issue here (on Kubuntu). Using correct RDP settings in windows and I'm fullscreen (ALT+Tab works!)

When login locally, xev gives keycode "133" for the meta key
When login using xrdp, xev gives keycode "115".

When setting the "Activate Application Launcher Widget" shortcut, it does allow me to set the "Meta" key. But it shows gibberish.

This is in ~/.config/kglobalshortcutsrc when adding the meta key as an additional shortcut (logged in using xrdp):

activate widget 3=ៀ?\tAlt+F1,none,Activate Application Launcher Widget

Maybe this info helps

edit: I did not touch any xrdp keyboard remaps and I'm using a default us keyboard

@matt335672
Copy link
Member

This should be fixed by #3138

@andreapx
Copy link

This should be fixed by #3138

@matt335672 I still have this problem. I've just installed the latest version of Debian and when i connect with RDP the Windows Key doesn't do anything

@matt335672
Copy link
Member

#3138 is merged into devel, not into xrdp 0.9.x or 0.10.x.

@andreapx
Copy link

#3138 is merged into devel, not into xrdp 0.9.x or 0.10.x.

Ops, sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants