wmctrl A command line tool to interact with an EWMH/NetWM compatible X Window Manager.
To compile and install the program, run the following commands:
./configure
make
(become root)
make install
After installation you may run "wmctrl -h" to view the documentation.
The program is based on the EWMH specification:
http://www.freedesktop.org/standards/wm-spec/
Please note that wmctrl only works with window managers which implement this specification.
The homepage of wmctrl:
http://sweb.cz/tripie/utils/wmctrl/
I recommend you to check out Zenity, which is an excellent tool to integrate the GUI and the command line.
http://ftp.acc.umu.se/pub/GNOME/sources/zenity/
Author, current maintainer: Tomas Styblo tripie@cpan.org Copyright (C) 2003
This program is free software which I release under the GNU General Public License. You may redistribute and/or modify this program under the terms of that license as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
To get a copy of the GNU General Puplic License, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.