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

FvwmIdent(1)							   Fvwm Modules 						      FvwmIdent(1)

NAME
FvwmIdent - the Fvwm identify-window module SYNOPSIS
FvwmIdent is spawned by fvwm, so no command line invocation will work. DESCRIPTION
The FvwmIdent module prompts the user to select a target window, if the module was not launched from within a window context in Fvwm. After that, it pops up a window with information about the window which was selected. COPYRIGHTS
The FvwmIdent program, and the concept for interfacing this module to the Window Manager, are all original work by Robert Nation and Nobu- taka Suzuki. Copyright 1994, Robert Nation and Nobutaka Suzuki. 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, FvwmIdent gets config info from fvwm's module configuration database (see fvwm(1), section MODULE COMMANDS) to determine which colors and font to use. If the FvwmIdent executable is linked to another name, ie ln -s FvwmIdent MoreIdentify, then another module called MoreIdentify can be started, with a completely different configuration than FvwmIdent, simply by changing the keyword FvwmIdent to MoreIdentify. This way mul- tiple clutter-reduction programs can be used. INVOCATION
FvwmIdent can be invoked by binding the action 'Module FvwmIdent' to a menu or key-stroke in the .fvwm2rc file. Fvwm will search directory specified in the ModulePath configuration option to attempt to locate FvwmIdent. Although nothing keeps you from launching FvwmIdent at start-up time, you probably don't want to. Clicking into the FvwmIdent window or pressing a key while it has focus closes FvwmIdent. Pressing mouse button 2 in the window restarts FvwmIdent and asks for a new window to select. CONFIGURATION OPTIONS
FvwmIdent reads the same .fvwm2rc file as fvwm reads when it starts up, and looks for lines as listed below: *FvwmIdent: Colorset n Tells the module to use colorset n. See FvwmTheme. *FvwmIdent: Fore color Tells the module to use color instead of black for text. Switches off the Colorset option. *FvwmIdent: Back color Tells the module to use color instead of white for the window background. Switches off the Colorset option. *FvwmIdent: Font fontname Tells the module to use fontname instead of fixed for text. *FvwmIdent: MinimalLayer layer FvwmIdent places its window on the layer of a target window. But not below the minimal layer. By default, the minimal layer is 4 just like the fvwm default layer. If layer is 0, the layer of the target window is always used. If layer is "default" or not speci- fied, the default behavior is restored. If layer is "none", FvwmIdent is placed as a normal window even if the target window is above it. AUTHOR
Robert Nation and Nobutaka Suzuki (nobuta-s@is.aist-nara.ac.jp). 3rd Berkeley Distribution 7 May 208 (2.5.26) FvwmIdent(1)
Man Page