Miscellaneous notes about using Athena and Artemis

Setting the size and location of the PGPLOT window under X Windows

I finally got fed up with having to move and resize the PGPLOT window every time I start Athena or Artemis. This solution to setting a default size and location should work with any window manager. It certainly works with KDE+Kwin. (Note that Evolution has the most elegant solution to this problem of any window manager I have used. E has a GUI interface for configuring this without having to go through the step below.)

Put this line in your ~/.Xdefaults file:

pgxwin.Win.geometry: 574x511+706+513

adjusting the size and location appropriately for your screen.

To enable this change in the current X session, issue this command at the command line:

 xrdb -merge $HOME/.Xdefaults

See http://www.astro.caltech.edu/~tjp/pgplot/xwdriv.html for more details about configuring PGPLOT's xwin driver.


Except where otherwise noted, Bruce's content on the Ifeffit wiki is licensed under a Creative Commons Attribution 2.5 License


BruceRavel : back to Bruce's Wiki page

HoraeTipsAndTricks (last edited 2006-10-19 14:29:38 by BruceRavel)