How do I enable the middle mouse button for Pharo on Ubuntu?

倖福魔咒の 提交于 2019-12-07 12:06:55

问题


I'm fairly new to Pharo. I'm running Ubuntu Raring Ringtail (13.04) and using the PPA recommended on the Pharo web site, together with the Pharo 30218 image, and looking to enable the middle-click capability. (I have a Logitech trackball, and several apps are already aware enough to use the scrolling capability of the middle wheel. So, I think it's something I need to do specifically for Pharo.)


回答1:


I'm on mac so my answer may not be that useful for you. But the middle mouse button does not bring any menu in Pharo and by default the mouse wheel should work. Pay attention Pharo 3.0 is under heavy development, so to get started I would use Pharo 2.0.




回答2:


Have you tried using a Squeak image with your VM? There, middle/right mouse buttons are mapped to halo/context menu. If it works in Squeak, then the problem is with the Pharo image. If it does not work in Squeak either, the problem is with the VM.

You can get a current Squeak release here: http://ftp.squeak.org/4.4/Squeak4.4-12327.zip plus http://ftp.squeak.org/4.4/SqueakV41.sources.zip




回答3:


For me the key combination (modifier) I had to use to get the halos was: alt+shift and then click with left mouse button.



来源:https://stackoverflow.com/questions/17280577/how-do-i-enable-the-middle-mouse-button-for-pharo-on-ubuntu

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!