Hi all,

On 060913 at 00:20, Friedrich Delgado Friedrichs wrote:
> > I managed to imitate most of the features I like about larswm, 
> 
> I'm afraid I can't really help you with your problem, but would you
> care to tell me how you emulated those features and which?

Um...no that I think of it, I didn't use much of them but used a quite
patched larswm. I removed the taskbar from larswm, made it more easy
to move windows with the mouse, mapped "sticky" to a shortcut..

With fvwm all this is configureable. You can emulate the
move/resize-properties with the PipeRead calling a script of yours:

Key 8 A MCS PipeRead 'foo.sh vert $[w.x] $[w.y] $[w.width] $[w.height] 
$[vp.width] $[vp.height]'

Ctrl-Meta-Shirt-8 enlarges in vertical direction in small steps until
there is no more space in this direction. The skript ends with
"echo PlaceAgain" so my windows dont leave the visible area when I
resize them.

Same works for the movement options like 'center' oder 'middle right'
which I could only implement using such a helper skript.

If you were thinking of tiled-windows: I only used this for shells. And
I never liked to have more than 2 of those tiled windows. So I just
call xterm with a geometry-parameters if I want a "tiled" window. The
second one will be placed in the remaining space. If I work with more
terminals, they are not "tiled" or on another page.

Managing virtual desktops:

AddToFunc FuncFvwmPrevPage
+ I Current (CurrentPage, Focused) State 1 1
+ I GotoPage wrapx -1p 1
+ I Next (Sticky, CurrentPage, State 1) FuncFvwmPageFocus
+ I TestRc (NoMatch) Next (CurrentPage, State 1) FuncFvwmPageFocus
+ I TestRc (NoMatch) Next (CurrentPage) FuncFvwmPageFocus

AddToFunc FuncFvwmPageFocus
+ I State 1 0
+ I Focus NoWarp
+ I Raise
+ I WarpToWindow 50 50


I needed this because if I switch the page(which is for whatever reason
called 'Desk' in FvwmPager?), fvwm does not focus the window that was
focused when I left the page. Therefore, I just mark the focused page
with "State 1".  I also use sticky for moving windows to other pages,
meaning sticky needs to be even more preferred so I can deactivate
sticky-bit after moving without having to focus it again.  In the
PageFocus-Function I also warp the pointer to the window which makes it
easier to paste text into terminals.


Focus NoWarp indeed does what I was searching for. But the current
WarpToWindow-directive warps the page nevertheless. :-(

Anyway, if I use a PipeRead and a script instead of this, I can set the
pointer somewhere on the window inside of the current desk..


regards,
pepe
-- 
  ,�'�,
 : :' :                                                +47/611-344-01
 `. `'                                        gpg --recv-key A04D7875
   `-  www.debian.org                     mailto: [EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

Reply via email to