2007/3/26 <d...@home.ctcnet.net>: >> >> I installed the latest (v2.5.21) and now have the UseStack option. Is >> >> there a way to have that sort alphabetically? >> > >> > No, you can't use it for sorting alphabetically, only to retain the >> > stacking >> > order of windows during restacking operations. There is no way to sort on >> > titles when using the All command. You would probbly have to write some >> > simple module to do that. >> > >> > /Viktor >> > >> >> I had some time to kill this evening, and put something together, mostly >> as a proof of concept. It's based on FvwmWindowMenu, and sorts in >> alphabetic order, no configuraton possible. > > Viktor: > > I finally had a second to put your module into my config. I have the > following:
I somehow missed that you replied to this. Sorry for not coming back to you. > > DestroyFunc "DeiconifyAndRearrange" > AddToFunc "DeiconifyAndRearrange" > + I All (CurrentDesk, Iconic) State 9 True > + I All (CurrentDesk, State 9) Iconify off > + I All (CurrentDesk, State 9) FvwmSort > + I All (CurrentDesk, State 9) Iconify on > + I All (CurrentDesk, State 9) State 9 False > > > Is that how you intended for the module to be used? I'm not seeing my > windows iconified in alphabetic order, so maybe I'm doing something > incorrectly. No. Sorry for not including instructions. In the fvwm build directory, run ./config.status --file=FvwmSort pod2man FvwmSort > FvwmSort.1 to get a manpage and the actual module. The module is then used as Module FvwmSort DestroyFunc "DeiconifyAndRearrange" AddToFunc "DeiconifyAndRearrange" + I All (CurrentDesk, Iconic) State 9 True + I All (CurrentDesk, State 9) Iconify off + I All (CurrentDesk, State 9) SendToModule FvwmSort Sort (CurrentDesk, State 9) Iconify on + I All (CurrentDesk, State 9) State 9 False /Viktor