Re: FVWM: firefox and fullscreen video stream
On 9 May 2013 14:11, Dominique Michel dominique.mic...@vtxnet.ch wrote: If I put a fvwm-button at the top of the video, the video remain in fullscreen, but if I put another application at the top of the video, firefox switch the video at its normal size. Is it some style option I can use for firefox in order to prevent it to switch back the video in their normal size when another window is bring at the top? You can certainly capture the class of the video and set that to a higher layer, although more than likely you're running up against the fact that the flash window when it loses focus, it reverts to its original size. -- Thomas Adam
Re: FVWM: FvwmPerl Preprocessing
El dimarts, 07 de maig del 2013 a les 15:55, Thomas Adam va escriure: On 7 May 2013 13:35, mimosinnet mimosin...@gmail.com wrote: [FVWM][__execute_function]: ERROR No such command '%{' This has been discussed in the list: http://www.mail-archive.com/fvwm@lists.math.uh.edu/msg09164.html But I am not clear on what is the right configuration. We need to see your config file before any of this makes sense. Thanks for the message. Just for testing it, I have just created this configuration file..., ~/.fvwm/config.pl key i A C Exec exec xmessage -nearmouse No preprocesing %{ $b = Preprocessing; $a = key i A S Exec exec xmessage -nearmouse $b; $a }% %{ @a = (KP_Home, KP_Up, KP_Prior, KP_Left, KP_Begin, KP_Right, KP_End, KP_Down, KP_Next ); $i = 0; $b = ; foreach (@a ) { $b = $b . Key $_ A N Exec exec xmessage -nearmouse $i \n; $i = $i +1; } $b }% Executed with: eval 'fvwm -c Module FvwmPerl --preprocess /home/mimosinnet/.fvwm/config.pl' And it works! :-D :-) Thanks! You pointed to the right direction. I was directly making changes in my huge fvwm configuration instead of trying to find a test. I am a happy bunny with a new toy to play with. Cheers! -- Mimosinnet Linux User: #463211 41:24:51N (41.4141) 2:11:24E (2.1902) Ningún Lugar Activisme Cultural per a la Transformació Social http://generatech.org/ningunlugar Fractalitats en Investigació Crítica Investigació Crítica per a la Transformació Social http://psicologiasocial.uab.es/fic pgpswsaEReCfQ.pgp Description: PGP signature
Re: FVWM: FvwmPerl Preprocessing
El dijous, 09 de maig del 2013 a les 14:53, Thomas Adam va escriure: On 9 May 2013 14:40, mimosinnet mimosin...@gmail.com wrote: code I appreciate this is likely in the examples, but the use of @a/@b and $a/$b should be discouraged because these are special variables in perl which are used for block-level commands like sort/map/grep. Also, see the use of qw here for your @a array, above. $i = 0; $b = ; foreach (@a ) { $b = $b . Key $_ A N Exec exec xmessage -nearmouse $i \n; $i = $i +1; } $b You can get the same effect by doing: $i = 0; $foo = join (\n, map { Key $_ A N Exec exec foo -nearmouse . $i++ } @a ); $foo Looks like there is still lots to learn! I will get acquainted with the map and join. Meanwhile, I have updated the information in the fvwm forums: - http://www.fvwmforums.org/phpBB3/viewtopic.php?f=33t=2970p=14185#p14185 - And mentioned in the awesome wiki about the possibilities of Perl preprocessing: http://awesome.naquadah.org/wiki/Keybindings_and_numeric_pad#Having_all_together_in_few_lines_of_code.21.21 Thanks! -- Mimosinnet Linux User: #463211 41:24:51N (41.4141) 2:11:24E (2.1902) Ningún Lugar Activisme Cultural per a la Transformació Social http://generatech.org/ningunlugar Fractalitats en Investigació Crítica Investigació Crítica per a la Transformació Social http://psicologiasocial.uab.es/fic pgpzUbhpzn23L.pgp Description: PGP signature