Re: FVWM: Labelling windows in the FvwmPager

2007-04-05 Thread Lucio Chiappetti
On Wed, 4 Apr 2007, Parv wrote:

 wrote Lucio Chiappetti thusly...
 
  while for moving windows the most frequent way for me is to stick it 
  to all pages and desks, change page, then eventually unstick it. 
  Second choice is drag in the pager.
 
 Yet another way, similar to (un)sticking a window, is to iconify the
 window on the current page; switch to your destination page;
 uniconify previously iconified window.

That's true. I forgot.

The fact is that, since when I use fvwm (or any other multi-desktop Wm) I 
tend to iconize windows much less than I did on older single-page WMs (to 
make room).

Actually I find a bit disturbing the feature that an iconized window 
belongs to all pages and desktops. My natural expectation would be that an 
iconized window remain quiescent just on the original page. Is there 
some fvmw trick to obtain that ?


Lucio Chiappetti - INAF/IASF - via Bassini 15 - I-20133 Milano (Italy)
For more info : http://www.iasf-milano.inaf.it/~lucio/personal.html




Re: FVWM: Labelling windows in the FvwmPager

2007-04-05 Thread seventh guardian

On 4/5/07, Lucio Chiappetti [EMAIL PROTECTED] wrote:

On Wed, 4 Apr 2007, Parv wrote:

 wrote Lucio Chiappetti thusly...
 
  while for moving windows the most frequent way for me is to stick it
  to all pages and desks, change page, then eventually unstick it.
  Second choice is drag in the pager.

 Yet another way, similar to (un)sticking a window, is to iconify the
 window on the current page; switch to your destination page;
 uniconify previously iconified window.

That's true. I forgot.

The fact is that, since when I use fvwm (or any other multi-desktop Wm) I
tend to iconize windows much less than I did on older single-page WMs (to
make room).

Actually I find a bit disturbing the feature that an iconized window
belongs to all pages and desktops. My natural expectation would be that an
iconized window remain quiescent just on the original page. Is there
some fvmw trick to obtain that ?


Style * SlipperyIcon

Cheers
 Renato



Re: FVWM: Labelling windows in the FvwmPager

2007-04-05 Thread Chris G
On Thu, Apr 05, 2007 at 01:32:23PM +0200, Lucio Chiappetti wrote:
 On Wed, 4 Apr 2007, Parv wrote:
 
  wrote Lucio Chiappetti thusly...
  
   while for moving windows the most frequent way for me is to stick it 
   to all pages and desks, change page, then eventually unstick it. 
   Second choice is drag in the pager.
  
  Yet another way, similar to (un)sticking a window, is to iconify the
  window on the current page; switch to your destination page;
  uniconify previously iconified window.
 
 That's true. I forgot.
 
 The fact is that, since when I use fvwm (or any other multi-desktop Wm) I 
 tend to iconize windows much less than I did on older single-page WMs (to 
 make room).
 
 Actually I find a bit disturbing the feature that an iconized window 
 belongs to all pages and desktops. My natural expectation would be that an 
 iconized window remain quiescent just on the original page. Is there 
 some fvmw trick to obtain that ?
 
On my fvwm2 installation icons are only on the page where they were
minimized.

I quite agree about not having many icons though, I have very few.

-- 
Chris Green



Re: FVWM: Labelling windows in the FvwmPager

2007-04-05 Thread Thomas Adam
On Thu, 5 Apr 2007 13:32:23 +0200 (CEST)
Lucio Chiappetti [EMAIL PROTECTED] wrote:

 Actually I find a bit disturbing the feature that an iconized window 
 belongs to all pages and desktops. My natural expectation would be

Except of course that it doesn't; the only time this is true is if the
icon happens to be sticky.

 that an iconized window remain quiescent just on the original page.
 Is there some fvmw trick to obtain that ?

This happens by default, so I don't understand what you're asking.

-- Thomas Adam



Re: Sticky Icons (was: FVWM: Labelling windows in the FvwmPager)

2007-04-05 Thread Lucio Chiappetti
On Thu, 5 Apr 2007, Rainer Koehler wrote:

  Actually I find a bit disturbing the feature that an iconized window
  belongs to all pages and desktops. 

 Sure, just _don't_ use the style option StickyIcon ;-)

Thanks to everybody who replied.
In fact I had StickyIcon in an unedited part of the .fvwm2rc inherited 
from the SuSE default configuration.

Apparently commenting that out, or using Style * SlipperyIcon (is there 
any difference ?) reverts back to the sensible default behaviour. 

BTW, my (SuSE 9.2 bundled, rather old) fvwm man page calls the option 
sometimes SlipperIcon, sometimes SlipperyIcon. Is it a typo ? Corrected in 
later versions ?


-- 

Lucio Chiappetti - INAF/IASF - via Bassini 15 - I-20133 Milano (Italy)
For more info : http://www.iasf-milano.inaf.it/~lucio/personal.html




Re: Sticky Icons (was: FVWM: Labelling windows in the FvwmPager)

2007-04-05 Thread Thomas Adam
On Thu, 5 Apr 2007 14:40:50 +0200 (CEST)
Lucio Chiappetti [EMAIL PROTECTED] wrote:


 BTW, my (SuSE 9.2 bundled, rather old) fvwm man page calls the option 
 sometimes SlipperIcon, sometimes SlipperyIcon. Is it a typo ?
 Corrected in later versions ?
 
This was corrected by me, as have a number of improvements to the SuSE
.fvwm2rc file, as shipped with 10.2, or something -- yet to be released.

-- Thomas Adam



Re: Sticky Icons (was: FVWM: Labelling windows in the FvwmPager)

2007-04-05 Thread seventh guardian

On 4/5/07, Lucio Chiappetti [EMAIL PROTECTED] wrote:

On Thu, 5 Apr 2007, Rainer Koehler wrote:

  Actually I find a bit disturbing the feature that an iconized window
  belongs to all pages and desktops.

 Sure, just _don't_ use the style option StickyIcon ;-)

Thanks to everybody who replied.
In fact I had StickyIcon in an unedited part of the .fvwm2rc inherited
from the SuSE default configuration.

Apparently commenting that out, or using Style * SlipperyIcon (is there
any difference ?) reverts back to the sensible default behaviour.


SlipperyIcon is the deprecated negation of StickyIcon. You should use
!StickyIcon instead, it's the same thing. I've just dug it up from my
config file, sorry for the outdated info :)

Cheers,
 Renato



Sticky Icons (was: FVWM: Labelling windows in the FvwmPager)

2007-04-05 Thread Rainer Koehler

Lucio Chiappetti wrote:
 On Wed, 4 Apr 2007, Parv wrote:

 wrote Lucio Chiappetti thusly...
 
  while for moving windows the most frequent way for me is to stick it
  to all pages and desks, change page, then eventually unstick it.
  Second choice is drag in the pager.

 Yet another way, similar to (un)sticking a window, is to iconify the
 window on the current page; switch to your destination page;
 uniconify previously iconified window.

 That's true. I forgot.

 The fact is that, since when I use fvwm (or any other multi-desktop Wm) I
 tend to iconize windows much less than I did on older single-page WMs (to
 make room).

 Actually I find a bit disturbing the feature that an iconized window
 belongs to all pages and desktops. My natural expectation would be that an
 iconized window remain quiescent just on the original page. Is there
 some fvmw trick to obtain that ?

Sure, just _don't_ use the style option StickyIcon ;-)

Rainer







Re: FVWM: Labelling windows in the FvwmPager

2007-04-05 Thread Parv
in message [EMAIL PROTECTED],
wrote Chris G thusly...

 On Thu, Apr 05, 2007 at 01:32:23PM +0200, Lucio Chiappetti wrote:
  On Wed, 4 Apr 2007, Parv wrote:
 
   wrote Lucio Chiappetti thusly...
   
while for moving windows the most frequent way for me is to
stick it to all pages and desks, change page, then
eventually unstick it.  Second choice is drag in the pager.
  
   Yet another way, similar to (un)sticking a window, is to
   iconify the window on the current page; switch to your
   destination page; uniconify previously iconified window.
 
  That's true. I forgot.
 
  The fact is that, since when I use fvwm (or any other
  multi-desktop Wm) I tend to iconize windows much less than I did
  on older single-page WMs (to make room).
 
  Actually I find a bit disturbing the feature that an iconized
  window belongs to all pages and desktops. My natural expectation
  would be that an iconized window remain quiescent just on the
  original page. Is there some fvmw trick to obtain that ?
 
 On my fvwm2 installation icons are only on the page where they
 were minimized.

 I quite agree about not having many icons though, I have very few.

Until discussed here, I apparently forgot to note presence of below
in my fvwmrc ...

  Style  *  NoIcon , StickyIcon


Sorry, Lucio, for causing disturbance in your mind.


  - Parv

-- 




FVWM: Labelling windows in the FvwmPager

2007-04-04 Thread Chris G
Is there any way to label windows in the FvwmPager?

Or should I change to multiple desktops with one window each?

I currently have a single desktop with eight windows at work (having
just moved from Sun CDE to Linux with fvwm2) and I'm finding there's
just a little too much for me to remember what's where.


What are the trade-offs advantages of multiple windows on a single
desktop as opposed to multiple desktops?

-- 
Chris Green



Re: FVWM: Labelling windows in the FvwmPager

2007-04-04 Thread Thomas Adam
On Wed, 4 Apr 2007 09:53:24 +0100
Chris G [EMAIL PROTECTED] wrote:

 Is there any way to label windows in the FvwmPager?

This is implied by _NOT_ setting:

*FvwmPager: SmallFont none

And (possibly):

*FvwmPager: WindowLabelFormat

In the case of the former option, you can just omit it -- the point of
it is that you can specify the font for the window label, or set it to
None if you didn't want any labels.

 Or should I change to multiple desktops with one window each?

That's Non-sequitur to your first question.  

 I currently have a single desktop with eight windows at work (having
 just moved from Sun CDE to Linux with fvwm2) and I'm finding there's
 just a little too much for me to remember what's where.

The choice is yours.  Many people find having one Desk with X pages
useful.  Others like having one page per desk, for managing windows more
efficiently in terms of sorting, etc.

 What are the trade-offs advantages of multiple windows on a single
 desktop as opposed to multiple desktops?

Depends how you work.

-- Thomas Adam



Re: FVWM: Labelling windows in the FvwmPager

2007-04-04 Thread Chris G
On Wed, Apr 04, 2007 at 10:03:19AM +0100, Thomas Adam wrote:
 On Wed, 4 Apr 2007 09:53:24 +0100
 Chris G [EMAIL PROTECTED] wrote:
 
  Is there any way to label windows in the FvwmPager?
 
 This is implied by _NOT_ setting:
 
 *FvwmPager: SmallFont none
 
 And (possibly):
 
 *FvwmPager: WindowLabelFormat
 
Ah, oops, maybe 'windows' wasn't the right word to use.  Yes, my
little images of open application windows which appear in FvwmPager
have their names as you describe above.

What I wanted was some way of identifying each FvwmPager 'window' in
the desktop. 

  Or should I change to multiple desktops with one window each?
 
 That's Non-sequitur to your first question.  
 
Maybe less so if I had explained better!  :-)

If I had multiple desktops then (I think) each desktop would have its
own desktop name in the FvwmPager window title area.


  I currently have a single desktop with eight windows at work (having
  just moved from Sun CDE to Linux with fvwm2) and I'm finding there's
  just a little too much for me to remember what's where.
 
 The choice is yours.  Many people find having one Desk with X pages
 useful.  Others like having one page per desk, for managing windows more
 efficiently in terms of sorting, etc.
 
  What are the trade-offs advantages of multiple windows on a single
  desktop as opposed to multiple desktops?
 
 Depends how you work.
 
Well yes, hence my question!  :-)

I.e. if I change from one desktop with eight 'windows' to (say) eight
desktops with one window each what do I gain and lose?

Can I move applications between desktops as I can between windows at
the moment, is it slower to switch desktops rather than windows, etc.?

The problem I have is that it's difficult to understand the reason for
the existence of both desktops and multiple windows in desktops.  It's
a distinction that doesn't exist in most other multi-window/desktop
utilities. At least I don't think it does and I've used CDE for many
years, xfce and a few others.

-- 
Chris Green



Re: FVWM: Labelling windows in the FvwmPager

2007-04-04 Thread Chris G
On Wed, Apr 04, 2007 at 10:54:30AM +0100, Thomas Adam wrote:
 On Wed, 4 Apr 2007 10:38:18 +0100
 Chris G [EMAIL PROTECTED] wrote:
 
  What I wanted was some way of identifying each FvwmPager 'window' in
  the desktop. 
 
 Right -- you want a way of naming pages.  You can't do this in FVWM.
 You can name desks, but not pages within desks [1].
  
[snip lots more]

'Pages' not 'Windows', OK!  :-)

Thanks for the compehensive reply, I think it's told me enough to set
me on the way.

-- 
Chris Green



Re: FVWM: Labelling windows in the FvwmPager

2007-04-04 Thread Lucio Chiappetti
On Wed, 4 Apr 2007, Chris G wrote:

 If I had multiple desktops then (I think) each desktop would have its
 own desktop name in the FvwmPager window title area.

  Depends how you work.
 Well yes, hence my question!  :-)

When I moved to fvwm, after a bit of experimenting I settled on two 
desktops with 4 pages (in a 2x2 arrangement ... I used a 1x4 once on a 
laptop with a screen size different from my workstation ... I usually 
keep the pager and the clock sticky in the top right corner, but on the 
laptop I moved them to a bottom bar) each. 

I originally expected to be able somehow to give a name to the pages 
(which could have been just a sequence number) which could appear 
somewhere as a visual reminder of where I'm in. I'd liked also to have 
different background (solid) colours for each page, mirrored in the pager.

But at the end I can live well without those things. The sticky pager with 
the red active window and an highlighted active page colour is enough to 
tell me where I am, together with the mini icons of the windows which tell 
me what the various pages are used for.

I ended with a Main desktop and a Secondary desktop (no fancy names). 
My original idea was to work at different projects in a flexible way in 
the 4 pages of the main dt, while the secondary dt was intended for 
network stuff. In fact I originally planned to keep firefox in one page, 
mail (pine) in another, and a VNC session onto an headless machine in 
another (the 4th was spare). This is initialized at startup in the 
.fvwmrc. Now I hardly use the VNC page, but maybe deposit in the 2 spare 
pages a PDF document (triggered in the browser or mail agent) for later 
reading.

I have some reproducible patterns of windows in the main dt pages, but I 
start them manually when I need them. Not all days are equal !

 
 Can I move applications between desktops as I can between windows at
 the moment, is it slower to switch desktops rather than windows, etc.?

Thanks to Thomas Adam for the explanation about window (un)mapping etc.
In practice I hardly noticed any difference between switching or moving 
windows across pages or across desks.

I originally defined a lot of accelerators to switch pages and desks and 
to attach to window menus to move a window to (occupy) another page or 
desk, but I found that I almost never use them.

Usually I switch desks and pages via the pager (rarely dragging a window 
to a neighbouring page), while for moving windows the most frequent way 
for me is to stick it to all pages and desks, change page, then 
eventually unstick it. Second choice is drag in the pager.


-- 

Lucio Chiappetti - INAF/IASF - via Bassini 15 - I-20133 Milano (Italy)
For more info : http://www.iasf-milano.inaf.it/~lucio/personal.html




Re: FVWM: Labelling windows in the FvwmPager

2007-04-04 Thread Chris G
On Wed, Apr 04, 2007 at 12:29:08PM +0200, Lucio Chiappetti wrote:
 On Wed, 4 Apr 2007, Chris G wrote:
 
  If I had multiple desktops then (I think) each desktop would have its
  own desktop name in the FvwmPager window title area.
 
   Depends how you work.
  Well yes, hence my question!  :-)
 
 When I moved to fvwm, after a bit of experimenting I settled on two 
 desktops with 4 pages (in a 2x2 arrangement ... I used a 1x4 once on a 
 laptop with a screen size different from my workstation ... I usually 
 keep the pager and the clock sticky in the top right corner, but on the 
 laptop I moved them to a bottom bar) each. 
 
 I originally expected to be able somehow to give a name to the pages 
 (which could have been just a sequence number) which could appear 
 somewhere as a visual reminder of where I'm in. I'd liked also to have 
 different background (solid) colours for each page, mirrored in the pager.
 
 But at the end I can live well without those things. The sticky pager with 
 the red active window and an highlighted active page colour is enough to 
 tell me where I am, together with the mini icons of the windows which tell 
 me what the various pages are used for.
 
 I ended with a Main desktop and a Secondary desktop (no fancy names). 
 My original idea was to work at different projects in a flexible way in 
 the 4 pages of the main dt, while the secondary dt was intended for 
 network stuff. In fact I originally planned to keep firefox in one page, 
 mail (pine) in another, and a VNC session onto an headless machine in 
 another (the 4th was spare). This is initialized at startup in the 
 .fvwmrc. Now I hardly use the VNC page, but maybe deposit in the 2 spare 
 pages a PDF document (triggered in the browser or mail agent) for later 
 reading.
 
 I have some reproducible patterns of windows in the main dt pages, but I 
 start them manually when I need them. Not all days are equal !
 
  
  Can I move applications between desktops as I can between windows at
  the moment, is it slower to switch desktops rather than windows, etc.?
 
 Thanks to Thomas Adam for the explanation about window (un)mapping etc.
 In practice I hardly noticed any difference between switching or moving 
 windows across pages or across desks.
 
 I originally defined a lot of accelerators to switch pages and desks and 
 to attach to window menus to move a window to (occupy) another page or 
 desk, but I found that I almost never use them.
 
 Usually I switch desks and pages via the pager (rarely dragging a window 
 to a neighbouring page), while for moving windows the most frequent way 
 for me is to stick it to all pages and desks, change page, then 
 eventually unstick it. Second choice is drag in the pager.
 
Thanks for the comprehensive description of how you're using FVWM2,
all useful to get an idea of how to do things.

I have been using FVWM2 for quite a while on my home (Linux) machine
with one four (or is it five) page desktop.  I only recently moved to
FVWM2 on my work machine and found that one desktop with eight pages
wasn't working too well.

I have moved to four desktops with two pages each and I've labelled
the desktops - Mail, Browser, Development, Windows - which makes sense
to me anyway.

I really hadn't realised the relationship of pages and desktops in
FVWM2, it's clearer now and many desktops with few pages each makes
much more sense for my way of working.

Thanks again all.

-- 
Chris Green



Re: FVWM: Labelling windows in the FvwmPager

2007-04-04 Thread Elliot Sowadsky
I have 2 desktops of 1x4 pages, keeping one desktop visible at a time
and switch to a page on the other desktop via middle button on that page in the 
original desktop.
I also have one page labeled on one desktop.

Mouse (FvwmPager) 1 W   N   SwitchtoPage
Mouse (FvwmPager) 2 W   N   SwitchtoDesk

AddToFunc SwitchtoPage
+   I PipeRead `echo GotoPage_func \`eval expr $[pointer.wx] \\'*\\' 4 / 
$[w.width] \` 0

AddToFunc SwitchtoDesk
+   I Test ($[desk.n]) Colorset 8 bg #70c050
+   I TestRc (NoMatch) Colorset 8 bg lightblue
+   I PipeRead `echo GotoDeskAndPage_func \`echo $[desk.n] | tr 01 10\` 
\`eval expr $[pointer.wx] \\'*\\' 4 / $[w.width] \` 0

AddToFunc GotoPage_func
+   I DesktopName 1 -
# desk 1 page 1 gets a title
# conditional c code changed to be able to Test for a boolean
+   I Test($0) DesktopName 1 pagetitle
+   I TestRc (NoMatch) DesktopName 1 -
+   I GotoPage $0 0

AddToFunc GotoDeskAndPage_func
+   I DesktopName 1 -
# desk 1 page 1 gets a title
# conditional c code changed to be able to Test for a boolean
+   I Test($1) DesktopName 1 pagetitle
+   I TestRc (NoMatch) DesktopName 1 -
+   I GotoDeskAndPage $0 $1 0

I suppose one could have a desktop title contain the page titles in its title.




Re: FVWM: Labelling windows in the FvwmPager

2007-04-04 Thread Parv
in message [EMAIL PROTECTED],
wrote Lucio Chiappetti thusly...

 Usually I switch desks and pages via the pager (rarely dragging a
 window to a neighbouring page), while for moving windows the most
 frequent way for me is to stick it to all pages and desks,
 change page, then eventually unstick it. Second choice is drag in
 the pager.

Yet another way, similar to (un)sticking a window, is to iconify the
window on the current page; switch to your destination page;
uniconify previously iconified window.


  - Parv

-- 




Re: FVWM: Labelling windows in the FvwmPager

2007-04-04 Thread Elliot Sowadsky
P in message [EMAIL PROTECTED],
P wrote Lucio Chiappetti thusly...

 Usually I switch desks and pages via the pager (rarely dragging a
 window to a neighbouring page), while for moving windows the most
 frequent way for me is to stick it to all pages and desks,
 change page, then eventually unstick it. Second choice is drag in
 the pager.

P Yet another way, similar to (un)sticking a window, is to iconify the
P window on the current page; switch to your destination page;
P uniconify previously iconified window.

I have titlebar buttons that move a window to a particular page.
shiftbutton also switches to that page.
controlbutton moves the window to the other desk.