Minimize the current window with WMCTRL ?
Hello,
xdotool can do everything but it is not installed everywhere at schools. wmctrl is a standard that is available everywhere. How can one minimize the current Window with wmctrl ? To maximize, easy: Code:
" wmctrl -r :ACTIVE: -b toggle,maximized_vert,maximized_horz " But minimize? Thank you in advance |
Quote:
|
Quote:
it is not easy, believe me, since wmctrl to get the current win for minimize is not made.. by default. |
I tried using hidden but it didn't work nor complain.
|
Quote:
Code:
WMCX=$( wmctrl -l ) |
Keep in mind that wayland is approaching - for some is already the default. wmctrl is yet another that doesn't work.
|
Quote:
it is really bad that nothing never works in LINUX. |
it seems indeed that wmctrl cannot do it.
here'a an interesting article: https://askubuntu.com/questions/4876...e-command-line however: Quote:
i was always under the impression that wmctrl is a very handy, but increasingly outdated program, but if you're a bit more proficient you can achieve the same (and more) with xwininfo, xprop and such. |
All times are GMT -5. The time now is 08:29 PM. |