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

Autotype / virtual keypress not working #7079

Closed
Tracked by #4367
ramon-flashtec opened this issue Feb 7, 2024 · 2 comments
Closed
Tracked by #4367

Autotype / virtual keypress not working #7079

ramon-flashtec opened this issue Feb 7, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ramon-flashtec
Copy link

Bug Description

When using typing functions like Auto-type in KeePass or AutoKey, the virtual keypresses are not working. I tried KeePass XC (Linux & Windows) and also Autokey on Linux with every keyboard mode of RustDesk and both directions.

How to Reproduce

Install KeePass, create a Password and use Autotyping Feature into the RustDesk Window.

Expected Behavior

RustDesk should accept the virtual keypresses.

Operating system(s) on local side and remote side

Ubuntu 22.04 ,18.04 > Windows 10, 11, Server 2019 / Windows 10, 11 > Windows 10, 11, Server 2019

RustDesk Version(s) on local side and remote side

1.2.3 > 1.2.3

Screenshots

windows-11-pro-screen0.webm

Additional Context

No response

@ramon-flashtec ramon-flashtec added the bug Something isn't working label Feb 7, 2024
@rustdesk
Copy link
Owner

rustdesk commented Feb 8, 2024

tracked by #4367

@rustdesk rustdesk closed this as completed Feb 8, 2024
@ramon-flashtec
Copy link
Author

ramon-flashtec commented Feb 8, 2024

I figured out a workaround for AutoKey (linux only) to type the clipboard (e.g. a password for login-mask)..

install xdotool package

Setup the following script in AutoKey and set a keyboard hotkey (e.g. F12):

def type_slow(text):
  command = "xdotool type --delay 300 '" + text + "'"
  system.exec_command(command, getOutput=False)

text = clipboard.get_clipboard()
time.sleep(0.2)

type_slow(text)

clipboard.fill_clipboard("")

copy your password switch to RustDesk and press your hotkey (F12)

maybe that helps someone :o)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants