devilspie s-expression scripts?
kline at tao.thought.org
Thu Nov 8 12:11:50 PST 2007
On Thu, Nov 08, 2007 at 11:45:02AM -0800, Kevin Downey wrote:
> On 11/6/07, Gary Kline <kline at tao.thought.org> wrote:
> > Looks like I can only put one Konsole or other app per workspace.
> > Below, no matter with workspace I choose, 1 to 4, all these
> > terminals go into just one workspace. Anybody know of any
> > workaround?
> > gary
> > (if
> > (and
> > (is (application_name) "Shell - Konsole" )
> > (is (window_name) "Shell - Konsole" ) )
> > (begin
> > (geometry "-0-0")
> > (set_workspace 1))
> > )
[[ ... ]]
> replace "Shell - Konsole" with relevent strings from xwininfo
> To perceive is to suffer.
Such as? Following is the output from xwininfo:
xwininfo: Window id: 0x3c00006 "Shell - Konsole"
Absolute upper-left X: 586
Absolute upper-left Y: 134
Relative upper-left X: 4
Relative upper-left Y: 23
Visual Class: TrueColor
Border width: 0
Colormap: 0x20 (installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +586+134 -4+134 -4-29 +586-29
Gary Kline kline at thought.org www.thought.org Public Service Unix
More information about the freebsd-questions