Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux.slackware    |    I think its the one without Selinux crap    |    87,272 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 86,353 of 87,272    |
|    Lew Pitcher to root    |
|    Re: Two questions please    |
|    03 Jun 23 17:21:00    |
   
   From: lew.pitcher@digitalfreehold.ca   
      
   On Sat, 03 Jun 2023 16:53:32 +0000, root wrote:   
      
   > My first question has to do with Fluxbox window manager: is there a way   
   > or setting that I can force Fluxbox to keep the mouse attached to a given   
   > window until I click on a new window? I'm pretty sure this relates to   
   > "mouse focus" but I have been unable to any setting that does what I   
   > want. For example, I may click on an Xterm and start reading a pdf   
   > file in the xterm. As I am scrolling through the document with the mouse   
   > wheel, the mouse pointer drifts around the screen because I'm not   
   > paying attention to it while I read. If the mouse pointer drifts out   
   > of bounds of the pdf display, I am suddenly tossed into some other   
   > window. Can I attach the mouse to the original Xterm/PDF display?   
      
   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.   
      
   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   
   --   
   Lew Pitcher   
   "In Skills We Trust"   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca