#Linux / #KDE Maus Position und Wayland
-
#Linux / #KDE Maus Position und Wayland
Ich möchte x/y in einem Bashscript benutzen. Kann die Koordinaten sehen:
Kwin debug konsole -> Eingabeergebnisse -> Globale Position
Aber ich finde die x/y Parameter nicht im D-bus und nirgendwo. 2 angesetzte LLMs und Stackoverfkow finden auch nichts was funktioniert.
xdotool funktioniert nicht mit Wayland -
#Linux / #KDE Maus Position und Wayland
Ich möchte x/y in einem Bashscript benutzen. Kann die Koordinaten sehen:
Kwin debug konsole -> Eingabeergebnisse -> Globale Position
Aber ich finde die x/y Parameter nicht im D-bus und nirgendwo. 2 angesetzte LLMs und Stackoverfkow finden auch nichts was funktioniert.
xdotool funktioniert nicht mit Wayland@dewomser Es gibt ydotool, wdotool und wtype, vielleicht hilft eines davon. Sollen alles eine Alternative zu xdotool sein.
GitHub - ReimuNotMoe/ydotool: Generic command-line automation tool
Generic command-line automation tool. Contribute to ReimuNotMoe/ydotool development by creating an account on GitHub.
GitHub (github.com)
GitHub - Net-Mist/wdotool: xdotool for wayland in python
xdotool for wayland in python. Contribute to Net-Mist/wdotool development by creating an account on GitHub.
GitHub (github.com)
GitHub - atx/wtype: xdotool type for wayland
xdotool type for wayland. Contribute to atx/wtype development by creating an account on GitHub.
GitHub (github.com)
Ich hatte auch irgendwas genutzt um auf Wayland etwas in die Zwischenablage via Bash Script zu schieben, schaue nachher mal was das war (ich glaube ydotool).
-
@dewomser Es gibt ydotool, wdotool und wtype, vielleicht hilft eines davon. Sollen alles eine Alternative zu xdotool sein.
GitHub - ReimuNotMoe/ydotool: Generic command-line automation tool
Generic command-line automation tool. Contribute to ReimuNotMoe/ydotool development by creating an account on GitHub.
GitHub (github.com)
GitHub - Net-Mist/wdotool: xdotool for wayland in python
xdotool for wayland in python. Contribute to Net-Mist/wdotool development by creating an account on GitHub.
GitHub (github.com)
GitHub - atx/wtype: xdotool type for wayland
xdotool type for wayland. Contribute to atx/wtype development by creating an account on GitHub.
GitHub (github.com)
Ich hatte auch irgendwas genutzt um auf Wayland etwas in die Zwischenablage via Bash Script zu schieben, schaue nachher mal was das war (ich glaube ydotool).
Danke für die Antwort
Mittlerweile gibts 2 Workarounds
xev > nauspos.txt schreibt die Daten bei jedem Mausklick in eine Datei root:x,yxev funktioniert weil ich Xwayland installiert habe (wahrscheinlich)
und crossmacro schreibt die coords auch in eine Datei.
-
R relay@relay.mycrowd.ca shared this topicR relay@relay.an.exchange shared this topic