fvwm novice here, so please bear with.
Running fvwm wm on vnc session.
The current situation (copied .fvwm* and other files from somewhere else, fingers crossed, but behaves differently):
I have what appears to be two “desks” (Desk1 and Desk2) per what I see in a desk nagivation widget. Each is divided up into 4 sections, call them ulh (upper left hand), urh, llh, lrh and a single section takes up the whole screen. But you can navigate to other sections by clicking on the widget. I don’t know what you call this thing, but I hope it sounds familiar.
If I’m in ulh section of Desk1, and moving the mouse out of the vnc session, off the bottom of the screen, it jumps to llh section.
I don’t want this behavior.
I don’t eevn want the multiple “desks” and sections, so if there’s a solution there, I’m all ears.
Focus (mouse and keypad) seems to be a function of where I put the mouse. I want it to be a function of where I click. I also want the window I click in to be in the foreground. I also want focus to move if/when I pastes something into a window. For example, I highlight some text in xterm-1, then right-click in xterm-2. I want xterm-2 to take the foreground and be in focus (mouse and keypad).
Getting focus is sometimes a function of whether or not Num-Lock is enables. Can I have focus (maouse and keypad and foreground) be a function of what I click in (or what I paste in) and not a function of the state of NuLock?
I was able to make some headway on some of this. I discovered some theme config assistant guis to help. But some of the unwanted behavior remains. I got rid of the desker pager, but it still behaves as if that space still exists. IOW, it’s like the entire workspace is (for example) 100x100 but a single desktop’s worth of the vnc session is only 25x25. When I run the cursor over to a boundary, it automatically jumps over to the next part of the workspace. I either want a single 25x25, or to display the 100x100 in a single screen, no “invisible” parts of the workspace. So that’s still annoying.
Also, I found that .Xdefautls is, theoretically, referenced by fvwm2. But changing some of the config in there doesn’t seem to have any affect. Trying to control window focus behavior (raise and keyboard a function of mouseclick, not pointer position). So that’s still problematic.
Neither “DeskTopSize 1x1” (which I found in .fvwm2rc-modules) nor “EdgeScroll 0 0” (which I found in .fvwm2rc-theme) worked (including together).
There appear to be many files at play here. There are 4 different .fvwm2rc files (.fvwm2rc with -theme, -setup, -modles flavors). There are several .X* files (.Xdefaults, .Xauthority, .Xmodmap and I’m told .Xresources (which I do not have)), and there’s .vnc/xstartup. There may be more, and not knowing what they are may be part of the problem, but there’s at least these. I don’t know how they all interact, which ones run first, what clobbers what, etc… .
I could RTFM (no offense BTW), but I have a real job to try to do in the meantime. I just want the windows to behave… not dissapear when I move the cursor, stay in focus and stay raised, even if I move the pointer, keyboard focus too, and not have to turn off NumLock to get things to behave because I need it to be “on” for emacs to work right. At this point, I don’t care about fonts, colors, andy of the bells and whistles.
I think the root of the problem may lay outside what’s in my home dir because all the files (mentioned above) together in my home dir on a different computer cluster seems to work OK. All the above problems (except the NumLock thing) are not a problem there. But after I “cp -r” all of that over to a different computer cluster, these problems remain. It’s as if it’s referencing external files (add to the list). I’ll dive into all these files and look for anything that looks like that next.
The focus tracking problem is the only one remaining at this time. To restate that problem…
The desired behavior is to be able to click in a window to get focus, whether or not the “Num-Lock” is on or off. If behaves properly is it’s off, but does not change focus if Num-Lock is on.
In fvwm2rc there is…
In fvwm2rc-theme, there is…
Style “*” ClickToFocus
Below are the fvwm files that are called (minus all the comments and blank lines). The lines with no indentation are from .fvwm2rc. Indentation is used to show the uncommented lines of the called (read) file(s). So everytimne you see a “Read”, expect an indented section of code to follow. It’s a real quadmire of files calling files, something I have to live with given where I work. Starting with .fvwm2rc…
ButtonStyle 1 Vector 5 20x40@1 20x60@1 80x60@0 80x40@0 20x40@1
ButtonStyle 3 10 25x20@1 30x25@1 30x55@1 43x55@0 50x85@1 57x55@0
70x55@0 70x25@0 75x20@0 25x20@1
ButtonStyle 5 Vector 5 20x40@0 20x60@0 80x60@1 80x40@1 20x40@0
ButtonStyle 7 Vector 17 20x20@1 30x20@1 50x40@1 70x20@1 80x20@1
80x30@0 60x50@0 80x70@1 80x80@0 70x80@0 50x60@0 30x80@0
20x80@0 20x70@0 40x50@1 20x30@0 20x20@1
ButtonStyle 8 13 10x50@1 30x25@1 30x40@1 30x40@1 60x40@1 60x25@1
85x50@1 60x75@0 60x60@0 30x60@0 30x75@0 10x50@0 10x50@1
ButtonStyle 6 12 50x10@1 25x30@1 40x30@1 40x60@1 25x60@1 50x85@1
75x60@0 60x60@0 60x30@0 75x30@0 50x10@0 50x10@1
ButtonStyle 4 Vector 4 50x65@1 35x35@1 65x35@1 50x65@0
ButtonStyle 2 Vector 4 50x35@1 65x65@0 35x65@0 50x35@1
Mouse 0 1 A PopUp “Window_Ops”
Mouse 0 3 A Stick
Mouse 0 5 A WindowShade
Mouse 0 8 A Maximize 100 0
Mouse 0 6 A Maximize 0 100
Mouse 0 4 A Iconify
Mouse 0 2 A Maximize 100 100
Mouse 1 R A PopUp “MainMenu”
Mouse 2 R A WindowList
Mouse 3 R A PopUp “Window_Ops”
Mouse 4 R A Scroll +0 -20
Mouse 5 R A Scroll +0 +20
Mouse 4 A M Scroll +0 -10
Mouse 5 A M Scroll +0 +10
Mouse 4 A MC Scroll -10 +0
Mouse 5 A MC Scroll +10 +0
Mouse 1 I A Function “Move-or-Iconify”
Mouse 3 I A PopUp “Window_Ops”
Mouse 3 TSF A RaiseLower
Key Left A C Scroll -100 +0
Key Right A C Scroll +100 +0
Key Up A C Scroll +0 -100
Key Down A C Scroll +0 +100
Key Left A M Scroll -10 +0
Key Right A M Scroll +10 +0
Key Up A M Scroll +0 -10
Key Down A M Scroll +0 +10
Key F1 A M RaiseLower
Key F2 A M CirculateUp
Key F3 A M CirculateDown
Key F5 A M Popup “MainMenu”
Key F6 A M Module “WindowList”
Key F7 A M Iconify
Key F8 A M Maximize
Key F9 A M Resize
Key F9 A S GotoPage 0 0
Key F10 A S GotoPage 1 0
Key F11 A S GotoPage 0 1
Key F12 A S GotoPage 1 1
Key F9 R N GotoPage 0 0
Key F10 R N GotoPage 1 0
Key F11 R N GotoPage 0 1
Key F12 R N GotoPage 1 1
TitleStyle ActiveUp (HGradient 40 2 tan 50 peru 50 tan) – sunk
TitleStyle ActiveDown (HGradient 40 2 peru 50 tan 50 peru) – flat
TitleStyle Inactive (HGradient 40 2 darkslateblue 50 slateblue 50 darkslateblue)
Style “*” ClickToFocus
EdgeScroll 0 0
AddToMenu Applications “Applications” Title
AddToMenu CascadeXtPopup “Cascading X Terminals” Title
" " exec xterm -name BIG -geometry 80x40+0+0 &
"  " exec xterm -name BIG -geometry 80x40+40+40 &
"  " exec xterm -name BIG -geometry 80x40+80+80 &
"  " exec xterm -name BIG -geometry 80x40+120+120 &
"  " exec xterm -name BIG -geometry 80x40+160+160 &
"  " exec xterm -name BIG -geometry 80x40+200+200 &
"  " exec xterm -name BIG -geometry 80x40+240+240 &
" " exec xterm -name BIG -geometry 80x40+280+280 &
AddToMenu ColorXtPopup “Color X Terminals” Title #used to be darkblue but blue4 is the portable name (darkblue absent on hpux)
“Close %mini-cross.xpm%” Close
(no uncommented lines in this file)
(no such file)