arohl / gdis

A visualization program for the display, manipulation, and analysis of isolated molecules and periodic structures
GNU General Public License v2.0
43 stars 17 forks source link

Background colour cannot be changed #57

Open njn0516 opened 6 months ago

njn0516 commented 6 months ago

Display properties——>Colours——>Background colour I find that I can't change the backgrd colour, is there any bug regarding this function? Version: GDIS 1.0 OS: Almalinux 8.9

njn0516 commented 6 months ago

4a21fed766ff8b0dc854daca5a85ce2e

arohl commented 6 months ago

The colour doesn't update when you select it but if you pick your colour, press OK and rotate the model, the background colour should update

njn0516 commented 6 months ago

Thank you, Arohl, but it still does't work. d6f3b192586dafef41d45f327293314e

After I close it and reopen the display manu, the background colour re-change to the black.

arohl commented 4 months ago

Sorry but I missed your reply - if you want to make a change permanent, you need to edit the

.gdisrc

in your home directory. Look for the line

colour_bg

and change the value to the colour of your choice. The three numbers you need to specify is the RGB value of the colour.

njn0516 commented 1 month ago

Changing .gdisrc does work. Thank you. However, why is this happing?