# revised for suse 11.3 merging my personal old one (9.2) and the system 11.3 # as revised by Thomas Adams [TA] in Dec 2010 # old useless stuff removed # window buttons [from TA, commented out] # #Large up Triangle for Maximize ## The least we can do here is define a decor. #DestroyDecor DefaultDecor #AddToDecor DefaultDecor #+ ButtonStyle 2 4 50x24@1 75x74@0 25x74@0 50x24@1 #+ ButtonStyle 4 4 50x74@1 75x24@0 25x24@1 50x74@1 #+ ButtonStyle 3 13 20x60@1 20x40@1 40x40@1 40x20@1 60x20@1 60x40@0 80x40@1 80x60@0 60x60@0 60x80@0 40x80@0 40x60@1 20x60@0 #+ BorderStyle Inactive -- HiddenHandles NoInset #general configuration [merged LC/TA] #LC personalize next three lines DeskTopName 0 Main DeskTop DeskTopName 1 Secondary DeskTop DeskTopSize 2x2 EdgeScroll 0 0 ClickTime 750 #ColormapFocus FollowsMouse ColormapFocus FollowsFocus IgnoreModifiers L2 ## Having this set to unlimited ensures potential users aren't confused due ## to the XGrabServer() call when having to draw the rubber-band which would ## have happened had OpaqueMoveSize been set to the default. OpaqueMoveSize -1 #paths specific to fvwm2 # ## The difference between X.org 6.x and 7.x ## If you switch to X.org version 6.9 or below change the paths for ImagePath ## /usr/lib/X11/fvwm2 -> /usr/X11R6/lib... ## /usr/share/X11/fvwm2/pixmaps -> /usr/X11R6/lib/X11/fvwm2/pixmaps ### No, redefining ModulePath is the wrong thing to do. ##ModulePath /usr/lib/X11/fvwm2 ## Adding $[FVWM_USERDIR] here doesn't hurt, and neither does prepending the ## *internal* ImagePath. ImagePath /usr/share/X11/fvwm2/pixmaps:/usr/share/wallpapers:$[FVWM_USERDIR]:+ # LC this was the old 9.2 version DELETE next line since above should be enough #ImagePath /usr/X11R6/share/icons/xpm/hicolor/all:/usr/X11R6/share/icons/xpm/locolor/all:/usr/X11R6/lib/X11/fvwm2/pixmaps:/usr/share/wallpapers:/poseidon/lucio/.fvwm #colors [TA] # 0 = Default colors # 1 = Inactive windows # 2 = Active windows # 3 = Inactive menu entry and menu background # 4 = Active menu entry # 5 = greyed out menu entry (only bg used) # 6 = module foreground and background) # 7 = hilight colors Colorset 0 fg black, bg rgb:6f/a1/dc Colorset 1 fg black, bg rgb:a1/b2/c8 Colorset 2 fg black, bg rgb:70/a2/dd Colorset 3 fg black, bg rgb:c8/d3/e5 Colorset 4 fg black, bg rgb:91/ae/d6 Colorset 5 fg rgb:d2/bf/a8, bg rgb:b4/aa/94 Colorset 6 fg black, bg rgb:b4/aa/94 Colorset 7 fg black, bg rgb:94/ab/bf # run FvwmTheme before anything else is done ## ModuleSynchronous Timeout 5 FvwmTheme # # general setup [updated TA removing LC when subsumed by new TA] # Style * Colorset 1 Style * HilightColorset 2 Style * EdgeMoveDelay 250 Style * EdgeMoveResistance 10 #LC# Style * UseDecor DefaultDecor Style * SloppyFocus Style * DecorateTransient #LC# Style * IconBox +55 +85 +130 +480 Style * IconBox 1000x70-1-1 #LC disable or replace #Style * StickyIcon Style * SlipperyIcon #LC# Style * SmartPlacement, RandomPlacement, ActivePlacement Style * SmartPlacement Style * NoPPosition # # LC stuff which was somewhere else BorderStyle Inactive -- HiddenHandles NoInset Style "*" BackColor Grey Style "*" ForeColor DimGrey #LC added this, could change also the rest or leave Style "*" HilightBack Red Style "*" HilightFore White #LC replace # Style "*" IconBox +55 +85 +130 +480 Style "*" IconBox -20 0 -1 -1 , IconFill bottom right #LC verify if needed # Style * RecaptureHonorsStartsOnPage, CaptureHonorsStartsOnPage Style * ManualPlacementIgnoresStartsOnPage, ActivePlacementIgnoresStartsOnPage Style FvwmWinList !Title, WindowListSkip Style FvwmButtons !Title, Sticky, WindowListSkip Style FvwmBanner !Title, Sticky, StaysOnTop, WindowListSkip #LC# Style FvwmPager !Title, Sticky, WindowListSkip Style FvwmPager !Title, Sticky, WindowListSkip, StaysOnTop Style IconManModule !Title, Sticky, !Handles, Icon toolbox.xpm Style xeyes SmartPlacement, RandomPlacement Style xclock SmartPlacement, RandomPlacement #LC# Style AcroRead SmartPlacement, RandomPlacement Style "AcroRead" StartsRaised, FPGrabFocus MenuStyle * MenuColorset 3 MenuStyle * ActiveColorset 4 MenuStyle * GreyedColorset 5 # LC use this while DefaultFont is used for window titles : first old second with new Samsung monitor #MenuStyle * Font "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=12;-misc-*-medium-r-semicondensed-*-13-*-*-*-*-*-iso10646-1" MenuStyle * Font "StringEncoding=UTF-8:xft:droid sans:encoding=iso10646-1:size=12;-misc-*-medium-r-semicondensed-*-13-*-*-*-*-*-iso10646-1" XORvalue 255 #fonts [merge TA/LC] # LC first old second with new Samsung monitor #DefaultFont "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=14;-misc-*-medium-r-semicondensed-*-13-*-*-*-*-*-iso10646-1" DefaultFont "StringEncoding=UTF-8:xft:droid sans:bold:encoding=iso10646-1:size=14;-misc-*-medium-r-semicondensed-*-13-*-*-*-*-*-iso10646-1" #TA unused #WindowFont "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:style=bold:size=10;-misc-fixed-bold-r-normal-*-13-*-*-*-*-*-iso10646-1" #LC replac #IconFont "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=8;-misc-fixed-medium-r-normal-*-10-*-*-*-*-*-iso10646-1" IconFont "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=10;-misc-fixed-medium-r-normal-*-10-*-*-*-*-*-iso10646-1" #LC begin ------------------------------------------------------------ # for firefox special # 707 is width a la poseidon for my font choice # 850 is larger width for bigger fonts or external apps DestroyModuleConfig Event-FF: * *Event-FF: Cmd Function *Event-FF: PassId *Event-FF: add_window ResizeFireFox DestroyFunc ResizeFireFox AddToFunc ResizeFireFox #+ "I" ThisWindow ("Firefox" !Transient) Resize 850p 980p #+ "I" ThisWindow ("Firefox", !Transient) Resize 707p 980p + "I" ThisWindow ("Palemoon", !Transient) Resize 707p 980p #LC end -------------------------------------------------------------- #fvwm system functions [TA new style destroy-then-add] DestroyFunc QuitSave AddToFunc QuitSave + "I" Quit DestroyFunc StartFunction AddToFunc StartFunction #LC remove #+ I Test (Init) Module FvwmBanner #LC remove #+ I Test (Init) Exec exec xterm -ls -geometry +150+85 + "I" Test (Init) Exec exec xterm -class XTermNew -geometry +150+85+0+0 #LC removed wallpaper xli stuff and replaced + "I" Exec exec xsetroot -solid "#012C01" #LC remove # + "I" Module FvwmButtons #LC add all the rest to end + "I" Module FvwmAuto 500 + "I" Module FvwmPager 0 1 + "I" Module FvwmEvent Event-FF # since it can not be started shaded, hide it under xdaliclock # rclock is used only as alarm #+ "I" Exec rclock -geometry 150x100-0+130 + "I" Test (Init) Exec exec rclock -geometry 150x1-0+125 -bg Black -fg White #+ "I" ThisWindow ("rclock" !Transient) WindowShade True #+ "I" ThisWindow (Sticky !Transient) WindowShade True + "I" Test (Init) Exec exec xdaliclock -seconds -24 -geometry 150x50-0+155 -builtin0 -cycle -datemode DDMMYY + "I" Test (Init) Exec exec vncviewer -name OldPoseidonVNC -passwd ~/.vnc/poseidon triton:1 #+ "I" Test (Init) Exec exec ~/firefox/firefox http://sax.iasf-milano.inaf.it/~lucio/WWW/Hotlists/ + "I" Test (Init) Exec exec /usr/bin/palemoon http://sax.iasf-milano.inaf.it/~lucio/WWW/Hotlists/ + "I" Test (Init) Exec exec urxvt -name Pine -geometry +0+0 -bg black -fg Coral -T Mail\(Alpine\) -n Alpine -e /poseidon/lucio/bin/mail #AddToFunc ExitFunction DELETE # + "I" Exec xsetroot DELETE #fvwm window modifier functions DestroyFunc MoveOrRaise AddToFunc MoveOrRaise + C Raise + M Raise + M Move + D Lower DestroyFunc ResizeOrRaise AddToFunc ResizeOrRaise + C Raise + M Raise + M Resize + D Lower DestroyFunc Maximizefunc AddToFunc MaximizeFunc + M Maximize 0 100 + C Maximize 0 80 + D Maximize 100 100 ## all. DestroyFunc MoveOrIconify AddToFunc MoveOrIconify + I Raise + M Move + D Iconify #buttonbar menu [aligned with TA although unused] DestroyMenu bargraphicspopup AddToMenu bargraphicspopup "Graphics" Title + "Gimp" Exec exec gimp + "Inkscape" Exec exec inkscape + "XV" Exec exec xv DestroyMenu bartoolspopup AddToMenu bartoolspopup "Tools" Title + "Palemoon" Exec exec /usr/bin/palemoon + "OpenOffice" Exec exec soffice DestroyMenu barshellspopup AddToMenu barshellspopup "Shell in XTerm" Title + "Shell in XTerm" Exec exec xterm -ls + "Root shell" Exec exec xterm -ls -vb -sb -sl 2000 -T Root -n Root -j -rw +vb -bg \#ff8c6d -e su - # [window menu merged LC/TA] ## Adding Pick here ensures we always ensure a window context. DestroyMenu windowops AddToMenu windowops "Window menu (Shift-Alt-Space)" Title + "Mo&ve (Alt-F5) " Pick Move + "Resi&ze (Alt-F6) " Pick Resize #LC changed label + "(De)&Iconify (Alt-F4) " Pick Iconify + "&Maximize/Normal (Shift-Alt-F3) " Pick Maximize # LC added as test + "Shade " Pick WindowShade + "&0ccupy desktop and page ..." Popup windowsend #LC changed label next two + "Lower/Raise " Pick RaiseLower + "(Un)St&ick (Shift-Alt-F4) " Pick Stick + "" Nop + "Window &list (Alt-F11) " WindowList + "" Nop + "&Close (Alt-F9) " Pick Delete + "&Kill (Alt-F11) " Pick Destroy #LC menu chain to send window to dekstop and page AddToMenu windowsend # "Send to ..." Title + "&desk ..." Popup windowwspmenu + "&page ..." Popup windowpagmenu AddToMenu windowwspmenu # "Send to Desk" Title + "&1 Main" MoveToDesk 0 0 + "&2 Secondary" MoveToDesk 0 1 AddToMenu windowpagmenu # "Send to Page" Title + "&1" MoveToPage 0 0 + "&2" MoveToPage 1 0 + "&3" MoveToPage 0 1 + "&4" MoveToPage 1 1 #Menu: Fvwm-Manpages [aligned to TA though unused] DestroyMenu manpages_popup AddToMenu manpages_popup "Fvwm-Manpages" Title + "FvwmEvent" Exec exec xterm -e man FvwmEvent + "FvwmAuto" Exec exec xterm -e man FvwmAuto + "FvwmBacker" Exec exec xterm -e man FvwmBacker + "FvwmBanner" Exec exec xterm -e man FvwmBanner + "FvwmButtons" Exec exec xterm -e man FvwmButtons + "FvwmCommand" Exec exec xterm -e man FvwmCommand + "FvwmConfig" Exec exec xterm -e man fvwm-config + "FvwmConsole" Exec exec xterm -e man FvwmConsole + "FvwmConsoleC" Exec exec xterm -e man FvwmConsoleC + "FvwmCpp" Exec exec xterm -e man FvwmCpp + "FvwmDebug" Exec exec xterm -e man FvwmDebug + "FvwmForm" Exec exec xterm -e man FvwmForm + "FvwmIconBox" Exec exec xterm -e man FvwmIconBox + "FvwmIconMan" Exec exec xterm -e man FvwmIconMan + "FvwmM4" Exec exec xterm -e man FvwmM4 + "FvwmPager" Exec exec xterm -e man FvwmPager + "FvwmSave" Exec exec xterm -e man FvwmSave + "FvwmSaveDesk" Exec exec xterm -e man FvwmSaveDesk + "FvwmScript" Exec exec xterm -e man FvwmScript + "FvwmScroll" Exec exec xterm -e man FvwmScroll + "FvwmTaskBar" Exec exec xterm -e man FvwmTaskBar + "FvwmTile" Exec exec xterm -e man FvwmTile + "FvwmWharf" Exec exec xterm -e man FvwmWharf + "FvwmWinList" Exec exec xterm -e man FvwmWinList #Menu: Modules [TA as above] DestroyMenu modules_popup AddToMenu modules_popup "Modules" Title + "Event" Module FvwmEvent + "Autoraise off" KillModule FvwmAuto + "Autoraise 500ms" Module FvwmAuto 500 + "Banner" Module FvwmBanner + "Buttons" Module FvwmButtons + "Cascade" Module FvwmCascade + "Command" Module FvwmCommand + "Console" Module FvwmConsole + "Debug" Module FvwmDebug + "Form" Module FvwmForm + "IconBox" Module FvwmIconBox + "IconMan" Module FvwmIconMan + "Ident" Module FvwmIdent + "M4" Module FvwmM4 + "Pager" Module FvwmPager 0 0 + "Save" Module FvwmSave + "Script" Module FvwmScript + "Scroll" Module FvwmScroll + "Talk" Module FvwmTalk + "TaskBar" Module FvwmTaskBar + "Tile" Module FvwmTile + "Wharf" Module FvwmWharf + "WindowMenu" Module FvwmWindowMenu + "WinList" Module FvwmWinList #Menu: WindowManager DestroyMenu THISWM_MENU_popup AddToMenu THISWM_MENU_popup "WindowManager" Title + "Modules" Popup modules_popup + "Fvwm-Manpages" Popup manpages_popup + "" Nop + "Fvwm2-Manpage" Exec xterm -e man fvwm + "" Nop + "Restart Fvwm2" Restart + "" Nop + "Exit" Quit #Menu: Keyboardclicks DestroyMenu settings_kbdclick_popup AddToMenu settings_kbdclick_popup "Keyboardclicks" Title + "hard" Exec xset c 100 + "Off" Exec xset c off + "soft" Exec xset c on #Menu: Mouse DestroyMenu settings_mouse_popup AddToMenu settings_mouse_popup "Mouse" Title + "fast" Exec xset m 4 2 + "Left handed mouse" Exec xmodmap -e + "normal" Exec xset m 2 5 + "slow" Exec xset m 1 1 #Menu: Speaker AddToMenu settings_speaker_popup "Speaker" Title + "loud" Exec xset b 100 600 50 + "normal" Exec xset b on + "loud and long" Exec xset b 100 600 300 + "Off" Exec xset b off #Menu: Screensaver DestroyMenu screen_popup AddToMenu screen_popup "Screensaver" Title + "Blank" Exec xset s blank + "Off" Exec xset s off + "Pattern after 5 min" Exec xset s noblank s 300 300 + "Immediately" Exec xset s activate + "Default" Exec xset s default #Menu: Settings DestroyMenu settings_popup AddToMenu settings_popup "Settings" Title + "Keyboardclicks" Popup settings_kbdclick_popup + "Mouse" Popup settings_mouse_popup + "Speaker" Popup settings_speaker_popup #Menu: Work [NB this is the suse specific menu !!] PipeRead 'xdg_menu --charset UTF-8 --format fvwm2' #LC changed # move old menu to a submenu DestroyMenu WORK_MENU_popup AddToMenu WORK_MENU_popup "My Work Menu" Title + "" Nop + "X Terminal" Exec xterm -class XTermNew + "RXVT" Exec urxvt + "Clipboard" Exec xclipboard + "REMOTE HOSTS" Popup HOST_MENU_popup + "" Nop # + "SaX2" Exec /opt/kde3/bin/kdesu sax2 REPLACE # + "YaST" Exec /opt/kde3/bin/kdesu /sbin/yast2 REPLACE + "" Nop #LC can add these in cases of more desktops + "Main Wsp" GotoDesk 0 0 + "Secondary Wsp" GotoDesk 0 1 + "Toggle Wsp" GotoDesk prev + "" Nop + "Old menus" Popup OLD_MENU_popup + "" Nop + "Blank Lock" Exec xlock -mode blank -delay 10000000 + "ScreenLock" Exec xlock + "BlankScreen" Exec xlock -mode blank -delay 10000000 -nolock + "ScreenSaver" Exec xlock -nolock + "" Nop + "Restart Fvwm2" Restart + "Exit (Logout)" Quit # LC private function to start VirtualBox VM WXP in predefined desktop and page DestroyFunc StartWXP AddToFunc StartWXP + I GotoDeskAndPage 1 1 0 + I Exec VBoxManage startvm WXP # I Wait "*Virtual*" # I GotoDeskAndPage prev #LC private menu of commonly accessed hosts AddToMenu HOST_MENU_popup "Hosts" Title + "kalypso LSS" Exec xterm -class XTermLin -T lssadmin@kalypso -n lssadmin@kalypso -e ssh lssadmin@kalypso + "kalypso" Exec xterm -class XTermLin -T root@kalypso -n root@kalypso -e ssh root@kalypso + "obelix LSS" Exec xterm -class XTermLin -T lssadmin@obelix -n lssadmin@obelix -e ssh lssadmin@obelix + "obelix DB" Exec xterm -class XTermLin -T dbadmin@obelix -n dbadmin@obelix -e ssh dbadmin@obelix + "obelix" Exec xterm -class XTermLin -T root@obelix -n root@obelix -e ssh root@obelix + "" Nop + "oort" Exec xterm -class XTermLin -T root@oort -n root@oort -e ssh root@oort + "helios" Exec xterm -class XTermLin -T root@helios -n root@helios -e ssh root@helios + "megera" Exec xterm -class XTermLin -T root@megera -n root@megera -e ssh root@megera + "wsopen" Exec xterm -class XTermLin -T root@wsopen -n root@wsopen -e ssh root@wsopen + "wsopen WWW" Exec xterm -class XTermLin -T www@wsopen -n www@wsopen -e ssh www@wsopen + "apollo" Exec xterm -class XTermLin -T root@apollo -n root@apollo -e ssh root@apollo + "" Nop + "poseidon" Exec xterm -class XTermLin -T root@poseidon -n root@poseidon -e ssh root@poseidon + "poseidon servlets" Exec xterm -class XTermLin2 -T servlets@poseidon -n servlets@poseidon -e ssh servlets@poseidon + "" Nop # "virtual WXP on" Exec VBoxManage startvm WXP + "virtual WXP on" StartWXP + "virtual WXP off" Exec VBoxManage controlvm WXP poweroff #LC repository for original menus DestroyMenu OLD_MENU_popup AddToMenu OLD_MENU_popup "Old Menus" Title + "Old root menu" Popup OLD_WORK_MENU_popup + "WindowManager" Popup THISWM_MENU_popup + "SUSE" Popup xdg_menu #LC renamed and left alone DestroyMenu OLD_WORK_MENU_popup AddToMenu OLD_WORK_MENU_popup "Work Menu" Title + "xterm" Exec exec xterm -class XTermNew + "Palemoon" Exec exec /usr/bin/palemoon + "" Nop + "Top" Exec exec xterm -e top + "" Nop + "Settings" Popup settings_popup + "WindowManager" Popup THISWM_MENU_popup + "openSUSE" Popup xdg_menu ## TA: Using an alias name other than FvwmPager here might be more ## advisable in the long run. ## [lines 312-320 use a different syntax ... merge TA/LC] DestroyModuleConfig FvwmPager:* *FvwmPager: LabelsAbove *FvwmPager: Balloons *FvwmPager: Rows 1 *FvwmPager: Columns 1 *FvwmPager: Geometry 150x120-0+0 *FvwmPager: Fore Black #LC replace # *FvwmPager: Back grey67 #LC replace # *FvwmPager: Hilight grey50 #LC replace and add as below *FvwmPager: Back rgb:ff/ff/00 *FvwmPager: Hilight rgb:00/ff/00 *FvwmPager: BalloonBack rgb:ff/ff/ff *FvwmPager: DeskColor 0 rgb:00/00/ff *FvwmPager: DeskColor 1 rgb:00/aa/88 *FvwmPager: WindowColors grey50 rgb:ff/ff/aa black red #LC new *FvwmPager: DeskHilight #LC remove # *FvwmPager: Font none *FvwmPager: SmallFont "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=6;-misc-fixed-medium-r-normal--7-*-*-*-*-*-iso10646-1" #> # TA stuff copied from new file but not in use - comment out ? DestroyFunc barthiswmpopupfunc AddToFunc barthiswmpopupfunc + I Popup THISWM_MENU_popup DestroyFunc barsusepopupfunc AddToFunc barsusepopupfunc + I Popup barsusepopup DestroyFunc bargraphicspopupfunc AddToFunc bargraphicspopupfunc + I Popup bargraphicspopup DestroyFunc bartoolspopupfunc AddToFunc bartoolspopupfunc + I Popup bartoolspopup DestroyFunc barshellspopupfunc AddToFunc barshellspopupfunc + I Popup barshellspopup ## TA: Using an alias name other than FvwmButtons here might be more ## advisable in the long run. DestroyModuleConfig FvwmButtons:* *FvwmButtons: Font "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=9;-*-*-medium-*-semicondensed-*-12-*-*-*-*-*-iso10646-1" #*FvwmButtonsFore Black *FvwmButtons: Back rgb:91/ae/d6 *FvwmButtons: Geometry +0+0 *FvwmButtons: Rows 1 *FvwmButtons: (2x1, Frame 0, Swallow (UseOld, Respawn, NoClose) "FvwmPager" "Module FvwmPager 0 0") *FvwmButtons: (Swallow FvwmXeyes 'Exec xeyes -name "FvwmXeyes" -geometry +0+0 -bg grey67 &') *FvwmButtons: (Swallow FvwmXclock 'Exec xclock -name "FvwmXclock" -geometry +0+0 -padding 1 -bg rgb:91/ae/d6 &') *FvwmButtons:(Title "Fvwm2", Icon fvwm.xpm, Action (Mouse 0) Function barthiswmpopupfunc) *FvwmButtons: (Title "openSUSE", Icon openSuSE.xpm, Action (Mouse 0) Function barsusepopupfunc) *FvwmButtons: (Title "Graphics", Icon gimp.xpm, Action (Mouse 0) Function bargraphicspopupfunc) *FvwmButtons (Title "Tools", Icon toolbox.xpm, Action (Mouse 0) Function bartoolspopupfunc) *FvwmButtons (Title "Shells", Icon xterm.xpm, Action (Mouse 0) Function barshellspopupfunc) ## TA: Using an alias name other than FvwmBacker here might be more ## advisable in the long run. DestroyModuleConfig FvwmBacker:* *FvwmBacker: Desk 0 -solid steelblue *FvwmBacker: Desk 1 -solid midnightblue *FvwmBacker: Desk 2 -solid yellow *FvwmBacker: Desk 3 -solid cadetblue2 *FvwmBacker: Desk 5 -solid cadetblue3 *FvwmBacker: Desk 6 -solid cadetblue4 ## TA: Using an alias name other than FvwmIdent here might be more ## advisable in the long run. DestroyModuleConfig FvwmIdent:* *FvwmIdent: Back MidnightBlue *FvwmIdent: Fore Yellow *FvwmIdent: Font "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=10;-misc-fixed-medium-r-normal--13-*-*-*-*-*-iso10646-1" ## TA: Using an alias name other than FvwmButtons here might be more ## advisable in the long run. DestroyModuleConfig FvwmWinList:* *FvwmWinList: Back Grey *FvwmWinList: Fore Black *FvwmWinList: FocusBack Black *FvwmWinList: FocusFore Grey *FvwmWinList: IconBack LightGrey *FvwmWinList: IconFore DimGrey *FvwmWinList: Font "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=11;-misc-fixed-medium-r-normal--15-*-*-*-*-*-iso10646-1" *FvwmWinList: Action Click1 Iconify -1,Focus *FvwmWinList: Action Click2 Iconify *FvwmWinList: Action Click3 Module "FvwmIdent" FvwmIdent *FvwmWinList: Geometry +0-1 *FvwmWinList: UseSkipList *FvwmWinList: UseIconNames #> # end of TA stuff copied from new file but not in use - comment out ? #LC begin ------------------------------------------------------------ #LC added next two lines, but how can one start rclock shaded ? Style "rclock" Sticky, WindowListSkip, StaysOnTop, StartsLowered,TitleAtBottom Style "xdaliclock" Sticky, WindowListSkip, StaysOnTop, NoTitle ## Vogt message 5 # Style * DontRaiseTransient, DontLowerTransient, DontStackTransientParent #LC added to give icon to xterm and rxvt Style xterm Icon xterm.xpm #Style rxvt Icon rterm.xpm Style urxvt Icon rterm.xpm Style the Icon page2.xpm Style Pine Icon mail1.xpm, StartsOnPage 1 0 1, SkipMapping #Style OldPoseidonVNC StartsOnDesk 1, SkipMapping Style OldPoseidonVNC StartsOnPage 1 1 0, SkipMapping, NoTitle, NoHandles # next is for firefox, netscape 4 and netscape 6 respectively # , StaysOnBottom forces it in the lowest layer, so that acrobat is on top # but means it can't be lowered Style "Pale Moon" StartsOnPage 1 0 0, SkipMapping, NoPPosition Style Firefox StartsOnPage 1 0 0, SkipMapping, NoPPosition Style Netscape StartsOnPage 1 0 0, SkipMapping, NoPPosition Style mozilla-bin StartsOnPage 1 0 0, SkipMapping, NoPPosition #All ("WXP*") WindowStyle StartsOnPage 1 1 0 #LC end -------------------------------------------------------------- # Key bindings [some aligned TA and preserved LC mods] Key Left A SM Scroll -100 +0 Key Left A C CursorMove -1 0 Key Left A SC CursorMove -10 +0 Key Right A SM Scroll +100 +0 Key Right A C CursorMove +1 0 Key Right A SC CursorMove +10 +0 Key Up A SM Scroll +0 -100 Key Up A C CursorMove +0 -1 Key Up A SC CursorMove +0 -10 Key Down A SM Scroll +0 +100 Key Down A C CursorMove +0 +1 Key Down A SC CursorMove +0 +10 Key F1 A M Menu WORK_MENU_popup Key F2 A M WindowList Key F3 A M Menu xdg_menu Key F4 A M Pick Iconify Key F5 A M Pick Move Key F6 A M Pick Resize Key F7 A M Pick Raise Key F8 A M Pick Lower Key F9 A M Pick Delete Key F10 A M Pick Destroy Key F11 A M Prev (AcceptsFocus) focus Key F12 A M Next (AcceptsFocus) focus Key Tab A 4 Next (AcceptsFocus) focus Key Tab A S4 Prev (AcceptsFocus) focus Key F3 A SM Pick Maximize Key F4 A SM Pick Stick Key F5 A SM Pick Refresh Key BackSpace A SM Function QuitSave #button bar popup menus Key s A SM Function barsusepopupfunc Key g A SM Function bargraphicpopupfunc Key t A SM Function bartoolspopupfunc Key l A SM Function barshellpopupfunc Key m A SM Function MailFunc Key F1 A SM Restart fvwm2 #LC added accelerators to change workspace #control-1 2 n from desk root go to workspace 0 1 n-1 #control-0 toggles workspace #shift arrows move among pages in relative way #note that since focus cannot be given to root it might be necessary to #position on a window title or side to execute the command #Key code context modifiers function PointerKey 0 R C GotoDesk prev PointerKey 1 R C GotoDesk 0 0 PointerKey 2 R C GotoDesk 0 1 PointerKey Right R S GotoPage +1p 0p PointerKey Left R S GotoPage -1p 0p PointerKey Up R S GotoPage 0p -1p PointerKey Down R S GotoPage 0p +1p # Mouse bindings Mouse 1 R A Menu WORK_MENU_popup Nop Mouse 2 R A Module FvwmWinList Transient #LC button 3 now as button 1, Suse menu sent to submenu #LC replace # Mouse 3 R A Menu xdg_menu Nop Mouse 3 R A Menu WORK_MENU_popup Nop Mouse 2 FST A Menu windowops Nop Mouse 1 1 A Menu windowops Delete Mouse 2 1 A Menu windowops Destroy Mouse 3 1 A Menu windowops Nop Mouse 1 SF A Function "ResizeOrRaise" #LC remove # Mouse 1 T A Function "MoveOrRaise" #LC replace # Mouse 1 I A Iconify #LC replace # Mouse 2 I A Iconify #LC replace # Mouse 3 TSIF A RaiseLower Mouse 1 I A IconifyOrMenu Mouse 3 I A Menu windowops Nop Mouse 3 TSF A RaiseLower #LC from manpage to scroll workspaces Mouse 1 A CM Scroll reverse #LC comment buttons to disable them #LC remember buttons are 1 3 5 7 9 on side 0 8 6 4 2 on other side #LC remove # Mouse 1 2 A Maximize 0 100 #LC remove # Mouse 2 2 A Maximize 100 100 #LC remove # Mouse 3 2 A Maximize 100 0 #LC reassign iconify to 2 to destroy button 4 #LC comment also button 2 to eliminate it altogether #LC remove # Mouse 0 4 A Iconify #LC remove # Mouse 0 2 A Iconify #LC remove # Mouse 1 3 A Stick # #LC begin ------------------------------------------------------------ # add to iconify with double click ? # provisionally use mouse 3 # Mouse 3 T A Iconify # no, use a function (thanks to Thomas Adam) #DestroyFunc QuickIconify #AddToFunc QuickIconify # + D Iconify DestroyFunc IconifyOrMenu AddToFunc IconifyOrMenu + C Menu windowops Nop + D Iconify # after all all this fuss is useless ... MoveOrIconify does it #Mouse 1 T A QuickIconify Mouse 1 T A MoveOrIconify Mouse 3 T A Menu windowops Nop #LC end -------------------------------------------------------------- #Key F12 A N Current Exec exec echo "printenv" > /dev/pts/5