Re: FVWM: Recommend Config for Fluxbox user

2016-06-20 Thread Tim Johnson
* Tim Johnson  [160620 16:48]:
> Hello :
> 
> This is partly to test my assimilation into the fvwm mailing list,
> and in part for a recommendation or recommendations.
> 
> I have installed fvwm 3.2.7 on an 64-bit Ubuntu 14.04 machine (mac mini).
 
  Please note, from a personal reply, I was told, that 2.6.6 is the
  latest version.

  I got the string "3.2.6" from ~/.fvwm/Version

  fvwm --version returns 
fvwm 2.6.5 compiled on Nov 14 2013 at 23:12:38
  (installed from Ubuntu Synaptic)

  Sorry about the mixup. On my system, .fvwm is created on the first
  invocation and file Version is contain in that directory.

  For those unfamiliar with fluxbox, I could just use some config
  that enables easy access to window menus. With the vanilla config,
  I couldn't even find a way to close a window (other than
  terminating the child app).

  From 
man fvwm 
  I read the following:
  
  BUILTIN KEY AND MOUSE BINDINGS
   The following commands are built-in to fvwm:

   Key Help R A Popup MenuFvwmRoot
   Key F1 R A Popup MenuFvwmRoot
   Key Tab A M WindowList Root c c NoDeskSort
   Key Escape A MC EscapeFunc
   Mouse 1 R A Menu MenuFvwmRoot
   Mouse 1 T   A FuncFvwmRaiseLowerX Move
   Mouse 1 FS  A FuncFvwmRaiseLowerX Resize
   Mouse 2 FST A FuncFvwmRaiseLowerX Move
   AddToFunc FuncFvwmRaiseLowerX
   + I Raise
   + M $0
   + D Lower
  

  But, from that I was not even able to grok how to close a window. Or get a
  window menu. 

  To reiterate, on Ubuntu 14.04, version 2.6.5
-- 
Tim 
http://www.akwebsoft.com, http://www.tj49.com



FVWM: Recommend Config for Fluxbox user

2016-06-20 Thread Tim Johnson
Hello :

This is partly to test my assimilation into the fvwm mailing list,
and in part for a recommendation or recommendations.

I have installed fvwm 3.2.7 on an 64-bit Ubuntu 14.04 machine (mac mini).

I am most used to fluxbox 1.3.5. My fluxbox config is pretty basic.

For me to get used to fvwm without too much fumbling about, I could
use a config file that might provide me with the most familiar
environment.

I see some examples at /usr/share/doc/fvwm/examples

Any other recommendations are welcome. I use emacs, so Control-Alt
prefixes to key bindings would have to be remapped, but I should be
able to handle such remapping.

TIA
-- 
Tim 
http://www.akwebsoft.com, http://www.tj49.com



Re: FVWM: Is there a way to ignore other windows when placing one?

2016-06-20 Thread lee
Michael Großer  writes:

> lee wrote:
>> Michael Großer  writes:
>> 
>>> Michael Großer wrote:
 Dan Espen wrote:
> lee  writes:
> 
>> Hi,
>>
>> the subject pretty much says it:
>>
>> Can I somehow make it so that fvwm ignores particular windows when
>> figuring out where to place a new one?
> 
> Not that I know of.
> 
> What are you trying to do?
 
 Without awaiting the answer about what is tried to do:
 
 If no official way helps, there is always a dirty but "creative"
 approach.
 
 - Minimize the particular windows that you want to ignore
 - Hide their icons
 - Place your new window
 - Unhide the hidden icons
 - Reopen the minimized windows
 
 The process would perhaps have an optical effect that is not so good
 looking, but the "creative" approach could solve your problem if no other
 expert delivers a better solution :-)
>>>
>>> Another idea:
>>>
>>> - Move the particular windows to a desktop that solely exists for that 
>>> purpose
>>> - Place your new window
>>> - Move the cleared away windows back to their original place
>> 
>> Thanks, these are good ideas :)
>> 
>> I haven't figured out how to use multiple desks, though.  I tried that
>> once and apparently got multiple desks just by naming some, but no way
>> to switch between them.
>
> In addition to what Dan Espen and Lucio Chiappetti wrote, I could
> dig out an old text from me where I described my 7-dimensional approach
> of working (how I work until today):
> https://www.mail-archive.com/fvwm@fvwm.org/msg02282.html

Interesting :)  It seems very confusing, though.  How do you remember
what is where?  I have a plain setup with just 6x6 pages and many times
have to flip between them to find the particular page I want to go to.
I would have to remember what is currently on which page, on which page
I currently am and how to get to the page I want to go to.  I don't
always remember that.

> Then, there is another nice tool apart from FVWM, with wich you can
> play around. Try these commands:
>
> # wmctrl -s 0
> # xterm -title sun
> # wmctrl -s 4
> # wmctrl -R sun
> # wmctrl -r sun -N moon
>
> Wmctrl is funny, but GotoDesk and GotoDeskAndPage are better, because they
> distinguish between viewports (pages) and desks.

Well, I have switching pages on Alt+Cursor (or AltGr, depending on what
keyboard I currently use).  I can also move mouse pointer over the edge
to switch pages.

But desks?  Perhaps I could put them on Alt+(some key on the numpad), or
make use of the ScrollLock key.  Hm.  It might be worth a try as it
could be easier to remember on what desk something is when each has like
2x2 pages only.

>> What I'm trying to do is achieving more reasonable window placement.  I
>> found that one small window can make it so that a larger window is not
>> placed the way I would consider reasonable.  I found that out by
>> manually moving the small window around to see what placement I would
>> get and concluded that if fvwm would ignore the small window when it
>> figures out the placement of the larger one, the larger window would be
>> placed well.  So I wondered if I could have fvwm ignore the small
>> window.
>> 
>> Now you suggest to move the small window out of the way automatically
>> rather than manually --- something I haven't thought of :)
>
> Can you describe in more detail, which kind of small window is interfering
> with what kind of larger window? What is your use case? If there is no
> technical approach to solve your wish generally, perhaps another creative
> idea could arise to solve your special use cases.

It's the pager window getting in the way of the placement of others
windows.  The pager is at the right bottom of the screen and stick,
usually covered by other windows which I actually use.

When I start seamonkey, seamonkey opens two windows, each half size of
the display.  I do that on an otherwise empty page, except for the
pager, and fvwm places one window at the left of the display and the
other in the middle so the the pager window is not covered up.  I want
each window of seamonkey placed at ether the left or the right so that
they are side by side and don't overlap each other but one of them
overlaps the pager window.

The placement does work fine when there is no pager window.  Basically,
for all windows, fvwm should ignore the pager window when figuring out
where to place a window.

> One creative idea could be that you place special windows by yourself
> like that:
> # xterm -geometry 100x20+0+0 -e "echo \"I'm always top left\";bash"
> # xterm -geometry 100x20 -e "echo \"I'm 100x20 and pick my own place\";bash"
>
> Some Linux/Unix programs take arguments like "-geometry", and if your
> small and large windows are software like xterm, nedit or the like,
> your issues were quickly solved just by giving them "-geometry" arguments
> to automatically place them in harmony with each other.

Seamonkey remembers its

Re: FVWM: Is there a way to ignore other windows when placing one?

2016-06-20 Thread lee
Dan Espen  writes:

> elliot s  writes:
>
>> If fvwm can (be made to) optionally ignore lower layers during
>> auto-placement, that would work.
>
> Long ago, Fvwm got so many options that I'm unable to keep track.
>
> MinOverlapPlacementPenalties has a series of arguments including "below"
> that may help.

How would I give the pager window the EWMHPlacementUseWorkingArea style?


-- 
After using i3 for a while, I totally realized that it is the job of
the window manger to mange the windows, literally.  It is, by all
means, /not/ the job of the user.  Once you realized this, you can see
the irony of calling an operating system "Windows", and you even have
to say they did a good job with that.



Re: FVWM: Is there a way to ignore other windows when placing one?

2016-06-20 Thread lee
Lucio Chiappetti  writes:

> On Sat, 17 Oct 2015, lee wrote:
>
>> I haven't figured out how to use multiple desks, though.  I tried
>> that once and apparently got multiple desks just by naming some, but
>> no way to switch between them.
>
> As other said, people usually use the pager to move among multiple
> desks (or multiple pages of one desk, or multiple pages of multiple
> desks),

I use the pager only to display an overview so I can see on which page I
am if I need to.  To switch pages, I move the mouse over the edge of the
screen, or, most of the time, use key bindings.

> but one can implement other ways ... menus in the root menu,
> buttons in a bar or widget, keyboard accelerators, menus in the window
> menu (to move a window to occupy a given desk or page). I have
> implemented most of those in my .fvwmrc although I do not use all of
> them with the same frequency (see
> http://sax.iasf-milano.inaf.it/~lucio/WWW/Opinions/window.html for
> screenshots and links to examples)

That page doesn't seem to exist anymore.



Re: FVWM: Is there a way to ignore other windows when placing one?

2016-06-20 Thread lee
Dan Espen  writes:

> lee  writes:
>
>> Michael Großer  writes:
>>
>>> Michael Großer wrote:
 Dan Espen wrote:
> lee  writes:
> 
>> Hi,
>>
>> the subject pretty much says it:
>>
>> Can I somehow make it so that fvwm ignores particular windows when
>> figuring out where to place a new one?
> 
> Not that I know of.
> 
> What are you trying to do?
 
 Without awaiting the answer about what is tried to do:
 
 If no official way helps, there is always a dirty but "creative"
 approach.
 
 - Minimize the particular windows that you want to ignore
 - Hide their icons
 - Place your new window
 - Unhide the hidden icons
 - Reopen the minimized windows
 
 The process would perhaps have an optical effect that is not so good
 looking, but the "creative" approach could solve your problem if no other
 expert delivers a better solution :-)
>>>
>>> Another idea:
>>>
>>> - Move the particular windows to a desktop that solely exists for that 
>>> purpose
>>> - Place your new window
>>> - Move the cleared away windows back to their original place
>>
>> Thanks, these are good ideas :)
>>
>> I haven't figured out how to use multiple desks, though.  I tried that
>> once and apparently got multiple desks just by naming some, but no way
>> to switch between them.
>
> Most users use FvwmPager to switch desks.

I only got the name of a desk displayed in the pager --- it's actually
still there.  How do you switch between them with the pager?