Anybody knowing a tool which simulates the keyboard typing ?
It is for using WKDocker in a script.
see
Thanks
Anybody knowing a tool which simulates the keyboard typing ?
It is for using WKDocker in a script.
see
Thanks
What exactly do you want to use it for? AFAICT the only keyboard input would be the dockerPickWindow global shortcut and it could be invoked via D-Bus.
According to WKDocker doc :
Windows are docked using a KWin HotKey (by default Meta+Shift+P).
Press Meta+Shift+P and the window that is currently active should be docked.
I want the ability to write a statement in a script according to dock a window.
This statement must send keyboard typing Meta+Shift+P.
I found input-emulator app.
But it is a buggy one. I sent a bug report and a question to know if this app can send
Meta+Shift+P
In parallel, I sent a request to wkdocker team if there is some dbus command for sending Meta+Shift+P.
busctl --user call org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component invokeShortcut s dockerPickWindow
Thanks
but can you explain this ?
What shortcut I must create ?
You do not need to create anything, it is created by your program (WKDocker). I have no idea whether it offers any configuration options to change hot keys (which is implied by the “by default”), it appears to be hardcoded in the program.
OK
I found in source code in main.js, at the end. Thus I understand.
registerShortcut("dockerPickWindow", "dockerPickWindow", "Meta+Shift+P", pickWindow);
registerShortcut("dockerCommandAvailable", "dockerCommandAvailable", "", dockerCommandAvailable)
I am going to test your dbus command
Thanks
Thank you very, very much.
The dbus command works well.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.