Input Simulation refuses to work on Debian

I have tried
[t("hello world!")
[t("hello world!")
,
k(uni('a'))
k(uni('a'))
and various other command, nothing seems to work.
Solution:
@Terrorwolf ok it works now but now its doubling inputs
Jump to solution
24 Replies
Terrorwolf
Terrorwolf4mo ago
Notes from #general : debian kde plasma Wayland @foilman Is anything in the logs? Either OpenDeck or Plugin?
foilman
foilmanOP4mo ago
[2025-09-05][12:12:44][opendeck::events][DEBUG] Registered plugin com.amansprojects.starterpack.sdPlugin
[2025-09-05][12:12:44][opendeck::events][DEBUG] Registered plugin com.amansprojects.starterpack.sdPlugin
from opendeck.log
foilman
foilmanOP4mo ago
foilman
foilmanOP4mo ago
from com.amansprojects.starterpack.sdPlugin.log 12:13:23 [DEBUG] (19) enigo::platform: [93mtrying to establish a x11 connection to $DISPLAY[0m wtf?
Terrorwolf
Terrorwolf4mo ago
@foilman Could you check if you have libei installed? thats fall back since it always checks in a certain way.
foilman
foilmanOP4mo ago
zerocool@debian:~$ apt list | grep libei WARNING: apt does not have a stable CLI interface. Use with caution in scripts. libei-dev/stable 1.3.901-1 amd64 libei-tests/stable 1.3.901-1 amd64 libei1/stable 1.3.901-1 amd64 libeigen-stl-containers-dev/stable 0.1.8-5 all libeigen3-dev/stable 3.4.0-5 all libeigen3-doc/stable 3.4.0-5 all libeigenbase-farrago-java/stable 0.9.0-3 all libeigenbase-resgen-java-doc/stable 1.3.0.13768-6 all libeigenbase-resgen-java/stable 1.3.0.13768-6 all libeina-bin/stable 1.28.1-1 amd64 libeina1t64/stable 1.28.1-1 amd64 libeinfo-dev/stable 0.56-1 amd64 libeinfo1/stable 0.56-1 amd64 libeio1/stable 1.28.1-1 amd64 libeis-dev/stable 1.3.901-1 amd64 libeis1/stable,now 1.3.901-1 amd64 [installed,automatic] libeiskaltdcpp-dev/stable 2.4.2-1.3 amd64 libeiskaltdcpp2.4t64/stable 2.4.2-1.3 amd64 zerocool@debian:~$
Terrorwolf
Terrorwolf4mo ago
You sure you are on Wayland and not X11? Just want to make sure.
foilman
foilmanOP4mo ago
zerocool@debian:~$ echo $XDG_SESSION_TYPE
wayland
zerocool@debian:~$
zerocool@debian:~$ echo $XDG_SESSION_TYPE
wayland
zerocool@debian:~$
foilman
foilmanOP4mo ago
No description
foilman
foilmanOP4mo ago
still no cigar
Solution
foilman
foilman4mo ago
@Terrorwolf ok it works now but now its doubling inputs
foilman
foilmanOP4mo ago
very strange
nekename
nekename4mo ago
FYI, apt list prints all available packages, you need apt list --installed to get the installed ones only
foilman
foilmanOP4mo ago
Ohhhh thanks
zerocool@debian:~$ apt list --installed | grep libei

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libeis1/stable,now 1.3.901-1 amd64 [installed,automatic]
zerocool@debian:~$
zerocool@debian:~$ apt list --installed | grep libei

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libeis1/stable,now 1.3.901-1 amd64 [installed,automatic]
zerocool@debian:~$
Terrorwolf
Terrorwolf4mo ago
@foilman you you try to install libei1? (As long as it doesn't conflict with libeis1)
nekename
nekename3mo ago
to be honest @foilman I think you just entered the command wrong you said:
[t("hello world!")
[t("hello world!")
,
k(uni('a'))
k(uni('a'))
but it should be:
[t("hello world!")]
[t("hello world!")]
,
[k(uni('a'))]
[k(uni('a'))]
you left out the closing square bracket on the first one, and the square brackets entirely on the second one
foilman
foilmanOP3mo ago
i copied from the supplied example
nekename
nekename3mo ago
that made these errors:
12:13:24 [ERROR] Failed to process inbound event: 1:19: Expected comma
12:13:25 [ERROR] Failed to process inbound event: 1:19: Expected comma
12:13:26 [ERROR] Failed to process inbound event: 1:19: Expected comma
12:13:26 [ERROR] Failed to process inbound event: 1:19: Expected comma
12:13:27 [ERROR] Failed to process inbound event: 1:19: Expected comma
12:14:06 [ERROR] Failed to process inbound event: 1:19: Expected comma
12:14:06 [ERROR] Failed to process inbound event: 1:19: Expected comma
12:14:06 [ERROR] Failed to process inbound event: 1:19: Expected comma
12:14:07 [ERROR] Failed to process inbound event: 1:19: Expected comma
12:14:07 [ERROR] Failed to process inbound event: 1:19: Expected comma
12:14:07 [ERROR] Failed to process inbound event: 1:19: Expected comma
12:13:24 [ERROR] Failed to process inbound event: 1:19: Expected comma
12:13:25 [ERROR] Failed to process inbound event: 1:19: Expected comma
12:13:26 [ERROR] Failed to process inbound event: 1:19: Expected comma
12:13:26 [ERROR] Failed to process inbound event: 1:19: Expected comma
12:13:27 [ERROR] Failed to process inbound event: 1:19: Expected comma
12:14:06 [ERROR] Failed to process inbound event: 1:19: Expected comma
12:14:06 [ERROR] Failed to process inbound event: 1:19: Expected comma
12:14:06 [ERROR] Failed to process inbound event: 1:19: Expected comma
12:14:07 [ERROR] Failed to process inbound event: 1:19: Expected comma
12:14:07 [ERROR] Failed to process inbound event: 1:19: Expected comma
12:14:07 [ERROR] Failed to process inbound event: 1:19: Expected comma
yes, but the supplied example works as a whole because it's a list of lots of commands, your whole list needs to be surrounded by [] always anyway u said this right? so you must have fixed the command
foilman
foilmanOP3mo ago
ah so im stupid lol sorry probs
nekename
nekename3mo ago
the doubling inputs is caused by a bug where it uses both wayland and x11 to input the thing if you do [k(uni('a'), p)], k(uni('a'), r)] instead of [k(uni('a'))] it shouldnt double it but i dont think u can do p/r for text commands, only key commands
Hosaki
Hosaki3mo ago
Is there a way to force wayland or x11? Most of my use case for my streamdeck is input simulation with text.
nekename
nekename3mo ago
@Hosaki @foilman I think maybe if you're on Xorg/X11 you can deny the prompt that appears and it should only enter the text once using X11, skipping libei?
Hosaki
Hosaki3mo ago
Thanks for the reply. Im running KDE, so mainly wayland here as far as I know. I just tried denying it, but that resulted in no output.

Did you find this page helpful?