X and meeses.

X and meeses.

Post by Ben Cantrick (alias Macky Stingr » Fri, 06 Dec 1996 04:00:00



  I was messing with some Motif (actually Lesstif) stuff on my Linux
box. I noticed that my mouseclicks didn't seem to register until the
mouse button came back up from the click, which annoyed me.

  I figured it was because I had a special option, "emulate 3 button,"
(I have a two button microsoft moose) set in the pointer section of my
X server config file.  And, sure enough, when I removed the setting,
rebooted the server, and tested it again with xev, mouse clicks started
behaving like they should have.

  Now there was only one problem. Before, I could click down on the left
button and then the right button (or the right button and then the
left button) to simulate a middle-button click. Now, although pushing the
mouse button down resulted in correct behavior, I only had a right and
left button. No middle button anymore. But you NEED that middle button;
you can't paste text without it!

  ObHack:

        xmodmap -e "pointer = 1 3 2"

  That swaps the middle and right buttons. Now my mouse's left button was
still button 1, for highlighting, but the right button was suddenly button
2, instead of 3. So I can paste with the right button.

  It's worked out pretty well so far. The only problem NOW is that when I
use XV, I have no way of getting the controls window! You have to click
in the image window with button 3 to get the controls window. But I
don't have a button 3 anymore! And I can't find a key that will bring
the controls window up, either. So if I want to use XV, I have to
xmodmap -e "pointer = 1 2 3" for a second, click to get the control window,
 and then change it back.

  ...but there's got to be a better way. What would be really nice would
be a way to modify pointer buttons like you can modify keysyms. Something
like "Shift + button 2 = button 3". Alas, it doesn't seem to work that way.
I'll probably have to mod the X server if I want it to work...

          -Ben
--
     "BGC: Because some of us believe women over 14 are still *."
=---------     http://www.veryComputer.com/~cantrick/home.html     -------------=
*Ben Cantrick, diehard BGC otaku and Priss fan.  ---> THE BGC DUBS SUCK! <---*
*Mac? Ha. "When I want to spend 50% of my time fighting an OS, I'll use VMS."*

 
 
 

X and meeses.

Post by Christopher OLI » Fri, 06 Dec 1996 04:00:00




Quote:>the controls window up, either. So if I want to use XV, I have to
>xmodmap -e "pointer = 1 2 3" for a second, click to get the control window,
> and then change it back.

        Now, if I remember right, '?' is the key you need to use to get
the controls window.

Now I guess I need an ...

ObHack:

        Was trying to figure out why my VCR was refusing to play tapes,
and if it did it looked I was watching one of the scrambled Pay TV
channels. Ok, so pull the thing apart and see what is up (A few
experiences with repair "techs" has left me with the opinion that a 4
year old with a hammer is worth more). The second I do so and the
thing shuts off. Hmmmm, did I hit the off switch? Nope, does it again,
okay, we have a power circuit cut off somehow hooked to this case top.
How to fix? Hmmmm some more and find only one area with unpainted
metal, assume this is our contact point and a bit of Magic Duct Tape
(tm) and two wires later we have our opperating, exposed VCR organs.
Discovered that there was a Gummy Worm stuck on the heads that was
only visible once they came out to play a tape.

        No more free party snacks next time, that's for sure...

************************************************************

*   "The man in need of a sig"                             *
************************************************************

 
 
 

X and meeses.

Post by Ed Skladan » Sat, 07 Dec 1996 04:00:00



 [ stuff deleted ]

Quote:>   ObHack:

>         xmodmap -e "pointer = 1 3 2"

>   That swaps the middle and right buttons. Now my mouse's left button was
> still button 1, for highlighting, but the right button was suddenly button
> 2, instead of 3. So I can paste with the right button.

>   It's worked out pretty well so far. The only problem NOW is that when I
> use XV, I have no way of getting the controls window! You have to click
> in the image window with button 3 to get the controls window. But I
> don't have a button 3 anymore! And I can't find a key that will bring
> the controls window up, either. So if I want to use XV, I have to
> xmodmap -e "pointer = 1 2 3" for a second, click to get the control window,
>  and then change it back.

You can bring up the control window by typing '?' in any window,
including
the icon.

Quote:>   ...but there's got to be a better way. What would be really nice would
> be a way to modify pointer buttons like you can modify keysyms. Something
> like "Shift + button 2 = button 3". Alas, it doesn't seem to work that way.
> I'll probably have to mod the X server if I want it to work...

>           -Ben

Suggestion: buy a three-button mouse.  They don't prevent you from
working
with MS products, you just use the left and right buttons.

--

Lockheed Martin Air Traffic Management            (or)

70 E. Swedesford Rd.                      VOICE 610-648-2160
Paoli, PA 19301 USA                       FAX   610-648-2891

 
 
 

1. Matrox Mystique ands X.

Hi,

Any comments on the setup of the Matrox Mystique, with Xfree86 would be
appreciated.

Cheers,

David Pearson

2. Command for Forced 100 mbps