You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
157 lines
3.4 KiB
157 lines
3.4 KiB
<!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 mouse 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 setting and
|
|
getting the brightness (you have to check the documentation of the
|
|
program you're using for setting the brightness). 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>tde-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=<your KDE directory><br></pre>
|
|
|
|
Or, to automatically get the KDE root directory (notice it is ` and not '):
|
|
<pre>./configure --prefix=`tde-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>
|