Fedora Linux Support Community & Resources Center
  #1  
Old 26th December 2012, 02:33 AM
h2kyeong Offline
Registered User
 
Join Date: Jun 2011
Posts: 3
linuxfirefox
[F17] Modifier keys are ignored in Pymol

I have installed Fedora official pymol package 1.5.0.2-3.20120218svn3982.fc17. And all is good except that pymol is ignoring modifier keys like Shift and Ctrl. I also have downloaded latest source from sourceforge (not svn) and compiled it, and I found the same problem. I also tried older version of pymol (1.4.1) but again I found the same problem.

I use ibus, so I also tried turning it off by im-chooser, removing "export QT_IM_MODULE=ibus" and "export GTK_IM_MODULE=ibus" from .bashrc, and logging off and back on. Still I had the same problem.

Have some GLUT key constants changed over time? Where should I look?

---- ----

added:

I investigated into it a little.
when freeglut is available, p_glutGetModifiers() that is called by MainButton() defined in layer5/main.c becomes an alias of glutGetModifiers() declared in GL/freeglut_std.h, as directed by layer0/os_gl.h.
but this function is returning zero even if modifier key was pressed. I inserted fprintf(stderr,"watch:%d\n",glutGetModifiers()); into MainButton() and compiled pymol and got zeroes.

I don't know if freeglut is being incorrectly used in the pymol source. but otherwise the root of this problem is deeper...

Last edited by h2kyeong; 26th December 2012 at 04:46 AM.
Reply With Quote
Reply

Tags
f17, keys, modifier, pymol

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PyMOL display becomes distorted HeWhoE Using Fedora 2 8th February 2010 02:53 AM
PyMOL Installation iomesus Using Fedora 0 27th April 2008 11:19 AM
Win Modifier FC5 CardsRF EOL (End Of Life) Versions 0 3rd August 2006 10:09 AM


Current GMT-time: 15:07 (Thursday, 30-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Clinton Photos - Guinguineo - Buturlinovka