screenpager - screenwise pager for Xinerama
screenpager [options] display on|off [test]
screenpager [options] focus [west|east]
screenpager [options] move west|east|up|down
screenpager [options] new | delete
screenpager [options] output screen
screenpager [options] page up|down
screenpager --help | --man | --version | reset
Screenpager is a screenwise pager for X workstations running Xinerama. It works like a desktop pager, but acts at the level of screens. Instead of paging the desktop as a whole, it can page each screen independently, or move pages from screen to screen.
Control is by command. Commands are issued either from the command line; from keystroke or mouse bindings; or from scripts. Screenpager itself is a script, written in Perl.
display on.
Use --duration to automatically turn the display off;
otherwise the default duration in Config_1.pm applies.
screenpager display off --duration=13 test returns true
if the display has been off for 13 seconds, or longer.
focus command.
display on argument.
display on
or display off test.
focus (or move) argument.
(During a move,
this means the target screen, to which the page is moved.)
focus argument is invoked.
focus, move, or page.
So, for example, paging up at the top of the stack
takes you straight to the bottom page.
Configuration is sought at /etc/xdg/screenpager/Config_1.pm. User preferences are sought at the following locations, in order of precedence: $ENV{'HOME'}/.config/screenpager/Pref_0.pm and /etc/xdg/screenpager/Pref_0.pm
Uses /tmp/.screenpager.lock. Creates temporary files and directories in /tmp/.screenpager/.
Does not auto-detect a new X session.
You must explicitly issue a screenpager reset, e.g. in your .xinitrc file.
On-screen display is slow to refresh. New and old displays overlap, momentarily.
On-screen display is sometimes wrong after moving a page west or east,
or deleting a page. As a workaround, instead of using the --display option
(as in screenpager --display move east) try issuing
a separate screenpager display on afterwards, e.g. in the invoking script.
Do this after a slight delay, if necessary.
Window postions are calculated to hold the east margin of the screen constant. This will not always work well when moving to a smaller screen. Some windows may fit only partially on the new screen, others not at all; depending on size and position of windows. (As a workaround, if screens vary in size, avoid putting narrow windows near the west edge of larger screens.)
Window postioning during west/east moves is optimized for Openbox.
Using a different window manager with different behaviour
may result in minor positioning errors.
[Code ref.: sub _fetch_wininfo.]
Any window that fails to fit within the bounds of its new screen
may be arbitrarily repositioned.
[Code ref.: wmctrl.]
Copyright 2004-2005, Michael Allan. <mike@zelea.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ``Screenpager Software''), to deal in the Screenpager Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Screenpager Software, and to permit persons to whom the Screenpager Software is furnished to do so, subject to the following conditions:
The preceding copyright notice and this permission notice shall be included in all copies or substantial portions of the Screenpager Software.
THE SCREENPAGER SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SCREENPAGER SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SCREENPAGER SOFTWARE.