Ubuntu is an open source Canonical operating system built by the global Professional Development team (Gnu/linux LTD) based on the Debian Gnu/linux, which supports x86, AMD64 (i.e. x64) and PPC architectures. Ubuntu has made great contributions to the popularization of Gnu/linux, especially desktop popularization, so that more people share the results of open source and wonderful. What I want to share with you today is the technique of implementing screen segmentation in Ubuntu. We will be able to split the screen after the screen can be divided into several small screen, and each small screen independent use, for you to achieve a display while watching the stock market, watching movies, watching news, playing games, etc., very interesting and practical!
Install Wmctrl
sudo apt-get install Wmctrl
Installing shell scripts
#!/bin/sh
Set--$ (xwininfo-root| awk-f ' [:]+ ')/(width| Height):/{print $} ')
Width=$1
Height=$2
win1=$ (xwininfo| awk '/^xwininfo:w/{print $} ')
win2=$ (xwininfo| awk '/^xwininfo:w/{print $} ')
Wmctrl-i-R $win 1-e 0,0,0,$ ((WIDTH/2)), $height
Wmctrl-i-R $win 2-e 0,$ ((WIDTH/2)), 0,$ ((WIDTH/2)), $height
Using the Execute script, click to select 2 Windows to tile the entire screen around 2 windows. Based on this script, you can actually design a more complex splitting scheme.
Read the above detailed content, we should soon be able to achieve screen segmentation, the users learn not to quickly practice, experience the same time watching video, play stocks, play the fun of the game.