Live data from Hacker News

Cool but obscure X11 tools

cyber.dabamos.de

11–20 of 256 posts

Re: Cool but obscure X11 tools

#11

For those looking for obscure-but-useful, checkout xdotool. `sleep 2; xdotool type "foo"` is super handy for typing passwords into virtual machines which don't support guest additions. I'd rather not elaborate on the filthy things I've made it do, but rest assured you can use it to do some quick and dirty automation tasks if you really need to :)

PLEASE elaborate on the filthy things you've made it do!

Re: Cool but obscure X11 tools

#12
Many of those types of programs like XRoach, XSnow, XNeko as well as every program rendering to the root window will never be possible with wayland (unless you built them into the display server).

Re: Cool but obscure X11 tools

#14

For those looking for obscure-but-useful, checkout xdotool. `sleep 2; xdotool type "foo"` is super handy for typing passwords into virtual machines which don't support guest additions. I'd rather not elaborate on the filthy things I've made it do, but rest assured you can use it to do some quick and dirty automation tasks if you really need to :)

Autokey (Python) gives you similar power as AutoHotKey on Windows and Karabiner Elements/Hammerspoon on macOS.

Problem is, that you might want Wayland support, as X is on the way out.

[1] https://github.com/autokey/autokey

Re: Cool but obscure X11 tools

#15
post #2

Oh my, that reminds me of my first year with Linux, discovering all those little utilities hidden on my Slackware install or available on Sunsite…

Same. Also the games listed here were pretty much the fanciest games we had, apart from Doom (svgadoom and xdoom) and Abuse.

Re: Cool but obscure X11 tools

#16
post #7

As well DDD the X11 front-end for GDB [1]. Helped me quite a lot around 2003. [1] https://www.gnu.org/software/ddd/

From what I remember when trying to use it, it looked nice but it was very buggy Not sure it even supported threads for a while

Was it DDD that didn't support threads, or GDB though? I remember that GDB support for threads was horrific for a long time, especially back in the 90's.

Re: Cool but obscure X11 tools

#17
post #12

Many of those types of programs like XRoach, XSnow, XNeko as well as every program rendering to the root window will never be possible with wayland (unless you built them into the display server).

You can run a virtual X-Server, like Xephyr or Xnest. They are pretty handy and will make it easy to use root painting programs.

Fun Fact: The XScreensaver "preview" function works (worked?) as following: Start an instance of Xnest and run the screensaver rendering the root window there.

Re: Cool but obscure X11 tools

#19
post #14

For those looking for obscure-but-useful, checkout xdotool. `sleep 2; xdotool type "foo"` is super handy for typing passwords into virtual machines which don't support guest additions. I'd rather not elaborate on the filthy things I've made it do, but rest assured you can use it to do some quick and dirty automation tasks if you really need to :)

Autokey (Python) gives you similar power as AutoHotKey on Windows and Karabiner Elements/Hammerspoon on macOS. Problem is, that you might want Wayland support, as X is on the way out. [1] https://github.com/autokey/autokey

> Problem is, that you might want Wayland support, as X is on the way out.

I vaguely remember someone saying something similar about IPv6 once.

Re: Cool but obscure X11 tools

#20

For those looking for obscure-but-useful, checkout xdotool. `sleep 2; xdotool type "foo"` is super handy for typing passwords into virtual machines which don't support guest additions. I'd rather not elaborate on the filthy things I've made it do, but rest assured you can use it to do some quick and dirty automation tasks if you really need to :)

One of the less awful things I've done with xdotool is to hook into latexmk to continuously update the window title of the resulting PDF with the compilation status. So you can have the screen split just between editor and pdf viewer, with the compile always running in the background, yet know what the status is. This got upstreamed into latexmk some years back.
Post reply on HN