Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fvwmsavedesk(1) [suse man page]

FvwmSaveDesk(1) 						   Fvwm Modules 						   FvwmSaveDesk(1)

NAME
FvwmSaveDesk - another fvwm desktop-layout saving module SYNOPSIS
FvwmSaveDesk is spawned by fvwm, so no command line invocation will work. DESCRIPTION
When called, this module will attempt to save your current desktop layout as a definition of extra lines for the function InitFunction into the file .fvwm2desk in your home directory. As explain in the other documentation, this function is called at startup of fvwm. You have to include this file in .fvwm2rc after the definition of the Function Initfunction. You can do this by using the module FvwmM4 or FvwmCpp. Your applications must supply certain hints to the X window system. Emacs and Netscape, for example, does not, so FvwmSaveDesk can't get any information from it. Also, FvwmSaveDesk assumes that certain command line options are globally accepted by applications, which may not be the case. SETUP USING FVWMM4 MODULE The M4 Macro processor substitutes its macros even in the middle of a word. Because of that you may have problems with predefined macros such as include or define. To avoid this the GNU M4 has an extra option to prefix all builtins with 'm4_'. FvwmM4 can be called with option -m4-prefix and then will provide the option -P to M4. I personally use the FvwmM4 module this way. fvwm -cmd "FvwmM4 -m4-prefix -m4opt -I$HOME $HOME/.fvwm2rc" Simply add the following line to the end of .fvwm2rc: m4_include(`.fvwm2desk') . SETUP USING FVWMCPP MODULE
With the FvwmCpp you may have the problem that the preprocessor directives starts with the comment character '#' and will complain about unknown directives, if you have comments in your .fvwm2rc. fvwm -cmd "FvwmCpp -C-I$HOME $HOME/.fvwm2rc" Simply add the following line to the end of .fvwm2rc: #include ".fvwm2desk" INVOCATION
FvwmSaveDesk can be invoked by adding it to a menu or binding it to a mouse button or key stroke in the .fvwm2rc file. Fvwm will search directory specified in the ModulePath configuration option to locate FvwmSaveDesk. To insert it to a menu, add the line + "Save Desktop" Module FvwmSaveDesk to the menu definition. I thing binding it to a mouse button is not very useful, but you can do that, by adding for example this line. Mouse 3 R CS Module FvwmSaveDesk Than FvwmSaveDesk will be called if you hit the right mouse button on the root window while holding the shift and control button down. You can bind FvwmSaveDesk to a function key F10 for example you have to insert the following line: Key F10 A Module FvwmSaveDesk I personally add it as a Button to the module FvwmButtons: *FvwmButtons SaveDesc desk.xpm Module FvwmSaveDesk AUTHOR
Carsten Paeth (calle@calle.in-berlin.de) 3rd Berkeley Distribution 7 May 208 (2.5.26) FvwmSaveDesk(1)

Check Out this Related Man Page

FvwmSave(1)						      General Commands Manual						       FvwmSave(1)

NAME
FvwmSave - the FVWM desktop-layout saving module SYNOPSIS
FvwmSave is spawned by fvwm, so no command line invocation will work. DESCRIPTION
When called, this module will attempt to save your current desktop layout into a file called new.xinitrc. Ideally, this file will look just like .xinitrc, but in reality, you will have to edit it to get a usable configuration, so be sure to keep a backup of your old .xinitrc. Your applications must supply certain hints to the X window system. Emacs, for example, does not, so FvwmSave can't get any information from it. Also, FvwmSave assumes that certain command line options are globally accepted by applications, which may not be the case. COPYRIGHTS
The NoClutter program, and the concept for interfacing this module to the Window Manager, are all original work by Robert Nation Copyright 1994, Robert Nation. No guarantees or warranties or anything are provided or implied in any way whatsoever. Use this program at your own risk. Permission to use this program for any purpose is given, as long as the copyright is kept intact. INITIALIZATION
During initialization, NoClutter will eventually search a configuration file which describes the time-outs and actions to take. The con- figuration file is the same file that fvwm used during initialization. If the NoClutter executable is linked to another name, ie ln -s NoClutter OtherClutter, then another module called OtherClutter can be started, with a completely different configuration than NoClutter, simply by changing the keyword NoClutter to OtherClutter. This way mul- tiple clutter-reduction programs can be used. INVOCATION
NoClutter can be invoked by inserting the line 'Module NoClutter' in the .fvwmrc file. This can be placed on a line by itself, if NoClutter is to be spawned during fvwm's initialization, or can be bound to a menu or mouse button or keystroke to invoke it later. Fvwm will search directory specified in the ModulePath configuration option to attempt to locate NoClutter. CONFIGURATION OPTIONS
NoClutter reads the same .fvwmrc file as fvwm reads when it starts up, and looks for lines similar to "*NoClutter 3600 Iconify". The format of these lines is "*NoClutter [time] [command]", where command is any fvwm built-in command, and time is the time in seconds between when a window looses focus and when the command is executed. At most 3 actions can be specified. AUTHOR
Robert Nation and Mr. Per Persson <pp@solace.mh.se> (Omnion on IRC) 3rd Berkeley Distribution Jan 28 1994 FvwmSave(1)
Man Page