AskUbuntu · @askubuntu
216 followers · 1805 posts · Server ubuntu.social

List active windows and their app icon filepaths ( from current icon theme ) - Xorg

askubuntu.com/q/1482525/612

#bash #xorg #wmctrl #xprop

Last updated 1 year ago

AskUbuntu · @askubuntu
216 followers · 1798 posts · Server ubuntu.social

Get app name by its window ID ( in xorg & linux )

askubuntu.com/q/1482506/612

#scripts #xorg #wmctrl #xprop

Last updated 1 year ago

ManyRoads :coffeecup: · @ManyRoads
350 followers · 3815 posts · Server mstdn.social

I have to say that the more I use , the better I like it. πŸ˜‰

FWIW I have incorporated a good deal of automation (via and ) in my personal install. I'll publish a tutorial of what I have done on my site ( eirenicon.org ) and share it on both and on .

#windowmanager #Debian #Technology #Linux #lilidog #archlabs #dkwm #wmctrl #sxhkd

Last updated 1 year ago

AskUbuntu · @askubuntu
81 followers · 2135 posts · Server ubuntu.social

Having trouble moving windows between screens via the terminal #2204

askubuntu.com/q/1465446/612

#commandline #wayland #xdotool #wmctrl

Last updated 1 year ago

Joerg Jaspert :debian: · @Ganneff
196 followers · 565 posts · Server fulda.social

@bofh1337 So until then a wmctrl script OUGHT to help here.
Except - using to report on windows it shows me where they are, nicely. X, Y, Geometry.
Now, using wmctrl again to set the window property to that - it is wrong. 😑 🀬 X seems to be wrong by around 40 points, width around 15 to 20.

Useless. 😒

Boah, I do hate computer.

#wmctrl

Last updated 1 year ago

Geekland · @geekland
665 followers · 12481 posts · Server mastodon.social
ar.al🌻 · @aral
25029 followers · 19527 posts · Server mastodon.ar.al

Discovering that wmctrl is a REALLY useful tool to have on X11 and works great on elementary OS/GNOME.

Examples:

See list of all current windows with their geometry:

wmctrl -l -G

Move a window with the class name org.small_tech.comet to position (100,100) and size it to its minimum size:

wmctrl -x -r org.small_tech.comet -e 0,100,100,0,0

Show the desktop (hide all apps):

wmctrl -k on

Learn more: freedesktop.org/wiki/Software/

#x11 #cli #windowmanager #wmctrl #linux

Last updated 3 years ago