Re: FVWM: hidden console -

2010-07-17 Thread Thomas Adam
On Mon, Jul 05, 2010 at 08:19:43PM +0100, Thomas Adam wrote:
> On Mon, Jul 05, 2010 at 09:11:24PM +0200, Andrej wrote:
> > When I touch any place at north border of the screen, HiddenConsole pops 
> > out.
> > 
> > Is it possible to have more "hot spots" at screen border which will
> > pop up different hidden programs. For example, if whole border is
> > 100%, if I would touch first 30% of the border with mouse , terminal
> > would pop up, if i would touch between 30% and 60% opera would pop up
> > and so on.
> 
> No.  For this, you can do it a number of ways.  In no particular order:
> 
> 1.  Use EdgeCommand, and manually work out the inter-quartile ranges based
> on mathematics using $[vp.x], $[vp.y], $[pointer.x], $[pointer.y] -- use a
> function and PipeRead to do this.
> 
> 2.  Use FvwmButtons, and with my ActiveAction patch (might need manual
> munging to apply to CVS, not sure):
> 
> http://xteddy.org/fvwm/patches.html#toc7
> 
> Although this pre-supposes you *want* the words on the screen as buttons,
> likely not.

How did this pan out for you in the end?   Did you come up with any
solution?

-- Thomas Adam

-- 
"It was the cruelest game I've ever played and it's played inside my head."
-- "Hush The Warmth", Gorky's Zygotic Mynci.



Re: FVWM: hidden console -

2010-07-05 Thread Thomas Adam
On Mon, Jul 05, 2010 at 09:11:24PM +0200, Andrej wrote:
> When I touch any place at north border of the screen, HiddenConsole pops out.
> 
> Is it possible to have more "hot spots" at screen border which will
> pop up different hidden programs. For example, if whole border is
> 100%, if I would touch first 30% of the border with mouse , terminal
> would pop up, if i would touch between 30% and 60% opera would pop up
> and so on.

No.  For this, you can do it a number of ways.  In no particular order:

1.  Use EdgeCommand, and manually work out the inter-quartile ranges based
on mathematics using $[vp.x], $[vp.y], $[pointer.x], $[pointer.y] -- use a
function and PipeRead to do this.

2.  Use FvwmButtons, and with my ActiveAction patch (might need manual
munging to apply to CVS, not sure):

http://xteddy.org/fvwm/patches.html#toc7

Although this pre-supposes you *want* the words on the screen as buttons,
likely not.

-- Thomas Adam

-- 
"Deep in my heart I wish I was wrong.  But deep in my heart I know I am
not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)



FVWM: hidden console -

2010-07-05 Thread Andrej
Hello

I'm using this config
# The autohiding functions (iz
http://fvwm.lair.be/viewtopic.php?f=33&t=369&p=1904&hilit=autohide#p1904)

# The autohiding functions
AddToFunc autohide
+ I ThisWindow ($0) Deschedule $[w.id]
+ I ThisWindow ($0) ThisWindow (shaded) AutohideShow $1 $3
+ I TestRc (!Match) All ($0, !shaded) autohide_hide $2 $3

AddToFunc AutohideShow
+ I Schedule $0 -$[w.id] WindowShade $1 off
+ I AnimatedScroll 0 1000
+ I Schedule $0 -$[w.id] Raise
+ I Schedule $0 -$[w.id] Deschedule $[w.id]

AddToFunc autohide_hide
+ I Schedule $0 $[w.id] WindowShade $1 on
+ I Schedule $0 $[w.id] Deschedule $[w.id]

AddToFunc StartFunction
+ I Module FvwmAuto FvwmAutohide -menter FuncAutoEnter

DestroyFunc FuncAutoEnter
AddToFunc FuncAutoEnter
+ I Autohide HiddenConsole 100 100 N

When I touch any place at north border of the screen, HiddenConsole pops out.

Is it possible to have more "hot spots" at screen border which will
pop up different hidden programs. For example, if whole border is
100%, if I would touch first 30% of the border with mouse , terminal
would pop up, if i would touch between 30% and 60% opera would pop up
and so on.
|-|--|--|
  temrinal opera firefox

Regards
Andrej