문서의 이전 판입니다!
wmctrl -l
wmctrl -r 창이름 -e 0,X,Y,W,H-1 이면 현재 상태 유지wmctrl -r ':ACTIVE:' -b toggle,fullscreen
# 작업공간 목록 wmctrl -d # 작업공간 이동(0부터 시작) wmctrl -s 0
gsettings get org.gnome.desktop.wm.preferences num-workspaces
wmctrl 명령으로 작업공간 이동 Switching workspace in GNOME via the command line – Andy Balaam's Blog : 2011년 글이지만 명령 몇개만 고치면 사용가능할 듯.~/.local/bin/show-desktop.sh#!/bin/bash
status="$(wmctrl -m | grep "showing the desktop" | sed -r 's/(.*)(ON|OFF)/\2/g')"
if [ $status == "ON" ]; then
wmctrl -k off
else
wmctrl -k on
fi