REDSHIFT(5)REDSHIFT.CONF(5)REDSHIFT(5)NAME
redshift.conf - configuration file for redshift and gtk-redshift
DESCRIPTION
A configuration file with the name `redshift.conf' can optionally be placed in `~/.config/'. The file has standard INI format. General pro-
gram options are placed under the `redshift' header, while options for location providers and adjustment methods are placed under a header
with the name of that provider or method. General options are:
temp-day = integer
Daytime temperature
temp-night = integer
Night temperature
transition = 0 or 1
Disable or enable transitions
brightness-day = 0.1-1.0
Screen brightness at daytime
brightness-night = 0.1-1.0
Screen brightness at night
gamma = R:G:B
Gamma adjustment to apply
adjustment-method = name
Select adjustment method. Options for the adjustment method can be given under the configuration file heading of the same name.
location-provider = name
Select location provider. Options for the location provider can be given under the configuration file heading of the same name.
Options for location providers and adjustment methods can be found in the help output of the providers and methods.
EXAMPLE
Example for Copenhagen, Denmark:
$ redshift -l 55.7:12.6 -t 5700:3600 -g 0.8 -m vidmode -v
An example configuration file with the same effect as the above command line:
[redshift]
temp-day=5700
temp-night=3600
gamma=0.8
adjustment-method=vidmode
location-provider=manual
AUTHOR
redshift was written by Martin Koelewijn and Jon Lund Steffensen.
This manual page was created by Franziska Lichtblau <rhalina@old-forest.org> for the Debian project (and may be used by others).
redshift 1.7 June 2012 REDSHIFT(5)
Check Out this Related Man Page
Gtk2::Adjustment(3pm) User Contributed Perl Documentation Gtk2::Adjustment(3pm)NAME
Gtk2::Adjustment - wrapper for GtkAdjustment
HIERARCHY
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Adjustment
METHODS
object = Gtk2::Adjustment->new ($value, $lower, $upper, $step_increment, $page_increment, $page_size)
o $value (double)
o $lower (double)
o $upper (double)
o $step_increment (double)
o $page_increment (double)
o $page_size (double)
$adjustment->changed
$adjustment->clamp_page ($lower, $upper)
o $lower (double)
o $upper (double)
$adjustment->configure ($value, $lower, $upper, $step_increment, $page_increment, $page_size)
o $value (double)
o $lower (double)
o $upper (double)
o $step_increment (double)
o $page_increment (double)
o $page_size (double)
Since: gtk+ 2.14
$adjustment->set_lower ($newval)
$adjustment->set_page_increment ($newval)
$adjustment->set_page_size ($newval)
$adjustment->set_step_increment ($newval)
$adjustment->set_upper ($newval)
o $newval (double)
These functions differ from the plain "->lower" etc setters in that they emit "notify" and "changed" signals if $newval is different from
the current value.
The corresponding "get_lower" etc are not wrapped because they're the same as the "lower" etc field accessors above.
Since: gtk+ 2.14
double = $adjustment->value
double = $adjustment->value ($newval)
double = $adjustment->lower
double = $adjustment->lower ($newval)
double = $adjustment->upper
double = $adjustment->upper ($newval)
double = $adjustment->step_increment
double = $adjustment->step_increment ($newval)
double = $adjustment->page_increment
double = $adjustment->page_increment ($newval)
double = $adjustment->page_size
double = $adjustment->page_size ($newval)
o $newval (double)
Get or set the six fields of a Gtk2::Adjustment.
The setter functions store $newval and return the old value. Note that they don't emit any signals; it's up to you to emit "notify"
(because the fields are also properties) and "changed" or "value-changed", when you're ready.
$adjustment->value_changed
double = $adjustment->get_value
$adjustment->set_value ($value)
o $value (double)
PROPERTIES
'lower' (double : default 0 : readable / writable / private)
The minimum value of the adjustment
'page-increment' (double : default 0 : readable / writable / private)
The page increment of the adjustment
'page-size' (double : default 0 : readable / writable / private)
The page size of the adjustment
'step-increment' (double : default 0 : readable / writable / private)
The step increment of the adjustment
'upper' (double : default 0 : readable / writable / private)
The maximum value of the adjustment
'value' (double : default 0 : readable / writable / private)
The value of the adjustment
SIGNALS
value-changed (Gtk2::Adjustment)
changed (Gtk2::Adjustment)
SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.14.2 2012-05-27 Gtk2::Adjustment(3pm)