summaryrefslogtreecommitdiffstats
path: root/doc/klcddimmer.html
blob: 193240d91b05c000f0262b839c3b0ce255156a49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or
g/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type" />
  <meta content="Lorenzo Bettini" name="author" />
  <title>KLcdDimmer - A KDE Applet to adjust LCD brightness</title>
</head>


<body>



<h1><img style="width: 48px; height: 48px;" alt="KLcdDimmer icon" src="hi48-app-klcddimmer.png"> KLcdDimmer</h1>



<h1><small>A KDE Applet to adjust LCD brightness</small></h1>



by <a href="http://www.lorenzobettini.it">Lorenzo
Bettini</a><br>



<br>



<img style="width: 290px; height: 176px;" alt="KLcdDimmer Screenshot" src="klcddimmer-screenshot.png"><br>



<br>



To adjust the brightness simply click with the&nbsp;mouse&nbsp;left
button and use the slider<br>



<br>



Notice that this applet relies on an external program to get/set the
brightness.<br>



<br>



For instance, I've used<br>



<br>



<span style="font-weight: bold;">SmartDimmer</span> <a href="http://www.acc.umu.se/%7Eerikw/program/">http://www.acc.umu.se/~erikw/program/</a><br>



<span style="font-weight: bold;">NVclock</span> <a href="http://www.linuxhardware.org/nvclock/">http://www.linuxhardware.org/nvclock/</a><br>



<br>



but it is supposed to work also with others, since you can configure
the applet. In order to do this, click with the mouse right button and
choose <span style="font-style: italic;">configure</span>:<br>



<br>



<img style="width: 411px; height: 346px;" alt="The configuration dialog" src="configure.png"><br>



<br>


You have to set the right command line argument for&nbsp;setting and
getting the brightness (you have to check the documentation of the
program you're using for setting the brightness). &nbsp;If the program
you're using does not support the "get" argument (e.g., nvclock), just
leave that field empty. As for the minimum, maximum and step values,
again, you have to check the documentation of the program (you'll
already find all the correct values for smartdimmer).<br>


<br>


If you check the "Save the current brightness value", the current value will be saved, and restored when you enter kde again. <br>



<h2>Download (License: GNU GPL)</h2>



KlcdDimmer's Sources can be downloaded from <a href="http://sourceforge.net/projects/klcddimmer">http://sourceforge.net/projects/klcddimmer</a>.<br>
<br>

You can also find details about new features on my blog, in this area: <a href="http://tronprog.blogspot.com/search/label/klcddimmer">http://tronprog.blogspot.com/search/label/klcddimmer</a>. 

<h2>Installation</h2>



When you run configure, you should pass the KDE root directory as
--prefix (in my system it is /usr). If you don't know about this directory, you can get the right value by running:<br>

<pre>kde-config --prefix</pre>


<p>The steps to perform for the
installation are standard for packages
in source form: once you have unpacked the sources in a directory, `cd'
to the directory containing the package's source code and execute the
following steps: </p>



<pre>./configure --prefix=&lt;your KDE directory&gt;<br></pre>

Or, to automatically get the KDE root directory (notice it is ` and not '):
<pre>./configure --prefix=`kde-config --prefix`<br></pre>

<p>and then:</p>

<pre>make<br>make install (as root)</pre>



<p>Then you'll be able to add the applet to the panel, by using your
KDE panel. </p>




</body>
</html>