[ase-users] ASE-GUI screen colours
Jens Jørgen Mortensen
jensj at fysik.dtu.dk
Tue Apr 24 09:12:22 CEST 2012
On 19-03-2012 12:58, Christian Glinsvad wrote:
> Hi Anna
>
> I don't know if this would work on Windows too, but in Linux you can
> use a desktop theme with light text on a dark background and the
> ASE-GUI will adhere to that color scheme. For example, the image
> linked below shows what it looks like on Ubuntu with the so-called
> HighContrastInverse desktop theme.
> http://dcwww.fysik.dtu.dk/~chlg/ASE-GUI_HighContrastInverse.png
>
> There's still the issue of the main window showing atoms on a white
> background and I'm afraid the black/white colors are hardcoded into
> the ASE-GUI right now. There's a quite easy fix where we just
> change the code to swap around black and white, but it would
> obviously be better to let the GUI include a menu that would let the
> users set the fore- and background colors as they wish.
Instead of adding a menu for setting the background colors, how about
making it a configuration option one can set in ~/.ase/gui.py, which is
read from ase/gui/defaults.py.
Jens Jørgen
> This small
> hack can be applied to the latest developer release using the patch
> below and the image shows the patched ASE-GUI with the
> aforementioned desktop theme.
> http://dcwww.fysik.dtu.dk/~chlg/ASE-GUI_Patch.diff
> http://dcwww.fysik.dtu.dk/~chlg/ASE-GUI_HighContrastInverse_Patched.png
>
> Here's how you download the latest developer release (r2543),
> apply the patch and install it:
>
> svn checkout https://svn.fysik.dtu.dk/projects/ase/trunk trunk
> cd trunk
> wget http://dcwww.fysik.dtu.dk/~chlg/ASE-GUI_Patch.diff
> patch -p0<ASE-GUI_Patch.diff
> sudo python setup.py install
>
> Regards
> Christian Glinsvad
>
> ________________________________________
> From: ase-users-bounces at listserv.fysik.dtu.dk [ase-users-bounces at listserv.fysik.dtu.dk] On Behalf Of Anna Kausamo [anna.m.kausamo at student.jyu.fi]
> Sent: Saturday, March 17, 2012 7:29 PM
> To: ase-users at listserv.fysik.dtu.dk
> Subject: [ase-users] ASE-GUI screen colours
>
> Dear ASE people
>
> I am a visually impaired doctoral student. For me to be able to use
> ASE-GUI, it is essential that colours of the screen can be adjusted
> such that the backround is dark related to text and graphics. Too
> bright backround (e.g. the usual white) makes it impossible for me to
> see text/graphics properly as my eyes are hypersensitive to light. Is
> it possible for the user to adjust the colours of ASE-GUI in order to
> meet these special requirements?
>
> Best regards,
> Anna Kausamo
> Department of Physical Chemistry
> University of Jyväskylä
> Finland
>
> _______________________________________________
> ase-users mailing list
> ase-users at listserv.fysik.dtu.dk
> https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users
>
> _______________________________________________
> ase-users mailing list
> ase-users at listserv.fysik.dtu.dk
> https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users
More information about the ase-users
mailing list