Input Simulation refuses to work on Debian
I have tried , and various other command, nothing seems to work.
24 Replies
Notes from #general :
debian kde plasma
Wayland
@foilman Is anything in the logs? Either OpenDeck or Plugin?
from opendeck.log
from com.amansprojects.starterpack.sdPlugin.log
12:13:23 [DEBUG] (19) enigo::platform: [93mtrying to establish a x11 connection to $DISPLAY[0m
wtf?
@foilman Could you check if you have libei installed?
thats fall back since it always checks in a certain way.
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:~$
You sure you are on Wayland and not X11? Just want to make sure.

still no cigar
Solution
@Terrorwolf ok it works now but now its doubling inputs
very strange
FYI, apt list prints all available packages, you need
apt list --installed to get the installed ones onlyOhhhh thanks
@foilman you you try to install libei1? (As long as it doesn't conflict with libeis1)
to be honest @foilman I think you just entered the command wrong
you said:
,
but it should be:
,
you left out the closing square bracket on the first one, and the square brackets entirely on the second one
i copied from the supplied example
that made these errors:
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 commandah so im stupid lol
sorry
probs
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 commandsIs there a way to force wayland or x11? Most of my use case for my streamdeck is input simulation with text.
@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?
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.