Re: FVWM: Window manager "refit" windows function

2010-02-09 Thread Nathan Hüsken
On 02/09/2010 02:16 PM, Thomas Adam wrote:
> On 9 February 2010 11:53, Nathan Hüsken  wrote:
>   
>> Hi,
>>
>> fvwm has many cool windows replacing and resizing functions. But one
>> thing I was not able to do so far:
>>
>> A function that refits all windows on the screen by making minmal
>> adjustments.
>>
>> What do I mean?
>>
>> Lets say I have 3 windows. I put one in top right, on in bottom right
>> and one on the left.
>> I do this roughly with the mouse.
>> Now if the do not overlap, I can "grow" every one by letting them take
>> all free space.
>>
>> But if they only overlap a little, that would not work.
>>
>> So a function, that makes the current active windows on the screen take
>> all free space without overlap, by moving windows as little as possible
>> would be really cool.
>>
>> Does anything like this exist or is possible?
>> 
> Yes -- you can use Maximize to grow until it hits the other edge of
> the window, to fill the remaining space. There's examples of this in
> "man fvwm".
>
> You could also probably use FvwmRearrange as well, although that's less 
> obvious.
>
> -- Thomas Ada
Hi,

I know I can use grow until it hits the other edge of the window. But as
far as I see, this does not work when windows overlap (a little). That I
want to avoid.
FvwmRearange is nice, but as far as I see it, creates a completly new
layout.




Re: FVWM: Window manager "refit" windows function

2010-02-09 Thread Thomas Adam
On 9 February 2010 11:53, Nathan Hüsken  wrote:
> Hi,
>
> fvwm has many cool windows replacing and resizing functions. But one
> thing I was not able to do so far:
>
> A function that refits all windows on the screen by making minmal
> adjustments.
>
> What do I mean?
>
> Lets say I have 3 windows. I put one in top right, on in bottom right
> and one on the left.
> I do this roughly with the mouse.
> Now if the do not overlap, I can "grow" every one by letting them take
> all free space.
>
> But if they only overlap a little, that would not work.
>
> So a function, that makes the current active windows on the screen take
> all free space without overlap, by moving windows as little as possible
> would be really cool.
>
> Does anything like this exist or is possible?

Yes -- you can use Maximize to grow until it hits the other edge of
the window, to fill the remaining space. There's examples of this in
"man fvwm".

You could also probably use FvwmRearrange as well, although that's less obvious.

-- Thomas Adam



FVWM: Window manager "refit" windows function

2010-02-09 Thread Nathan Hüsken
Hi,

fvwm has many cool windows replacing and resizing functions. But one
thing I was not able to do so far:

A function that refits all windows on the screen by making minmal
adjustments.

What do I mean?

Lets say I have 3 windows. I put one in top right, on in bottom right
and one on the left.
I do this roughly with the mouse.
Now if the do not overlap, I can "grow" every one by letting them take
all free space.

But if they only overlap a little, that would not work.

So a function, that makes the current active windows on the screen take
all free space without overlap, by moving windows as little as possible
would be really cool.

Does anything like this exist or is possible?

Thanks!
Nathan



Re: FVWM: Application icons in panel and icon man

2010-02-09 Thread Nathan Hüsken
On 02/09/2010 10:30 AM, Thomas Adam wrote:
> On 9 February 2010 07:33, Nathan Hüsken  wrote:
>   
>> OK, I can redefine the icon for those applications.
>> I understand, firefox and co. have no obligation to define their icon.
>> But it still amazes me, that they do not.
>> 
> But they tend to.  Look:
>
> _NET_WM_ICON
>
> Most applications,  if they define this will allow FVWM to use them.
> You can use "xprop" to find out.Read up on:
>
> EWMHDonateIcon
> EWMHDonateMiniIcon
>
> ... in the FVWM man page.
>
>   
>> I am also wondering: Can you confirm that firefox,thinderbird,pidgin and
>> chromium do not define an Icon? Otherwise something might be wrong with
>> my installation ...
>> 
> See above.
>
> -- Thomas Adam
>   
Well, maybe it is not that many applications. I will define icons for
them. Thanks!
Nathan



Re: FVWM: Application icons in panel and icon man

2010-02-09 Thread Thomas Adam
On 9 February 2010 07:33, Nathan Hüsken  wrote:
> OK, I can redefine the icon for those applications.
> I understand, firefox and co. have no obligation to define their icon.
> But it still amazes me, that they do not.

But they tend to.  Look:

_NET_WM_ICON

Most applications,  if they define this will allow FVWM to use them.
You can use "xprop" to find out.Read up on:

EWMHDonateIcon
EWMHDonateMiniIcon

... in the FVWM man page.

> I am also wondering: Can you confirm that firefox,thinderbird,pidgin and
> chromium do not define an Icon? Otherwise something might be wrong with
> my installation ...

See above.

-- Thomas Adam