Re: sawfish and RandR



On Fri, 13 May 2011 11:18:41 -0700, Omen Wild wrote:
> How about the ability to have a second screen act as an independent
> workspace?  I run with a single screen and 9 workspaces in a 3x3 grid.  I
> use the numeric keypad [1-9] to easily access them.  What I would really
> love to do is to use a second screen as the 10th workspace and put it on
> the keypad's 0 key.

Hi. It's possible with some effort.

First understand that a "workspace", or "virtual desktop" in other WMs
spans over the entire X screen. If you have two screens, a workspace
includes both. So what you refer to is not workspace.

The solution will be: prepare 3x3 workspaces as before. Windows
in the second monitor should be set sticky = workspace sticky.
Make 0 key jump to the second monitor.

# In fact, this is a faq, and they all ask for a "seperate workspace". ;)


By the way, Omen, it's also possible in theory to solve the "dead
space" problem now with Sawfish-1.8. (See Wikipedia "Xinerama" page
for "dead space".)

See source files src/flippers.c and
lisp/sawfish/wm/edge/util.jl. Edge-actions is invoked when the pointer
hits the thin invisible windows at the (X) screen edges. Now you can
create your own such windows. It'll then call 'enter-flipper-hook'. So
you can just put one at your monitor border, and make it push the
cursor back.  Coding will be a bit tedious, but straighforward.

Teika (Teika kazura)
--------------------
I've been off from the Sawfish development, and I don't read all
messages in this mailing list now.



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