#ydotool

I'm looking into some #automation on #ubuntu #gnome desktop. I figured I'd be able to do everything using #dbus.
It works great for media control but not so much for virtual desktop / window management. I can use #wmctrl to nativate between virtual desktops but window management doesn't work on #wayland. Then there is #ydotool which also doesn't seem to work well.

Now I can
- Control media via dbus
- Switch workspaces via wmctrl

But I feel there has to be a better way?

#csharp

2025-02-15

@TicklishHoneyBee Right! After much mucking about I managed to get ydotool working.

The package from the ubuntu mirrors was very old, so I installed it from the binaries on github. Added a systemd service to run ydotoold as my user, and set wrote the following script:

!/bin/bash
export YDOTOOL_SOCKET=/tmp/.ydotool_socket
# Release ctrl and alt
#ydotool key 56:0 29:0
sleep 0.2
ydotool type $(date --iso-8601)

The keyups turned out to be unnecessary. The delay is, unfortunately.

Soblow Xaselgio :dragn_heart:Soblow@eldritch.cafe
2025-01-29

Okay, time to summon DuckDuckFedi.

I have a program that is running on my sway session (so, Wayland, more precisely XWayland).
I use ydotool to run some keystrokes.
Everything works fine as-is, but it means that I can't use the computer for anything else as the keystrokes are sent to the active window.

Do you know if there is a way to create a kind of "virtual keyboard/input device" attached to said application which I could use for the keystrokes? Some kind of containers or something?

Thank you for your ideas! Boosts appreciated! :dragn_heart:

#wayland #swaywm #xwayland #ydotool

2023-09-27

Quand vous faites des sites web, merci de ne pas empêcher de copier/coller les mots de passes dans vos formulaires.

Parce que au lieu d'augmenter la sécurité, ça oblige à se passer des gestionnaires de mots de passes, et donc à utiliser des mots de passes plus faibles.

Le vol et les fuites de mots de passes, c'est plus souvent via un keylogger. Ou bien par des mots de passes faibles.

Je fais comment pour écrire : qw#Hqé9Ùy.8?dCW)-={z;!e*Âd$E ? ➡️ xdotools

#securité #web #xdotool #ydotool

2023-09-05

Any #sway users that have set up a bindsym that prints an emoji? (Ideally without using the clipboard)

My first approach has been #dotool sr.ht/~geb/dotool/

It looked promising first, since printing characters works fine. however it has problems printing emoji. I haven't had time to investigate further.

I am just wondering if a different tool would be better suited.

Has anyone used #ydotool (github.com/ReimuNotMoe/ydotool) to print emoji?

(no #xdotool since this is #wayland territory 😛 )

2023-02-16

Searched a lot for a terminal scrollback buffer capturing tool. I.e. to extract file locations or URLs. Never found a satisfactory solution.
Therefore today I developed an alpha version based on a interesting concept depending on #alacrity and #ydotool.
Alternative suggestions more than welcome!
codeberg.org/oxo/tool/src/bran
#linux #bash #script

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst