Re: FVWM: Various notes on my experience with FVWM

2012-03-18 Thread Mathieu Bonnet
Hi,


Thanks for your response, and sorry for my late reply.


On 2012-02-09 01:10:55+,
Thomas Adam tho...@fvwm.org wrote:

  14) Configuration GTK en su root.
 
 Eh?



Sorry, wrote this in the wrong file.



  24) I'm used to being able to click the root window to
  unfocus windows, to remove the text cursor and prevent text
  entry. It's mostly a tic, but I'd like to reproduce this in
  FVWM, which by default, after having remove the left-click
  root menu, does not unfocus windows at all when clicking
  the root window.
 
 And?



Style Root NeverFocus?


 
  25) Why Iconify, Maximize, Delete, etc., but
  WindowShade?
 
 Eh?
 


WindowShade = Shade


 
  As another example, in FvwmButtons, the manual says the
  Colorset option only sets the background color... We have
  to use the Fore option for the foreground, and apparently
  it does not accept colorsets. Not only is this
  inconsistent, but it also make us lose the benefit of
  centralizing color definitions to easily change them...
 
 I think you've got your knickers in a twist here -- a defined
 colorset works fine in FvwmButtons.
 


In FvwmButtons manual of FVWM 2.6.4:

*FvwmButtons: Colorset colorset
Tells the module to use colorset colorset for the window
background. Refer to the FvwmTheme man page for details about
colorsets. 


 
  41) I get this in my logs:
  
  FvwmIconMan: Bad line: *FvwmIconManUseWinList Yes
  FvwmIconMan: What is this: Yes?
  
  - FvwmIconMan does not accept Yes/yes/No/no for
  booleans values, contrary to the main FVWM
  commands/options. It should, for consistency.
 
 Consistency with what?
 


Main FVWM manual, section 25. Boolean Arguments:

A number of commands take one or several boolean arguments.
These take a few equivalent inputs: yes, on, true, t
and y all evaluate to true while no, off, false, f
and n evaluate to false. [...]


 
  46) *FvwmScript: Path $HOME/.fvwm/scripts does not work.
  $HOME is not expanded. Same with '~'. And it does not
  accept quotes (they are included literally in the path).
 
 FVWM doesn't expand env vars like this, including ~, so why
 is it any different here, would you think?



Well it does for the Restart command (Main manual, 31.13.3),
but what I meant was that I wanted it to work.


 
  options). Linking the concatenation of the
  IconBox/IconGrid/IconFill (and IconSize?) options is an
  abuse of the generic meaning of the syntax. Having a
  backslash act the same as a command separator is even
  worst. It also forces longer (and defining a multitude of
  abbreviations for otherwise short commands like the
  IconFill option is not a solution) and more complex lines.
 
 Are you mistaking the backslashes for readability in the man
 page?
 


Main FVWM manual: A Style command with the IconBox option
replaces any icon box defined previously by another Style
command for the same style. Thats why the backslash in the
previous example is required.

If the meaning is required if you want to split lines, then
it should be added to remove any possible confusion. (I'd like
to propose patches at least for these simple documentation
changes, but I do not have enough time, I just wrote problems I
encountered and suggestions I could make, like I do with many
other programs).


Bye.


-- 
Mathieu Bonnet math...@kawagama.net



Re: FVWM: Various notes on my experience with FVWM

2012-03-19 Thread Mathieu Bonnet
Hi,


On 2012-03-18 21:29:14+,
Thomas Adam tho...@fvwm.org wrote:

 On Sun, Mar 18, 2012 at 04:40:14PM +0100, Mathieu Bonnet
 wrote:
  Style Root NeverFocus?
 
 You can't focus the root window.  Do you mean MouseFocus?
 


Oops sorry, dunno what I was thinking. I meant on the contrary
some sort of pseudo-focus for the root window... I want to be
able to unfocus windows by clicking on the root window, for
example to avoid any keyboard input in program windows...

If not a precise option (and I understand it should be an
option, so we can have other mouse shortcuts on the root window
without removing the focus from the currently focused window),
the possibility to use something like:

Mouse 1 R A Focus

Currently, it apparently changes to a mode to select a window to
focus, probably a generic behavior when using window commands
without clicking an actual program window (the focused window
does not receive keyboard input anymore, the cursor changes to a
cross, clicking a program window gives it focus, or clicking on
root window again simply get us back to the beginning, with the
focus on the window which had focus before clicking the root
window, so it's only half the solution).

This while using ClickToFocus. I don't want to use MouseFocus
(not even just on the root window if it was possible).



  In FvwmButtons manual of FVWM 2.6.4:
  
  *FvwmButtons: Colorset colorset
  Tells the module to use colorset colorset for the window
  background. Refer to the FvwmTheme man page for details
  about colorsets. 
 
 How is this unclear?  I don't like the reference to
 FvwmTheme, but...



I was saying, and I quoted it, that the manual present this
option as only setting the background style (well,
technically, it does not say only, but it's obviously
confusing), meaning we would have to use the Fore option to
set the foreground style, defeating the centralization purpose
of the Colorset option.

You replied the Colorset option does work for both the
background and foreground (technically you didn't, but I
suppose that's was you meant), and I replied by quoting the
manual. If it does work, then the mention to the background, in
the quoted passage, should be removed, or, for even more
clarity, it should enumerate everything it applies to, that is,
in this case, background and foreground styles.


Bye.


-- 
Mathieu Bonnet math...@kawagama.net