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.
20 Replies
Terrorwolf
Terrorwolf5w ago
Notes from #general : debian kde plasma Wayland @foilman Is anything in the logs? Either OpenDeck or Plugin?
foilman
foilmanOP5w 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
foilmanOP5w 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
Terrorwolf5w ago
@foilman Could you check if you have libei installed? thats fall back since it always checks in a certain way.
foilman
foilmanOP5w 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
Terrorwolf5w ago
You sure you are on Wayland and not X11? Just want to make sure.
foilman
foilmanOP5w ago
zerocool@debian:~$ echo $XDG_SESSION_TYPE
wayland
zerocool@debian:~$
zerocool@debian:~$ echo $XDG_SESSION_TYPE
wayland
zerocool@debian:~$
foilman
foilmanOP5w ago
No description
foilman
foilmanOP5w ago
still no cigar @Terrorwolf ok it works now but now its doubling inputs very strange
nekename
nekename5w ago
FYI, apt list prints all available packages, you need apt list --installed to get the installed ones only
foilman
foilmanOP4w 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
Terrorwolf4w ago
@foilman you you try to install libei1? (As long as it doesn't conflict with libeis1)
nekename
nekename2w 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
foilmanOP2w ago
i copied from the supplied example
nekename
nekename2w 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
foilmanOP2w ago
ah so im stupid lol sorry probs
nekename
nekename2w 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
Hosaki2d ago
Is there a way to force wayland or x11? Most of my use case for my streamdeck is input simulation with text.

Did you find this page helpful?