Hi, I have similar troubles here with cssh and fvwm too.
Attached are my .csshrc, output from cssh -dDG dalton, and the .fvwm2rc file I'm using (in case the placement policy matters). Note that only 5 hosts out of 6 do work. But the 6 hosts _are_ up ! Regards, Samuel
ignore_host_errors=yes #terminal = rxvt-xpm terminal_options = -fn -misc-fixed-medium-r-normal--7-70-75-75-c-50-iso8859-15 -bg black -fg white terminal=xterm #terminal_allow_send_events= clusters = daltons dalton sci sci_rens sparc dalton = joe jack william averell calamity billy daltons = joe jack william averell calamity billy sci = sci0 sci1 sci2 sci3 sci4 sci5 sci6 sci7 sci_rens = sci0.rens sci1.rens sci2.rens sci3.rens sci4.rens sci5.rens sci6.rens sci7.rens sparc = sparc2 sparc3 sparc4 sparc5 sparc6 sparc7 sparc8
Reading in from config file /etc/csshrc Reading in from config file /home/samy/.csshrc ignore_host_errors=yes terminal_options=-fn -misc-fixed-medium-r-normal--7-70-75-75-c-50-iso8859-15 -bg black -fg white terminal=xterm clusters=daltons dalton sci sci_rens sparc dalton=joe jack william averell calamity billy daltons=joe jack william averell calamity billy sci=sci0 sci1 sci2 sci3 sci4 sci5 sci6 sci7 sci_rens=sci0.rens sci1.rens sci2.rens sci3.rens sci4.rens sci5.rens sci6.rens sci7.rens sparc=sparc2 sparc3 sparc4 sparc5 sparc6 sparc7 sparc8 Checking path to xterm Looking for xterm Looking in /usr/lib/ccache Looking in /usr/local/bin Looking in /home/samy/bin Looking in /opt/cxoffice/bin Looking in /usr/lib/ccache Looking in /usr/local/bin Looking in /home/samy/bin Looking in /opt/cxoffice/bin Looking in /usr/local/bin Looking in /usr/bin Looking in /bin Looking in /usr/bin/X11 Found at /usr/bin/X11/xterm Checking path to ssh Looking for ssh Already configured OK Fetching font size Done with font size Logging for /etc/clusters Looking for csshrc Loading clusters in from csshrc cluster daltons = joe jack william averell calamity billy cluster dalton = joe jack william averell calamity billy cluster sci = sci0 sci1 sci2 sci3 sci4 sci5 sci6 sci7 cluster sci_rens = sci0.rens sci1.rens sci2.rens sci3.rens sci4.rens sci5.rens sci6.rens sci7.rens cluster sparc = sparc2 sparc3 sparc4 sparc5 sparc6 sparc7 sparc8 Found server dalton Found server joe Found server jack Found server william Found server averell Found server calamity Found server billy leaving with joe leaving with jack leaving with william leaving with averell leaving with calamity leaving with billy REAPER currently returns: -1 Setting up helper script my $pipe=shift; my $svr=shift; my $user=shift; $user = $user ? "-l $user" : ""; open(PIPE, ">", $pipe); print PIPE "$ENV{WINDOWID}"; close(PIPE); if($svr =~ /==$/) { $svr =~ s/==$//; warn(" WARNING: failed to resolve IP address for $svr. ". "Either 'ignore_host_errors' or -i is set. This connection may hang " ); } exec("ssh -x -o ConnectTimeout=10 $user $svr"); Helper script done Working on server joe for joe Set temp name to: /tmp/yjzdgc4QuL Terminal testing line: /usr/bin/X11/xterm -xrm 'XTerm.VT100.allowSendEvents:true' -e 'echo Working - waiting 10 seconds;sleep 10;exit' Terminal exec line: /usr/bin/X11/xterm -xrm 'XTerm.VT100.allowSendEvents:true' -T 'CSSH:joe' -font 6x13 -e /usr/bin/perl -e ' my $pipe=shift; my $svr=shift; my $user=shift; $user = $user ? "-l $user" : ""; open(PIPE, ">", $pipe); print PIPE "$ENV{WINDOWID}"; close(PIPE); if($svr =~ /==$/) { $svr =~ s/==$//; warn(" WARNING: failed to resolve IP address for $svr. ". "Either 'ignore_host_errors' or -i is set. This connection may hang " ); } exec("ssh -x -o ConnectTimeout=10 $user $svr"); ' /tmp/yjzdgc4QuL joe== /usr/bin/X11/xterm -xrm 'XTerm.VT100.allowSendEvents:true' -T 'CSSH:joe' -font 6x13 -e /usr/bin/perl -e ' my $pipe=shift; my $svr=shift; my $user=shift; $user = $user ? "-l $user" : ""; open(PIPE, ">", $pipe); print PIPE "$ENV{WINDOWID}"; close(PIPE); if($svr =~ /==$/) { $svr =~ s/==$//; warn(" WARNING: failed to resolve IP address for $svr. ". "Either 'ignore_host_errors' or -i is set. This connection may hang " ); } exec("ssh -x -o ConnectTimeout=10 $user $svr"); ' /tmp/yjzdgc4QuL joe== Working on server jack for jack Set temp name to: /tmp/sj24a5bGHa Terminal testing line: /usr/bin/X11/xterm -xrm 'XTerm.VT100.allowSendEvents:true' -e 'echo Working - waiting 10 seconds;sleep 10;exit' Terminal exec line: /usr/bin/X11/xterm -xrm 'XTerm.VT100.allowSendEvents:true' -T 'CSSH:jack' -font 6x13 -e /usr/bin/perl -e ' my $pipe=shift; my $svr=shift; my $user=shift; $user = $user ? "-l $user" : ""; open(PIPE, ">", $pipe); print PIPE "$ENV{WINDOWID}"; close(PIPE); if($svr =~ /==$/) { $svr =~ s/==$//; warn(" WARNING: failed to resolve IP address for $svr. ". "Either 'ignore_host_errors' or -i is set. This connection may hang " ); } exec("ssh -x -o ConnectTimeout=10 $user $svr"); ' /tmp/sj24a5bGHa jack== /usr/bin/X11/xterm -xrm 'XTerm.VT100.allowSendEvents:true' -T 'CSSH:jack' -font 6x13 -e /usr/bin/perl -e ' my $pipe=shift; my $svr=shift; my $user=shift; $user = $user ? "-l $user" : ""; open(PIPE, ">", $pipe); print PIPE "$ENV{WINDOWID}"; close(PIPE); if($svr =~ /==$/) { $svr =~ s/==$//; warn(" WARNING: failed to resolve IP address for $svr. ". "Either 'ignore_host_errors' or -i is set. This connection may hang " ); } exec("ssh -x -o ConnectTimeout=10 $user $svr"); ' /tmp/sj24a5bGHa jack== Working on server william for william Set temp name to: /tmp/KF7wRlQ7rN Terminal testing line: /usr/bin/X11/xterm -xrm 'XTerm.VT100.allowSendEvents:true' -e 'echo Working - waiting 10 seconds;sleep 10;exit' Terminal exec line: /usr/bin/X11/xterm -xrm 'XTerm.VT100.allowSendEvents:true' -T 'CSSH:william' -font 6x13 -e /usr/bin/perl -e ' my $pipe=shift; my $svr=shift; my $user=shift; $user = $user ? "-l $user" : ""; open(PIPE, ">", $pipe); print PIPE "$ENV{WINDOWID}"; close(PIPE); if($svr =~ /==$/) { $svr =~ s/==$//; warn(" WARNING: failed to resolve IP address for $svr. ". "Either 'ignore_host_errors' or -i is set. This connection may hang " ); } exec("ssh -x -o ConnectTimeout=10 $user $svr"); ' /tmp/KF7wRlQ7rN william== /usr/bin/X11/xterm -xrm 'XTerm.VT100.allowSendEvents:true' -T 'CSSH:william' -font 6x13 -e /usr/bin/perl -e ' my $pipe=shift; my $svr=shift; my $user=shift; $user = $user ? "-l $user" : ""; open(PIPE, ">", $pipe); print PIPE "$ENV{WINDOWID}"; close(PIPE); if($svr =~ /==$/) { $svr =~ s/==$//; warn(" WARNING: failed to resolve IP address for $svr. ". "Either 'ignore_host_errors' or -i is set. This connection may hang " ); } exec("ssh -x -o ConnectTimeout=10 $user $svr"); ' /tmp/KF7wRlQ7rN william== Working on server averell for averell Set temp name to: /tmp/FhmidDuOjt Terminal testing line: /usr/bin/X11/xterm -xrm 'XTerm.VT100.allowSendEvents:true' -e 'echo Working - waiting 10 seconds;sleep 10;exit' Terminal exec line: /usr/bin/X11/xterm -xrm 'XTerm.VT100.allowSendEvents:true' -T 'CSSH:averell' -font 6x13 -e /usr/bin/perl -e ' my $pipe=shift; my $svr=shift; my $user=shift; $user = $user ? "-l $user" : ""; open(PIPE, ">", $pipe); print PIPE "$ENV{WINDOWID}"; close(PIPE); if($svr =~ /==$/) { $svr =~ s/==$//; warn(" WARNING: failed to resolve IP address for $svr. ". "Either 'ignore_host_errors' or -i is set. This connection may hang " ); } exec("ssh -x -o ConnectTimeout=10 $user $svr"); ' /tmp/FhmidDuOjt averell== /usr/bin/X11/xterm -xrm 'XTerm.VT100.allowSendEvents:true' -T 'CSSH:averell' -font 6x13 -e /usr/bin/perl -e ' my $pipe=shift; my $svr=shift; my $user=shift; $user = $user ? "-l $user" : ""; open(PIPE, ">", $pipe); print PIPE "$ENV{WINDOWID}"; close(PIPE); if($svr =~ /==$/) { $svr =~ s/==$//; warn(" WARNING: failed to resolve IP address for $svr. ". "Either 'ignore_host_errors' or -i is set. This connection may hang " ); } exec("ssh -x -o ConnectTimeout=10 $user $svr"); ' /tmp/FhmidDuOjt averell== Working on server calamity for calamity Set temp name to: /tmp/xTgnOulzPf Terminal testing line: /usr/bin/X11/xterm -xrm 'XTerm.VT100.allowSendEvents:true' -e 'echo Working - waiting 10 seconds;sleep 10;exit' Terminal exec line: /usr/bin/X11/xterm -xrm 'XTerm.VT100.allowSendEvents:true' -T 'CSSH:calamity' -font 6x13 -e /usr/bin/perl -e ' my $pipe=shift; my $svr=shift; my $user=shift; $user = $user ? "-l $user" : ""; open(PIPE, ">", $pipe); print PIPE "$ENV{WINDOWID}"; close(PIPE); if($svr =~ /==$/) { $svr =~ s/==$//; warn(" WARNING: failed to resolve IP address for $svr. ". "Either 'ignore_host_errors' or -i is set. This connection may hang " ); } exec("ssh -x -o ConnectTimeout=10 $user $svr"); ' /tmp/xTgnOulzPf calamity== /usr/bin/X11/xterm -xrm 'XTerm.VT100.allowSendEvents:true' -T 'CSSH:calamity' -font 6x13 -e /usr/bin/perl -e ' my $pipe=shift; my $svr=shift; my $user=shift; $user = $user ? "-l $user" : ""; open(PIPE, ">", $pipe); print PIPE "$ENV{WINDOWID}"; close(PIPE); if($svr =~ /==$/) { $svr =~ s/==$//; warn(" WARNING: failed to resolve IP address for $svr. ". "Either 'ignore_host_errors' or -i is set. This connection may hang " ); } exec("ssh -x -o ConnectTimeout=10 $user $svr"); ' /tmp/xTgnOulzPf calamity== Working on server billy for billy Set temp name to: /tmp/m8p2B5199B Terminal testing line: /usr/bin/X11/xterm -xrm 'XTerm.VT100.allowSendEvents:true' -e 'echo Working - waiting 10 seconds;sleep 10;exit' Terminal exec line: /usr/bin/X11/xterm -xrm 'XTerm.VT100.allowSendEvents:true' -T 'CSSH:billy' -font 6x13 -e /usr/bin/perl -e ' my $pipe=shift; my $svr=shift; my $user=shift; $user = $user ? "-l $user" : ""; open(PIPE, ">", $pipe); print PIPE "$ENV{WINDOWID}"; close(PIPE); if($svr =~ /==$/) { $svr =~ s/==$//; warn(" WARNING: failed to resolve IP address for $svr. ". "Either 'ignore_host_errors' or -i is set. This connection may hang " ); } exec("ssh -x -o ConnectTimeout=10 $user $svr"); ' /tmp/m8p2B5199B billy== /usr/bin/X11/xterm -xrm 'XTerm.VT100.allowSendEvents:true' -T 'CSSH:billy' -font 6x13 -e /usr/bin/perl -e ' my $pipe=shift; my $svr=shift; my $user=shift; $user = $user ? "-l $user" : ""; open(PIPE, ">", $pipe); print PIPE "$ENV{WINDOWID}"; close(PIPE); if($svr =~ /==$/) { $svr =~ s/==$//; warn(" WARNING: failed to resolve IP address for $svr. ". "Either 'ignore_host_errors' or -i is set. This connection may hang " ); } exec("ssh -x -o ConnectTimeout=10 $user $svr"); ' /tmp/m8p2B5199B billy== Performing sysread Done and closing pipe Performing sysread Done and closing pipe Performing sysread Done and closing pipe Performing sysread Done and closing pipe Performing sysread Done and closing pipe Performing sysread Done and closing pipe All client windows opened Retiling windows Count is currently 6 Screen Columns: 2 Screen Rows: 3 Terminal height=328 Tiling top left going bot right x:0 y:0, r:0 c:0 Moving averell window Moving window 39845922 to x:0 y:0 (size x:488 y:322) x:488 y:0, r:0 c:1 Moving billy window Moving window 46137378 to x:488 y:0 (size x:488 y:322) x:0 y:322, r:1 c:0 Moving calamity window Moving window 41943074 to x:0 y:322 (size x:488 y:322) x:488 y:322, r:1 c:1 Moving jack window Moving window 35651618 to x:488 y:322 (size x:488 y:322) x:0 y:644, r:2 c:0 Moving joe window Moving window 33554466 to x:0 y:644 (size x:488 y:322) x:488 y:644, r:2 c:1 Moving william window Moving window 37748770 to x:488 y:644 (size x:488 y:322) Setting focus on william Setting focus on joe Setting focus on jack Setting focus on calamity Setting focus on billy Setting focus on averell Setting retile marker to 1 Sending console to front Building hosts menu Menu deleted Parsing list Checking averell and restoring active value Checking billy and restoring active value Checking calamity and restoring active value Checking jack and restoring active value Checking joe and restoring active value Checking william and restoring active value Changing window title Done Sleeping for a mo REAPER currently returns: 10049 REAPER currently returns: 0 Sorting focus on console Marking main window as user positioned Setting up repeat Repeat setup Starting map event capture Starting MainLoop Running repeat Number of servers in hash is: 6 removed one Number after tidy is: 5 Building hosts menu Menu deleted Parsing list Checking averell and restoring active value Checking calamity and restoring active value Checking jack and restoring active value Checking joe and restoring active value Checking william and restoring active value Changing window title Done repeat completed Running repeat Number of servers in hash is: 5 Number after tidy is: 5 repeat completed Running repeat Number of servers in hash is: 5 Number after tidy is: 5 repeat completed Running repeat Number of servers in hash is: 5 Number after tidy is: 5 repeat completed Running repeat Number of servers in hash is: 5 Number after tidy is: 5 repeat completed Running repeat Number of servers in hash is: 5 Number after tidy is: 5 repeat completed Running repeat Number of servers in hash is: 5 Number after tidy is: 5 repeat completed Running repeat Number of servers in hash is: 5 Number after tidy is: 5 repeat completed Running repeat Number of servers in hash is: 5 Number after tidy is: 5 repeat completed Running repeat Number of servers in hash is: 5 Number after tidy is: 5 repeat completed Running repeat Number of servers in hash is: 5 Number after tidy is: 5 repeat completed Running repeat Number of servers in hash is: 5 Number after tidy is: 5 repeat completed Running repeat Number of servers in hash is: 5 Number after tidy is: 5 repeat completed Running repeat Number of servers in hash is: 5 Number after tidy is: 5 repeat completed Running repeat Number of servers in hash is: 5 Number after tidy is: 5 repeat completed Running repeat Number of servers in hash is: 5 Number after tidy is: 5 repeat completed Running repeat Number of servers in hash is: 5 Number after tidy is: 5 repeat completed
# For the benefit of emacs users: -*- shell-script -*- # Configuration file for FVWM 2.xx originally by Lars Wirzenius # modifications by Julian Gilbey <[EMAIL PROTECTED]>, copyright March 1999 # adopeted for fvwm 2.4 by Alexander Kotelnikov <[EMAIL PROTECTED]> August 2001 # # # This file can be used both as the system.fvwmrc and the per-user # ~/.fvwm/.fvwm2rc # It uses certain `hooks' (files stored in /etc/X11/fvwm or ~/.fvwm) to allow # the system administrator and user to modify menus, colors, and so on without # having to change this file. # # The defaults that this file sets up follow my own taste. They attempt to set # up a nice, easy, comfortable environment for the "ordinary" user. However, # using the hooks, it should be possible to change anything. # # Please read /usr/share/doc/fvwm/README.sysrc.gz for more information. # # Hopefully, you will never have to modify this file. # # # Section: pre.hook # # Use pre.hook for things that need to be done before anything else. # For example, various paths (IconPath, PixmapPath, ModulePath) might # be defined here. # ImagePath /usr/local/share/icons:/usr/share/icons:/usr/share/pixmaps:/usr/include/X11/pixmaps:/usr/local/share/icons:/usr/share/icons:/usr/include/X11/bitmaps:/usr/X11R6/include/bitmaps Read /etc/X11/fvwm/pre.hook Quiet Read pre.hook Quiet # # Section: Various global settings # # These settings are personal. # If you need to modify them, do so in post.hook. # # # DeskTopSize sets the size of the desktop in units of physical screen # `pages'. I prefer to use a single desktop with multiple pages, # but many people like having multiple desktops. I thinks its confusing. # DeskTopSize 3x3 #DeskTopSize 1x1 # # I like to be able to move between pages or desks simply by moving # the mouse against the screen border. I find it very useful. The # following command enables this behaviour. To disable it, the # command EdgeScroll 0 0 could be placed in the post.hook. # EdgeScroll 100 100 # # to see coordinates in the center of the screen # Emulate Mwm # # This take much CPU, but is so nice :) # OpaqueMoveSize unlimited Style * ResizeOpaque SnapAttraction 10 Windows Screen # # When moving a window against the edge of the screen, it is # nice to have a small resistance before the window is moved outside # the screen. This makes it easier to line windows against the # edges. I have also added some resistance to scrolling at the edges # of the screen # EdgeResistance 250 100 Style * MouseFocus #Style * ClickToFocus # # Section: Styles, colors, fonts, and related things # # This section defines the looks, behavior, and other attributes of windows. # These are also quite personal. Modify them in post.hook. # # # The following sets window colors. This is highly personal, # of course, and I (jdg) have changed it to something I like!! Feel # free to destroy my choices in your post.hook!! # # Put the defaults in a separate decor so decor users can ignore them Style "default-style" Font -adobe-helvetica-bold-r-*-*-12-* Style "default-style" HilightFore white Style "default-style" HilightBack steelblue #Style "default-style" TitleStyle VGradient 20 darkgray MidnightBlue # We have four buttons in the default style: on the left, we can pull # down a menu of window options; on the right, we can close, maximise # and iconify. DestroyDecor default-decor AddToDecor default-decor + ButtonStyle Reset + ButtonStyle 2 Vector 17 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] \ [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] \ [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] + ButtonStyle 4 Vector 5 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] + ButtonStyle 6 Vector 4 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] # # The following sets the window decorations: the window title, borders, # and the handles in the corners. # # make the default decor the default: Style "default-style" UseDecor default-decor, Color Black/DarkGrey # # Section: default-style.hook # # Use default-style.hook for general style changes which should happen # as part of the default style, before the Style "*" UseStyle default-style # command. This is because a later Style "*" UseStyle foo command will lose # all of the information below. # Read /etc/X11/fvwm/default-style.hook Quiet Read default-style.hook Quiet Style "*" UseStyle default-style # I have commented out the RandomPlacement and the SmartPlacement styles, # replacing them by ActivePlacement (which should be the default anyway). # Also, NoPPostion completes this, although this may occasionally cause # problems. (Please let me know if this be the case!) # I think it can be annoying for windows to suddenly appear without the # user having an initial choice of where they do so. This is, of course, # completely changeable within the user's post.hook. Style "*" BorderWidth 0 Style "*" HandleWidth 0 Style "*" MWMFunctions Style "*" MWMBorder Style "*" MWMDecor Style "*" DecorateTransient # Style "*" SmartPlacement # Style "*" RandomPlacement Style "*" ActivePlacement Style "*" NoPPosition Style "*" IconBox 0 0 50 -1 Style "Fvwm*" NoTitle Style "Fvwm*" WindowListSkip Style "Fvwm*" CirculateSkip Style "FvwmButtons" Sticky Style "FvwmIconMan" Sticky Style "FvwmPager" Sticky Style "FvwmConsole" Sticky Style "FvwmIdent" Title Style "FvwmIdent" WindowListHit Style "FvwmIdent" CirculateHit # Add icons to some common programs Style "Emacs" Icon gnu-animal.xpm, MiniIcon mini.emacs.xpm Style "XTerm" Icon xterm-linux.xpm, MiniIcon mini.xterm.xpm Style "Ghostview" Icon gv.xpm Style "Gnuplot" Icon graphs.xpm Style "Xcalc" Icon xcalc.xpm, MiniIcon mini-calc.xpm Style "XBff" Icon mail1.xpm, MiniIcon mini-mail.xpm Style "Xman" Icon xman.xpm, MiniIcon mini-manual.xpm Style "Xmag" Icon mag_glass.xpm, MiniIcon mini.xmag.xpm Style "Mosaic" Icon Mosaic.xpm Style "Netscape" Icon nscape.xpm, MiniIcon mini-nscape.xpm Style "Xpaint" Icon xpaint.xpm, MiniIcon mini.xpaint.xpm Style "Manual Page" Icon xman.xpm, MiniIcon mini-manual.xpm Style "Xedit" Icon textedit.xpm, MiniIcon mini-edit.xpm Style "*" Icon default.xbm Style "Xdvi*" NoTitle # # Section: Init and restart functions # # This section defines the functions InitFunction and RestartFunction. # InitFunction is executed automatically when fvwm first starts. # RestartFunction is executed automatically when fvwm restarts itself. # They share a common hook, init-restart.hook, and two specific hooks, # init.hook and restart.hook. # # init-restart.hook should be used for starting fvwm modules, such as the # button bar. init-hook should be used to start other applications; they # should not be started again, when fvwm is restarted, since they don't # die like fvwm modules do. restart.hook exists mostly for completeness; # tell me if you find any use for it. # # InitFunction runs the script setup-background, which looks in # ~/.fvwm to see if the user wants some specific background color or # image. # # The init.hook, init-restart.hook and restart.hook files should # contain continuation lines, eg: # + "I" Exec xterm # DestroyFunc StartFunction AddToFunc StartFunction Read /etc/X11/fvwm/init-restart.hook Quiet Read /home/samy/.fvwm/init-restart.hook Quiet Read /home/thibault/.fvwm/init-restart.hook Quiet DestroyFunc InitFunction AddToFunc InitFunction Read /etc/X11/fvwm/init.hook Quiet Read /home/samy/.fvwm/init.hook Quiet Read /home/thibault/.fvwm/init.hook Quiet #Exec exec setup-background DestroyFunc RestartFunction AddToFunc RestartFunction Read /etc/X11/fvwm/restart.hook Quiet Read /home/samy/.fvwm/restart.hook Quiet Read /home/thibault/.fvwm/restart.hook Quiet # # Section: Menus # # This section defines a small menu structure. The main menu contains # some typical entries, and uses a hook (main-menu.hook) to allow the # user to add new entries. Most of the default entries are submenus, # which are also defined here. # # # MWM style menus are easier to use and better for Windows refugees. # MenuStyle "*" mwm, Foreground black, Background grey, Greyed white, \ Font -adobe-helvetica-bold-r-*-*-12-* # # Read in system and user menu definitions. # # Read system and user menu prefixes # The title of the main menu will be provided by the menu-methods script # which creates an AddToMenu /Debian "Main Menu" Title Top command in # menudefs.hook. We also add an xterm entry just in case the user has # no menudefs and the menu package is not installed -- it could be quite # embarrassing. An example without this can be found in the examples # directory. # DestroyMenu /Debian AddToMenu /Debian + "Xterm" Exec exec xterm + "" Nop Read /etc/X11/fvwm/main-menu-pre.hook Quiet Read main-menu-pre.hook Quiet #Read the auto-generated menus Read /etc/X11/fvwm/menudefs.hook Quiet Read menudefs.hook Quiet # Add in user additions Read /etc/X11/fvwm/main-menu.hook Quiet Read main-menu.hook Quiet # Tack a quit entry on to the end; this version uses a pop-up menu to ask # the user to confirm, MWM-style (?). The second line may be changed as # indicated to use a popup form instead. (The QuitVerify form is defined # in system.warnings, read in later.) AddToMenu /Debian + "" Nop + "Exit Fvwm" Popup Quit-Verify # or: # + "Exit Fvwm" Module FvwmForm QuitVerify # # The Window-Ops menu is for manipulating windows. It is invoked either # from the main menu, or directly from the root window. # DestroyMenu Window-Ops AddToMenu Window-Ops "Alt-F1: Window Ops" Title + "Alt-F2: Main Menu" Popup /Debian + "Alt-F3: Lower" Lower + "Alt-F4: Window List" WindowList + "Alt-F5: Previous" Prev + "Alt-F6: Next" Next + "Alt-F7: Move" Move + "Alt-F8: Resize" Resize + "Alt-F9: (De)Iconify" Iconify + "Alt-F10: (Un)Maximize to screen" Maximize 100 100 + "Alt-F11: Raise" Raise + "Alt-F12: (Un)Stick" Stick + " (Un)Maximize vertical" Maximize 0 100 + " (Un)Maximize horizontal" Maximize 100 0 + " (Un)Shade" WindowShade + "" Nop + " ScrollBar" Module FvwmScroll 2 2 + "" Nop + " Destroy" Destroy + " Close" Close # # The Quit-Verify menu checks that the user really wants to exit. # DestroyMenu Quit-Verify AddToMenu Quit-Verify "Really quit FVWM?" Title + "No, restart Fvwm" Restart + "" Nop + "Yes, really quit" Quit AddToMenu defops "Fvwm" Title + "&Debian" Popup "/Debian" + "" Nop + "&BigXTerm" Exec exec xterm -fn -misc-fixed-medium-r-normal--20-*-*-*-*-*-iso10646-1 -bg black -fg white + "&XTerm" Exec exec xterm -fn -misc-fixed-medium-r-normal--15-*-*-*-*-*-iso10646-1 -bg black -fg white + "&LittleXTerm" Exec exec xterm -fn -misc-fixed-medium-r-normal--13-*-*-*-*-*-iso10646-1 -bg black -fg white + "&NanoXTerm" Exec exec rxvt -fn -misc-fixed-medium-r-normal--7-*-*-*-*-*-iso10646-1 -bg black -fg white #+ "&NanoXTerm" Exec exec rxvt -fn xft:Monospace:pixelsize=7 -bg black -fg white + "" Nop + "&Modules" Popup "/Debian/WindowManagers/Modules" + "" Nop + "&Kill" Destroy + "&Delete" Delete" + "" Nop + "Rest&art" Restart + "Refr&esh" Refresh + "Ex&it" Quit # # Section: Mouse bindings # # This section defines the mouse bindings, that is, all the things that # can be done with the mouse. # # # Each button gives a different menu from the background (root window). # Mouse 1 R S Exec exec randpict Mouse 1 R M Exec exec nextpict Mouse 1 R C Exec exec prevpict Mouse 1 R N Nop #Mouse 1 R N Menu defops Mouse 2 R A Menu Window-Ops Mouse 3 R A WindowList # # Moving and resizing, depending on which part of the window # you grab (T=title bar, S=side/top/bottom, F=corner). # Mouse 1 T A move-or-raise Mouse 2 TI A Stick Mouse 3 T A move-or-lower Mouse 1 WTIFS M move-or-raise Mouse 2 WTIFS M Stick Mouse 3 WTIFS M move-or-lower Mouse 1 W S Resize #This caused problems with emacs selection (Bug #17668). #Mouse 0 W M move-and-raise-or-raiselower Mouse 1 W M - Mouse 1 F A resize-or-raiselower Mouse 1 S A resize-or-raiselower # # Move or de-iconify an icon. # Mouse 1 I A move-or-winmenu-or-deiconify # # Buttons on the title bar (1,3,5,7,9 are on the left, 0,8,6,4,2 on # the right side of the title bar). Note that the bindings here # make more sense if the ButtonStyle's defined earlier are retained. # Mouse 0 1 A Popup Window-Ops Mouse 0 2 A Close Mouse 1 4 A Maximize 0 100 Mouse 2 4 A Maximize 100 100 Mouse 3 4 A Maximize 100 0 Mouse 0 6 A Iconify # # Section: Key bindings # # This section binds some actions to keys. The bindings have been inspired # by MWM, Windows, and nightmares. Everything that these key bindings do, # can be done without them. Therefore they should not be too much of a # burden on new users, but it definitely _can_ be confusing to press a # key by accident and have it do something completely unexpected. # #Key Tab A M Next [CurrentPage !iconic] focus-and-raise #Key Tab A MS Prev [CurrentPage !iconic] focus-and-raise #Key Tab A CM Next [CurrentPage] deiconify-and-focus #Key Tab A CMS Prev [CurrentPage] deiconify-and-focus Key Left A M Scroll -100 +0 Key Up A M Scroll +0 -100 Key Right A M Scroll +100 +0 Key Down A M Scroll +0 +100 Key H A M Scroll -100 +0 Key K A M Scroll +0 -100 Key L A M Scroll +100 +0 Key J A M Scroll +0 +100 Key Prior A M GotoDesk -1 0 3 Key Next A M GotoDesk 1 0 3 Key F1 A M Exec exec import blip.png Key F2 A M Popup /Debian Key F3 A M Lower #Key F4 A M WindowList Key F5 A M Prev Key F6 A M Next Key F7 A M Move Key F8 A M Resize Key F9 A M Iconify Key F10 A M Maximize 100 100 Key F11 A M Raise Key F12 A M Stick Key F1 A C Restart Key F4 A C Delete Key F5 A M Destroy Key F1 A S Exec exec xterm -fn -misc-fixed-medium-r-normal--20-*-*-*-*-*-iso10646-1 -bg black -fg white Key F1 A CS Exec exec xterm -fn -misc-fixed-medium-r-normal--20-*-*-*-*-*-iso10646-1 -bg white -fg black Key F1 A MS Exec exec xterm -fn -misc-fixed-medium-r-normal--20-*-*-*-*-*-iso10646-1 -bg black -fg white -class nofocusxterm Key F2 A S Exec exec xterm -fn -misc-fixed-medium-r-normal--15-*-*-*-*-*-iso10646-1 -bg black -fg white Key F2 A CS Exec exec xterm -fn -misc-fixed-medium-r-normal--15-*-*-*-*-*-iso10646-1 -bg white -fg black Key F2 A MS Exec exec xterm -fn -misc-fixed-medium-r-normal--15-*-*-*-*-*-iso10646-1 -bg black -fg white -class nofocusxterm Key F3 A S Exec exec xterm -fn -misc-fixed-medium-r-normal--13-*-*-*-*-*-iso10646-1 -bg black -fg white Key F3 A CS Exec exec xterm -fn -misc-fixed-medium-r-normal--13-*-*-*-*-*-iso10646-1 -bg white -fg black Key F3 A MS Exec exec xterm -fn -misc-fixed-medium-r-normal--13-*-*-*-*-*-iso10646-1 -bg black -fg white -class nofocusxterm Key F4 A S Exec exec rxvt -fn -misc-fixed-medium-r-normal--7-*-*-*-*-*-iso10646-1 -bg black -fg white Key F4 A CS Exec exec rxvt -fn -misc-fixed-medium-r-normal--7-*-*-*-*-*-iso10646-1 -bg white -fg black Key F4 A MS Exec exec rxvt -fn -misc-fixed-medium-r-normal--7-*-*-*-*-*-iso10646-1 -bg black -fg white -class nofocusxterm Key F5 A S Exec exec krxvt -fn 7x13 -bg black -fg white Key F5 A CS Exec exec krxvt -fn 7x13 Key F5 A MS Exec exec krxvt -fn 7x13 -bg black -fg white -class nofocusxterm Key F6 A S Exec exec xterm -fn -misc-fixed-medium-r-normal--20-*-*-*-*-*-iso10646-1 -bg black -fg white -class nofocusxterm Key F6 A CS Exec exec rxvt -fn -misc-fixed-medium-r-normal--7-*-*-*-*-*-iso10646-1 -class nofocusxterm Key F6 A MS Exec exec rxvt -fn -misc-fixed-medium-r-normal--7-*-*-*-*-*-iso10646-1 -bg black -fg white -e sshens -class nofocusxterm #Key F6 A S Exec exec xosview #Key F6 A MS Exec exec sshens win # # Section: Functions # # This section defines various functions. Not all of these are used by # the default bindings, but they can be useful for a user who wants to # customize things. # # # The following functions operate on a window or menu. The # names are systematic: foo means "do foo"; foo-or-bar means # "do foo, if mouse is moving, bar if click"; and foo-or-bar-or-baz # adds "baz, if double-clicked". # DestroyFunc move-or-winmenu-or-deiconify AddToFunc move-or-winmenu-or-deiconify + "M" Move + "C" Popup Window-Ops + "D" Iconify DestroyFunc deiconify-and-focus AddToFunc deiconify-and-focus + "I" Iconify -1 + "I" Focus DestroyFunc deiconify-and-raise AddToFunc deiconify-and-raise + "I" Iconify -1 + "I" Raise DestroyFunc focus-and-raise AddToFunc focus-and-raise + "I" Focus + "I" Raise DestroyFunc move-or-raiselower AddToFunc move-or-raiselower + "M" Move + "C" RaiseLower DestroyFunc move-or-raise AddToFunc move-or-raise + "M" Move + "C" Raise DestroyFunc move-or-lower AddToFunc move-or-lower + "M" Move + "C" Lower AddToFunc move-or-raise + "D" WindowShade AddToFunc move-or-lower + "D" WindowShade Style * WindowShadeShrinks, WindowShadeSteps 100, WindowShadeLazy DestroyFunc move-and-raise-or-raiselower AddToFunc move-and-raise-or-raiselower + "M" Move + "M" Raise + "C" RaiseLower DestroyFunc move-or-raiselower-or-maximize-vertical AddToFunc move-or-raiselower-or-maximize-vertical + "M" Move + "C" RaiseLower + "D" Maximize 0 100 DestroyFunc resize-or-raiselower AddToFunc resize-or-raiselower + "M" Resize + "C" RaiseLower # # Configure a FvwmButtons module for the modules menu, but make sure # user can easily override it with their own - so name it DebianFvwmButtons. # To use this config, you need to invoke it as: # "Module FvwmButtons DebianFvwmButtons" # *DebianFvwmButtonsFore White *DebianFvwmButtonsBack DarkSlateGrey *DebianFvwmButtonsGeometry 430x100-0-0 *DebianFvwmButtonsRows 1 *DebianFvwmButtons(Title Help, Icon xman.xpm, Action 'Exec exec xman &') *DebianFvwmButtons(Title xterm, Icon xterm.xpm, Action 'Exec exec xterm &') *DebianFvwmButtons(Title emacs, Icon gnu-animal.xpm, Action 'Exec exec emacs &') *DebianFvwmButtons(2x1, Swallow(UseOld,NoKill) "FvwmPager") # # Configure the FvwmPager module # *FvwmPagerBack SlateGrey *FvwmPagerFore Black *FvwmPagerFont -*-times-medium-r-*-*-*-80-*-*-*-*-*-* *FvwmPagerHilight SlateBlue4 *FvwmPagerGeometry -0-0 *FvwmPagerSmallFont -*-times-medium-r-*-*-*-80-*-*-*-*-*-* *FvwmPagerDeskTopScale 32 # We start the pager in the InitFunction and RestartFunction, so that the # user has control over whether it starts or not. We do this by placing # it in the system init-restart.hook, so that either the administrator # can remove it or infividual users can kill it or set it up differently # by placing something like the following in their personal # init-restart.hook: # + "I" Wait FvwmPager # + "I" KillModule FvwmPager # + "I" Module FvwmPager 0 3 # This reads in various warning styles and checks for the presence or # not of ~/.fvwm and ~/.fvwm2. # Read /etc/X11/fvwm/system.warnings # # Section: post.hook # # Use post.hook to force things that may have been changed earlier, for # example, key bindings. # Read /etc/X11/fvwm/post.hook Quiet Read post.hook Quiet Style "nofocusxterm" ClickToFocus Style "Xnest" ClickToFocus Style "/usr/bin/X11/Xnest" ClickToFocus Style "Brltty" Sticky, NoTitle, StaysOnTop, NeverFocus #Style "Brltty" Sticky, NoTitle, StaysOnTop Style "Gnopernicus" ClickToFocus Style "Braille Monitor" Sticky, NoTitle, StaysOnTop, NeverFocus Style "Event Tester" ClickToFocus Style "Terminal" ClickToFocus Style "MPlayer" Sticky, NoTitle