# new 2021 home (agilulf) configuration (based on 2015 poseidon) # this time I do NOT keep commented parts of the old (SuSE 11.3 and TA-revised) # but only some rarely used features (in some second level hidden menu) # Desktops DeskTopSize 1x1 DeskTopName 0 Mail DeskTopName 1 Web DeskTopName 2 Net DeskTopName 3 A DeskTopName 4 B DeskTopName 5 C DeskTopName 6 D # General EdgeScroll 0 0 ClickTime 750 ColormapFocus FollowsFocus IgnoreModifiers L2 OpaqueMoveSize -1 XORvalue 255 # where icons are ImagePath /usr/share/pixmaps/fvwm:/usr/share/wallpapers:$[FVWM_USERDIR]:+ # Colors # default/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 # personal # two transparent for label boxes, 10 to 16 for desktop 0 to 6 FvwmBacker Colorset 8 Transparent,Fore White Colorset 9 Transparent,Fore rgb:00/ff/00 Colorset 10 bg rgb:2c/01/2c Colorset 11 bg rgb:01/01/2c Colorset 12 bg rgb:00/2c/2c Colorset 13 bg rgb:01/2c/01 Colorset 14 bg rgb:2c/2c/01 Colorset 15 bg rgb:50/2c/01 Colorset 16 bg rgb:2c/01/01 DestroyModuleConfig FvwmBacker* *FvwmBacker: Command (Desk 0) Colorset 10 *FvwmBacker: Command (Desk 1) Colorset 11 *FvwmBacker: Command (Desk 2) Colorset 12 *FvwmBacker: Command (Desk 3) Colorset 13 *FvwmBacker: Command (Desk 4) Colorset 14 *FvwmBacker: Command (Desk 5) Colorset 15 *FvwmBacker: Command (Desk 6) Colorset 16 # general styles Style * EdgeMoveDelay 250 Style * EdgeMoveResistance 10 Style * Colorset 1 Style * HilightColorset 2 MenuStyle * MenuColorset 3 MenuStyle * ActiveColorset 4 MenuStyle * GreyedColorset 5 #LC Style * SloppyFocus Style * DecorateTransient Style * SmartPlacement Style * NoPPosition Style * ManualPlacementIgnoresStartsOnPage, ActivePlacementIgnoresStartsOnPage BorderStyle Inactive -- HiddenHandles NoInset Style "*" BackColor Grey Style "*" ForeColor DimGrey Style "*" HilightBack Red Style "*" HilightFore White #LC new font for improved visibility (on agilulf emulated somewhow) #MenuStyle * Font "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=12;-misc-*-medium-r-semicondensed-*-13-*-*-*-*-*-iso10646-1" #DefaultFont "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=14;-misc-*-medium-r-semicondensed-*-13-*-*-*-*-*-iso10646-1" #IconFont "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=8;-misc-fixed-medium-r-normal-*-10-*-*-*-*-*-iso10646-1" MenuStyle * Font "StringEncoding=UTF-8:xft:droid sans:encoding=iso10646-1:size=12;-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" IconFont "StringEncoding=UTF-8:xft:sans-serif:encoding=iso10646-1:size=10;-misc-fixed-medium-r-normal-*-10-*-*-*-*-*-iso10646-1" # about icons #Style * IconBox 1000x70-1-1 # to be revised (left top right bottom) so that it does not overlap desk label Style * IconBox 0 0 -1 -70 , IconFill bottom right # icons on current desk (Slippery) or all desks (Sticky) Style * SlipperyIcon # FVWM Modules in use # FvwmButtons and aliases Style FvwmButtons !Title, Sticky,WindowListSkip Style MyBox Sticky,NoTitle,WindowListSkip,StaysOnTop,HandleWidth 1 Style SubPager Sticky,NoTitle,WindowListSkip,StaysOnTop,HandleWidth 1 Style SubMeter Sticky,NoTitle,WindowListSkip,StaysOnTop,HandleWidth 1 Style SubTray Sticky,NoTitle,WindowListSkip,StaysOnTop,HandleWidth 1 Style MyBattery Sticky,NoTitle,WindowListSkip,StaysOnTop,HandleWidth 1 Style FvwmPager SkipMapping,!Title, Sticky,WindowListSkip,StaysOnTop Style "ProcMeter V3.5b" SkipMapping,!Title, Sticky,WindowListSkip,StaysOnTop,HandleWidth 1 Style MyDesk SkipMapping,NoTitle,WindowListSkip,!Borders,!Handles,ParentalRelativity,Sticky,StaysOnBottom Style MyLabel Sticky,NoTitle,WindowListSkip,!Borders,!Handles,ParentalRelativity ,StaysOnBottom # WinList and Taskbar on AGILULF #FvwmWinList (and FvwmTaskBar) replaced by FvwmIconMan transient and MyTaskBar #Style FvwmTaskBar NoTitle,!Borders,!Handles,Sticky,StaysPut,WindowListSkip,ClickToFocus #Style FvwmWinList !Title, WindowListSkip Style MyTaskBar NoTitle,!Borders,!Handles,Sticky,WindowListSkip,StaysOnTop,HandleWidth 1,ClickToFocus Style FvwmIconMan !Title, WindowListSkip # Applications in use Style AcroRead StartsRaised, FPGrabFocus ##NOAGILULF # rclock now started iconic with hidden icon, use winlist to unhide it ##NOAGILULF Style rclock Sticky, StaysOnTop, StartIconic,NoIcon,TitleAtBottom Style xdaliclock Sticky, WindowListSkip, StaysOnTop, NoTitle Style xterm Icon xterm.xpm, IconOverride #Style rxvt Icon rterm.xpm Style urxvt Icon rterm.xpm Style the Icon page2.xpm Style Pine Icon mail1.xpm, StartsOnDesk 0, SkipMapping Style MTR Sticky Style "Pale Moon" StartsOnDesk 1, SkipMapping, NoPPosition Style Firefox StartsOnDesk 1, SkipMapping, NoPPosition Style Netscape StartsOnDesk 1, SkipMapping, NoPPosition Style mozilla-bin StartsOnDesk 1, SkipMapping, NoPPosition Style VNC StartsOnDesk 2, SkipMapping, NoTitle, NoHandles Style *VNC* StartsOnDesk 2, SkipMapping, NoTitle, NoHandles Style Xnest StartsOnDesk 2, NoTitle,!Borders,!Handles Style Xephyr StartsOnDesk 2, NoTitle,!Borders,!Handles #All ("WXP*") WindowStyle StartsOnDesk 2 # controlled by function StartWXP #-- event handlers ------------------------------------------------------------------ # for firefox special (now applies to Palemoon) DestroyModuleConfig Event-FF: * *Event-FF: Cmd Function *Event-FF: PassId *Event-FF: add_window ResizeFireFox DestroyFunc ResizeFireFox AddToFunc ResizeFireFox + "I" ThisWindow ("Palemoon", !Transient) Resize 707p 980p # for desktop indicator panel DestroyModuleConfig FE-UpdateDeskNum *FE-UpdateDeskNum: new_desk ShowDeskName DestroyFunc ShowDeskName AddToFunc ShowDeskName + I SendToModule MyDesk ChangeButton desklabel Title "$[desk.name$[desk.n]]" #-- end event handlers -------------------------------------------------------------- #-- startup ------------------------------------------------------------------------- # the QuitSave stuff not copied, I never used it DestroyFunc StartFunction AddToFunc StartFunction # renounce to a default terminal + "I" Test (Init) Exec exec xterm -ls -class XTermNew -geometry 150xq5+0+0 # xsetroot replaced by FvwmBacker otherwise necessary to overwrite the login blowfish #+ "I" Exec exec xsetroot -solid "#012C01" # pager now swallowed in button as well as clocks #+ "I" Module FvwmPager 0 6 # but rclock started iconified with no icon (use as appointment reminder only) ##NOAGILULF + "I" Test (Init) Exec exec rclock -geometry 150x1-0+125 -bg Black -fg White + "I" Module FvwmAuto 500 + "I" Module FvwmEvent Event-FF + "I" Module FvwmEvent FE-UpdateDeskNum + "I" Module FvwmBacker + "I" Module FvwmButtons -g -0+0 MyBox + "I" Module FvwmButtons -g -0-0 MyDesk + "I" Module FvwmButtons -g +50-0 MyLabel + "I" Module FvwmCommandS ##NOAGILULF + "I" Test (Init) Exec exec urxvt -name Pine -geometry +0+0 -bg black -fg Coral -T Mail\(Alpine\) -n Alpine -e /home/lucio/bin/mail + "I" Test (Init) Exec exec /usr/bin/palemoon http://sax.iasf-milano.inaf.it/~lucio/WWW/Hotlists/ + "I" Test (Init) Exec exec xterm -class XTermMon -name "MTR" -e /usr/bin/mtr -o "DLRS N BAWV" 90.147.33.88 #193.206.129.233 + "I" Test (Init) Exec exec nm-applet + "I" Test (Init) Exec exec blueman-applet #+ "I" GotoDeskAndPage 1 0 0 #+ "I" ShowDeskName #+ "I" GotoDeskAndPage 0 0 0 #+ "I" ShowDeskName #-- end startup --------------------------------------------------------------------- #-- window menu --------------------------------------------------------------------- DestroyMenu windowops AddToMenu windowops "Window menu (Shift-Alt-Space)" Title + "Mo&ve (Alt-F5) " Pick Move + "Resi&ze (Alt-F6) " Pick Resize + "(De)&Iconify (Alt-F4) " Pick Iconify + "&Maximize/Normal (Shift-Alt-F3) " Pick Maximize + "Shade" Pick WindowShade + "&0ccupy desktop and page ..." Popup windowsend + "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 + "&0 Mail" MoveToDesk 0 0 + "&1 Web " MoveToDesk 0 1 + "&2 Net " MoveToDesk 0 2 + "&3 A " MoveToDesk 0 3 + "&4 B " MoveToDesk 0 4 + "&5 C " MoveToDesk 0 5 + "&6 D " MoveToDesk 0 6 AddToMenu windowpagmenu # "Send to Page" Title + "&1" MoveToPage 0 0 + "&2" MoveToPage 1 0 + "&3" MoveToPage 0 1 + "&4" MoveToPage 1 1 #-- end window menu ----------------------------------------------------------------- #-- functions ----------------------------------------------------------------------- DestroyFunc ResizeOrRaise AddToFunc ResizeOrRaise + C Raise + M Raise + M Resize + D Lower DestroyFunc MoveOrIconify AddToFunc MoveOrIconify + I Raise + M Move + D Iconify DestroyFunc IconifyOrMenu AddToFunc IconifyOrMenu + C Menu windowops Nop + D Iconify # LC private function to start VirtualBox VM WXP in predefined desktop and page (NET) DestroyFunc StartWXP AddToFunc StartWXP + I GotoDeskAndPage 2 0 0 + I Exec VBoxManage startvm $* # I Wait "*Virtual*" # I GotoDeskAndPage prev # handling change of desktopsize DestroyFunc OneDesk AddToFunc OneDesk + I DeskTopSize 1x1 + I GotoPage 0 0 DestroyFunc TwoDeskH AddToFunc TwoDeskH + I DeskTopSize 2x1 + I GotoPage 0 0 DestroyFunc TwoDeskV AddToFunc TwoDeskV + I DeskTopSize 1x2 + I GotoPage 0 0 DestroyFunc FourDesk AddToFunc FourDesk + I DeskTopSize 2x2 + I GotoPage 0 0 #-- end functions ------------------------------------------------------------------- #-- my root menu and collaterals ---------------------------------------------------- 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 + "MTR" Exec exec xterm -class XTermMon -name "MTR" -e /usr/bin/mtr -o "DLRS N BAWV" 90.147.33.88 # 193.206.129.233 + "" Nop + "desktops" Nop + "Mail Wsp" GotoDesk 0 0 + "Web Wsp" GotoDesk 0 1 + "Net Wsp" GotoDesk 0 2 + "A Wsp" GotoDesk 0 3 + "B Wsp" GotoDesk 0 4 + "C Wsp" GotoDesk 0 5 + "D Wsp" GotoDesk 0 6 + "Toggle Wsp" GotoDesk prev + "" Nop + "Old menus" Popup OLD_MENU_popup + "Ubuntu stuff" Popup UBUNTU_popup + "Servlets menu" Popup Servlet_popup + "" Nop # AGILULF replaced screen locker (xlockmore does not exist on Ubuntu) + "BlankScreen JMZ" Exec xscreensaver-command -activate + "ScreenLock JMZ" Exec xscreensaver-command -lock + "Blank Lock slock" Exec slock + "Blank Lock i3lock" Exec i3lock -c 112233 + "" Nop + "Restart Fvwm2" Restart + "Exit (Logout)" Quit # 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.lambrate.inaf.it + "kalypso" Exec xterm -class XTermLin -T root@kalypso -n root@kalypso -e ssh root@kalypso.lambrate.inaf.it + "obelix LSS" Exec xterm -class XTermLin -T lssadmin@obelix -n lssadmin@obelix -e ssh lssadmin@obelix.lambrate.inaf.it + "obelix DB" Exec xterm -class XTermLin -T dbadmin@obelix -n dbadmin@obelix -e ssh dbadmin@obelix.lambrate.inaf.it + "obelix" Exec xterm -class XTermLin -T root@obelix -n root@obelix -e ssh root@obelix.lambrate.inaf.it + "" Nop ##NOAGILULF+ "oort" Exec xterm -class XTermLin -T root@oort -n root@oort -e ssh root@oort ##NOAGILULF+ "helios" Exec xterm -class XTermLin -T root@helios -n root@helios -e ssh root@helios ##NOAGILULF+ "wsopen" Exec xterm -class XTermLin -T root@wsopen -n root@wsopen -e ssh root@wsopen ##NOAGILULF+ "wsopen WWW" Exec xterm -class XTermLin -T www@wsopen -n www@wsopen -e ssh www@wsopen ##NOAGILULF+ "apollo" Exec xterm -class XTermLin -T root@apollo -n root@apollo -e ssh root@apollo + "" Nop #+ "poseidon lucio" Exec xterm -class XTermLin -T lucio@poseidon -n lucio@poseidon -e /home/lucio/bin/poseidon-lucio + "poseidon lucio" Exec exec urxvt -fn 9x15 -bg black -fg Orange -T lucio@poseidon -n lucio@poseidon -e /home/lucio/bin/poseidon-lucio + "poseidon" Exec xterm -class XTermLin -T root@poseidon -n root@poseidon -e /home/lucio/bin/poseidon-root + "poseidon servlets" Exec xterm -class XTermLin2 -T servlets@poseidon -n servlets@poseidon -e /home/lucio/bin/poseidon-servlets + "poseidon VNC" Exec vncviewer -passwd ~/.vnc/passwd poseidon:1 -Shared + "self VNC" Exec vncviewer -passwd ~/.vnc/passwd liutprand:1 -Shared + "" Nop # "virtual WXP on" Exec VBoxManage startvm WXP + "virtual WXP on" StartWXP WXP + "virtual W7 on" StartWXP WIN7 + "virtual W10 on" StartWXP WIN10 + "virtual WXP off" Exec VBoxManage controlvm WXP poweroff + "virtual W7 off" Exec VBoxManage controlvm WIN7 poweroff + "virtual W10 off" Exec VBoxManage controlvm WIN10 poweroff AddToMenu UBUNTU_popup "Ubuntu system stuff" Title + "Synaptic" Exec exec /usr/bin/sudo /usr/sbin/synaptic + "PulseAudio Volume Control" Exec exec pavucontrol + "" NOP + "Software & Updates" Exec exec software-properties-gtk + "Software Updater" Exec exec /usr/bin/update-manager + "Advanced Network Configuration" Exec exec nm-connection-editor + "Printers" Exec exec system-config-printer + "Users and Groups" Exec exec users-admin + "Xfburn CD burner" Exec exec xfburn + "" NOP + "Thunar File Manager" Exec exec thunar + "File Manager Settings" Exec exec thunar-settings + "Removable Drives and Media" Exec exec thunar-volman-settings + "Bulk Rename" Exec exec /usr/lib/x86_64-linux-gnu/Thunar/ThunarBulkRename + "Gnome Doc Help (yelp)" Exec exec yelp + "LightDM GTK+ Greeter settings" Exec exec lightdm-gtk-greeter-settings-pkexec AddToMenu Servlet_popup "my db servlet" Title + DynamicPopupAction Function MakeSrvMenu AddToFunc MakeSrvMenu + I DestroyMenu recreate Servlet_popup + I PipeRead '/home/lucio/.fvwm/fvwmServletStat.csh' #-- end my menus -------------------------------------------------------------------- #-- my customized modules ---------------------------------------------------------- # button box (control panel) DestroyModuleConfig MyBox: * *MyBox: Font "StringEncoding=UTF-8:xft:droid sans:bold:encoding=iso10646-1:size=12;-misc-fixed-medium-r-normal-*-10-*-*-*-*-*-iso10646-1" *MyBox: BoxSize fixed *MyBox: ButtonGeometry 150x25 # when adding rows increase also geometry y size (25*rows approx) *MyBox: Rows 15 *MyBox: Geometry 150x325 # WinList and Taskbar on AGILULF # top button is a container (replace FvwmTaskBar with a FvwmButtons) # *MyBox: (1x1, Container(Columns 2,Rows 1) # *MyBox: ( Back Gray, Fore Black, Title "barOn" , Action FvwmTaskBar) # *MyBox: ( Back Gray, Fore Black, Title "barOff", Action 'KillModule FvwmTaskBar' ) # *MyBox: (End) *MyBox: (1x1, Back Gray, Fore Black, Title "task bar on/off", Panel (left, delay 0, steps 20, position Button top 0, noborder) MyTaskBar "Module FvwmButtons -transientpanel MyTaskBar") # second button is date bar set dynamically by a script fvwmMyDate.csh PipeRead /home/lucio/.fvwm/fvwmMyDate.csh # which contains # set noglob # echo *MyBox: \(1x1, Back rgb:99/00/00, Fore White, Id myDate, Title \"`date "+%a %b %d"`\", Action Nop\) # it is updated every midnight by crontab fvwmUpDate.csh which does # set a = `date "+%a %b %d"` # /usr/bin/FvwmCommand "SendToModule MyBox ChangeButton myDate Title '$a[1] $a[2] $a[3]'" # third button (double height) is a xdaliclock *MyBox: (1x2, Swallow (UseOld,NoKill) xdaliclock 'Exec exec xdaliclock -seconds -24 -builtin0 -cycle -datemode DDMMYY &') # fourth button is a container to switch among 1,2x1, 1x2 or 2x2 pages in a desk *MyBox: (1x1, Container(Columns 4,Rows 1)) *MyBox: ( Back Gray, Fore Black, Title "1" , Action "OneDesk" ) *MyBox: ( Back Gray, Fore Black, Title "2H" , Action "TwoDeskH" ) *MyBox: ( Back Gray, Fore Black, Title "2V" , Action "TwoDeskV" ) *MyBox: ( Back Gray, Fore Black, Title "2x2" , Action "FourDesk" ) *MyBox: (End) # insert a fifth button with my netmon script *MyBox: (1x1, Swallow(UseOld) netmon 'FvwmScript netmon') #NOAGILULF # insert a sixth button with my mtr lanmon script #NOAGILULF *MyBox: (1x1, Swallow(UseOld) lanmon 'FvwmScript lanmon') # test stalonetray as sixth button *MyBox: (1x1, Swallow(UseOld) SubTray "Module FvwmButtons SubTray") # insert a 7th button with the lokmon script *MyBox: (1x1, Swallow(UseOld) lokmon 'FvwmScript lokmon') # 8th button is a panel calling the pager *MyBox: (1x1, Back Gray, Fore Black, Title "Pager on/off", Panel (down, delay 0, steps 20, position Button left 0 0, noborder) SubPager "Module FvwmButtons -transientpanel SubPager") # 9th button is a panel calling procmeter (starts unswallowed at position -100p UNLESS named procmeter3 in SubMeter !!) *MyBox: (1x1, Back SlateGray, Fore Black, Title "Meter on/off", Panel (down, delay 0, steps 20, position Button left 0 0, noborder) SubMeter "Module FvwmButtons -transientpanel SubMeter") # insert a 10 button with my batmon script (quadruple height) *MyBox: (1x5, Swallow(UseOld) batmon 'FvwmScript batmon') # the pager is now contained in a panel, which is a button 5-times high (for 2 desks, 17 for 7 desks) # size and height shall be edited accordingly here and in the main button box above DestroyModuleConfig SubPager: * *SubPager: Columns 1 *SubPager: Rows 17 *SubPager: ButtonGeometry 150x25 *SubPager: Geometry 150x425 *SubPager: (1x17, Swallow (UseOld,NoKill) FvwmPager 'FvwmPager 0 6') # test for stalonetray DestroyModuleConfig SubTray: * *SubTray: Columns 1 *SubTray: Rows 1 *SubTray: ButtonGeometry 150x25 *SubTray: Geometry 150x25 *SubTray: (120x1, Swallow (NoClose,UseOld,NoKill) stalonetray 'Exec stalonetray --dockapp-mode simple', Frame 0) # *SubTray: (120x1, Back White, Fore Red, Title "test", Action "Nop") # the meter is also contained in a panel, use 150x600 # size and height shall be edited accordingly here and in the main button box above DestroyModuleConfig SubMeter: * *SubMeter: Columns 1 *SubMeter: Rows 24 *SubMeter: ButtonGeometry 150x25 *SubMeter: Geometry 150x450 # *SubMeter: (1x23, Swallow (UseOld,NoKill) procmeter3 'Exec exec /usr/bin/procmeter3 -geometry 150x575') *SubMeter: (1x24, Swallow (UseOld) procmeter3 'Exec exec /usr/bin/procmeter3 -geometry 150x450') # and this is the actual pager (height = 60pix per desktop DestroyModuleConfig FvwmPager:* *FvwmPager: Rows 1 *FvwmPager: Columns 1 *FvwmPager: NoSeparators *FvwmPager: Geometry 150x420-0+0 # #*FvwmPager: LabelsAbove # default #*FvwmPager: ShapeLabels # do not use, will get nameless headers *FvwmPager: DeskHilight *FvwmPager: Font "StringEncoding=UTF-8:xft:droid sans:bold:encoding=iso10646-1:size=10;-misc-*-medium-r-semicondensed-*-13-*-*-*-*-*-iso10646-1" *FvwmPager: SmallFont "StringEncoding=UTF-8:xft:droid-sans:encoding=iso10646-1:size=6;-misc-fixed-medium-r-normal--7-*-*-*-*-*-iso10646-1" # *FvwmPager: Balloons *FvwmPager: BalloonBack rgb:ff/ff/ff *FvwmPager: BalloonFore rgb:00/00/00 *FvwmPager: WindowColors grey50 rgb:ff/ff/aa black red # *FvwmPager: Fore White #*FvwmPager: Back rgb:ff/ff/00 *FvwmPager: Hilight rgb:ff/aa/aa # if the colorsets are too dark, use their bkg color "brightened" (e.g. 2c -> 88 etc.) #*FvwmPager: DeskColor 0 rgb:88/01/88 #*FvwmPager: DeskColor 1 rgb:01/01/88 #*FvwmPager: DeskColor 2 rgb:00/88/88 #*FvwmPager: DeskColor 3 rgb:01/88/01 #*FvwmPager: DeskColor 4 rgb:88/88/01 #*FvwmPager: DeskColor 5 rgb:66/88/01 #*FvwmPager: DeskColor 6 rgb:88/01/01 *FvwmPager: Colorset 0 10 *FvwmPager: Colorset 1 11 *FvwmPager: Colorset 2 12 *FvwmPager: Colorset 3 13 *FvwmPager: Colorset 4 14 *FvwmPager: Colorset 5 15 *FvwmPager: Colorset 6 16 # desktop indicator # create label at beginning long enough for longest desktop name DestroyModuleConfig MyDesk* *MyDesk: (Title "click me", Action ShowDeskName, Id desklabel) *MyDesk: Font "StringEncoding=UTF-8:xft:droid sans:encoding=iso10646-1:size=36;-misc-fixed-medium-r-normal-*-10-*-*-*-*-*-iso10646-1" *MyDesk: Colorset 8 *MyDesk: Frame 0 #*MyDesk: Padding 0 0 # day motto # so far hardcode text here and get a random font via script DestroyModuleConfig MyLabel* *MyLabel: (Title "cosi' per li gran savi si confessa / che la fenice muore e poi rinasce / quando il cinquecentesimo anno appressa", Action Nop) *MyLabel: Colorset 9 *MyLabel: Frame 0 PipeRead /home/lucio/.fvwm/fvwmMyRandomFont.csh # WinList and Taskbar on AGILULF # task bar is a container with some button and a named FvwmIconMan DestroyModuleConfig MyTaskBar: * *MyTaskBar: Font "StringEncoding=UTF-8:xft:droid sans:bold:encoding=iso10646-1:size=12;-misc-fixed-medium-r-normal-*-10-*-*-*-*-*-iso10646-1" *MyTaskBar: Columns 1760 *MyTaskBar: Rows 1 # *MyTaskBar: ButtonGeometry 20x24 *MyTaskBar: Geometry 1760x24 *MyTaskBar: ( 110x1, Back Gray, Fore Black, Title "Root menu" , Action "Menu WORK_MENU_popup" ) *MyTaskBar: ( 25x1, Back Gray, Fore Black, Title "0" , Action "GotoDesk 0 0" ) *MyTaskBar: ( 25x1, Back Gray, Fore Black, Title "1" , Action "GotoDesk 0 1" ) *MyTaskBar: ( 25x1, Back Gray, Fore Black, Title "2" , Action "GotoDesk 0 2" ) *MyTaskBar: ( 25x1, Back Gray, Fore Black, Title "A" , Action "GotoDesk 0 3" ) *MyTaskBar: ( 25x1, Back Gray, Fore Black, Title "B" , Action "GotoDesk 0 4" ) *MyTaskBar: ( 25x1, Back Gray, Fore Black, Title "C" , Action "GotoDesk 0 5" ) *MyTaskBar: ( 25x1, Back Gray, Fore Black, Title "D" , Action "GotoDesk 0 6" ) *MyTaskBar: (1502x1, Left, Swallow MyActualTaskBar 'Module FvwmIconMan MyActualTaskBar') # this is the actual task bar DestroyModuleConfig MyActualTaskBar: * *MyActualTaskBar: IconName TaskBarIcons *MyActualTaskBar: UseWinList true *MyActualTaskBar: Resolution desk *MyActualTaskBar: Tips needed *MyActualTaskBar: Font "xft:Sans:size=8:antialias=True" *MyActualTaskBar: ButtonGeometry 120x24 *MyActualTaskBar: MaxButtonWidth 180 *MyActualTaskBar: ManagerGeometry 1x1 *MyActualTaskBar: Format "%t" *MyActualTaskBar: TipsFormat "%i: %c: %r" *MyActualTaskBar: ReliefThickness 1 *MyActualTaskBar: ShowTransient true # add mouse actions as winlist or oldtask bar ? # set colors red focus blue iconized etc. as old task bar *MyActualTaskBar: FocusButton flat White Red *MyActualTaskBar: IconButton flat rgb:99/99/99 Blue *MyActualTaskBar: Action Mouse 1 N sendcommand WarpToWindow, sendcommand "Iconify False" *MyActualTaskBar: Action Mouse 2 N sendcommand Iconify *MyActualTaskBar: Action Mouse 3 N sendcommand "Module FvwmIdent FvwmIdent" ##AGILULFREPLACED# DestroyModuleConfig FvwmTaskBar: * ##AGILULFREPLACED# omissis (a native FvwmTaskBar does not exist any more) ## AGILULF replacement of FvwmWinList is a FvwmIconMan transient DestroyModuleConfig FvwmIconMan: * *FvwmIconMan: transient UseWinList true *FvwmIconMan: transient Resolution global *FvwmIconMan: transient Tips needed *FvwmIconMan: transient Sort id *FvwmIconMan: transient ButtonGeometry 300x0 *FvwmIconMan: transient ManagerGeometry 1x0-5+260 *FvwmIconMan: transient Background gray *FvwmIconMan: transient Foreground black # not worth highlighting where the mouse is (defaut first line) #*FvwmIconMan: transient SelectButton flat Black Yellow # with a transient window the previous kbd focus is not honoured #*FvwmIconMan: transient FocusButton flat White Red #*FvwmIconMan: transient FollowFocus true *FvwmIconMan: transient IconButton flat rgb:99/99/99 Blue *FvwmIconMan: transient Tips always #-- end my modules ------------------------------------------------------------------ #-- key bindings (and mouse bindings) ----------------------------------------------- # standard TA staff with some old 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 F1 A SM Restart fvwm2 # personal LC accelerators to move across desktops # see also standard mouse binding from man page to scroll workspace per page #Mouse 1 A CM Scroll reverse shall be placed last below # control-1 2 n from desk root go to workspace 0 1 n-1 # note desks 0-n are here called 1-n in order (1:mail 2:web 3:net 4:A 5:B 6:C 7:D) # control-0 toggles workspace to previous # 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 3 R C GotoDesk 0 2 PointerKey 4 R C GotoDesk 0 3 PointerKey 5 R C GotoDesk 0 4 PointerKey 6 R C GotoDesk 0 5 PointerKey 7 R C GotoDesk 0 6 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 #FvwmWinList AGILULF replaced by FvwmIconMan transient #Mouse 2 R A Module FvwmWinList Transient Mouse 2 R A Module FvwmIconMan -Transient 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" # unclear to me whether the two indented are still in use Mouse 1 I A IconifyOrMenu Mouse 3 I A Menu windowops Nop Mouse 3 TSF A RaiseLower Mouse 1 T A MoveOrIconify Mouse 3 T A Menu windowops Nop # place it here to override anything else Mouse 1 A CM Scroll reverse # laptop special to emulate MB2 without mouse (not on touchpad) #Key V A C Echo control-V-pressed PointerKey Control_R WR A Exec exec /usr/bin/xdotool click 2 #-- end key bindings ---------------------------------------------------------------- #== VESTIGIAL STUFF ================================================================= # my menu to tie together vestigial stuff DestroyMenu OLD_MENU_popup AddToMenu OLD_MENU_popup "Old Menus" Title + "WindowManager" Popup THISWM_MENU_popup ##NOAGILULF + "SUSE" Popup xdg_menu ##NOAGILULF + "Settings" Popup settings_popup ##AGILULF DA SISTEMARE XDG MENU @@*******^ # FVWM modules not in normal use, system defaults Style FvwmBanner !Title, Sticky, StaysOnTop, WindowListSkip Style IconManModule !Title, Sticky, !Handles, Icon toolbox.xpm ## 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. #AGILULFREPLACED#DestroyModuleConfig FvwmWinList:* #AGILULFREPLACED# omissis it does not exist any more # Button Styles #*FvwmIconMan: Colorset 10 #*FvwmIconMan: FocusColorset 11 #*FvwmIconMan: SelectColorset 12 #*FvwmIconMan: FocusAndSelectColorset 12 #*FvwmIconMan: IconColorset 14 #*FvwmIconMan: IconAndSelectColorset 15 #*FvwmIconMan: transient DrawIcons always *FvwmIconMan: transient ReliefThickness 0 *FvwmIconMan: transient Format "%t" *FvwmIconMan: transient TipsFormat "%i: %c: %r" #*FvwmIconMan: Font "xft:Sans:Bold:size=8:antialias=True" # Button Actions *FvwmIconMan: transient Action Mouse 1 N sendcommand WarpToWindow, sendcommand "Iconify False" *FvwmIconMan: transient Action Mouse 2 N sendcommand Iconify *FvwmIconMan: transient Action Mouse 3 N sendcommand "Module FvwmIdent FvwmIdent" # related menus #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: 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 # applications not in normal use, system defaults Style xeyes SmartPlacement, RandomPlacement Style xclock SmartPlacement, RandomPlacement # related menus #Menu: Keyboardclicks #Menu: Mouse #Menu: Speaker #Menu: Screensaver #Menu: Settings #Menu: Work [NB this is the suse specific menu !!] ##NOAGILULF PipeRead 'xdg_menu --charset UTF-8 --format fvwm2'