From: NoEMail@home.org   
      
   Lew Pitcher wrote:   
   > On Sat, 03 Jun 2023 16:53:32 +0000, root wrote:   
   >   
   >   
   > Yes, you can. You are correct that this behaviour relates to "mouse   
   > focus" If you read fluxbox(1) ("man 1 fluxbox"), and look for the   
   > section labeled "FOCUS MODEL", you will find a description of the   
   > various mouse focus models available under fluxbox. To summarize,   
   > you probably have "Mouse Focus" model enabled, as this causes the   
   > the window manager to give focus to whichever window the mouse is   
   > currently in. You likely want the other model: "Click to Focus",   
   > which gives focus to whichever window you have "clicked" the mouse   
   > in.   
      
   The options I have set are:   
   init:session.screen0.window.focus.alpha: 255   
   init:session.screen0.window.unfocus.alpha: 255   
   init:session.screen0.focusNewWindows: true   
   init:session.screen0.noFocusWhileTypingDelay: 0   
   init:session.screen0.focusSameHead: false   
   init:session.screen0.focusModel: ClickFocus   
   init:session.screen0.tabFocusModel: ClickToTabFocus   
   init.0:session.screen0.window.focus.alpha: 255   
   init.0:session.screen0.window.unfocus.alpha: 255   
   init.0:session.screen0.focusNewWindows: true   
   init.0:session.screen0.noFocusWhileTypingDelay: 0   
   init.0:session.screen0.focusSameHead: false   
   init.0:session.screen0.focusModel: ClickFocus   
   init.0:session.screen0.tabFocusModel: ClickToTabFocus   
   keys:OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}   
   keys:OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing   
   NearestCorner}   
   keys:OnTitlebar Mouse1 :MacroCmd {Raise} {Focus} {ActivateTab}   
      
   It seems to me that ClickFocus is set. When I started using Fluxbox   
   I thought there was a clickable menu I could bring up to change   
   the configuration on the fly, but now I can't seem to get such a menu.   
   I middle click on the toolbar but only a few things come up.   
      
      
      
   >   
   > There are other, auxiliary, focus model settings that govern behavior   
   > of tab focus, and new window focus.   
   >   
   >> Secondly, over the years I have wanted to either defeat CapsLock   
   >> or change it to Control when running under X. None of the remedies   
   >> that have been suggested to me have proved to be permanent. They   
   >> work for a while, and then X reverts back to the damned CapsLock.   
   >> Is there an absolutely permanent fix?   
   >   
   > Yes, with caveats.   
   >   
   > Likely the suggestions you have seen depend on executing the xmodmap(1)   
   > command with various arguments and inputs. For the mapping that you   
   > inquire about, this is the utility to use. (There are other keyboard   
   > mapping functions available in fluxbox, but these mostly provide   
   > command shortcuts, and not keyboard key mapping. If this is what you   
   > are looking for, read the fluxbox-keys(5) man page.)   
   >   
   > If you place your xmodmap(1) key mappings in your $HOME/.Xmodmap file,   
   > then you should get your proper key mappings when   
   > a) you select fluxbox from the GDM/KDM/SSDM/XDM login screen, and   
   > b) you startfluxbox(1) from the commandline   
   >   
   > HTH   
      
   In my .Xmodmap file I have two lines:   
   clear lock   
   keycode 66 = Control_L   
      
   It's been so long since I last set this I don't remeber what the Control_L is.   
      
   Thanks for responding.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|