home.social

#xdotool — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #xdotool, aggregated by home.social.

  1. On the #android part, this' what I've able to create so far, with #gemini .

    Today, I'll work on the "Compose" page. The logic part of the Desktop side (on #Windows ) is almost ready. However, the UI side is still in development.

    My main problem is actually on both the #linux window systems #wayland and #x11 .

    #xdotool does work but the mouse-clicks remains frozen.

    And on wayland, I'm not able to find a solution (for now).

  2. @g1smo I was able to set up #touchegg only to find out that scroll gesture was removed in v2 due to its bad UX 😭 There are workarounds with #xdotool which I'll try out when I find further motivation.

    Thanks for help.

  3. Send a play/pause event from the command line using 'xdotool key XF86AudioPlay'

    #xdotool #x11

  4. The videos embedded in www.funprogramming.org will be pointed at tubedu.org once they are all migrated.

    So far I'm at 62 out of 154.

    I didn't use the API but automated all the typing and clicking on the peertube instance using #bash and #xdotool :-)

  5. ydotool is an alternative to xdotool that works on both X11 and Wayland

    I’m still in the process of fully migrating to Wayland from X11 on Linux, as there are still a few niggly things that don’t work 100%. At least Wayland is now stable for me on Manjaro Plasma desktop. But one challenge was getting keystrokes and mous ...continues

    See gadgeteer.co.za/ydotool-is-an-

    #linux #opensource #technology #wayland #xdotool

  6. Автоматизация мартышкиного труда с помощью Xdotool и Ansible

    Всем привет! В этой небольшой статье я опишу простой способ, как можно автоматизировать 10 000+ ручных протыкиваний мышкой или клавиатурой на нескольких удаленных Linux-машинах (Xserver + SDDM). Допустим, есть в нашем распоряжении некоторый парк машин, на которых нужно проделать руками очень долгую и однотипную рутину, состоящую из примитивных действий с клавиатурой и мышкой. Задача облегчается наличием доступа по VNC, если машин хотя бы меньше 50 и клацать не так уж и много. А если нет?

    habr.com/ru/articles/826918/

    #автоматизация_рутины #ansible #xdotool #туториал

  7. @aral @gunstick No proper #xdotool replacement is the part that annoys me most about #wayland. I've heard that #wmctrl is somewhat usable, but even if it worked, it's not really a viabe replacement. There is something called #wlrctl that I've not looked much into yet. My first impression, just from the manpage, does not have me very eager to investigate further.
  8. #TIL

    I got around some pesky Firefox errors when I would run profiles as part of #LinuxMint’s webapp manager.

    Spoiler alert: #xdotool came in really handy!

    I wrote about it here, janusworx.com/blog/getting-aro

    #devops #scripting #linux #bash

  9. @imgel I wouldn't consider #e16 a DE (still count?); but using that, I prefer having a frame-only window decoration. I use a simple #xdotool line in my #conkyrc to display the currently focused window.

    ${exec 'xdotool getactivewindow getwindowname'}

    I've also used a combination of xdotool, randr, and eesh in the past to do tiling and arrangement.

  10. 💡 #TIL there's another effort going on to bring inglorious

    #AutoHotkey to 🐧 GNU/‬#Linux!
    (#X11, that is.)

    Meet #AHK_X11 🥳

    🌐 github.com/phil294/AHK_X11
    📖 phil294.github.io/AHK_X11

    ☝️ Caveat: It only supports legacy #AHK 1.1 syntax and does not aim for 100% feature parity/compatibility, but should enable you to use most of your #hotkeys and #hotstrings #crossplattform! (Sync on your own).

    #scripting #automation #DesktopAutomation #KeyboardWarriors #xdotool #gtk #AutoIt #AutoKey #AlternativeTo

  11. @bekopharm I don't wayland myself, but if it's a xwayland window, could #xdotool maybe make the magic happen?
  12. The xdotool command on Linux can automate just about any keystroke or mouse actions from the command line, or for shortcut keys

    I’m busy looking into xdotool to automate various actions on Linux with the Elgato Stream Deck (well because Elgato only provides apps for Windows and MacOS). There is a good Linux alternative app to work with the Stream Deck, but I do need to be able to exec ...continues

    See gadgeteer.co.za/the-xdotool-co

    #automation #linux #opensource #technology #xdotool

  13. I'm busy looking into xdotool to automate various actions on Linux with the Elgato Stream Deck (well because Elgato only provides apps for Windows and MacOS). There is a good Linux alternative app to work with the Stream Deck, but I do need to be able to execute some commands when I want to bring a specific window into focus from the background, and then to execute a key press shortcut. So an example may be to bring Brave Beta browser window into focus, then activate tab 3 and do a tab fresh.

    Another tip I worked out is instead of struggling to identify which window has which name exactly, you can also right-click on a window's title bar and choose to rename the window. When I restarted that application, it retained the window name.

    So, to bring Brave Beta browser into focus, activate tab 2 (CTRL-2), and then do a fresh (CTRL-R), I can just set this command string to a hot key on the Stream Deck: 'xdotool search --name 'Brave-Beta' windowactivate --sync key ctrl+2 ctrl+r'.

    You can still do this sort of thing without having any Stream Deck by just setting the same string to any Linux shortcut on the keyboard.

    Xdotool lets you simulate keyboard input and mouse activity, move and resize windows, etc. It does this using X11’s XTEST extension and other Xlib functions. With xdotool, you can search for windows and move, resize, hide, and modify window properties like the title. If your window manager supports it, you can use xdotool to switch desktops, move windows between desktops, and change the number of desktops.

    See GitHub - jordansissel/xdotool: fake keyboard/mouse input, window management, and more

    #technology #opensource #Linux #automation #xdotool



    fake keyboard/mouse input, window management, and more  - GitHub - jordansissel/xdotool: fake keyboard/mouse input, window management, and more
  14. The xdotool command on Linux can automate just about any keystroke or mouse actions from the command line, or for shortcut keys

    Github title image for the xdotool project page I’m busy looking into xdotool to automate various actions on Linux with the Elgato Stream Deck (well because Elgato only provides apps for Windows and MacOS). There is a good Linux alternative app to work […]

    gadgeteer.co.za/the-xdotool-co

    squeet.me/display/962c3e10-402

  15. is an amazing utility for keyboard and mouse automation. Keybinds, macros, auto clickers. Very simple to learn, would recommend to anyone.

  16. It was a joy to watch the script that creates the localised screenshots of Comet for the elementary OS AppCenter running for the first time :)

    vimeo.com/651675018

    (5 images, fully automated, currently in three languages.)

    #xdotool #imagemagick #bash #elementaryOS #comet

  17. Since "The Year of 🐧GNU/Linux on the Desktop" has surprisingly been postponed once more:

    I want "xfce4-display-settings -m" to show up on *every* connected display when I press Meta+P, not just on my (closed) notebook in its dock 😡

    The #pseudocode is easy:

    for each display in connect_displays
    $process = start "xfce4-display-settings -m"
    move $process.window to $display.center

    I have the 🔧 bits 'n' 🧩 pieces
    #bash #xdotool #wmctrl #xrandr #gdk #xfce4 #python ready.

    but still: welp 🥺

  18. Since "The Year of 🐧GNU/Linux on the Desktop" has surprisingly been postponed once more:

    I want "xfce4-display-settings -m" to show up on *every* connected display when I press Meta+P, not just on my (closed) notebook in its dock 😡

    The #pseudocode is easy:

    for each display in connect_displays
    $process = start "xfce4-display-settings -m"
    move $process.window to $display.center

    I have the 🔧 bits 'n' 🧩 pieces
    #bash #xdotool #wmctrl #xrandr #gdk #xfce4 #python ready.

    but still: welp 🥺

  19. @ajroach42 might #xdotool or #xmacro be useful? Record a macro of using the mouse to do it, and repeat that?
    e.g. xmacro.sourceforge.net/

    Could maybe even automate running the script by listening to udev?