[Chimera-users] Is it possible to configure Chimera Tools Window Start-up Position in Dual Monitor?
Eric Pettersen
pett at cgl.ucsf.edu
Mon Jul 10 13:15:34 PDT 2017
Well, not directly. If you’re willing to write a little Python you can do it. I’ve attached a little Python script that positions the Model Panel 700 pixels to the right and 100 pixels down from the upper left corner of the main screen. Even if you don’t know Python it should be easy for you to add additional ‘if’ statements to position the dialogs you want where you want them. Keep in mind that indentation is significant in Python, so the additional ‘if’ statements would need to be indented the same way as the original one. You need to run the script as an argument on the Chimera startup command line. You may need to turn off the “They to avoid placing dialogs over main window” preference, though in my experiments that wasn’t necessary.
You'll have to experiment with the actual values to use to get the dialogs where you want them. You’ll probably also need to know whether the second screen is above/below/left/right of the main screen if you need to position the dialogs on the secondary screen.
—Eric
Eric Pettersen
UCSF Computer Graphics Lab
> On Jul 7, 2017, at 8:10 AM, Jun Song <junhasong at berkeley.edu> wrote:
>
> Hello everyone,
>
> There are quite a few tools that I always use when I use Chimera, and I really cannot do the work I need to do without having all the tools open in their own separate windows.
>
> I find it very convenient to configure those tools to open all together when I start Chimera every single time. I also connect a monitor to my laptop to visualize my map on it, and place all my tool windows on the other screen.
>
> I am wondering if there is an option to specify all the tool windows' start-up position and size over dual monitor screens. When I click on the Chimera icon to do some work, all the windows, both main Chimera graphics window and all the tool windows, only open on the main display.
>
> I have been reading all the instructions regarding window position for hours, and it appears that the only parameter that I can play with is
>
> - Which screen Chimera will open (using --screen screen_number)
> - Graphics window size (using windowsize [width height])
> - Graphics window position (using windoworigin [x y])
>
> and nothing else.
>
> Is it ever possible to...
>
> Q1. Specify exact position where all of the tool windows will open? and also, can I...
> Q2. Allow Chimera windows to open over both screens, not only one screen?
>
> I know all it takes for me to re-arrange is about 10 seconds of drag, but if there is a way to configure start-up position of all the windows, that would make using Chimera even more enjoyable.
>
> Best,
> Jun Ha Song.
> _______________________________________________
> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu
> Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20170710/971b4fef/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pos_dialogs.py
Type: text/x-python-script
Size: 146 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20170710/971b4fef/attachment.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20170710/971b4fef/attachment-0001.html>
More information about the Chimera-users
mailing list