per-desktop bindings (was FVWM: on the fly binding ...)

From: Maciej Kalisiak <mac_at_cs.toronto.edu>
Date: Mon, 10 Feb 2003 09:16:18 -0500

On Wed, Jan 29, 2003 at 04:38:16PM -0500, Mikhael Goikhman wrote:
> Do something like this:
>
> DestroyFunc SelectWindow
> AddToFunc SelectWindow
> + I Focus
> + I Raise
> + I WarpToWindow 50 50
>
> Key 1 W SCM Key 1 A SM Silent WindowId $$w SelectWindow
> Key 2 W SCM Key 2 A SM Silent WindowId $$w SelectWindow
> Key 3 W SCM Key 3 A SM Silent WindowId $$w SelectWindow
> Key 4 W SCM Key 4 A SM Silent WindowId $$w SelectWindow
>
> Then press Shift-Ctrl-Alt-1 / 2 / 3 / 4 to bookmark windows (up to 4)
> and Shift-Alt-1 / 2 / 3 / 4 to switch to the bookmarked windows.

Is there any way to make/fake a given keybinding apply to in a given desktop?
For example, I would like Shift-Alt-1 to take me to one window on desktop 1,
when I'm in desktop 1, while in desktop 2 I want that same key combo to take me
to another window (which is on desktop 2). The basic idea I'm shooting for
here is that each desktop is dedicated to some particular task I'm working on,
and the windows particular to that task are easily accessed using numeric
bookmarks such as above, with the bookmarks being different for each
task/desktop. Thus during work I could use one of the Desktop selection
keybindings first to hop to the right task, and then use a second, "memorized"
combo to get me to a desired window for the task.

-- 
Maciej Kalisiak       mac "at" dgp.toronto.edu       www.dgp.toronto.edu/~mac
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Feb 10 2003 - 08:17:35 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST