ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RP] Announce: rp-framesets


From: Sven Hartrumpf
Subject: [RP] Announce: rp-framesets
Date: Thu Jun 6 02:02:01 2002

rp-framesets
version 0.1 (alpha)
2002-06-06
Sven Hartrumpf (C) 2002

0. Requirements:

You need the Scheme Shell scsh (http://sourceforge.net/projects/scsh) at
the following location /usr/local/bin/scsh.
(If it is located at /usr/bin/scsh, then change the first line of the
following three files: rp.storestate, rp.restorestate, rp.sortwindows.)


1. Introduction

rp-framesets is a collection of shell scripts for storing and restoring the
layout and contents of frames in the ratpoison window manager. 
Because whole frame sets are stored, rp-frameset is more than the concept of
virtual screens or virtual desktops:

1. A window can appear on any combination of frame sets.

2. A window can have different sizes in different frame sets.

3. A window can have different positions in different frame sets.

The last two items profit from ratpoison's frame concept and its automatic
fitting of windows into frames.


2. Restrictions

rp.restorestate currently works correctly only if you use a column
oriented frame layout, i.e. all frames are organized in columns.
If you use a different layout, the result of rp.restorestate might
look strange or might even fail.


3. Main scripts

The following scripts are contained in rp-framesets:

rp.storestate - stores the current frame set in a file ~/.ratpoison.stateN
  where N is an argument of the script (default: 1).

rp.restorestate - restores the frame set from file ~/.ratpoison.stateN
  where N is an argument of the script (default: 1).

rp.storeonly - calls "rp.storestate 0" before invoking ratpoison's "only"
  command

rp.undoonly - calls "rp.restorestate 0". If rp.storeonly is used instead of
 ratpoison's "only" command, this will restore the frame set state before
 the (rp.store)"only" command.


4. Additional script

rp.sortwindows - sorts windows by name (and if equal by X11 ID)


5. Additional file

.ratpoisonrc contains useful bindings for all the above commands.


6. Remarks

I hope that rp-framesets helps others too.
Please feel free to report problems or improvements.

address@hidden
http://pi7.fernuni-hagen.de/hartrumpf/ratpoison/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]