Hot answers tagged gnome
You can use wmctrl: wmctrl -r :ACTIVE: -b toggle,maximized_vert,maximized_horz or xdotool: xdotool windowsize $(xdotool getactivewindow) 100% 100% For more info, see man wmctrl and man xdotool. If you don't have these packages installed, you can install them using the following comand: sudo apt-get install wmctrl xdotool
You can send keystroke combinations directly to a window using the xdotool command-line X11 automation tool e.g. xdotool key ctrl+super+Up In general it is necessary to specify the target window to receive the keystrokes, but the default is to send them to the active window so in this case no additional window target is required The xdotool package is ...
To get the number of workspaces you can use: gsettings get org.gnome.desktop.wm.preferences num-workspaces To change the number of workspaces to 8 for example you can use: gsettings set org.gnome.desktop.wm.preferences num-workspaces 8
Only top voted, non community-wiki answers of a minimum length are eligible