From: <dom...@us...> - 2014-10-07 15:18:50
|
Revision: 639 http://sourceforge.net/p/fvwm-crystal/code/639 Author: dominique_libre Date: 2014-10-07 15:18:47 +0000 (Tue, 07 Oct 2014) Log Message: ----------- Add BlankScreen function with Alt+B Modified Paths: -------------- ChangeLog fvwm/components/bindings/Misc-Keybindings fvwm/components/bindings/Misc-Keybindings_NumLock fvwm/components/functions/LoadCommonStuffs Added Paths: ----------- fvwm/components/functions/ScreenSaver Modified: ChangeLog =================================================================== --- ChangeLog 2014-10-07 14:53:18 UTC (rev 638) +++ ChangeLog 2014-10-07 15:18:47 UTC (rev 639) @@ -2,10 +2,13 @@ Mardi 7 octobre 2014 INSTALL; README; session-management.README: update - functions/CheckForFiles: load XDGMenu - apps/QuakeConsole: Fix horizontal shift - functions/Exec-Accelerator: Add support for urxvtd - + functions/CheckForFiles: load XDGMenu. + apps/QuakeConsole: Fix horizontal shift. + functions/Exec-Accelerator: Add support for urxvtd. ++ functions/ScreenSaver: Add instantaneous screen blanking support. + functions/LoadCommonStuffs: Add ScreenSaver to the files we want to load by default. + bindings/Misc-Keybindings*: Add Alt+B binding for BlankScreen function. Fixed typo. + Vendredi 2 mai 2014 Dominique Michel + addons/makecrystalicon: make fvwm-crystal icons from arbitrary image files. bin/fvwm-crystal.generate-menu: review of the usage comment; add new additional Modified: fvwm/components/bindings/Misc-Keybindings =================================================================== --- fvwm/components/bindings/Misc-Keybindings 2014-10-07 14:53:18 UTC (rev 638) +++ fvwm/components/bindings/Misc-Keybindings 2014-10-07 15:18:47 UTC (rev 639) @@ -18,6 +18,9 @@ # Screenshot Key Print A $[Mod] Screenshot +# ScreenBlanker +Key B A $[Mod1] BlankScreen + # Application menu # Windows Left #Key Super_L A $[Mod1] Menu /Applications root c c Modified: fvwm/components/bindings/Misc-Keybindings_NumLock =================================================================== --- fvwm/components/bindings/Misc-Keybindings_NumLock 2014-10-07 14:53:18 UTC (rev 638) +++ fvwm/components/bindings/Misc-Keybindings_NumLock 2014-10-07 15:18:47 UTC (rev 639) @@ -9,6 +9,9 @@ # Open FvwmConsole using Alt+; Key semicolon A $[Mod1]2 FvwmMiniConsole +# Screen blanker +Key B A $[mod1]2 BlankScreen + # Application menu # Windows Left #Key Super_L A $[Mod1]2 Menu /Applications root c c @@ -22,6 +25,6 @@ Key A A $[Mod1]2 Menu FvwmMenu # FvwmExpose -Key E A $[Mod1]2 Fvwm-Expose +Key E A $[Mod1]2 FvwmExpose # vim:ft=fvwm Modified: fvwm/components/functions/LoadCommonStuffs =================================================================== --- fvwm/components/functions/LoadCommonStuffs 2014-10-07 14:53:18 UTC (rev 638) +++ fvwm/components/functions/LoadCommonStuffs 2014-10-07 15:18:47 UTC (rev 639) @@ -39,6 +39,7 @@ Include components/apps/QuakeConsole Include components/apps/OpenOffice.org Include components/functions/Xephyr +Include components/functions/ScreenSaver # Desktop & window bindings {{{2 Include components/bindings/Desktop-RMB-OpenTerminal Added: fvwm/components/functions/ScreenSaver =================================================================== --- fvwm/components/functions/ScreenSaver (rev 0) +++ fvwm/components/functions/ScreenSaver 2014-10-07 15:18:47 UTC (rev 639) @@ -0,0 +1,11 @@ +# FVWM-Crystal: BlankScreen +# Written by Dominique Michel +# Not all computers have an instant blanking key, this file add such a function +# that can be called by a key binding (Alt+B by default). +# +# We need to use xset 2 consecutive times for it to stay +DestroyFunc BlankScreen +AddToFunc BlankScreen ++ I Exec exec xset dpms force off ++ I Exec exec xset dpms force off + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |