Re: Drag windows across workspaces

You might be refering to viewports. Viewports still exist in sawfish, they're just disabled by default since GNOME 2.0 decided that viewports should be eliminated in favor of "virtual desktops" aka "workspaces". Viewports are like workspaces, except windows can span multiple viewports.

To enable viewports, add these lines to ~/.sawfishrc:
(setq customize-command-classes '(default viewport))
(setq viewport-dimensions '(3 . 3))

and add this line to ~/.sawfish/custom:
(custom-set-typed-variable (quote match-window-profile) (quote ((((WM_NAME . "^panel$")) (sticky-viewport . #t) (cycle-skip . #t) (window-list-skip . #t) (skip-tasklist . #t)))) (quote match-window) (quote sawfish.wm.ext.match-window))

You can use viewports and workspaces simultaneously. Viewports fit inside workspaces. My setup uses two workspaces, each with a 3 by 3 grid of viewports. Windows can be moved among the viewports just by dragging, but to switch workspaces I have to use the 'send to next workspace' item off the window's control menu.

FWIW sawfish-pager properly shows the boundaries of viewports and workspaces. gnome-pager only shows the workspace boundaries (or at least that's how it worked last time I checked).

From: "Eric Mangold" <teratorn world-net net>
To: Brian <oldminer gmail com>, sawfish-list gnome org
Subject: Re: Drag windows across workspaces
Date: Thu, 20 Oct 2005 11:34:03 +1100

Try adding this to your sawfish RC file (~/.sawfish/rc for me):

(require 'sawfish.wm.ext.edge-flip)
(define-special-variable edge-flip-enabled t
"Select the next desktop when the pointer hits screen edge.")
(define-special-variable edge-flip-type 'workspace
"Control what hitting the screen edge selects, workspace or viewport.")
(define-special-variable edge-flip-only-when-moving nil
"Only flip when interactively moving a window.")
(define-special-variable edge-flip-delay 300
                            "Milliseconds to delay before edge flipping.")

Let us know if that's all it takes...

-Eric Mangold

On Thu, 20 Oct 2005 10:32:11 +1100, Brian <oldminer gmail com> wrote:

   In times long past, I had a sawfish installation that came with
Gnome, back when Gnome did such things, which had an option under
sawfish-ui to allow dragging of windows off of an edge of a workspace
and onto another workspace.  I've grown quite accustomed to this
behavior.  Unfortunately, this install of sawfish broke, and I was
forced to reinstall from source.  After compiling from CVS (retrieved

cvs -d:pserver:anonymous anoncvs gnome org:/cvs/gnome co sawfish

) , I find this option no longer exists in sawfish-ui.  Has this
option been nixed?  Hidden?  Does it require some underlying support
from Gnome (?!) that has since vanished?  Have I gotten the wrong CVS?
   Much thanks for any assistance that might be rendered.


Express yourself instantly with MSN Messenger! Download today - it's FREE!

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