ductientn97 / gphotoframe

Automatically exported from code.google.com/p/gphotoframe
Other
0 stars 0 forks source link

Add options to change frame width and color #75

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm asking if it is possible to add to gphotoframe the options to change the 
frame width and color. It would be great to have a fouth tab in preferences 
named "Appearence" where those options are collected (maybe with the image size 
options).

Thanks

Original issue reported on code.google.com by cri.pe...@gmail.com on 29 Oct 2010 at 11:45

GoogleCodeExporter commented 8 years ago
You can set the border width and color with gconftool-2 or gconf-editor:

  gconftool-2 --type int --set /apps/gphotoframe/border_width 0
  gconftool-2 --type str --set /apps/gphotoframe/border_color "red"

But, the width cannot be adjusted accurately from the limitation of GTK.
I don't have a plan to add new appearance tab.

Original comment by yendo0206 on 29 Oct 2010 at 12:56

GoogleCodeExporter commented 8 years ago
Thanks! not intuitive, but works.
If you agree, I'm going to add those commands to the gphotoframe help.

Original comment by cri.pe...@gmail.com on 31 Oct 2010 at 12:53

GoogleCodeExporter commented 8 years ago
> If you agree, I'm going to add those commands to the gphotoframe help.

Yes, off course. Thank you!

BTW, what values did you set to border width and color.
The default values are 6 and 'white',
Do you have any idea about more appropriate default values?

ex) border_width = 6
 -> border_width = ( frame_width / 400 ) * 6

Original comment by yendo0206 on 1 Nov 2010 at 9:34

GoogleCodeExporter commented 8 years ago
> BTW, what values did you set to border width and color.
> The default values are 6 and 'white',

I've just experimented a little with this setting and I think that the only 
useful colors are white and black. The color choice depends from two factors: 
the desktop predominant color and the image predominant color. By the way i 
think that white is the right choice for most of the images but in some cases 
black is better
About the frame width, I like it thin sao 6 is a good value.

> Do you have any idea about more appropriate default values?
> ex) border_width = 6
>  -> border_width = ( frame_width / 400 ) * 6

I really like this idea, in fact I run gphotoframe with a width of 600 and the 
first thing I wanted to do was to increase the frame width (600/400*6=9; prior 
to reading your formula I've set it to 10 so you guessed right!)

Regards

PS in a couple of day I will be ready with the updated manual

Original comment by cri.pe...@gmail.com on 3 Nov 2010 at 7:45