In Windows, there is a multi-window mode that divides the screen into two equal parts, 4, but you want to split the Ubuntu system screen, you need to use a script to achieve. This article will introduce you to the screen-cutting skills in Ubuntu.
Installation wmctrl
sudo apt-get install wmctrl
installation shell script
#! /bin/sh
set -- $(xwininfo -root|
Awk -F ‘[ :]+’ ‘/(Width|
Height):/{ print $3 }& rsquo;)
width=$1
height=$2
win1=$(xwininfo|
Awk ‘/^xwininfo: W/{ print $4 }& rsquo;)
win2=$(xwininfo|
Awk ‘/^xwininfo: W/{ print $4 }& rsquo;)
wmctrl -i -r $win1 -e 0,0,0,$((width/2)),$height
wmctrl -i -r $win2 -e 0,$((width/2)),0,$((width/2)),$height
Using the execution script, click to select 2 With two windows, you can tile the entire screen from left to right. According to this script, you can actually design a more complex segmentation scheme.
The above is the trick to implement window switching in Ubuntu. Install wmctrl and then execute the scripts listed in this article to split the screen into two or more windows.
The CentOS system prompts an error when mounting Glusterfs, which causes Glusterfs to be unmounted.
open and fopen are the calling functions of the Linux system. Because they are simi
With the widespread use of the Linux operating system, the security problems faced by the system hav
The sound menu in Ubuntu system is unique. The sound of all applications can be adj
How to achieve synchronization between different terminals in Linux system
How to use the Linux system Docker command
Steps to install Kali system on a virtual machine
How Linux can modify the TCP port range
Linux forced to delete the U disk virus skills
How to open the recycle bin function in Linux
Linux system switching root user skills
Linux installation and configuration of mrtg method
How to create and use XFS system in Linux system
Under the CentOS pure-ftpd server error 530 login authentication how to do?
Using the find command in Linux to find files How to ignore certain directories
Microsoft and NetApp match together
Win7/Win8.1 wireless network connection limited solution
Excel Tutorial: How to convert incoming data to a computable computing format
How to solve the QQ suspended animation in Windows 8 system?
View the tips of using WinXP system age
Windows 7 system sets whether the taskbar icon merges or hides the label (graphic tutorial)
After installing the Win7 system in the notebook, how to set up the power supply
Win10 system prompts "Registry Editor has stopped working" solution
Win10's five creative functions, ushered in "big one Microsoft"
By modifying the system settings to retrieve the disappearing Windows 7 search box