Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Middle mouse button drag problem w. PLC editor

Middle mouse button drag problem w. PLC editor 1 year 8 months ago #9821

  • Mumriksnus
  • Mumriksnus's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
So I have been waiting to try out Proview and finally got out an old Thinkpad and installed Xubuntu 16.04 and then Proview. All goes well and I am into the tutorial with the traffic lights when I get to the PLC editing.

For some reason, the middle mouse button will not allow me to drag a connection between gates in the editor. I tried using the built-in mouse buttons in the thinkpad keyboard and also used an ordinary external mouse - no way. The mouse pointer (the plus one in the editor) just stays put.

Only thing that happens is when I move the trackpoint (or physical mouse) vertically, the PLC editor window will scroll.

Anyone encountered this? Any solution?

I've seen people using Linux Mint and being perfectly able to edit the PLC, so I guess that the distro itself is not the culprit. Or is it better to go with some Mint distribution?

(I hate the default window manager of Ubuntu 16.04, that's why I haven't installed that)

Any help would be really appreciated.
The administrator has disabled public write access.

Middle mouse button drag problem w. PLC editor 1 year 8 months ago #9824

  • AutoMate
  • AutoMate's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 113
  • Karma: 0
Not sure what the mouse problem is. I use LUBUNTU 16.04 LTS without issue, except you need to sudo apt-get install xterm, also. LUBUNTU is an LXDE GUI. XUBUNTU is an XFCE GUI?

www.linuxandubuntu.com/home/lubuntu-vs-xubuntu

I typically lean for bare-bones O/S: i.e. LUBUNTU. Either distro should work, but you can probably reinstall faster than uncover a keyboard issue in XUBUNTU. Another option may be to recompile Proview from source?

Regards,
Ron
The administrator has disabled public write access.

Middle mouse button drag problem w. PLC editor 1 year 8 months ago #9825

  • Mumriksnus
  • Mumriksnus's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
Thanks for the input Ron!

I also tried installing Linux Mint - same problem. Well what I finally did that seems to have sorted the thing was:

- Used
xev

to see that the middle button did not produce any events.

- Updated the kernel (there has been some issue with the trackpoint on thinkpads wich was resolved in kernels later that the one with 16.04. Used a tool ukuu:

sudo apt-add-repository -y ppa:teejee2008/ppa
sudo apt-get update
sudo apt-get install ukuu

(Chose kernel later than 4.12.12, in my case Linux 4.18.0-041800-generic)

Tested what xinput said. Use
xinput

to identify the ID of the trackppoin and then examine that with
xinput list-props [number of you trackpoint device]

which gave:
Device 'TPPS/2 IBM TrackPoint':
	Device Enabled (153):	1
	Coordinate Transformation Matrix (155):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Accel Speed (295):	0.000000
	libinput Accel Speed Default (296):	0.000000
	libinput Accel Profiles Available (307):	1, 1
	libinput Accel Profile Enabled (308):	1, 0
	libinput Accel Profile Enabled Default (309):	1, 0
	libinput Natural Scrolling Enabled (297):	0
	libinput Natural Scrolling Enabled Default (298):	0
	libinput Send Events Modes Available (273):	1, 0
	libinput Send Events Mode Enabled (274):	0, 0
	libinput Send Events Mode Enabled Default (275):	0, 0
	libinput Left Handed Enabled (299):	0
	libinput Left Handed Enabled Default (300):	0
	libinput Scroll Methods Available (301):	0, 0, 1
	libinput Scroll Method Enabled (302):	0, 0, 1
	libinput Scroll Method Enabled Default (303):	0, 0, 1
	libinput Button Scrolling Button (310):	2
	libinput Button Scrolling Button Default (311):	274
	libinput Middle Emulation Enabled (312):	1
	libinput Middle Emulation Enabled Default (313):	0
	Device Node (276):	"/dev/input/event6"
	Device Product ID (277):	2, 10
	libinput Drag Lock Buttons (306):	<no items>
	libinput Horizonal Scroll Enabled (278):	1

changed the scrolling button away from middle button nr. 2 to "0":
xinput set-prop 11 'libinput Button Scrolling Button' 0

And it works.

ADDITION: Found out the change was not persistent - added a startup command to the startup programs in Linux Mint - same command as above:
xinput set-prop 11 'libinput Button Scrolling Button' 0
Last Edit: 1 year 8 months ago by Mumriksnus.
The administrator has disabled public write access.

Middle mouse button drag problem w. PLC editor 1 year 8 months ago #9826

  • AutoMate
  • AutoMate's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 113
  • Karma: 0
GOOD JOB and congratulations on getting that to work!
ThinkPads do seem to require more fiddling than most.

Ron
The administrator has disabled public write access.

Middle mouse button drag problem w. PLC editor 1 year 8 months ago #9828

  • Geno
  • Geno's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
  • Karma: 0
Had a similar issue with Debian 9 / XFCE, solved it that way: www.proview.se/v3/index.php/forum/4-prov...-middle-mouse-button
The administrator has disabled public write access.

Middle mouse button drag problem w. PLC editor 1 year 5 months ago #10033

  • mhe
  • mhe's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
A other configuration with middle-mouse-button problems.
Ubuntu 16.04.5 LTS on Thinkpad W520.

I think it's a bad idea to use the "Mouse-Wheel-Emulation" and ProviewR.
At least you have to think and remember about the usage.

HowTo "disable/enable" the "Mouse-Wheel-Emulation" ... you can do it on the fly. Even within a virtualbox ProviewR-VM. Do the changes on the host, not VM.
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 0
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Middle Button Emulation" 0

xinput list-props "TPPS/2 IBM TrackPoint"
Device 'TPPS/2 IBM TrackPoint':
Device Enabled (132): 1
Coordinate Transformation Matrix (134): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (258): 0
Device Accel Constant Deceleration (259): 1.000000
Device Accel Adaptive Deceleration (260): 1.000000
Device Accel Velocity Scaling (261): 10.000000
Device Product ID (253): 2, 10
Device Node (254): "/dev/input/event6"
Evdev Axis Inversion (297): 0, 0
Evdev Axes Swap (299): 0
Axis Labels (300): "Rel X" (142), "Rel Y" (143)
Button Labels (301): "Button Left" (135), "Button Middle" (136), "Button Right" (137), "Button Wheel Up" (138), "Button Wheel Down" (139), "Button Horiz Wheel Left" (140), "Button Horiz Wheel Right" (141)
Evdev Scrolling Distance (302): 0, 0, 0
Evdev Middle Button Emulation (303): 0
Evdev Middle Button Timeout (304): 50
Evdev Middle Button Button (305): 2
Evdev Third Button Emulation (306): 0
Evdev Third Button Emulation Timeout (307): 1000
Evdev Third Button Emulation Button (308): 3
Evdev Third Button Emulation Threshold (309): 20
Evdev Wheel Emulation (310): 0
Evdev Wheel Emulation Axes (311): 6, 7, 4, 5
Evdev Wheel Emulation Inertia (312): 10
Evdev Wheel Emulation Timeout (313): 200
Evdev Wheel Emulation Button (314): 2
Evdev Drag Lock Buttons (315): 0
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 4.701 seconds