Discussion:
FVWM: windowlist question
Ingo Wardinski
2011-11-08 18:09:37 UTC
Permalink
Hi there,
this afternoon I was playing around with fvwmiconman, windowlist and
fvwmwinlist just to figure out what may be the best for me. So
windowlist is my favorite. Unfortunately, I cannot tweak it not to
display miniicons. I set something like
Mouse 2 R A WindowList NoCurrentDeskTitle, NoGeometry, \
CurrentAtEnd, NoIcons, MaxLabelWidth 50, SelectOnRelease Alt_L

This works also when the options are not seperated by comas. I also
tried the fvwmwinlist module, but I cannot avoid icons be displayed,
unless I discard definitions of miniicons for applications.

I'm currently running fvwm 2.5.26 on linux (2.6.32-34)
Any help would be very much appreciated
ingo
Thomas Adam
2011-11-08 18:35:30 UTC
Permalink
Post by Ingo Wardinski
Hi there,
this afternoon I was playing around with fvwmiconman, windowlist and
fvwmwinlist just to figure out what may be the best for me. So
Do not use FvwmWinList for anything.
Post by Ingo Wardinski
windowlist is my favorite. Unfortunately, I cannot tweak it not to
display miniicons. I set something like
Mouse 2 R A WindowList NoCurrentDeskTitle, NoGeometry, \
CurrentAtEnd, NoIcons, MaxLabelWidth 50, SelectOnRelease Alt_L
This works also when the options are not seperated by comas. I also
No -- this is simply a facet of ParseTokens().
Post by Ingo Wardinski
tried the fvwmwinlist module, but I cannot avoid icons be displayed,
unless I discard definitions of miniicons for applications.
Correct. How else is the WindowList to know which miniicons to use?
Post by Ingo Wardinski
I'm currently running fvwm 2.5.26 on linux (2.6.32-34)
This version of FVWM isn't supported anymore. Use 2.6.3.

I'm struggling to understand your question. Have you looked also at
FvwmWindowMenu? This will replace WindowList in the future.

-- 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.)
Ingo Wardinski
2011-11-08 18:53:31 UTC
Permalink
[ On Tuesday, November 8, 2011 at 18:35:30 (+0000), Thomas Adam wrote: ]
Subject: Re: FVWM: windowlist question
Post by Ingo Wardinski
Hi there,
this afternoon I was playing around with fvwmiconman, windowlist and
fvwmwinlist just to figure out what may be the best for me. So
Do not use FvwmWinList for anything.
Post by Ingo Wardinski
windowlist is my favorite. Unfortunately, I cannot tweak it not to
display miniicons. I set something like
Mouse 2 R A WindowList NoCurrentDeskTitle, NoGeometry, \
CurrentAtEnd, NoIcons, MaxLabelWidth 50, SelectOnRelease Alt_L
This works also when the options are not seperated by comas. I also
No -- this is simply a facet of ParseTokens().
Post by Ingo Wardinski
tried the fvwmwinlist module, but I cannot avoid icons be displayed,
unless I discard definitions of miniicons for applications.
Correct. How else is the WindowList to know which miniicons to use?
Ok, this was my question, actually.
I will have a look on FvwmWindowMenu too.

thanks
ingo
Ingo Wardinski
2011-11-09 10:49:46 UTC
Permalink
Good Morning,
I had a look at FvwmWindowMenu, and I have a couple of questions.
Is there a way to sort the window entries in FvwmWindowMenu either by class
name, or any other criteria? The manpage says that menu entries are
placed by WindowListFunc. How could I sort entries by using
WindowListFunc?

Also, I would like to perform different actions on the entries of
FvwmWindowMenu, e.g. warptowindow or move the window to this page. I
was thinking to define some submenus with addtomenu and popup
actions. Has anyone done something like that before and would give
some advice?

I also would like to print the specific page number of a window, and
the manpage of FvwmWindowMenu gives the format specifiers of the
item string, but there is no specifier for the page number. Am I
right? I would be very happy if that could be included in a future
version of FvwmWindowMenu.

Thanks in advance
ingo
Thomas Adam
2011-11-09 15:40:56 UTC
Permalink
Post by Ingo Wardinski
Good Morning,
I had a look at FvwmWindowMenu, and I have a couple of questions.
Is there a way to sort the window entries in FvwmWindowMenu either by class
name, or any other criteria? The manpage says that menu entries are
placed by WindowListFunc. How could I sort entries by using
WindowListFunc?
No, this has nothing to do with WindowListFunc -- this is what's run when an
item is selected. As for ordering, you can use FvwmPerl to do this, since
the Show* properties of WindowMenu accept m// -- although were they to allow
m//xsg for instance, this would make things easier for sorting.
Post by Ingo Wardinski
Also, I would like to perform different actions on the entries of
FvwmWindowMenu, e.g. warptowindow or move the window to this page. I
was thinking to define some submenus with addtomenu and popup
actions. Has anyone done something like that before and would give
some advice?
You could use All() and use SendToModule to automatically do that, or script
it with FvwmPerl.
Post by Ingo Wardinski
I also would like to print the specific page number of a window, and
the manpage of FvwmWindowMenu gives the format specifiers of the
item string, but there is no specifier for the page number. Am I
right? I would be very happy if that could be included in a future
version of FvwmWindowMenu.
Patches welcome. It's trivial to do.

-- Thomas Adam
Ingo Wardinski
2011-11-10 13:33:19 UTC
Permalink
[ On Wednesday, November 9, 2011 at 15:40:56 (+0000), Thomas Adam wrote: ]
Post by Thomas Adam
Post by Ingo Wardinski
Also, I would like to perform different actions on the entries of
FvwmWindowMenu, e.g. warptowindow or move the window to this page. I
was thinking to define some submenus with addtomenu and popup
actions. Has anyone done something like that before and would give
some advice?
You could use All() and use SendToModule to automatically do that, or script
it with FvwmPerl.
Honestly, I can't see how, and I'm afraid that fvwmperl is beyond my
capabilities. At the minute I have a solution that invokes
FvwmWinList, i.e.

*FvwmWinList: Action Click1 Function DeiconifyAndRaise
*FvwmWinList: Action Click2 Pick Thumbnail
*FvwmWinList: Action Click3 Function Window-Focus-CurrentDesk-Raised

But Thomas said earlier not to use FvwmWinList at all.
What is/are the reason(s) not to use FvwmWinList at all? Is that
related to the synchronization problem with fvwm?

greets
ingo
Thomas Adam
2011-11-10 13:37:51 UTC
Permalink
Post by Ingo Wardinski
[ On Wednesday, November 9, 2011 at 15:40:56 (+0000), Thomas Adam wrote: ]
Post by Thomas Adam
Post by Ingo Wardinski
Also, I would like to perform different actions on the entries of
FvwmWindowMenu, e.g. warptowindow or move the window to this page. I
was thinking to define some submenus with addtomenu and popup
actions. Has anyone done something like that before and would give
some advice?
You could use All() and use SendToModule to automatically do that, or script
it with FvwmPerl.
Honestly, I can't see how, and I'm afraid that fvwmperl is beyond my
I'll patch it to add that then. It's easy to do.
Post by Ingo Wardinski
But Thomas said earlier not to use FvwmWinList at all.
What is/are the reason(s) not to use FvwmWinList at all? Is that
related to the synchronization problem with fvwm?
No: http://www.mail-archive.com/fvwm-***@fvwm.org/msg02654.html

It's just FvwmIconMan. So use that, or FvwmWindowMenu. I do not care
which.

-- Thomas Adam

Loading...