Re: FVWM: FvwmRearrange more flexible ??

2005-03-30 Thread Yang Yang
nevermind, got one myself, maybe u will find it useful
DestroyFunc yytile
AddToFunc   yytile
+ I SetEnv  TempWindowCount 0
+ I All (CurrentPage ) \
PipeRead  \
echo SetEnv TempWindowCount  $(($TempWindowCount+1))
+ I PipeRead \
'perl -e \' print SetEnv nRow ,
(int(sqrt($[TempWindowCount]))+1)\''
#+ I All (CurrentPage ) \
#PipeRead  \
#   echo SetEnv TempWindowCount   $(($TempWindowCount+1)) 
##echo balh $[TempWindowCount]
+ I FvwmRearrange -tile -h -mn $[nRow] -a
+ I Echo $[TempWindowCount] ---  $[nRow]

Key F11 A A yytile

On Tue, Mar 29, 2005 at 11:36:38PM -0800, Yang Yang wrote:
 hi guys:
   sometimes I feel that I need such a feature from FvwmRearrange
   ( at first I thought this was done by someone using Fvwm config
 files, but failing to find it, I found FvwmRearrange does it. since
 there is already FvwmRearrange, this is probably not a trivial task.
 so I'd better not try it)
 
   for tiling, fvwmrearrange either tiles vertically or horizontally,
 but I feel that a grid tiling would be more sensible, since this
 would leave the titled windows not either too thin nor too
 flat/squashed. for example, if I have 9 windows lying on current
 desktop, I would like them to be tiled onto a 3x3 grid, and for 10,
 I would probably want 3x4, or some more complex way that gives
 weight/area depending on the (order that I last stayed in each
 window)/(time spent in each window)..
 
   also it would be nice if FvwmRearrange could leave some sort of
 config, or command line parameter, for specifying which/how many
 windows on current desktop to tile. ( for example , last 4 winodws
 that I stayed in ) ..
 
 
   thank you for your time
 
   Yang
 --
 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 [EMAIL PROTECTED]
 To report problems, send mail to [EMAIL PROTECTED]
--
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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


FVWM: drag drop ...

2005-03-30 Thread Lars Segerlund

 Hi,

  I have looked a bit, but I cant find out if fvwm supports 'drag  drop' to 
the 
 'desktop'/'root window'.
  I have looked at the spec from opendesktop.org and stuff, and there seem's to 
be
 somewhat of a standard for stuff like this.
  So does anybody know if thee is a way of making fvwm do this ? 
 ( if not, would it be a worthwhile addition ? It doesn't seem that complicated
   fvwm already manages icons  windows and stuff .. ).

 / regards, Lars Segerlund.
--
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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: drag drop ...

2005-03-30 Thread Gert Brinkmann

Lars Segerlund wrote:

  I have looked a bit, but I cant find out if fvwm supports 'drag  drop' to the 
 'desktop'/'root window'.


AFAIK fvwm does not support it. Instead you should/could use other tools 
for this, e.g. rox-filer.


Gert
--
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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: drag drop ...

2005-03-30 Thread Thomas Adam
On Wed, Mar 30, 2005 at 11:21:57AM +0200, Lars Segerlund wrote:
   I have looked a bit, but I cant find out if fvwm supports 'drag
   drop' to the 'desktop'/'root window'. I have looked at the spec
  from opendesktop.org and stuff, and there seem's to be somewhat of a
  standard for stuff like this. So does anybody know if thee is a way
  of making fvwm do this ? ( if not, would it be a worthwhile addition
  ? It doesn't seem that complicated fvwm already manages icons 
  windows and stuff .. ).

And I should hope not.  Fvwm is a window manager, not a desktop
environment.  If you want to be able to drag and drop (which implies the
use of some file manager to do it) see rox [1].  That uses a
'pinboard' on the root-window which allows you to drop things to it.
The program 'dfm' also allows for this.

-- Thomas Adam

[1]  http://rox.sf.net

--  
One of us is a cigar stand, and one of us is a lovely blue incandescent
guillotine -- Stephen Malkmus, Type Slowly from Brighten The Corners
--
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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: drag drop ...

2005-03-30 Thread Fernando Poza Saura

use of some file manager to do it) see rox [1].  That uses a
-- Thomas Adam

[1]  http://rox.sf.net


I've taking a look to this rox thing, and it looks nice it you want 
dragdrop capabilities. Does anyone have experience in having rox 
working in fvwm?, is it going to brake something if fvwm?


Actually the other day I was looking for something similar to a 
graphical file manager, and this looks a very good option.


May be I'll give it a try.

Thanks Thomas

Fernando


--
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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: drag drop ...

2005-03-30 Thread Thomas Adam
On Wed, Mar 30, 2005 at 07:11:26PM +0200, Fernando Poza Saura wrote:
 I've taking a look to this rox thing, and it looks nice it you want
 dragdrop capabilities. Does anyone have experience in having rox
 working in fvwm?, is it going to brake something if fvwm?

Yes, I do.  Depending on how you start fvwm, if your method (typically
via startx, xdm) uses ~/.xsession, I used to have the line:

rox -p mypinboard 

mypinboard is just a name of a pinboard -- you can define as many as
you like.

Or, if that's not an option, add a line to your StartFunction:

+ I Exec exec rox -p mypinboard

Then you can start dragging stuff around.  One thing I did not mention
to you before, was the fact that there is also an Fvwm module called
'FvwmDragWell' which can provide XDnD support, if you so wish.  Haven't
used it in ages, though.

-- Thomas Adam

--  
One of us is a cigar stand, and one of us is a lovely blue incandescent
guillotine -- Stephen Malkmus, Type Slowly from Brighten The Corners
--
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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FVWM: drag drop ...

2005-03-30 Thread Catherine Luedecker


Thomas Adam wrote:

On Wed, Mar 30, 2005 at 07:11:26PM +0200, Fernando Poza Saura wrote:
  

I've taking a look to this rox thing, and it looks nice it you want
dragdrop capabilities. Does anyone have experience in having rox
working in fvwm?, is it going to brake something if fvwm?



Yes, I do.  Depending on how you start fvwm, if your method (typically
via startx, xdm) uses ~/.xsession, I used to have the line:

rox -p mypinboard 

mypinboard is just a name of a pinboard -- you can define as many as
you like.

Or, if that's not an option, add a line to your StartFunction:

+ I Exec exec rox -p mypinboard

Then you can start dragging stuff around.  One thing I did not mention
to you before, was the fact that there is also an Fvwm module called
'FvwmDragWell' which can provide XDnD support, if you so wish.  Haven't
used it in ages, though.

-- Thomas Adam

  

This is actually good to know.  I never really understood or took the
time to understand what the rox filer pinboard option really did.  I
tried it today and it is pretty darn cool. 

I don't understand at all what FvwmDragWell does and how it works. 


--
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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]