mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.8K
active users

#wmctrl

1 post1 participant0 posts today
DelegateVoid<p>I'm looking into some <a href="https://mastodon.gamedev.place/tags/automation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>automation</span></a> on <a href="https://mastodon.gamedev.place/tags/ubuntu" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ubuntu</span></a> <a href="https://mastodon.gamedev.place/tags/gnome" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gnome</span></a> desktop. I figured I'd be able to do everything using <a href="https://mastodon.gamedev.place/tags/dbus" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dbus</span></a>. <br>It works great for media control but not so much for virtual desktop / window management. I can use <a href="https://mastodon.gamedev.place/tags/wmctrl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wmctrl</span></a> to nativate between virtual desktops but window management doesn't work on <a href="https://mastodon.gamedev.place/tags/wayland" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wayland</span></a>. Then there is <a href="https://mastodon.gamedev.place/tags/ydotool" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ydotool</span></a> which also doesn't seem to work well.</p><p>Now I can<br> - Control media via dbus<br> - Switch workspaces via wmctrl </p><p>But I feel there has to be a better way?</p><p><a href="https://mastodon.gamedev.place/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a></p>
eshep<span class="h-card"><a href="https://mastodon.ar.al/users/aral" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>aral</span></a></span> <span class="h-card"><a href="https://mastodon.opencloud.lu/users/gunstick" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>gunstick</span></a></span> No proper <a href="https://social.trom.tf/search?tag=xdotool" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>xdotool</span></a> replacement is the part that annoys me most about <a href="https://social.trom.tf/search?tag=wayland" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wayland</span></a>. I've heard that <a href="https://social.trom.tf/search?tag=wmctrl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wmctrl</span></a> is somewhat usable, but even if it worked, it's not really a viabe replacement. There is something called <a href="https://social.trom.tf/search?tag=wlrctl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wlrctl</span></a> that I've not looked much into yet. My first impression, just from the manpage, does not have me very eager to investigate further.
Beko Pharm (deprecated)<p>Can _anyone_ shed some light on this weird behaviour of <a href="https://social.tchncs.de/tags/wmctrl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wmctrl</span></a> on <a href="https://social.tchncs.de/tags/Wayland" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Wayland</span></a> / <a href="https://social.tchncs.de/tags/XWayland" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>XWayland</span></a> / <a href="https://social.tchncs.de/tags/Gnome" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Gnome</span></a> where I usually have to execute this snippet twice?</p><p>&gt; wmctrl -x -r code.Code -e 0,0,0,5760,1200</p><p>First time it will just move the window to the central screen (triple head setup 🖥️🖥️🖥️) _and maximize_ it. </p><p>From there I have to drag it over to the left and execute again before this eventually works and I get my editor over all 3 screens.</p><p>I'm totally lost what in this chain of wm magic causes this.</p>
wraptile<p>Got <a href="https://fosstodon.org/tags/gnome" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gnome</span></a> setup this weekend. Giving it <a href="https://fosstodon.org/tags/Forge" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Forge</span></a> a shot which is a new, simple tilling window manager:</p><p><a href="https://github.com/forge-ext/forge" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/forge-ext/forge</span><span class="invisible"></span></a></p><p>I've tried material-shell before but it didn't work well for me for whatever reason and Forge while more simple feels more stable.</p><p>For further customization I used <a href="https://fosstodon.org/tags/wmctrl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wmctrl</span></a> which allows more scripting options and for drop down terminal I used <a href="https://fosstodon.org/tags/trdrop" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>trdrop</span></a>. For system control I can't get away from brilliant <a href="https://fosstodon.org/tags/rofi" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rofi</span></a> and it's ecosystem (<a href="https://fosstodon.org/tags/rofimoji" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rofimoji</span></a>, <a href="https://fosstodon.org/tags/greenclip" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>greenclip</span></a>).</p>
🇺🇦 Je me souviens 🇨🇦<p>I have to say that the more I use <a href="https://mstdn.social/tags/DKwm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DKwm</span></a>, the better I like it. 😉 </p><p>FWIW I have incorporated a good deal of automation (via <a href="https://mstdn.social/tags/sxhkd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sxhkd</span></a> and <a href="https://mstdn.social/tags/wmctrl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wmctrl</span></a>) in my personal install. I'll publish a tutorial of what I have done on my site ( <a href="https://eirenicon.org" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="">eirenicon.org</span><span class="invisible"></span></a> ) and share it on both <a href="https://mstdn.social/tags/ArchLabs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ArchLabs</span></a> and on <a href="https://mstdn.social/tags/LiliDog" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LiliDog</span></a>. </p><p><a href="https://mstdn.social/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a> <a href="https://mstdn.social/tags/Technology" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Technology</span></a> <a href="https://mstdn.social/tags/Debian" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Debian</span></a> <a href="https://mstdn.social/tags/WindowManager" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WindowManager</span></a></p>
Joerg Jaspert :debian:<p><span class="h-card"><a href="https://mastodon.social/@bofh1337" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>bofh1337</span></a></span> So until then a wmctrl script OUGHT to help here.<br>Except - using <a href="https://fulda.social/tags/wmctrl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wmctrl</span></a> to report on windows it shows me where they are, nicely. X, Y, Geometry.<br>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.</p><p>Useless. 😢 </p><p>Boah, I do hate computer.</p>
Aral Balkan<p>Discovering that wmctrl is a REALLY useful tool to have on X11 and works great on elementary OS/GNOME.</p><p>Examples:</p><p>See list of all current windows with their geometry:</p><p>wmctrl -l -G</p><p>Move a window with the class name org.small_tech.comet to position (100,100) and size it to its minimum size:</p><p>wmctrl -x -r org.small_tech.comet -e 0,100,100,0,0</p><p>Show the desktop (hide all apps):</p><p>wmctrl -k on</p><p>Learn more: <a href="https://www.freedesktop.org/wiki/Software/wmctrl/" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">freedesktop.org/wiki/Software/</span><span class="invisible">wmctrl/</span></a></p><p><a href="https://mastodon.ar.al/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linux</span></a> <a href="https://mastodon.ar.al/tags/wmctrl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wmctrl</span></a> <a href="https://mastodon.ar.al/tags/WindowManager" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WindowManager</span></a> <a href="https://mastodon.ar.al/tags/cli" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cli</span></a> <a href="https://mastodon.ar.al/tags/x11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>x11</span></a></p>