Thanks a lot. I am using windows 7 and windows 10. It's obviously no big
deal, just a minor annoyance ;-)
Gary
On 1 February 2018 at 11:57, Thomas Holder <thomas.hol...@schrodinger.com>
wrote:
> Hi Gary,
>
> Which operating system do you use?
>
> PyMOL 1.x was hard coded to place the window in the upper left corner of
> the screen. PyMOL 2.x leaves window placement up to the operating system
> (window manager). E.g. KDE on Linux places the window in the least occupied
> screen area (my favorite), MacOS always puts it in the center of the screen.
>
> If you're launching from the command line, you could also specify width
> and height like this, which is applied before the window manager places the
> window:
> pymol -W 1350 -H 950
>
> PyMOL 2.1 will bring back the "window" command (it's non-functional in
> 2.0), which hopefully will resolve the issue for you. It will allow you to
> fit the window back onto the screen after resizing.
>
> # pymolrc:
> cmd.viewport(1350, 950)
> cmd.window('fit')
>
> A pre-release build of PyMOL 2.1 is available here:
> https://pymol.org/alpha/
>
> Cheers,
> Thomas
>
> > On Jan 31, 2018, at 9:58 AM, Gary Hunter <gary.hun...@um.edu.mt> wrote:
> >
> > My pymolrc file contains a line: viewport 1350,950
> > which nicely fills my screen when I start pymol 1.8. However in pymol2
> the screen has the correct dimensions but the whole thing is offest to the
> right and down. What should be the top left corner of the window is placed
> about a quarter of the way from the left hand side and about one sixth of
> the way down from the top.
> >
> > Is it a bug or is there a new viewport command?
> >
> >
> >
> > --
> > Prof. Gary J. Hunter,
> >
> > Laboratory of Biochemistry and Protein Science,
> >
> > Department of Physiology and Biochemistry,
> >
> > University of Malta, Msida, MSD 2080, Malta.
> >
> > phone: +356 2340 2917
> >
> > phone: +356 21316655 (secretary), Fax: +356 21310577
> >
> > http://www.um.edu.mt/ms/physbiochem
> >
> > There may be confidential information within the contents of this email
> meant only for the person addressed. This email must not be forwarded to
> third parties without the express consent of the sender. If you believe you
> have received this email in error please inform the sender and remove it
> from your system.
>
> --
> Thomas Holder
> PyMOL Principal Developer
> Schrödinger, Inc.
>
>
--
Prof. Gary J. Hunter,
Laboratory of Biochemistry and Protein Science,
Department of Physiology and Biochemistry,
University of Malta, Msida, MSD 2080, Malta.
phone: +356 2340 2917
phone: +356 21316655 (secretary), Fax: +356 21310577
http://www.um.edu.mt/ms/physbiochem
There may be confidential information within the contents of this email
meant only for the person addressed. This email must not be forwarded to
third parties without the express consent of the sender. If you believe you
have received this email in error please inform the sender and remove it
from your system.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net