Browse Source

Added KDE3 version of kpowersave


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpowersave@1092957 283d02a7-25f6-0310-bc7c-ecb5cbfe19
tpearson 9 years ago
commit
be4fc77c29
100 changed files with 11692 additions and 0 deletions
  1. 2
    0
      AUTHORS
  2. 340
    0
      COPYING
  3. 5127
    0
      ChangeLog
  4. 1253
    0
      ChangeLog.package
  5. 276
    0
      Doxyfile
  6. 236
    0
      INSTALL
  7. 22
    0
      Makefile.am
  8. 455
    0
      NEWS
  9. 99
    0
      README
  10. 48
    0
      TODO
  11. 173
    0
      configure.in.in
  12. 6
    0
      doc/Makefile.am
  13. 2
    0
      doc/cs/Makefile.am
  14. BIN
      doc/cs/cs_applet_autosuspend.png
  15. BIN
      doc/cs/cs_applet_configure.png
  16. BIN
      doc/cs/cs_applet_cpufreq.png
  17. BIN
      doc/cs/cs_applet_schemes.png
  18. BIN
      doc/cs/cs_applet_suspend.png
  19. BIN
      doc/cs/cs_applet_yast.png
  20. BIN
      doc/cs/cs_configdialog_blacklist.png
  21. BIN
      doc/cs/cs_configdialog_general.png
  22. BIN
      doc/cs/cs_configdialog_schemes.png
  23. BIN
      doc/cs/cs_configdialog_schemes_autosuspend.png
  24. BIN
      doc/cs/cs_configdialog_schemes_bright.png
  25. BIN
      doc/cs/cs_configdialog_schemes_screen.png
  26. BIN
      doc/cs/cs_notification_settings.png
  27. BIN
      doc/cs/hi48-app-kpowersave.png
  28. 533
    0
      doc/cs/index.docbook
  29. 2
    0
      doc/de/Makefile.am
  30. BIN
      doc/de/de_applet_autosuspend.png
  31. BIN
      doc/de/de_applet_configure.png
  32. BIN
      doc/de/de_applet_cpufreq.png
  33. BIN
      doc/de/de_applet_schemes.png
  34. BIN
      doc/de/de_applet_suspend.png
  35. BIN
      doc/de/de_applet_yast.png
  36. BIN
      doc/de/de_configdialog_blacklist.png
  37. BIN
      doc/de/de_configdialog_general.png
  38. BIN
      doc/de/de_configdialog_schemes.png
  39. BIN
      doc/de/de_configdialog_schemes_autosuspend.png
  40. BIN
      doc/de/de_configdialog_schemes_bright.png
  41. BIN
      doc/de/de_configdialog_schemes_screen.png
  42. BIN
      doc/de/de_notification_settings.png
  43. BIN
      doc/de/hi48-app-kpowersave.png
  44. 610
    0
      doc/de/index.docbook
  45. 25
    0
      doc/doxy/README
  46. 708
    0
      doc/doxy/changelog.dox
  47. 94
    0
      doc/doxy/enhance.dox
  48. 215
    0
      doc/doxy/fixed_bugs.dox
  49. 4
    0
      doc/doxy/footer.html
  50. 5
    0
      doc/doxy/header.html
  51. 75
    0
      doc/doxy/main.dox
  52. 51
    0
      doc/doxy/process.dox
  53. 271
    0
      doc/doxy/styleSheet.css
  54. 2
    0
      doc/en/Makefile.am
  55. BIN
      doc/en/en_applet_autosuspend.png
  56. BIN
      doc/en/en_applet_configure.png
  57. BIN
      doc/en/en_applet_cpufreq.png
  58. BIN
      doc/en/en_applet_schemes.png
  59. BIN
      doc/en/en_applet_suspend.png
  60. BIN
      doc/en/en_applet_yast.png
  61. BIN
      doc/en/en_configdialog_blacklist.png
  62. BIN
      doc/en/en_configdialog_general.png
  63. BIN
      doc/en/en_configdialog_schemes.png
  64. BIN
      doc/en/en_configdialog_schemes_autosuspend.png
  65. BIN
      doc/en/en_configdialog_schemes_bright.png
  66. BIN
      doc/en/en_configdialog_schemes_screen.png
  67. BIN
      doc/en/en_notification_settings.png
  68. BIN
      doc/en/hi48-app-kpowersave.png
  69. 530
    0
      doc/en/index.docbook
  70. 2
    0
      doc/fi/Makefile.am
  71. BIN
      doc/fi/fi_applet_autosuspend.png
  72. BIN
      doc/fi/fi_applet_configure.png
  73. BIN
      doc/fi/fi_applet_cpufreq.png
  74. BIN
      doc/fi/fi_applet_schemes.png
  75. BIN
      doc/fi/fi_applet_suspend.png
  76. BIN
      doc/fi/fi_applet_yast.png
  77. BIN
      doc/fi/fi_configdialog_blacklist.png
  78. BIN
      doc/fi/fi_configdialog_general.png
  79. BIN
      doc/fi/fi_configdialog_schemes.png
  80. BIN
      doc/fi/fi_configdialog_schemes_autosuspend.png
  81. BIN
      doc/fi/fi_configdialog_schemes_bright.png
  82. BIN
      doc/fi/fi_configdialog_schemes_screen.png
  83. BIN
      doc/fi/fi_notification_settings.png
  84. BIN
      doc/fi/hi48-app-kpowersave.png
  85. 524
    0
      doc/fi/index.docbook
  86. 2
    0
      doc/hu/Makefile.am
  87. BIN
      doc/hu/hi48-app-kpowersave.png
  88. BIN
      doc/hu/hu_applet_autosuspend.png
  89. BIN
      doc/hu/hu_applet_configure.png
  90. BIN
      doc/hu/hu_applet_cpufreq.png
  91. BIN
      doc/hu/hu_applet_schemes.png
  92. BIN
      doc/hu/hu_applet_suspend.png
  93. BIN
      doc/hu/hu_applet_yast.png
  94. BIN
      doc/hu/hu_configdialog_blacklist.png
  95. BIN
      doc/hu/hu_configdialog_general.png
  96. BIN
      doc/hu/hu_configdialog_schemes.png
  97. BIN
      doc/hu/hu_configdialog_schemes_autosuspend.png
  98. BIN
      doc/hu/hu_configdialog_schemes_bright.png
  99. BIN
      doc/hu/hu_configdialog_schemes_screen.png
  100. 0
    0
      doc/hu/hu_notification_settings.png

+ 2
- 0
AUTHORS View File

@@ -0,0 +1,2 @@
1
+Danny Kukawka <dkukawka@suse.de>, <danny.kukawka@web.de>
2
+Thomas Renninger <trenn@suse.de>

+ 340
- 0
COPYING View File

@@ -0,0 +1,340 @@
1
+		    GNU GENERAL PUBLIC LICENSE
2
+		       Version 2, June 1991
3
+
4
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5
+                       51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
6
+ Everyone is permitted to copy and distribute verbatim copies
7
+ of this license document, but changing it is not allowed.
8
+
9
+			    Preamble
10
+
11
+  The licenses for most software are designed to take away your
12
+freedom to share and change it.  By contrast, the GNU General Public
13
+License is intended to guarantee your freedom to share and change free
14
+software--to make sure the software is free for all its users.  This
15
+General Public License applies to most of the Free Software
16
+Foundation's software and to any other program whose authors commit to
17
+using it.  (Some other Free Software Foundation software is covered by
18
+the GNU Library General Public License instead.)  You can apply it to
19
+your programs, too.
20
+
21
+  When we speak of free software, we are referring to freedom, not
22
+price.  Our General Public Licenses are designed to make sure that you
23
+have the freedom to distribute copies of free software (and charge for
24
+this service if you wish), that you receive source code or can get it
25
+if you want it, that you can change the software or use pieces of it
26
+in new free programs; and that you know you can do these things.
27
+
28
+  To protect your rights, we need to make restrictions that forbid
29
+anyone to deny you these rights or to ask you to surrender the rights.
30
+These restrictions translate to certain responsibilities for you if you
31
+distribute copies of the software, or if you modify it.
32
+
33
+  For example, if you distribute copies of such a program, whether
34
+gratis or for a fee, you must give the recipients all the rights that
35
+you have.  You must make sure that they, too, receive or can get the
36
+source code.  And you must show them these terms so they know their
37
+rights.
38
+
39
+  We protect your rights with two steps: (1) copyright the software, and
40
+(2) offer you this license which gives you legal permission to copy,
41
+distribute and/or modify the software.
42
+
43
+  Also, for each author's protection and ours, we want to make certain
44
+that everyone understands that there is no warranty for this free
45
+software.  If the software is modified by someone else and passed on, we
46
+want its recipients to know that what they have is not the original, so
47
+that any problems introduced by others will not reflect on the original
48
+authors' reputations.
49
+
50
+  Finally, any free program is threatened constantly by software
51
+patents.  We wish to avoid the danger that redistributors of a free
52
+program will individually obtain patent licenses, in effect making the
53
+program proprietary.  To prevent this, we have made it clear that any
54
+patent must be licensed for everyone's free use or not licensed at all.
55
+
56
+  The precise terms and conditions for copying, distribution and
57
+modification follow.
58
+
59
+		    GNU GENERAL PUBLIC LICENSE
60
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
+
62
+  0. This License applies to any program or other work which contains
63
+a notice placed by the copyright holder saying it may be distributed
64
+under the terms of this General Public License.  The "Program", below,
65
+refers to any such program or work, and a "work based on the Program"
66
+means either the Program or any derivative work under copyright law:
67
+that is to say, a work containing the Program or a portion of it,
68
+either verbatim or with modifications and/or translated into another
69
+language.  (Hereinafter, translation is included without limitation in
70
+the term "modification".)  Each licensee is addressed as "you".
71
+
72
+Activities other than copying, distribution and modification are not
73
+covered by this License; they are outside its scope.  The act of
74
+running the Program is not restricted, and the output from the Program
75
+is covered only if its contents constitute a work based on the
76
+Program (independent of having been made by running the Program).
77
+Whether that is true depends on what the Program does.
78
+
79
+  1. You may copy and distribute verbatim copies of the Program's
80
+source code as you receive it, in any medium, provided that you
81
+conspicuously and appropriately publish on each copy an appropriate
82
+copyright notice and disclaimer of warranty; keep intact all the
83
+notices that refer to this License and to the absence of any warranty;
84
+and give any other recipients of the Program a copy of this License
85
+along with the Program.
86
+
87
+You may charge a fee for the physical act of transferring a copy, and
88
+you may at your option offer warranty protection in exchange for a fee.
89
+
90
+  2. You may modify your copy or copies of the Program or any portion
91
+of it, thus forming a work based on the Program, and copy and
92
+distribute such modifications or work under the terms of Section 1
93
+above, provided that you also meet all of these conditions:
94
+
95
+    a) You must cause the modified files to carry prominent notices
96
+    stating that you changed the files and the date of any change.
97
+
98
+    b) You must cause any work that you distribute or publish, that in
99
+    whole or in part contains or is derived from the Program or any
100
+    part thereof, to be licensed as a whole at no charge to all third
101
+    parties under the terms of this License.
102
+
103
+    c) If the modified program normally reads commands interactively
104
+    when run, you must cause it, when started running for such
105
+    interactive use in the most ordinary way, to print or display an
106
+    announcement including an appropriate copyright notice and a
107
+    notice that there is no warranty (or else, saying that you provide
108
+    a warranty) and that users may redistribute the program under
109
+    these conditions, and telling the user how to view a copy of this
110
+    License.  (Exception: if the Program itself is interactive but
111
+    does not normally print such an announcement, your work based on
112
+    the Program is not required to print an announcement.)
113
+
114
+These requirements apply to the modified work as a whole.  If
115
+identifiable sections of that work are not derived from the Program,
116
+and can be reasonably considered independent and separate works in
117
+themselves, then this License, and its terms, do not apply to those
118
+sections when you distribute them as separate works.  But when you
119
+distribute the same sections as part of a whole which is a work based
120
+on the Program, the distribution of the whole must be on the terms of
121
+this License, whose permissions for other licensees extend to the
122
+entire whole, and thus to each and every part regardless of who wrote it.
123
+
124
+Thus, it is not the intent of this section to claim rights or contest
125
+your rights to work written entirely by you; rather, the intent is to
126
+exercise the right to control the distribution of derivative or
127
+collective works based on the Program.
128
+
129
+In addition, mere aggregation of another work not based on the Program
130
+with the Program (or with a work based on the Program) on a volume of
131
+a storage or distribution medium does not bring the other work under
132
+the scope of this License.
133
+
134
+  3. You may copy and distribute the Program (or a work based on it,
135
+under Section 2) in object code or executable form under the terms of
136
+Sections 1 and 2 above provided that you also do one of the following:
137
+
138
+    a) Accompany it with the complete corresponding machine-readable
139
+    source code, which must be distributed under the terms of Sections
140
+    1 and 2 above on a medium customarily used for software interchange; or,
141
+
142
+    b) Accompany it with a written offer, valid for at least three
143
+    years, to give any third party, for a charge no more than your
144
+    cost of physically performing source distribution, a complete
145
+    machine-readable copy of the corresponding source code, to be
146
+    distributed under the terms of Sections 1 and 2 above on a medium
147
+    customarily used for software interchange; or,
148
+
149
+    c) Accompany it with the information you received as to the offer
150
+    to distribute corresponding source code.  (This alternative is
151
+    allowed only for noncommercial distribution and only if you
152
+    received the program in object code or executable form with such
153
+    an offer, in accord with Subsection b above.)
154
+
155
+The source code for a work means the preferred form of the work for
156
+making modifications to it.  For an executable work, complete source
157
+code means all the source code for all modules it contains, plus any
158
+associated interface definition files, plus the scripts used to
159
+control compilation and installation of the executable.  However, as a
160
+special exception, the source code distributed need not include
161
+anything that is normally distributed (in either source or binary
162
+form) with the major components (compiler, kernel, and so on) of the
163
+operating system on which the executable runs, unless that component
164
+itself accompanies the executable.
165
+
166
+If distribution of executable or object code is made by offering
167
+access to copy from a designated place, then offering equivalent
168
+access to copy the source code from the same place counts as
169
+distribution of the source code, even though third parties are not
170
+compelled to copy the source along with the object code.
171
+
172
+  4. You may not copy, modify, sublicense, or distribute the Program
173
+except as expressly provided under this License.  Any attempt
174
+otherwise to copy, modify, sublicense or distribute the Program is
175
+void, and will automatically terminate your rights under this License.
176
+However, parties who have received copies, or rights, from you under
177
+this License will not have their licenses terminated so long as such
178
+parties remain in full compliance.
179
+
180
+  5. You are not required to accept this License, since you have not
181
+signed it.  However, nothing else grants you permission to modify or
182
+distribute the Program or its derivative works.  These actions are
183
+prohibited by law if you do not accept this License.  Therefore, by
184
+modifying or distributing the Program (or any work based on the
185
+Program), you indicate your acceptance of this License to do so, and
186
+all its terms and conditions for copying, distributing or modifying
187
+the Program or works based on it.
188
+
189
+  6. Each time you redistribute the Program (or any work based on the
190
+Program), the recipient automatically receives a license from the
191
+original licensor to copy, distribute or modify the Program subject to
192
+these terms and conditions.  You may not impose any further
193
+restrictions on the recipients' exercise of the rights granted herein.
194
+You are not responsible for enforcing compliance by third parties to
195
+this License.
196
+
197
+  7. If, as a consequence of a court judgment or allegation of patent
198
+infringement or for any other reason (not limited to patent issues),
199
+conditions are imposed on you (whether by court order, agreement or
200
+otherwise) that contradict the conditions of this License, they do not
201
+excuse you from the conditions of this License.  If you cannot
202
+distribute so as to satisfy simultaneously your obligations under this
203
+License and any other pertinent obligations, then as a consequence you
204
+may not distribute the Program at all.  For example, if a patent
205
+license would not permit royalty-free redistribution of the Program by
206
+all those who receive copies directly or indirectly through you, then
207
+the only way you could satisfy both it and this License would be to
208
+refrain entirely from distribution of the Program.
209
+
210
+If any portion of this section is held invalid or unenforceable under
211
+any particular circumstance, the balance of the section is intended to
212
+apply and the section as a whole is intended to apply in other
213
+circumstances.
214
+
215
+It is not the purpose of this section to induce you to infringe any
216
+patents or other property right claims or to contest validity of any
217
+such claims; this section has the sole purpose of protecting the
218
+integrity of the free software distribution system, which is
219
+implemented by public license practices.  Many people have made
220
+generous contributions to the wide range of software distributed
221
+through that system in reliance on consistent application of that
222
+system; it is up to the author/donor to decide if he or she is willing
223
+to distribute software through any other system and a licensee cannot
224
+impose that choice.
225
+
226
+This section is intended to make thoroughly clear what is believed to
227
+be a consequence of the rest of this License.
228
+
229
+  8. If the distribution and/or use of the Program is restricted in
230
+certain countries either by patents or by copyrighted interfaces, the
231
+original copyright holder who places the Program under this License
232
+may add an explicit geographical distribution limitation excluding
233
+those countries, so that distribution is permitted only in or among
234
+countries not thus excluded.  In such case, this License incorporates
235
+the limitation as if written in the body of this License.
236
+
237
+  9. The Free Software Foundation may publish revised and/or new versions
238
+of the General Public License from time to time.  Such new versions will
239
+be similar in spirit to the present version, but may differ in detail to
240
+address new problems or concerns.
241
+
242
+Each version is given a distinguishing version number.  If the Program
243
+specifies a version number of this License which applies to it and "any
244
+later version", you have the option of following the terms and conditions
245
+either of that version or of any later version published by the Free
246
+Software Foundation.  If the Program does not specify a version number of
247
+this License, you may choose any version ever published by the Free Software
248
+Foundation.
249
+
250
+  10. If you wish to incorporate parts of the Program into other free
251
+programs whose distribution conditions are different, write to the author
252
+to ask for permission.  For software which is copyrighted by the Free
253
+Software Foundation, write to the Free Software Foundation; we sometimes
254
+make exceptions for this.  Our decision will be guided by the two goals
255
+of preserving the free status of all derivatives of our free software and
256
+of promoting the sharing and reuse of software generally.
257
+
258
+			    NO WARRANTY
259
+
260
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
262
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
266
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
267
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
+REPAIR OR CORRECTION.
269
+
270
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
+POSSIBILITY OF SUCH DAMAGES.
279
+
280
+		     END OF TERMS AND CONDITIONS
281
+
282
+	    How to Apply These Terms to Your New Programs
283
+
284
+  If you develop a new program, and you want it to be of the greatest
285
+possible use to the public, the best way to achieve this is to make it
286
+free software which everyone can redistribute and change under these terms.
287
+
288
+  To do so, attach the following notices to the program.  It is safest
289
+to attach them to the start of each source file to most effectively
290
+convey the exclusion of warranty; and each file should have at least
291
+the "copyright" line and a pointer to where the full notice is found.
292
+
293
+    <one line to give the program's name and a brief idea of what it does.>
294
+    Copyright (C) <year>  <name of author>
295
+
296
+    This program is free software; you can redistribute it and/or modify
297
+    it under the terms of the GNU General Public License as published by
298
+    the Free Software Foundation; either version 2 of the License, or
299
+    (at your option) any later version.
300
+
301
+    This program is distributed in the hope that it will be useful,
302
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
303
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
304
+    GNU General Public License for more details.
305
+
306
+    You should have received a copy of the GNU General Public License
307
+    along with this program; if not, write to the Free Software
308
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
309
+
310
+
311
+Also add information on how to contact you by electronic and paper mail.
312
+
313
+If the program is interactive, make it output a short notice like this
314
+when it starts in an interactive mode:
315
+
316
+    Gnomovision version 69, Copyright (C) year name of author
317
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
318
+    This is free software, and you are welcome to redistribute it
319
+    under certain conditions; type `show c' for details.
320
+
321
+The hypothetical commands `show w' and `show c' should show the appropriate
322
+parts of the General Public License.  Of course, the commands you use may
323
+be called something other than `show w' and `show c'; they could even be
324
+mouse-clicks or menu items--whatever suits your program.
325
+
326
+You should also get your employer (if you work as a programmer) or your
327
+school, if any, to sign a "copyright disclaimer" for the program, if
328
+necessary.  Here is a sample; alter the names:
329
+
330
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
331
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
332
+
333
+  <signature of Ty Coon>, 1 April 1989
334
+  Ty Coon, President of Vice
335
+
336
+This General Public License does not permit incorporating your program into
337
+proprietary programs.  If your program is a subroutine library, you may
338
+consider it more useful to permit linking proprietary applications with the
339
+library.  If this is what you want to do, use the GNU Library General
340
+Public License instead of this License.

+ 5127
- 0
ChangeLog
File diff suppressed because it is too large
View File


+ 1253
- 0
ChangeLog.package
File diff suppressed because it is too large
View File


+ 276
- 0
Doxyfile View File

@@ -0,0 +1,276 @@
1
+# Doxyfile 1.4.1-KDevelop
2
+
3
+#---------------------------------------------------------------------------
4
+# Project related configuration options
5
+#---------------------------------------------------------------------------
6
+PROJECT_NAME           = kpowersave.kdevelop
7
+PROJECT_NUMBER         = "0.7.x - SVN-trunk"
8
+OUTPUT_DIRECTORY       = 
9
+CREATE_SUBDIRS         = NO
10
+OUTPUT_LANGUAGE        = English
11
+USE_WINDOWS_ENCODING   = NO
12
+BRIEF_MEMBER_DESC      = YES
13
+REPEAT_BRIEF           = NO
14
+ABBREVIATE_BRIEF       = "The $name class" \
15
+                         "The $name widget" \
16
+                         "The $name file" \
17
+                         is \
18
+                         provides \
19
+                         specifies \
20
+                         contains \
21
+                         represents \
22
+                         a \
23
+                         an \
24
+                         the
25
+ALWAYS_DETAILED_SEC    = YES
26
+INLINE_INHERITED_MEMB  = NO
27
+FULL_PATH_NAMES        = NO
28
+STRIP_FROM_PATH        = 
29
+STRIP_FROM_INC_PATH    = 
30
+SHORT_NAMES            = NO
31
+JAVADOC_AUTOBRIEF      = YES
32
+MULTILINE_CPP_IS_BRIEF = NO
33
+DETAILS_AT_TOP         = YES
34
+INHERIT_DOCS           = YES
35
+DISTRIBUTE_GROUP_DOC   = NO
36
+TAB_SIZE               = 5
37
+ALIASES                = 
38
+OPTIMIZE_OUTPUT_FOR_C  = NO
39
+OPTIMIZE_OUTPUT_JAVA   = NO
40
+SUBGROUPING            = YES
41
+#---------------------------------------------------------------------------
42
+# Build related configuration options
43
+#---------------------------------------------------------------------------
44
+EXTRACT_ALL            = YES
45
+EXTRACT_PRIVATE        = YES
46
+EXTRACT_STATIC         = YES
47
+EXTRACT_LOCAL_CLASSES  = YES
48
+EXTRACT_LOCAL_METHODS  = YES
49
+HIDE_UNDOC_MEMBERS     = NO
50
+HIDE_UNDOC_CLASSES     = NO
51
+HIDE_FRIEND_COMPOUNDS  = NO
52
+HIDE_IN_BODY_DOCS      = NO
53
+INTERNAL_DOCS          = NO
54
+CASE_SENSE_NAMES       = YES
55
+HIDE_SCOPE_NAMES       = YES
56
+SHOW_INCLUDE_FILES     = YES
57
+INLINE_INFO            = YES
58
+SORT_MEMBER_DOCS       = YES
59
+SORT_BRIEF_DOCS        = NO
60
+SORT_BY_SCOPE_NAME     = YES
61
+GENERATE_TODOLIST      = YES
62
+GENERATE_TESTLIST      = NO
63
+GENERATE_BUGLIST       = YES
64
+GENERATE_DEPRECATEDLIST= YES
65
+ENABLED_SECTIONS       = 
66
+MAX_INITIALIZER_LINES  = 30
67
+SHOW_USED_FILES        = YES
68
+SHOW_DIRECTORIES       = YES
69
+FILE_VERSION_FILTER    = 
70
+#---------------------------------------------------------------------------
71
+# configuration options related to warning and progress messages
72
+#---------------------------------------------------------------------------
73
+QUIET                  = NO
74
+WARNINGS               = YES
75
+WARN_IF_UNDOCUMENTED   = YES
76
+WARN_IF_DOC_ERROR      = YES
77
+WARN_NO_PARAMDOC       = NO
78
+WARN_FORMAT            = "$file:$line: $text"
79
+WARN_LOGFILE           = 
80
+#---------------------------------------------------------------------------
81
+# configuration options related to the input files
82
+#---------------------------------------------------------------------------
83
+INPUT                  = doc/doxy \
84
+                         src
85
+FILE_PATTERNS          = *.c \
86
+                         *.cc \
87
+                         *.cxx \
88
+                         *.cpp \
89
+                         *.c++ \
90
+                         *.java \
91
+                         *.ii \
92
+                         *.ixx \
93
+                         *.ipp \
94
+                         *.i++ \
95
+                         *.inl \
96
+                         *.h \
97
+                         *.hh \
98
+                         *.hxx \
99
+                         *.hpp \
100
+                         *.h++ \
101
+                         *.idl \
102
+                         *.odl \
103
+                         *.cs \
104
+                         *.php \
105
+                         *.php3 \
106
+                         *.inc \
107
+                         *.C \
108
+                         *.H \
109
+                         *.tlh \
110
+                         *.diff \
111
+                         *.patch \
112
+                         *.xpm \
113
+                         *.dox
114
+RECURSIVE              = YES
115
+EXCLUDE                = ./src/kpowersave_dummy.cpp \
116
+                         ./src/screen.moc.cpp \
117
+                         ./src/kpowersave.la.cpp \
118
+                         ./src/kpowersave_skel.cpp \
119
+                         ./src/info_Dialog.cpp \
120
+                         ./src/suspend_Dialog.cpp \
121
+                         ./src/configure_Dialog.cpp \
122
+                         ./src/blacklistedit_Dialog.cpp \
123
+                         ./src/detailed_Dialog.cpp \
124
+                         ./src/blacklistedit_Dialog.h \
125
+                         ./src/detailed_Dialog.h \
126
+                         ./src/suspend_Dialog.h \
127
+                         ./src/info_Dialog.h \
128
+                         ./src/configure_Dialog.h \
129
+                         ./src/kdeinit_kpowersave.cpp
130
+EXCLUDE_SYMLINKS       = NO
131
+EXCLUDE_PATTERNS       = *.moc.cpp \
132
+                         *_dummy.* \
133
+                         *.la.cpp \
134
+                         *_la.all_cpp.cpp
135
+EXAMPLE_PATH           = 
136
+EXAMPLE_PATTERNS       = *
137
+EXAMPLE_RECURSIVE      = NO
138
+IMAGE_PATH             = 
139
+INPUT_FILTER           = 
140
+FILTER_PATTERNS        = 
141
+FILTER_SOURCE_FILES    = NO
142
+#---------------------------------------------------------------------------
143
+# configuration options related to source browsing
144
+#---------------------------------------------------------------------------
145
+SOURCE_BROWSER         = YES
146
+INLINE_SOURCES         = YES
147
+STRIP_CODE_COMMENTS    = YES
148
+REFERENCED_BY_RELATION = YES
149
+REFERENCES_RELATION    = YES
150
+VERBATIM_HEADERS       = YES
151
+#---------------------------------------------------------------------------
152
+# configuration options related to the alphabetical class index
153
+#---------------------------------------------------------------------------
154
+ALPHABETICAL_INDEX     = NO
155
+COLS_IN_ALPHA_INDEX    = 5
156
+IGNORE_PREFIX          = 
157
+#---------------------------------------------------------------------------
158
+# configuration options related to the HTML output
159
+#---------------------------------------------------------------------------
160
+GENERATE_HTML          = YES
161
+HTML_OUTPUT            = ./doc/html
162
+HTML_FILE_EXTENSION    = .html
163
+HTML_HEADER            = 
164
+HTML_FOOTER            = 
165
+HTML_STYLESHEET        = ./doc/doxy/styleSheet.css
166
+HTML_ALIGN_MEMBERS     = YES
167
+GENERATE_HTMLHELP      = NO
168
+CHM_FILE               = 
169
+HHC_LOCATION           = 
170
+GENERATE_CHI           = NO
171
+BINARY_TOC             = NO
172
+TOC_EXPAND             = NO
173
+DISABLE_INDEX          = NO
174
+ENUM_VALUES_PER_LINE   = 4
175
+GENERATE_TREEVIEW      = NO
176
+TREEVIEW_WIDTH         = 250
177
+#---------------------------------------------------------------------------
178
+# configuration options related to the LaTeX output
179
+#---------------------------------------------------------------------------
180
+GENERATE_LATEX         = YES
181
+LATEX_OUTPUT           = ./doc/latex/
182
+LATEX_CMD_NAME         = latex
183
+MAKEINDEX_CMD_NAME     = makeindex
184
+COMPACT_LATEX          = YES
185
+PAPER_TYPE             = a4wide
186
+EXTRA_PACKAGES         = 
187
+LATEX_HEADER           = 
188
+PDF_HYPERLINKS         = NO
189
+USE_PDFLATEX           = NO
190
+LATEX_BATCHMODE        = NO
191
+LATEX_HIDE_INDICES     = NO
192
+#---------------------------------------------------------------------------
193
+# configuration options related to the RTF output
194
+#---------------------------------------------------------------------------
195
+GENERATE_RTF           = NO
196
+RTF_OUTPUT             = rtf
197
+COMPACT_RTF            = NO
198
+RTF_HYPERLINKS         = NO
199
+RTF_STYLESHEET_FILE    = 
200
+RTF_EXTENSIONS_FILE    = 
201
+#---------------------------------------------------------------------------
202
+# configuration options related to the man page output
203
+#---------------------------------------------------------------------------
204
+GENERATE_MAN           = NO
205
+MAN_OUTPUT             = man
206
+MAN_EXTENSION          = .3
207
+MAN_LINKS              = NO
208
+#---------------------------------------------------------------------------
209
+# configuration options related to the XML output
210
+#---------------------------------------------------------------------------
211
+GENERATE_XML           = NO
212
+XML_OUTPUT             = xml
213
+XML_SCHEMA             = 
214
+XML_DTD                = 
215
+XML_PROGRAMLISTING     = YES
216
+#---------------------------------------------------------------------------
217
+# configuration options for the AutoGen Definitions output
218
+#---------------------------------------------------------------------------
219
+GENERATE_AUTOGEN_DEF   = NO
220
+#---------------------------------------------------------------------------
221
+# configuration options related to the Perl module output
222
+#---------------------------------------------------------------------------
223
+GENERATE_PERLMOD       = NO
224
+PERLMOD_LATEX          = NO
225
+PERLMOD_PRETTY         = YES
226
+PERLMOD_MAKEVAR_PREFIX = 
227
+#---------------------------------------------------------------------------
228
+# Configuration options related to the preprocessor   
229
+#---------------------------------------------------------------------------
230
+ENABLE_PREPROCESSING   = YES
231
+MACRO_EXPANSION        = NO
232
+EXPAND_ONLY_PREDEF     = NO
233
+SEARCH_INCLUDES        = YES
234
+INCLUDE_PATH           = 
235
+INCLUDE_FILE_PATTERNS  = 
236
+PREDEFINED             = 
237
+EXPAND_AS_DEFINED      = 
238
+SKIP_FUNCTION_MACROS   = YES
239
+#---------------------------------------------------------------------------
240
+# Configuration::additions related to external references   
241
+#---------------------------------------------------------------------------
242
+TAGFILES               = 
243
+GENERATE_TAGFILE       = 
244
+ALLEXTERNALS           = NO
245
+EXTERNAL_GROUPS        = YES
246
+PERL_PATH              = /usr/bin/perl
247
+#---------------------------------------------------------------------------
248
+# Configuration options related to the dot tool   
249
+#---------------------------------------------------------------------------
250
+CLASS_DIAGRAMS         = YES
251
+HIDE_UNDOC_RELATIONS   = YES
252
+HAVE_DOT               = YES
253
+CLASS_GRAPH            = YES
254
+COLLABORATION_GRAPH    = YES
255
+GROUP_GRAPHS           = YES
256
+UML_LOOK               = NO
257
+TEMPLATE_RELATIONS     = YES
258
+INCLUDE_GRAPH          = YES
259
+INCLUDED_BY_GRAPH      = YES
260
+CALL_GRAPH             = NO
261
+GRAPHICAL_HIERARCHY    = YES
262
+DIRECTORY_GRAPH        = YES
263
+DOT_IMAGE_FORMAT       = png
264
+DOT_PATH               = 
265
+DOTFILE_DIRS           = 
266
+MAX_DOT_GRAPH_WIDTH    = 1024
267
+MAX_DOT_GRAPH_HEIGHT   = 1024
268
+MAX_DOT_GRAPH_DEPTH    = 1000
269
+DOT_TRANSPARENT        = NO
270
+DOT_MULTI_TARGETS      = NO
271
+GENERATE_LEGEND        = YES
272
+DOT_CLEANUP            = YES
273
+#---------------------------------------------------------------------------
274
+# Configuration::additions related to the search engine   
275
+#---------------------------------------------------------------------------
276
+SEARCHENGINE           = NO

+ 236
- 0
INSTALL View File

@@ -0,0 +1,236 @@
1
+Installation Instructions
2
+*************************
3
+
4
+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
5
+Software Foundation, Inc.
6
+
7
+This file is free documentation; the Free Software Foundation gives
8
+unlimited permission to copy, distribute and modify it.
9
+
10
+Basic Installation
11
+==================
12
+
13
+These are generic installation instructions.
14
+
15
+   The `configure' shell script attempts to guess correct values for
16
+various system-dependent variables used during compilation.  It uses
17
+those values to create a `Makefile' in each directory of the package.
18
+It may also create one or more `.h' files containing system-dependent
19
+definitions.  Finally, it creates a shell script `config.status' that
20
+you can run in the future to recreate the current configuration, and a
21
+file `config.log' containing compiler output (useful mainly for
22
+debugging `configure').
23
+
24
+   It can also use an optional file (typically called `config.cache'
25
+and enabled with `--cache-file=config.cache' or simply `-C') that saves
26
+the results of its tests to speed up reconfiguring.  (Caching is
27
+disabled by default to prevent problems with accidental use of stale
28
+cache files.)
29
+
30
+   If you need to do unusual things to compile the package, please try
31
+to figure out how `configure' could check whether to do them, and mail
32
+diffs or instructions to the address given in the `README' so they can
33
+be considered for the next release.  If you are using the cache, and at
34
+some point `config.cache' contains results you don't want to keep, you
35
+may remove or edit it.
36
+
37
+   The file `configure.ac' (or `configure.in') is used to create
38
+`configure' by a program called `autoconf'.  You only need
39
+`configure.ac' if you want to change it or regenerate `configure' using
40
+a newer version of `autoconf'.
41
+
42
+The simplest way to compile this package is:
43
+
44
+  1. `cd' to the directory containing the package's source code and type
45
+     `./configure' to configure the package for your system.  If you're
46
+     using `csh' on an old version of System V, you might need to type
47
+     `sh ./configure' instead to prevent `csh' from trying to execute
48
+     `configure' itself.
49
+
50
+     Running `configure' takes awhile.  While running, it prints some
51
+     messages telling which features it is checking for.
52
+
53
+  2. Type `make' to compile the package.
54
+
55
+  3. Optionally, type `make check' to run any self-tests that come with
56
+     the package.
57
+
58
+  4. Type `make install' to install the programs and any data files and
59
+     documentation.
60
+
61
+  5. You can remove the program binaries and object files from the
62
+     source code directory by typing `make clean'.  To also remove the
63
+     files that `configure' created (so you can compile the package for
64
+     a different kind of computer), type `make distclean'.  There is
65
+     also a `make maintainer-clean' target, but that is intended mainly
66
+     for the package's developers.  If you use it, you may have to get
67
+     all sorts of other programs in order to regenerate files that came
68
+     with the distribution.
69
+
70
+Compilers and Options
71
+=====================
72
+
73
+Some systems require unusual options for compilation or linking that the
74
+`configure' script does not know about.  Run `./configure --help' for
75
+details on some of the pertinent environment variables.
76
+
77
+   You can give `configure' initial values for configuration parameters
78
+by setting variables in the command line or in the environment.  Here
79
+is an example:
80
+
81
+     ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
82
+
83
+   *Note Defining Variables::, for more details.
84
+
85
+Compiling For Multiple Architectures
86
+====================================
87
+
88
+You can compile the package for more than one kind of computer at the
89
+same time, by placing the object files for each architecture in their
90
+own directory.  To do this, you must use a version of `make' that
91
+supports the `VPATH' variable, such as GNU `make'.  `cd' to the
92
+directory where you want the object files and executables to go and run
93
+the `configure' script.  `configure' automatically checks for the
94
+source code in the directory that `configure' is in and in `..'.
95
+
96
+   If you have to use a `make' that does not support the `VPATH'
97
+variable, you have to compile the package for one architecture at a
98
+time in the source code directory.  After you have installed the
99
+package for one architecture, use `make distclean' before reconfiguring
100
+for another architecture.
101
+
102
+Installation Names
103
+==================
104
+
105
+By default, `make install' installs the package's commands under
106
+`/usr/local/bin', include files under `/usr/local/include', etc.  You
107
+can specify an installation prefix other than `/usr/local' by giving
108
+`configure' the option `--prefix=PREFIX'.
109
+
110
+   You can specify separate installation prefixes for
111
+architecture-specific files and architecture-independent files.  If you
112
+pass the option `--exec-prefix=PREFIX' to `configure', the package uses
113
+PREFIX as the prefix for installing programs and libraries.
114
+Documentation and other data files still use the regular prefix.
115
+
116
+   In addition, if you use an unusual directory layout you can give
117
+options like `--bindir=DIR' to specify different values for particular
118
+kinds of files.  Run `configure --help' for a list of the directories
119
+you can set and what kinds of files go in them.
120
+
121
+   If the package supports it, you can cause programs to be installed
122
+with an extra prefix or suffix on their names by giving `configure' the
123
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
124
+
125
+Optional Features
126
+=================
127
+
128
+Some packages pay attention to `--enable-FEATURE' options to
129
+`configure', where FEATURE indicates an optional part of the package.
130
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
131
+is something like `gnu-as' or `x' (for the X Window System).  The
132
+`README' should mention any `--enable-' and `--with-' options that the
133
+package recognizes.
134
+
135
+   For packages that use the X Window System, `configure' can usually
136
+find the X include and library files automatically, but if it doesn't,
137
+you can use the `configure' options `--x-includes=DIR' and
138
+`--x-libraries=DIR' to specify their locations.
139
+
140
+Specifying the System Type
141
+==========================
142
+
143
+There may be some features `configure' cannot figure out automatically,
144
+but needs to determine by the type of machine the package will run on.
145
+Usually, assuming the package is built to be run on the _same_
146
+architectures, `configure' can figure that out, but if it prints a
147
+message saying it cannot guess the machine type, give it the
148
+`--build=TYPE' option.  TYPE can either be a short name for the system
149
+type, such as `sun4', or a canonical name which has the form:
150
+
151
+     CPU-COMPANY-SYSTEM
152
+
153
+where SYSTEM can have one of these forms:
154
+
155
+     OS KERNEL-OS
156
+
157
+   See the file `config.sub' for the possible values of each field.  If
158
+`config.sub' isn't included in this package, then this package doesn't
159
+need to know the machine type.
160
+
161
+   If you are _building_ compiler tools for cross-compiling, you should
162
+use the option `--target=TYPE' to select the type of system they will
163
+produce code for.
164
+
165
+   If you want to _use_ a cross compiler, that generates code for a
166
+platform different from the build platform, you should specify the
167
+"host" platform (i.e., that on which the generated programs will
168
+eventually be run) with `--host=TYPE'.
169
+
170
+Sharing Defaults
171
+================
172
+
173
+If you want to set default values for `configure' scripts to share, you
174
+can create a site shell script called `config.site' that gives default
175
+values for variables like `CC', `cache_file', and `prefix'.
176
+`configure' looks for `PREFIX/share/config.site' if it exists, then
177
+`PREFIX/etc/config.site' if it exists.  Or, you can set the
178
+`CONFIG_SITE' environment variable to the location of the site script.
179
+A warning: not all `configure' scripts look for a site script.
180
+
181
+Defining Variables
182
+==================
183
+
184
+Variables not defined in a site shell script can be set in the
185
+environment passed to `configure'.  However, some packages may run
186
+configure again during the build, and the customized values of these
187
+variables may be lost.  In order to avoid this problem, you should set
188
+them in the `configure' command line, using `VAR=value'.  For example:
189
+
190
+     ./configure CC=/usr/local2/bin/gcc
191
+
192
+causes the specified `gcc' to be used as the C compiler (unless it is
193
+overridden in the site shell script).  Here is a another example:
194
+
195
+     /bin/bash ./configure CONFIG_SHELL=/bin/bash
196
+
197
+Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
198
+configuration-related scripts to be executed by `/bin/bash'.
199
+
200
+`configure' Invocation
201
+======================
202
+
203
+`configure' recognizes the following options to control how it operates.
204
+
205
+`--help'
206
+`-h'
207
+     Print a summary of the options to `configure', and exit.
208
+
209
+`--version'
210
+`-V'
211
+     Print the version of Autoconf used to generate the `configure'
212
+     script, and exit.
213
+
214
+`--cache-file=FILE'
215
+     Enable the cache: use and save the results of the tests in FILE,
216
+     traditionally `config.cache'.  FILE defaults to `/dev/null' to
217
+     disable caching.
218
+
219
+`--config-cache'
220
+`-C'
221
+     Alias for `--cache-file=config.cache'.
222
+
223
+`--quiet'
224
+`--silent'
225
+`-q'
226
+     Do not print messages saying which checks are being made.  To
227
+     suppress all normal output, redirect it to `/dev/null' (any error
228
+     messages will still be shown).
229
+
230
+`--srcdir=DIR'
231
+     Look for the package's source code in directory DIR.  Usually
232
+     `configure' can determine that directory automatically.
233
+
234
+`configure' also accepts some other, not widely useful, options.  Run
235
+`configure --help' for more details.
236
+

+ 22
- 0
Makefile.am View File

@@ -0,0 +1,22 @@
1
+SUBDIRS = $(TOPSUBDIRS)
2
+
3
+$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
4
+	cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
5
+
6
+$(top_srcdir)/subdirs:
7
+	cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
8
+
9
+$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
10
+	@cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
11
+
12
+MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files 
13
+
14
+package-messages:
15
+	cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common package-messages
16
+	$(MAKE) -C po merge
17
+
18
+EXTRA_DIST = admin COPYING configure.in.in
19
+
20
+dist-hook:
21
+	cd $(top_distdir) && perl admin/am_edit -padmin
22
+	cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs

+ 455
- 0
NEWS View File

@@ -0,0 +1,455 @@
1
+New: KPowersave 0.7.3 
2
+=================================================
3
+
4
+Note: The last release is now 4 months ago, so the NEWS are longer than
5
+      normal. For all changes read the Changelog.
6
+
7
+Major changes since the last version/release:
8
+ - added new dialog to show logfiles if a suspend/resume fail and allow 
9
+   the user to save the log (need to get enabled per distro)
10
+ - added support to handle brightness key events if the machine not already 
11
+   handle this in the hardware directly
12
+ - added new feature named autodimm to reduce the brightness of the display 
13
+   if the user is inactive and dimm up if the user get active again
14
+ - new dialog shown up 30 seconds before autosuspend call the suspend to 
15
+   warn the user and allow chancel the suspend 
16
+ - added code to work with new PolicyKit/ConsoleKit/HAL combi to check if 
17
+   the user is privileged (for HAL >= 0.5.10 and related PolicyKit versions)
18
+ - added code to check if the current desktop session is avtive and handle
19
+   if the session get inactive (via ConsoleKit)
20
+ - added code to release/aquire org.freedesktop.Policy.Power if the session 
21
+   get inactive/active to allow powersaved or other active KPowersave 
22
+   instances to handle powermanagement
23
+ - prepared KPowersave to work also with HAL >= 0.5.10 (handle renamed 
24
+   policy names in HAL)
25
+ - use now kdebug functions instead of own macros, added --dbg-trace option 
26
+   to allow trace function entry and leave points.
27
+
28
+Minor changes:
29
+ - added wodim to autosuspend blacklist
30
+ - changed logic for resume if a timeout happen
31
+ - change default timeout to fake keyevent for locked screen to 2.5 sec
32
+ - don't fake key event after locked screen and lidopen if config variable 
33
+   timeToFakeKeyAfterLock < 0
34
+ - added new config variable (callSetPowerSaveOnAC in [General] section) 
35
+   to disable call SetPowerSave() on HAL.
36
+ - fix code to guess if a 6-hour-timeout occours while suspend/resume or 
37
+   if there was really a error 
38
+ - removed Portuguese version of the help, since only one paragraph was 
39
+   translated
40
+ - fixed configure script to detect if we should use HAL to get information 
41
+   about policies instead of PolicyKit
42
+ - force update detailed dialog on AC events to get always e.g. the 
43
+   correct scheme info in the dialog
44
+ - reworked code for mouse wheel events to reuse code for brightness keys
45
+ - several HAL/D-Bus/PolicyKit/ConsoleKit related fixes/updates
46
+ - cleanup code, fixed compiler warnings, added new functions to removed 
47
+   doubled code
48
+
49
+Bugfixes:
50
+ - fixed problems with usage of enum cpufreq_type: don't assign integer 
51
+   values to a enum (lead to segfault since enum is a 8bit char object)
52
+ - fixed wrong unit for power consumption (removed 'h' from unit)
53
+ - only suspend on button events if we resumed to avoid double suspends
54
+ - several fixes to make signals from HAL/DBus idependent from the QT 
55
+   eventloop due to problems with the QT3 DBus bindings
56
+ - several patches from Mandriva (lmontel@mandriva.com) to fix problems
57
+   with translations, format messages, speedup build and memory leaks
58
+ - fixed detection if brightness is really supported by the system
59
+ - call setPowerSave() always depending on AC state if a scheme get set. 
60
+ - use float for internal calculation of battery values
61
+ - When use DBUS_TYPE_BOOLEAN use as variable type dbus_bool_t to avoid 
62
+   possible trouble on big endian machines
63
+
64
+Fixed bugs (from bugzilla.novell.com if no other comment):
65
+ - #182609: autosuspend warn dialog, feature request
66
+ - #229234: kpowersave does not fall back to userspace governor
67
+ - #256372: make HAL events independent from QT eventloop
68
+ - #257326: ignore battery warnings if on AC
69
+ - #266243: check info.capability and not info.category for laptop_panel
70
+ - #274705: feature request autodimm
71
+ - #282640: fixed brightness up/down handling
72
+ - #284622: fixed segfault 
73
+ - #293707: de.po: missing space between text and ellipsis (...) 
74
+ - #298332: crash, fixed typo
75
+ - #299577: disable Yast module on >= openSUSE 10.3
76
+ - #301692: fix switch schemes on AC events, fixed detection session 
77
+            state, fixed possible segfault on ix86
78
+ - #302493: don't use kdFatal() befor exit(), it would look like a crash
79
+ - #303963: fix segfault if XDG_SESSION_COOKIE is not set
80
+ - #307431: prevent AC notifications if session state get changed 
81
+ - #309491: fixed code to free KProcess object if gnome-screensaver runs 
82
+ - Debian #413638: if config dialog is minimized and the user try to 
83
+                   start config dialog via applet reactivate the dialog.
84
+ - Debian #413811: fails to notify if suspend-to-ram fails
85
+ - (K)Ubuntu #94396: stop autosuspend before suspend
86
+
87
+Tranlation updates:
88
+ - german:    Danny Kukawka
89
+ - arabic:    Youssef Chahibi
90
+ - slovenian: Jure Repinc
91
+ - several other from forgesvn1.novell.com/svn/suse-i18n/trunk/lcn
92
+
93
+
94
+New: KPowersave 0.7.2 (development tree/unstable)
95
+=================================================
96
+
97
+ This version is a major step to the next KPowersave stable version.
98
+ At first: you don't need to change the KPowersave config file manually 
99
+ any longer - this version provide now all options for powermanagement
100
+ in KPowersave via the updated and extended configure dialog. 
101
+
102
+ You can find all changes since the last release in this file or in the 
103
+ Changelog. Please test KPowersave and feel free to report bugs to the 
104
+ powersave-devel mailinglist or for SUSE products via the Novell bugzilla.
105
+
106
+ Because of the changes in the GUI the most translations are not 
107
+ up-to-date. Feel free to checkout the source, update your translations
108
+ file and send it to us.
109
+
110
+Major changes since the last version:
111
+ - extended configure dialog to provide this functionality:
112
+   * schemes settings:
113
+     - add new and delete existing (no default) schemes
114
+     - define a CPU Frequency policy for each scheme
115
+   * general settings:
116
+     - define battery warning levels and actions if a level reached
117
+       as e.g. Suspend to disk, Shutdown or change the brightness
118
+     - configure actions for button events (Power/Lid/Suspend/Sleep)
119
+     - define the default AC and battery schemes
120
+ - show the power consumtion of the battery in the detailed info dialog
121
+ - umount external media before suspend (need a patch of the KDE media 
122
+   manager) to avoid data loss and remount on resume
123
+ - reset the CPU Freq settings on resume to avoid different settings for
124
+   the CPU governor on multicore machines
125
+ - call now SetCPUFreqConsiderNice(), SetCPUFreqPerformance() on dynamic
126
+   CPU Freq policy (as poweruser setting only changeable via config file),
127
+   and also SetPowerSave() with true on battery and false otherwise.
128
+ - support also conservative governor as DYNAMIC fallback
129
+ - fixed brightness handling in the configure dialog if not activated
130
+ - removed accelerator tags from i18n() strings. KDE handle this by itself.
131
+   Improved config GUI to be better accessible via keyboard.
132
+ - code and code documentation cleanups and updates
133
+
134
+Fixed bugs (from bugzilla.novell.com if no other comment):
135
+ - #245081: KPowersave does not set (ondemand) governor on startup
136
+ - #244052: Close lid of a laptop and suspend to ram cause 100% CPU
137
+ - #229960: CPUFREQ_DYNAMIC_PERFORMANCE seems to be ignored during
138
+	    boot and scheme change
139
+ - #230686: KPowersave need to be restarted to apply DPMS settings
140
+ - #230965: puzzling battery state info
141
+ - #231709: kpowersave-0.7.1-12: comparison with string literal
142
+ - #231184: KPowersave crashes due to uninitalized LibHalContext
143
+ - #229234: KPowersave does not fall back to userspace governor
144
+ - #215262: Suspend to disk with attached usb storage not working
145
+ - #223164: After suspend, second core has performance governor set
146
+ - #223517: Powersave: CPU scheme "dynamic" reduces speed if only
147
+	    nice -19 processes run
148
+ - #223637: kpowersave crashes in first login
149
+ - #225212: KPowersave crash on ThinkPad X60s
150
+ - #221715: Functionality for configuring lid close event etc.
151
+	    missing in KPowersave
152
+ - #223922: System not shuting down on pressing power button
153
+
154
+Tranlation updates:
155
+ - german:  Danny Kukawka
156
+ - danish:  Stefan Skotte
157
+ - turkish: S.Çağlar Onur
158
+ - chinese: Zhengpeng Hou
159
+
160
+
161
+
162
+KPowersave 0.7.1 (development tree/unstable)
163
+=================================================
164
+
165
+ I'm glad to announce the first new offical release from the KPowersave
166
+ development version 0.7.1. This is the first version of KPowersave without
167
+ dependency to the powersave daemon. From now KPowersave use directly the
168
+ HAL daemon to get Hardware information and set e.g. brightness or trigger
169
+ Suspend.
170
+
171
+ Also if KPowersave depend no longer on powersave, I would recommend to use
172
+ the new/current powersave version furthermore. You can use the powersave 
173
+ daemon if there is no client as e.g. KPowersave to handle system power-
174
+ management. If KPowersave (there is also a patch for g-p-m available) start 
175
+ up the daemon stop automatically to handle powermanagement policy and 
176
+ the KPowersave applet force (if allowed) the user specific policy.
177
+
178
+ You can find all changes since the last stable release in this file or in
179
+ the Changelog. Please test KPowersave and feel free to report bugs to 
180
+ the powersave-devel mailinglist or for SUSE products via the Novell bugzilla. 
181
+
182
+Major changes since the last version:
183
+- Initial port from powersave to HAL/D-Bus/PolicyKit:
184
+  - replaced most features from the last stable version base on powersave
185
+    with new code. (Only missing atm eyecandy stuff as suspend progress dialog)
186
+  - replaced code to get hardware information from powersave with get info
187
+    from the HAL daemon
188
+  - changed resume from suspend/standby detection and handling of the event
189
+  - KPowersave claim now org.freedesktop.Policy.Power interface from D-Bus
190
+    to stop powersave from handle powermanagement policy and to prevent 
191
+    handle other clients to start powermanagement. 
192
+  - Extended existing schemes to be complete handled in KPowersave instead
193
+    of the powersave daemon. Added new (scheme) settings for:
194
+    * battery warning levels
195
+    * actions for battery warning levels and for lidclose events (as e.g. 
196
+      SHUTDOWN, SUSPEND2DISK, SUSPEND2RAM, CPUFREQ_POWERSAVE, CPUFREQ_DYNAMIC, 
197
+      or BRIGHTNESS)
198
+    * AC and Battery default schemes
199
+    * CPU Frequency Policies per scheme
200
+      --> NOTE: you can change this settings currently only via the config file 
201
+      		and not via the GUI configure dialog. This is the next step, we
202
+ 	      	concentrated on get KPowersave running for this release.
203
+  - Fixed KDE screensaver and DPMS handling to reduce/avoid interfer with the
204
+    KDE user settings. There is a KDE patch available to check if KPowersave 
205
+    handle DPMS settings already and call the KPowersave config dialog.
206
+
207
+
208
+
209
+KPowersave 0.6.2 (stable update)
210
+================================
211
+
212
+Changes/fixes since last stable release:
213
+- KPowersave depends now on powersave >= 0.12.18
214
+- fixed bugs:
215
+  - sf.net #1483392/ SUSE #177792: set changes for autosuspend state via DCOP
216
+    back to the applet menu, added DCOP functions to set the current scheme,
217
+    the current CPUFreq policy and to open/close the detailed dialog
218
+  - sf.net #1483392/ SUSE #177788,180000: added workaround to fix two bugs in
219
+    the DPMS- and Screensaver extension of X, related to autosuspend and detect
220
+    user inactivity (DPMS timeouts are abstracted from current idle time, but
221
+    shouldn't / DPMS timeouts are currently additive but shouldn*'t).  This fix
222
+    problems with autosuspend if the timeout is longer than the DPMS timeouts.
223
+  - SUSE #168619: changed errorhandling if HAL, DBUS or the powersave daemon
224
+    is not running or if the user has not the needed rights to access the
225
+    powersave daemon via DBUS. Added new errormessages and translations.
226
+  - SUSE #182515: Changed configure dialog to respect rules for DPMS timeouts
227
+  - SUSE #176782: patch from Timo Hönig <thoenig@suse.de> to allow (if
228
+    supported and enabled in the scheme) change brighness via mousewheel over
229
+    the applet icon.
230
+  - SUSE (SLED) #183745: fixed detection of SUSE Linux/SLES/SLED and added
231
+    configure option to force SLES/SLED as distro with --enable-suse-sles.
232
+    Fixed bugzilla link for SLED/SLES
233
+  - SUSE #184076: fixed wrong command to start dbus daemon in errormessage.
234
+  - added additional check before autosuspend if this was disabled via applet
235
+- added new configure check to detect Ubuntu/Kubuntu
236
+- changed link to Ubuntu bugzilla to launchpad.net and use now the same link
237
+  for applet menu entry "Report a bug ..." if compiled for Ubuntu/Kubuntu
238
+- updated default blacklist for autosuspend with gmplayer,kaffeine,xine,mencoder
239
+- updated translation: cs,de,es,fi,fr,hu,it,km,pl,pt_BR,zh_CN,zh_TW
240
+- updated (cs) and fixed translation of eventsrc for KNotify
241
+- fixed and updated code documentation
242
+
243
+KPowersave 0.6.1 (stable update)
244
+================================
245
+
246
+Changes/fixes since last stable release:
247
+- fixed SUSE bug #167296: fixed tooltip and removed unneeded checks for battery
248
+  related infos. Should fix display wrong remaining time on charging with APM
249
+- fixed SUSE bug #165462: removed utf8 tag from eventsrc which results in
250
+  "unknown source ..." message in knotify dialog
251
+- fixed SUSE bug #168838; event for resumeFromSuspendToDisk displayed twice in
252
+  knotify dialog (typo and translation issue in eventsrc)
253
+- fixed detailed dialog for multiprocessor/-core machines without CPUFreq or
254
+  throttling support and offline CPUs/Cores
255
+- updated translations (fi,km,pl,ru) including desktop files and eventsrc (ru,
256
+  from Anton Farygin <rider@altlinux.com>)
257
+- added configure check for dbus-1-qt3-devel headers
258
+- updated README (ALT Linux bugzilla link)
259
+
260
+KPowersave 0.6.0 (stable)
261
+================================
262
+
263
+ I'm glad to announce the new official stable release of KPowersave (v0.6.0).
264
+ You can find all changes since the last stable release in this file or in
265
+ the Changelog.
266
+
267
+ Thanks to all persons which helped to develop KPowersave with patches, 
268
+ testing new unstable versions and report bugs back to us. A special thanks
269
+ to:
270
+ 	Holger Macht, Stefan Seyfried, Michael Biebl, Daniel Gollub 
271
+	and last but not least SUSE/Novell.
272
+
273
+ Danny Kukawka
274
+
275
+
276
+Changes since last release:
277
+- changed powersave dependency to current stable version >= 0.12.7
278
+- reduced the size of the package by optimize the size of included png files.
279
+  The size off all png files is now reduced by ~709KByte.
280
+- added german version of the handbook
281
+- fixed processor bar in detailed dialog to set correct for the first call.
282
+- fixed tooltip for machines which always report charging also if 100% 
283
+  charged and on AC
284
+- fix from Michael Biebl for notify about autosuspend after resume and a
285
+  remove no longer needed check from configure
286
+- added support for lock screen via gnome-screensaver (only under GNOME)
287
+- added fake keyevent (shift) after resume if machine was locked before
288
+  suspend to show the login dialog automatically
289
+- fixed detailed dialog for machines without CPUFreq and more than one CPU/
290
+  Core or with throttling support (see SUSE bug #164683).
291
+- added patch from Daniel Gollub to be able to fake CPU infos for develop 
292
+- fixed errorhandling for YaST power management module (SUSE specific)
293
+- changed link for report bug opened via the applet menu if this is a  
294
+  SUSE package. Open now the related opensuse.org wiki page.
295
+- fixed bug report address in the about dialog (to powersave-users ML) 
296
+- translation updates
297
+- changed timeout for recheck powersave on startup from 10 secs to 20 to 
298
+  avoid annoying messages on slow machines or autologin
299
+- updated README with install/compile and help/bugreport information
300
+- updated code docu (added planed features/enhancements for 0.7/0.8 tree)
301
+- updated spec files for packaging
302
+
303
+
304
+KPowersave 0.5.11 (rc5)
305
+================================
306
+
307
+Changes since last release:
308
+- added function to check if the machine is a laptop and to allow hide
309
+  laptop specific widgets/code e.g. on workstations 
310
+- hide 'Lock screen on lid close' checkbox in config dialog on non-Laptop
311
+- changed brightness settings to be sure that we use the lowest 'usable'
312
+  min level of brightness and to avoid off the display on e.g. pmu
313
+- allow root user always all kind of suspend/standby
314
+- little fix to prepare for QT4 (s/TRUE/true/)
315
+- translation, handbook and code documenatation updates and fixes
316
+- code cleanups, SVN file attributes fixed
317
+
318
+KPowersave 0.5.10 (rc4)
319
+================================
320
+
321
+Changes since last release:
322
+- KPowersave depends now on: powersave >= 0.12.2
323
+- fixed lidclose handling: added call xset to off the backlight of LCD 
324
+  displays and reset DPMS settings on lidopen
325
+- fixed read throttling state for multiprocessor machines (patch from 
326
+  Daniel Gollub <dgollub@suse.de>)
327
+- fixed display processor infos on multiprocessor/-core machines dislay now 
328
+  values for each CPU/core also on non CPUfreq and non-throttling machines
329
+- fix to display battery infos only if at least min. 1 batteryslot available
330
+- translation updates (po files and handbook) from SUSE/Novell translation 
331
+  team and Dawid Wróbel <cromo@klej.net>
332
+- added and updated screenshots for handbook
333
+- added missing icon on non-SUSE distributions
334
+- autotools releated fixes: better detection of Mandriva, use now pkgconfig 
335
+  from powersave for checks and linking, read name/location of dbus system 
336
+  socket from pkgconfig.
337
+
338
+KPowersave 0.5.9 (rc3)
339
+================================
340
+
341
+Changes since last release:
342
+- fixed battery and processor information for APM and machines without
343
+  CPU freq or throttling support
344
+- fixed battery state in the detailed dialog if no battery is available
345
+- translation and handbook updates and fixes
346
+
347
+KPowersave 0.5.8 (rc2)
348
+================================
349
+
350
+Changes since last release:
351
+- removed sound settings from configure dialog and added KNotify support
352
+  and more events, KNotify config dialog is available via applet menu and
353
+  in the configure dialog (Michael Biebl/Danny Kukawka)
354
+- added dcop function to open configure dialog
355
+- fixed path to powersaved in code and translations to be more portable
356
+  (Michael Biebl)
357
+- fixed cpu info in the info dialog to display also for machines which
358
+  only support throttling (Daniel Gollub/Danny Kukawka)
359
+- fixed battery part in the info dialog to have same sized progressbars
360
+- fixed strings in the code, fixed sting in tooltip if charging
361
+- fixed problems with pidof on Fedora: pidof should be in PATH of user.
362
+- removed no longer needed parts from handbook
363
+- updated translations related to the changes
364
+- cleanups (code and files)
365
+
366
+
367
+KPowersave 0.5.7 (rc1)
368
+================================
369
+
370
+Changes since last release:
371
+- added brightness support and battery state info to the detailed dialog
372
+- updated translations: bg,cs,es,fr,it,ja,pt,nb,pt_BR,zh_CN,zh_TW
373
+- added new language: km
374
+- added new help file (currently without pics): Finnish
375
+- fixed bugs:
376
+  - fixed again display CPU Freq Policy on machines without cpufreq support
377
+  - autotools related fixes (Michael Biebl <biebl@teco.edu>)
378
+
379
+KPowersave 0.5.6 (unstable)
380
+================================
381
+
382
+Changes since last release:
383
+- added new summary battery progress bar if more than one battery bay is 
384
+  available in the system
385
+- updated translation files (nb,nl,pl,pt,zh_CN) thanks to Dawei Pang 
386
+  (zh_CN) and Dawid Wróbel (pl)
387
+- added new helpfiles for Czech and Portuguese (not complete translated), 
388
+  removed some pics to reduce package size
389
+- fixed bugs:
390
+  - wrong path to pidof prevented autosuspend (fixed path to /bin )
391
+  - fixed autotools releated issues 
392
+  - included header for Slackware 10.2
393
+  - fixed excessive CPU usage of detailed dialog
394
+  - fixed problems if CPU Freq Policy not supported
395
+
396
+KPowersave 0.5.5 (unstable)
397
+================================
398
+
399
+Changes since last release:
400
+- reworked the detailed dialog to a new design
401
+  - fixed problems with offline CPUs
402
+  - fixed battery handling
403
+- updated pot/po files and completed german translation
404
+- added new help menu to the applet, added new about dialog and a link
405
+  to the sourceforge bugzilla for easy report bugs
406
+- added new icon for the 'Advanced Powersave' scheme
407
+- several cleanups and little fixes
408
+
409
+KPowersave 0.5.4 (unstable)
410
+================================
411
+
412
+Changes since last release:
413
+- added new detailed information dialog to the left button on the applet
414
+  which provide currently following information:
415
+  - battery info for multiple batteries
416
+  - CPU Frequency info also for multiprozessor machines
417
+  - current scheme, current CPU Frequency policy, AC status, powersave
418
+    status 
419
+- updated code dokumentation and enhancement/implementation doc
420
+
421
+KPowersave 0.5.3 (unstable)
422
+================================
423
+
424
+Changes since last release:
425
+- implemented scheme specific brightness settings in KPowersave
426
+  and in the configure dialog and added capability for brightness to disable
427
+  set brightness in powersave if KPowersave is running.
428
+- added warning dialog is 'Advanced Powersave' scheme is selected to avoid
429
+  problems with this EXPERIMENTAL feature
430
+- updated: translation (nl), code documentation
431
+- fixed compiler warning, patch by Daniel Gollub <dgollub@suse.de> 
432
+
433
+KPowersave 0.5.2 (unstable)
434
+================================
435
+
436
+Changes since last release (KPowersave 0.5.0):
437
+- updated to new powersave (>= v0.11.2)
438
+- added new dialog/error message if powersave is not running, from now 
439
+  'Don't show again' checkbox is available to disable the message
440
+- added popup if HAL is not running (special if also powersave is not available)
441
+  and kpowersave get no information about battery/AC status
442
+- changed settings of sounds filedialog to be more portable
443
+- removed old and not needed qt1/qt2 includes
444
+- changed handling with not available connection to powersave on
445
+  startup of KDE (special for autologin)
446
+- updated help files and added new Norsk and Hungarian help files, added 
447
+  language specific screenshots
448
+- fixed dialogs to be respect KDE user interface style guide, fixed
449
+  icon handling and desktop file (thanks to Stephan Binner <stbinner@suse.de>) 
450
+- added admin dir and updated README for compile on non-SUSE distributions
451
+- updated translation files
452
+- updated code documentation
453
+- code and file cleanups
454
+- several little bugfixes
455
+- switched from CVS to SVN

+ 99
- 0
README View File

@@ -0,0 +1,99 @@
1
+****************************************************************************
2
+*	                      DEPENDENCIES                                 *
3
+****************************************************************************
4
+
5
+You need the following packages (the package names maybe differ for each
6
+distribution) to compile KPowersave: 
7
+
8
+   - dbus (dbus-devel, dbus-qt3-devel) >= 0.6.x recommended: >= 0.9.x
9
+   - hal (hal-devel) recommended: >= 0.5.9.1
10
+   - kdelibs3-devel recommended: >= 3.4.3/3.5.x
11
+   - pkgconfig
12
+   - xorg-x11-devel (for detect inactivity and set DPMS)
13
+
14
+ and maybe also these packages:
15
+   - doxygen (for code documentation)
16
+   - docbook, kde3sdk (handbook) 
17
+
18
+ other (may) needed packages for run all KPowersave features:
19
+   - PolicyKit, recommended >= 0.2 
20
+   - ConsoleKit
21
+
22
+
23
+****************************************************************************
24
+*	                      INSTALLATION                                 *
25
+****************************************************************************
26
+
27
+* For SUSE users how to generate configure:
28
+
29
+   . /etc/opt/kde3/common_options
30
+   update_admin
31
+
32
+* For other distributions try this to generate configure:
33
+
34
+   make -f admin/Makefile.common cvs
35
+
36
+
37
+* Execute the following commands to compile, make and install  kpowersave:
38
+
39
+   ./configure --prefix=/opt/kde3 [--enable-debug=full]
40
+   make
41
+   make install
42
+
43
+
44
+ For the rest (or more general information) read the INSTALL file.
45
+
46
+
47
+
48
+****************************************************************************
49
+*	                     HELP/SUPPORT                                  *
50
+****************************************************************************
51
+
52
+ Project Websites:
53
+ ===================
54
+
55
+ KPowersave@freshmeat.net: 
56
+	* http://freshmeat.net/projects/kpowersave
57
+
58
+ KPowersave@kde-apps.org:
59
+	* http://www.kde-apps.org/content/show.php?content=29295
60
+
61
+ (K)Powersave@sourceforge.net:
62
+	* http://sourceforge.net/projects/powersave
63
+
64
+ (K)Powersave@forge.novell.com:
65
+	* http://developer.novell.com/wiki/index.php/Powersave
66
+
67
+ Mailinglists:
68
+ ===============
69
+
70
+ powersave-users with enduser support:
71
+	* http://forge.novell.com/mailman/listinfo/powersave-users
72
+
73
+ powersave-devel for developer and port to distributions:
74
+	* http://forge.novell.com/mailman/listinfo/powersave-devel
75
+
76
+
77
+ Forums:
78
+ =========
79
+
80
+ * http://sourceforge.net/forum/?group_id=124576
81
+
82
+
83
+ Bugreports:
84
+ =============
85
+
86
+ Please report distribution or packaging related bugs to the bugreport 
87
+ system of your distribution e.g.:
88
+	* SUSE Linux:	http://en.opensuse.org/Report_a_Bug
89
+	* SLES/SLED:    https://bugzilla.novell.com/
90
+	* Debian:       http://www.debian.org/Bugs/
91
+	* K/Ubuntu:	https://launchpad.net/distros/ubuntu/+bugs
92
+	* RedHat:       https://bugzilla.redhat.com/
93
+	* Mandriva:     http://qa.mandriva.com/
94
+	* ALT Linux:	http://bugzilla.altlinux.org/ 
95
+	* Pardus:       http://bugs.pardus.org.tr/
96
+
97
+ For general Bugs use:
98
+	* http://sourceforge.net/tracker/?group_id=124576&atid=700009
99
+	* powersave-users mailinglist

+ 48
- 0
TODO View File

@@ -0,0 +1,48 @@
1
+Currently we porting KPowersave to use HAL instead of the powersave daemon.
2
+
3
+********************************************************************************
4
+
5
+For more information read this:
6
+http://dkukawka.blogspot.com/2006/10/kpowersave-development-for-next-stable.html
7
+
8
+or in general about the current state of development:
9
+http://dkukawka.blogspot.com/
10
+
11
+
12
+or the powersave-devel mailinglist archive:
13
+http://forge.novell.com/pipermail/powersave-devel/ 		
14
+
15
+or at gmane.org:
16
+http://news.gmane.org/gmane.linux.power-management.powersave
17
+
18
+********************************************************************************
19
+
20
+Currently TODOs: (except as TODO marked issues in the code)
21
+
22
+IMPORTANT:
23
+
24
+ * related to new PolicyKit/ConsoleKit/HAL combination and 'Session'-handling:
25
+   - fix scheme handling (don't set scheme if inactive, force correct scheme if
26
+     active session again)
27
+   - the running KPowersave instance can may not react as configured on empty/
28
+     low battery if the session is inactive. May only a shutdown via KDE is
29
+     possible. 
30
+     Think about this possible solutions: 
31
+     - fall back to shutdown via KDE on lowest battery level 
32
+     - drop org.freedesktop.Policy.Power interface and let powersaved to the
33
+       job
34
+
35
+NORMAL:
36
+
37
+ * fix suspend workflow, including:
38
+   - handle errors (50 % done)
39
+
40
+ * add code to react if KPowersave could not claim the 
41
+   org.freedesktop.Policy.Power interface from D-Bus
42
+
43
+ * update doxygen files, remove/update tasks etc.
44
+
45
+ * testing and bugfixing (always!)
46
+ 
47
+ * check if there is room of improvment for:
48
+   - reduce calls and set/force settings (partly done)

+ 173
- 0
configure.in.in View File

@@ -0,0 +1,173 @@
1
+#MIN_CONFIG(3.2.0)
2
+
3
+AM_INIT_AUTOMAKE(kpowersave, 0.7.3, danny.kukawka@web.de)
4
+AC_C_BIGENDIAN
5
+AC_CHECK_KDEMAXPATHLEN
6
+
7
+AC_ARG_ENABLE(debug-msg,  [  --enable-debug-msg       build with debug messages],enable_debug_msg=$enableval,enable_debug_msg=auto)
8
+AC_ARG_ENABLE(yast-entry, [  --enable-yast-entry      build with a YaST entry in the applet menu],enable_yast_entry=$enableval,enable_yast_entry=auto)
9
+AC_ARG_ENABLE(fake-cpu,   [  --enable-fake-cpu        use fake cpu environment],enable_fake_cpu=$enableval,enable_fake_cpu=auto)
10
+AC_ARG_ENABLE(suse-sles,  [  --enable-suse-sles       set SLES/SLED as distribution],enable_suse_sles=$enableval,enable_suse_sles=auto)
11
+
12
+YAST_ENTRY="no"
13
+PKG_PROG_PKG_CONFIG
14
+
15
+if test x$enable_suse_sles = xyes; then
16
+  AC_DEFINE([DISTRO_IS_SUSE],1,[define if the distro is SUSE])
17
+  AC_DEFINE([DISTRO_IS_SLES_SLED],1,[define if the distro is a SUSE Linux Enterprise product])
18
+  YAST_ENTRY="yes"
19
+  echo "detected distribution: SUSE Linux / a SUSE Linux Enterprise product"
20
+elif test -f /etc/SuSE-release ; then
21
+  AC_DEFINE([DISTRO_IS_SUSE],1,[define if the distro is SUSE])
22
+  echo -n "detected distribution: SUSE Linux "
23
+  YAST_ENTRY="yes"
24
+  if test -x /usr/bin/lsb_release ; then
25
+    /usr/bin/lsb_release -d -s > lsb_id.tmp
26
+    if test -f lsb_id.tmp; then
27
+      read LSB_ID < lsb_id.tmp
28
+      case "$LSB_ID" in
29
+        *SUSE*Linux*Enterprise*)
30
+           AC_DEFINE([DISTRO_IS_SLES_SLED],1,[define if the distro is a SUSE Linux Enterprise product])
31
+           echo "/ a SUSE Linux Enterprise product"
32
+           ;;
33
+        *)
34
+           /usr/bin/lsb_release -r -s > lsb_release.tmp
35
+	   if test -f lsb_release.tmp; then
36
+	       read LSB_RELEASE < lsb_release.tmp
37
+               case "$LSB_RELEASE" in
38
+		 *10)
39
+		    ;;
40
+		 *10.1)
41
+                    ;;
42
+		 *10.2)
43
+		    ;;
44
+                 *)
45
+  		    YAST_ENTRY="no"
46
+		    ;;
47
+		esac
48
+		rm -f lsb_release.tmp;
49
+             fi
50
+	   echo ""
51
+           ;;
52
+      esac
53
+      rm -f lsb_id.tmp;
54
+    else
55
+      echo ""
56
+    fi
57
+  fi
58
+elif test -f /etc/altlinux-release ; then
59
+  AC_DEFINE([DISTRO_IS_ALTLINUX],1,[define if the distro is AltLinux])
60
+  echo "detected distribution: ALT Linux"
61
+elif test -f /etc/fedora-release ; then
62
+  AC_DEFINE([DISTRO_IS_FEDORA],1,[define if the distro is RedHat/Fedora])
63
+  echo "detected distribution: RedHat/Fedora"
64
+elif test -f /etc/mandrake-release -o -f /etc/mandriva-release -o -f /etc/mandrakelinux-release; then
65
+  AC_DEFINE([DISTRO_IS_MANDRAKE],1,[define if the distro is Mandrake])
66
+  echo "detected distribution: Mandrake/Mandriva"
67
+elif test -f /etc/pardus-release ; then
68
+  AC_DEFINE([DISTRO_IS_PARDUS],1,[define if the distro is Pardus])
69
+  echo "detected distribution: Pardus"
70
+elif test -f /etc/redhat-release ; then
71
+  AC_DEFINE([DISTRO_IS_REDHAT],1,[define if the distro is RedHat])
72
+  echo "detected distribution: RedHat"
73
+elif test -f /etc/gentoo-release ; then
74
+  AC_DEFINE([DISTRO_IS_GENTOO],1,[define if the distro is Gentoo])
75
+  echo "detected distribution: Gentoo"
76
+elif test -f /etc/slackware-version ; then
77
+  AC_DEFINE([DISTRO_IS_SLACKWARE],1,[define if the distro is Slackware])
78
+  echo "detected distribution: Slackware"
79
+elif test -f /etc/debian_version ; then
80
+  if test -x /bin/lsb_release ; then
81
+    /bin/lsb_release -id -s > lsb_id.tmp
82
+    if test -f lsb_id.tmp; then
83
+      read LSB_ID < lsb_id.tmp
84
+      case "$LSB_ID" in
85
+         Ubuntu*)
86
+            AC_DEFINE([DISTRO_IS_UBUNTU],1,[define if the distro is Ubuntu/Kubuntu])
87
+	    echo "detected distribution: Ubuntu/Kubuntu"
88
+            ;;
89
+         *)
90
+	    # couldn't detect special derivat, set to Debian
91
+            AC_DEFINE([DISTRO_IS_DEBIAN],1,[define if the distro is Debian])
92
+            echo "detected distribution: Debian"
93
+            ;;
94
+      esac
95
+      rm -f lsb_id.tmp;
96
+    else
97
+      # paranoid Fallback
98
+      AC_DEFINE([DISTRO_IS_DEBIAN],1,[define if the distro is Debian])
99
+      echo "detected distribution: Debian"
100
+    fi
101
+  else
102
+    # Fallback if /bin/lsb_release is not available
103
+    AC_DEFINE([DISTRO_IS_DEBIAN],1,[define if the distro is Debian])
104
+    echo "detected distribution: Debian"
105
+  fi
106
+else
107
+  AC_DEFINE([DISTRO_IS_UNKNOW],1,[define if the distro is unknown])
108
+  echo "detected distribution: unknown"
109
+fi
110
+
111
+if test x$enable_debug_msg = xyes; then
112
+    AC_DEFINE([ENABLE_DEBUG_MSG_MODE],1,[Support a verbose mode with debug messages])
113
+    echo "enabled debug messages: yes"
114
+else
115
+    echo "enabled debug messages: no"
116
+fi
117
+if test x$enable_yast_entry = xyes; then
118
+    AC_DEFINE([ENABLE_YAST_ENTRY],1,[Add YaST entry in the applet menu])
119
+    echo "enabled YaST menu entry: yes" 
120
+else
121
+  echo "enabled YaST menu entry: $YAST_ENTRY" 
122
+  if test x$YAST_ENTRY = xyes; then
123
+    	AC_DEFINE([ENABLE_YAST_ENTRY],1,[Add YaST entry in the applet menu])
124
+  fi
125
+fi
126
+
127
+if test x$enable_fake_cpu = xyes; then
128
+    AC_DEFINE([FAKE_CPU],1,[Fake /sys and /proc - for developing])
129
+    echo "enabled faked sysfs - proc environment: yes"
130
+else
131
+    echo "enabled faked sysfs - proc environment: no"
132
+fi
133
+
134
+pkg_modules="dbus-1 >= 0.6, hal >= 0.5.6"
135
+PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
136
+
137
+# get dbus system bus socket
138
+DBUS_SYSTEM_BUS_SOCKET="`pkg-config --variable=system_bus_default_address dbus-1`"
139
+if test -z "$DBUS_SYSTEM_BUS_SOCKET"; then
140
+   # use default
141
+   DBUS_SYSTEM_BUS_SOCKET="unix:path=/var/run/dbus/system_bus_socket"
142
+fi
143
+
144
+AC_DEFINE_UNQUOTED(DBUS_SYSTEM_BUS_SOCKET, ["$DBUS_SYSTEM_BUS_SOCKET"],
145
+                                           [dbus system bus socket path])
146
+
147
+
148
+#check for PolicyKit version
149
+LIBHAL_POLICYCHECK=no
150
+AC_CHECK_LIB([hal], [libhal_device_is_caller_privileged], [LIBHAL_POLICYCHECK=yes], [LIBHAL_POLICYCHECK=no])
151
+if test "x$LIBHAL_POLICYCHECK" = "xyes"; then
152
+   AC_DEFINE([USE_LIBHAL_POLICYCHECK],1,[Set if should use libhal to check policy.])
153
+fi
154
+
155
+#check for HAL version >= 0.5.10
156
+if $PKG_CONFIG --atleast-version 0.5.10 hal; then
157
+   AC_DEFINE([HAVE_HAL_0_5_10],1,[Set if we use HAL >= 0.5.10])
158
+fi
159
+
160
+# check for dbus qt bindings --> copied from KNetworkmanager
161
+safe_CPPFLAGS=$CPPFLAGS
162
+CPPFLAGS="$CPPFLAGS $PACKAGE_CFLAGS $all_includes"
163
+AC_LANG_SAVE
164
+AC_LANG_CPLUSPLUS
165
+AC_CHECK_HEADER([dbus/connection.h],,[AC_MSG_ERROR([You need D-BUS/Qt3 bindings])])
166
+AC_CHECK_HEADER([dbus/message.h],,[AC_MSG_ERROR([You need D-BUS/Qt3 bindings])])
167
+CPPFLAGS=$safe_CPPFLAGS
168
+AC_LANG_RESTORE
169
+
170
+# call needed substitutions
171
+AC_SUBST(PACKAGE_CFLAGS)
172
+AC_SUBST(PACKAGE_LIBS)
173
+AC_SUBST(XGETTEXT)

+ 6
- 0
doc/Makefile.am View File

@@ -0,0 +1,6 @@
1
+# the SUBDIRS is filled automatically by am_edit. If files are 
2
+# in this directory they are installed into the english dir
3
+
4
+KDE_LANG = en
5
+KDE_DOCS = AUTO 
6
+SUBDIRS = $(AUTODIRS)  

+ 2
- 0
doc/cs/Makefile.am View File

@@ -0,0 +1,2 @@
1
+KDE_DOCS = kpowersave
2
+KDE_LANG = cs

BIN
doc/cs/cs_applet_autosuspend.png View File


BIN
doc/cs/cs_applet_configure.png View File


BIN
doc/cs/cs_applet_cpufreq.png View File


BIN
doc/cs/cs_applet_schemes.png View File


BIN
doc/cs/cs_applet_suspend.png View File


BIN
doc/cs/cs_applet_yast.png View File


BIN
doc/cs/cs_configdialog_blacklist.png View File


BIN
doc/cs/cs_configdialog_general.png View File


BIN
doc/cs/cs_configdialog_schemes.png View File


BIN
doc/cs/cs_configdialog_schemes_autosuspend.png View File


BIN
doc/cs/cs_configdialog_schemes_bright.png View File


BIN
doc/cs/cs_configdialog_schemes_screen.png View File


BIN
doc/cs/cs_notification_settings.png View File


BIN
doc/cs/hi48-app-kpowersave.png View File


+ 533
- 0
doc/cs/index.docbook View File

@@ -0,0 +1,533 @@
1
+<?xml version="1.0" ?>
2
+<!DOCTYPE book PUBLIC
3
+   "-//KDE//DTD DocBook XML V4.1.2-Based Variant V1.1//EN"
4
+   "dtd/kdex.dtd"
5
+[
6
+  <!ENTITY app "<application>KPowersave</application>">
7
+  <!ENTITY apprelease " ">
8
+  <!-- chapters in separate docbook files -->
9
+
10
+  <!-- book related entities -->
11
+  <!ENTITY kappname "KPowersave">
12
+  <!ENTITY % addindex "INCLUDE">
13
+  <!ENTITY % Czech "INCLUDE" > <!-- change language only here -->
14
+]>
15
+
16
+<!--
17
+NOTE:
18
+Entries which require special treatment are marked with comments starting with '###'. They should be visited on a regular basis.
19
+-->
20
+
21
+<book lang="&language;">
22
+
23
+<bookinfo>
24
+  <title>Nápověda &app;</title>
25
+
26
+  <date>2006-03-06</date>
27
+  <releaseinfo>&apprelease;</releaseinfo>
28
+
29
+  <authorgroup>
30
+    <author>
31
+      <firstname>Danny</firstname>
32
+      <surname>Kukawka</surname>
33
+      <affiliation>
34
+        <address><email>Danny.Kukawka@web.de</email></address>
35
+      </affiliation>
36
+    </author>
37
+    <author>
38
+      <firstname>Thomas</firstname>
39
+      <surname>Renninger</surname>
40
+      <affiliation>
41
+        <address><email>trenn@suse.de</email></address>
42
+      </affiliation>
43
+    </author>
44
+  </authorgroup>
45
+ 
46
+  <copyright>
47
+    <year>2005</year>
48
+    <holder>Scott Rhoades</holder>
49
+  </copyright>
50
+  
51
+
52
+  <!--ROLES_OF_TRANSLATORS-->
53
+
54
+  <!--<legalnotice>&FDLNotice;</legalnotice>-->
55
+
56
+  <abstract>
57
+    <para>&app; je nástroj pro nastavení správy napájení a šetření energií.</para> 
58
+  </abstract>
59
+
60
+  <keywordset>
61
+    <keyword>KDE</keyword>
62
+    <keyword>KPowersave</keyword>
63
+    <keyword>energie</keyword>
64
+    <keyword>baterie</keyword>
65
+    <keyword>šetření</keyword>
66
+  </keywordset>
67
+
68
+</bookinfo>
69
+
70
+<!-- ====================================================================== -->
71
+
72
+<chapter id="introduction">
73
+  <chapterinfo>
74
+   <keywordset>
75
+    <keyword>KPowersave</keyword>
76
+   </keywordset>
77
+  </chapterinfo>
78
+<title>Úvod</title>
79
+  <mediaobject>
80
+  <imageobject>
81
+  <imagedata fileref="hi48-app-kpowersave.png" format="PNG"/>
82
+  </imageobject>
83
+  </mediaobject>
84
+  <para>KPowersave, KDE uživatelské rozhraní pro powersave, používejte k
85
+   řízení správy napájení a sledování stavu baterie vašeho notebooku. Například
86
+   můžete nastavit, aby se obrazovka vašeho počítače po určité době nečinnosti
87
+   vypnula, čímž prodloužíte běh na baterie.
88
+  </para>
89
+
90
+ <sect1 id="starting">
91
+ <title>Spouštění KPowersave</title>
92
+   <para>Chcete-li spustit KPowersave, zadejte na příkazové řádce příkaz
93
+     <command>kpowersave &amp;</command> nebo zvolte <menuchoice>
94
+       <guimenu>Systém</guimenu>
95
+       <guimenu>Applety</guimenu>
96
+       <guimenu>KPowersave</guimenu>
97
+      </menuchoice> z hlavní nabídky GNOME nebo KDE.
98
+      KPowersave se otevře v systémové části panelu.</para>
99
+   <para>Chcete-li nastavit, zda se má KPowersave spouštět při vašem
100
+   přihlášení automaticky, klikněte na <guimenu>Obecná nastavení</guimenu>
101
+   a aktivujte či deaktivujte volbu <guimenu>KPowersave se po přihlášení
102
+   automaticky spouští</guimenu>. Také nastavte, zda chcete aby se vás
103
+   KPowersave ptal na automatické spouštění, pokud ho ručně ukončíte.
104
+   </para>
105
+ </sect1>
106
+
107
+ <sect1 id="understandingicon">
108
+ <title>Význam ikony KPowersave</title>
109
+   <para>
110
+    Ikona KPowersave vypadá jako elektrická zástrčka vedle indikátoru stavu
111
+    baterie. Ikona informuje o aktuálním stavu baterie a o tom, zda je počítač
112
+    právě napájen z baterie nebo ze sítě. Je-li baterie téměř vybitá, pozadí
113
+    ikony bliká - oranžově jako upozornění a červeně při nízkém či kritickém
114
+    stavu. Pokud nad ikonou chvíli zastavíte ukazatel myši, objeví se
115
+    informace o aktuálním typu napájení, stavu nabití baterie a, pokud počítač
116
+    běží na baterie, doby do vybití baterií.
117
+   </para>
118
+ </sect1>
119
+</chapter>
120
+
121
+<chapter id="applet">
122
+ <title>Nabídka apletu</title>
123
+
124
+  <sect1 id="selectschemes">
125
+   <title>Přepnutí aktivního schématu</title>
126
+   <para>
127
+    Chcete-li přepnout aktivní schéma, klikněte pravým tlačítkem myši na ikonu
128
+    apletu a zvolte <guimenu>Nastavit aktivní schéma</guimenu> a jméno
129
+    požadovaného schématu. Pokud schéma takto změníte, týká se změna všech
130
+    komponent vašeho počítače. Správa napájení ovlivňuje změny frekvence
131
+    procesoru (pokud to váš hardware podporuje), pevný disk, chlazení atd.
132
+   </para>
133
+
134
+   <mediaobject>
135
+    <imageobject>
136
+      <imagedata fileref="cs_applet_schemes.png" format="PNG" align="center"/>
137
+    </imageobject>
138
+    <textobject>
139
+       <phrase>Nabídka KPowersave s položkami pro přepínání schémat</phrase>
140
+    </textobject>
141
+   </mediaobject>
142
+  </sect1>
143
+
144
+  <sect1 id="yast">
145
+   <title>Spouštění YaST modulu pro správu napájeni</title>
146
+   <para>
147
+    Modul správy napájení programu YaST2 poskytuje řadu možností nastavení pro
148
+    šetření energií. Chcete-li modul spustit, klikněte pravým tlačítkem myši
149
+    na ikonu KPowersave a zvolte <guimenu>Spustit modul správy napájení programu
150
+    YaST2</guimenu>. Podrobné instrukce pro každé nastavení jsou dostupné
151
+    přímo v YaSTu.
152
+    <mediaobject>
153
+     <imageobject>
154
+      <imagedata fileref="cs_applet_yast.png" format="PNG" align="center"/>
155
+     </imageobject>
156
+     <textobject>
157
+       <phrase>Nabídka KPowersave s položkou pro spuštění YaSTu</phrase>
158
+      </textobject>
159
+    </mediaobject>
160
+
161
+   </para>
162
+    <note>
163
+     <para>
164
+      Spuštění YaST modulu pro správu napájeni vyžaduje heslo uživatele root.
165
+     </para>
166
+   </note>
167
+
168
+  </sect1>
169
+
170
+  <sect1 id="suspend"> 
171
+  <title>Uspání systému</title>
172
+   <para>
173
+    Systém můžete kdykoliv uspat kliknutím pravým tlačítkem myši na ikonu
174
+    KPowersave a volbou <guimenu>Uspání na disk</guimenu>,
175
+    <guimenu>Uspání do RAM</guimenu> nebo <guimenu>Pohotovostní
176
+    režim</guimenu> (pokud je pohotovostní režim počítačem podporován).
177
+   </para>
178
+
179
+   <itemizedlist>
180
+    <listitem>
181
+      <para>
182
+        Uspání na disk uloží před uspáním všechna otevřená data na disk. Jsou
183
+        tak ochráněna pro případ odpojení napájení nebo vybití baterie.
184
+      </para>
185
+    </listitem> 
186
+    <listitem>
187
+      <para>
188
+        Uspání do RAM uloží data do paměti RAM, což urychluje pozdější
189
+        probuzení počítače.
190
+      </para>
191
+    </listitem>
192
+    <listitem>
193
+      <para>
194
+        Pohotovostní režim vypne monitor, ale systém jinak ponechá napájený
195
+        a data zůstanou v RAM.
196
+      </para>
197
+    </listitem>
198
+    </itemizedlist>
199
+    <para>
200
+     Dostupné volby závisí na metodách aktivovaných administrátorem v YaSTu
201
+     a podporovaných vaším hardware. Vhodnou volbu byste měli volit podle
202
+     pravděpodobnosti úplné ztráty napájení počítače.
203
+    </para> 
204
+
205
+   <mediaobject>
206
+     <imageobject>
207
+      <imagedata fileref="cs_applet_suspend.png" format="PNG" align="center"/>
208
+     </imageobject>
209
+     <textobject>
210
+       <phrase>Nabídka KPowersave s položkami pro uspání a pohotovostní režim</phrase>
211
+      </textobject>
212
+   </mediaobject>
213
+  </sect1>
214
+
215
+  <sect1 id="deactivateautossuspend">
216
+  <title>Vypnutí automatického uspání</title>
217
+   <para>
218
+    Pokud je pro právě používané schéma zapnuto automatické uspávání, objeví
219
+    se v nabídce KPowersave položka <guimenu>Zakázat akce při
220
+    neaktivitě</guimenu>. Její volbou zakážete jakékoliv akce, které se mají
221
+    při neaktivitě vykonat, čímž se vypne automatické uspání.
222
+   </para>
223
+   <mediaobject>
224
+     <imageobject>
225
+      <imagedata fileref="cs_applet_autosuspend.png" format="PNG" align="center"/>
226
+     </imageobject>
227
+     <textobject>
228
+       <phrase>Nabídka KPowersave s volbou "Zakázat akce při neaktivitě"</phrase>
229
+      </textobject>
230
+   </mediaobject>
231
+  </sect1> 
232
+  <sect1 id="setCPUFreq">
233
+  <title>Nastavení politiky frekvence procesoru</title>
234
+   <para>
235
+    Množství energie spotřebovávané procesorem lze ovládat změnou politiky
236
+    frekvence procesoru. Učiníte tak kliknutím pravým tlačítkem myši na ikonu
237
+    KPowersave, volbou <guimenu>Nastavit politiku frekvence CPU</guimenu> a
238
+    výběrem jedné z dostupných možností:
239
+   </para> 
240
+   <itemizedlist>
241
+    <listitem>
242
+     <para>
243
+      Výkon: stále udržuje vysokou frekvenci procesoru pro maximální výkon.
244
+     </para>
245
+    </listitem> 
246
+    <listitem>
247
+      <para>
248
+       Dynamické: snižuje frekvenci procesoru, pokud není počítač zatížen,
249
+       a zvyšuje ji, pokud je potřeba více výkonu.
250
+      </para>
251
+    </listitem> 
252
+    <listitem>
253
+      <para>
254
+       Powersave: udržuje sníženou frekvenci procesoru kvůli
255
+       šetření energií.
256
+      </para>
257
+    </listitem>
258
+   </itemizedlist>
259
+
260
+   <para>
261
+    Nastavení politiky frekvence procesoru je v nabídce dostupné, pouze pokud
262
+    ho počítač podporuje. Pokud položka v nabídce není, váš počítač nastavení
263
+    politiky neumožňuje.
264
+   </para> 
265
+
266
+   <mediaobject>
267
+     <imageobject>
268
+      <imagedata fileref="cs_applet_cpufreq.png" format="PNG" align="center"/>
269
+     </imageobject>
270
+     <textobject>
271
+       <phrase>Nabídka KPowersave s podnabídkou nastavení politiky
272
+       frekvence procesoru</phrase>
273
+      </textobject>
274
+    </mediaobject>
275
+  </sect1>
276
+ </chapter>
277
+
278
+ <chapter id="conf_powerscheme"> 
279
+ <title>Nastavení schémat správy napájení</title>
280
+   <sect1 id="understand_scheme">
281
+   <title>Schémata správy napájení</title>
282
+   <para>
283
+    Schéma obsahuje základní konfiguraci správy napájení používanou při běhu
284
+    KPowersave. Množství dostupných schémat závisí na konfiguraci powersave.
285
+    Schémata můžete přidávat nebo mazat pomocí modulu správy napájení nástroje
286
+    YaST. Mezi běžně používaná schémata patří:
287
+   </para>
288
+
289
+   <itemizedlist>
290
+    <listitem>
291
+      <para>Výkon: optimalizováno pro maximální výkon během delší práce</para>
292
+    </listitem> 
293
+    <listitem>
294
+      <para>Tichý: optimalizováno pro tichý běh počítače</para>
295
+    </listitem> 
296
+    <listitem>
297
+      <para>Prezentace: optimalizováno pro hladký průběh prezentací</para>
298
+    </listitem> 
299
+    <listitem>
300
+      <para>Powersave: optimalizováno pro šetření energií baterie</para>
301
+    </listitem> 
302
+   </itemizedlist>
303
+
304
+   <para>Schémata můžete měnit na kartě <guimenu>Nastavení schémat</guimenu>.
305
+   Po provedení patřičných úprav klikněte na <guimenu>OK</guimenu>.</para> 
306
+
307
+   <mediaobject>
308
+     <imageobject>
309
+      <imagedata fileref="cs_configdialog_schemes.png" format="PNG" align="center"/>
310
+     </imageobject>
311
+     <textobject>
312
+       <phrase>Dialog KPowersave pro nastavení schémat</phrase>
313
+      </textobject>
314
+   </mediaobject>
315
+
316
+   <para>
317
+     Schéma určuje:
318
+   </para>
319
+   <itemizedlist>
320
+    <listitem>
321
+      <para>
322
+        Zda je povolen běh šetřiče obrazovky, není-li počítač používán
323
+      </para>
324
+    </listitem> 
325
+    <listitem>
326
+      <para>
327
+        Kolik času uplyne před uspáním obrazovky, jejím vypnutím
328
+        nebo přechodem do pohotovostního režimu
329
+      </para>
330
+    </listitem>  
331
+    <listitem>
332
+      <para>
333
+        Zda je počítač po určité době nečinnosti automaticky uspán
334
+      </para>
335
+    </listitem> 
336
+    <listitem>
337
+      <para>
338
+        Zda počítač při událostech spojených s napájením přehrává zvuky
339
+      </para>
340
+    </listitem> 
341
+   </itemizedlist>
342
+  </sect1>
343
+
344
+  <sect1 id="procedure">
345
+  <title>Postup nastavení schématu</title>
346
+
347
+   <para>
348
+    Všechny tyto volby šetří energií zákazem běhu energeticky náročných
349
+    procesů. Schéma nastavíte následujícím způsobem:
350
+   </para> 
351
+  <sect2 id="procedure_ss">
352
+  <title>Šetřič obrazovky</title>
353
+   <procedure>
354
+    <step>
355
+     <para>
356
+      Klikněte pravým tlačítkem myši na ikonu KPowersave
357
+      v systémové části panelu.
358
+     </para>
359
+    </step>
360
+    <step>
361
+     <para>
362
+      Zvolte <guimenu>Nastavit KPowersave</guimenu>.
363
+     </para>
364
+    </step>
365
+    <step>
366
+     <para>
367
+      Pokud není aktivní karta <guimenu>Nastavení schémat</guimenu>,
368
+      klikněte na ni.
369
+     </para>
370
+    </step>
371
+    <step>
372
+     <para>
373
+      Můžete zapnout volbu <guimenu>Povolit zvláštní nastavení šetřiče
374
+      obrazovky</guimenu>.
375
+     </para>
376
+     <substeps>
377
+      <step>
378
+       <para>
379
+        Pokud nechcete, aby šetřič obrazovky spotřebovával energii během doby,
380
+        kdy počítač není používán, aktivujte <guimenu>Zakázat šetřič
381
+        obrazovky</guimenu>.
382
+       </para>
383
+      </step>
384
+      <step>
385
+       <para>
386
+        Pokud chcete místo grafického šetřiče pouze smazat obrazovku, aktivujte
387
+        <guimenu>Pouze smazat obrazovku</guimenu>. Tato volba není dostupná,
388
+        je-li šetřič zakázán.
389
+       </para>
390
+      </step> 
391
+     </substeps>
392
+    </step>
393
+   </procedure>
394
+   <mediaobject>
395
+      <imageobject>
396
+        <imagedata fileref="cs_configdialog_schemes_screen.png" format="PNG" align="center"/>
397
+      </imageobject>
398
+      <textobject>
399
+        <phrase>Dialog KPowersave pro nastavení šetřiče obrazovky</phrase>
400
+      </textobject>
401
+   </mediaobject>
402
+   </sect2>
403
+   <sect2 id="procedure_spms">
404
+    <title>Správa napájení obrazovky</title>
405
+    <procedure>
406
+    <step>
407
+     <para>Chcete-li spravovat spotřebu energie obrazovkou, zaškrtněte
408
+       <guimenu>Povolit zvláštní správu napájení obrazovky</guimenu>.</para> 
409
+     <para>Zvláštní správu napájení obrazovky (DPMS) lze rovněž zakázat
410
+      zaškrtnutím <guimenu>Zakázat správu napájení obrazovky</guimenu>.
411
+      Tato volba přepisuje nastavení grafického prostředí.</para>
412
+     <substeps>
413
+      <step><para>Zvolte dobu, která musí uplynout před přechodem obrazovky do
414
+      pohotovostního režimu. V pohotovostním režimu je obrazovka prázdná, ale
415
+      stále je elektricky napájena. Dosáhne se tak mírné úspory elektrické
416
+      energie.</para></step> 
417
+      <step><para>Zvolte dobu, která musí uplynout před uspáním obrazovky.
418
+      Uspaná obrazovka je vypnuta, ale je stále napájena určitým množstvím
419
+      energie pro udržení aktuálních informací a nastavení.</para></step> 
420
+      <step><para>Zvolte dobu, která musí uplynout před úplným přerušením
421
+      napájení obrazovky.</para></step> 
422
+     </substeps></step>
423
+    </procedure>
424
+    <mediaobject>
425
+       <imageobject>
426
+        <imagedata fileref="en_configdialog_schemes.png" format="PNG" align="center"/>
427
+       </imageobject>
428
+       <textobject>
429
+        <phrase>Dialog KPowersave pro nastavení šetřiče/DPMS obrazovky</phrase>
430
+       </textobject>
431
+    </mediaobject>
432
+   </sect2>
433
+
434
+   <sect2 id="procedure_autosuspend">
435
+    <title>Nastavení automatického uspání</title>
436
+    <procedure>
437
+    <step><para>Pokud chcete, aby KPowersave automaticky uspal počítač,
438
+    není-li aktuální uživatel grafického prostředí po určitou dobu aktivní,
439
+    klikněte na <guimenu>Automatické uspání</guimenu> a proveďte potřebná
440
+    nastavení.</para> 
441
+    <para>Pokud například chcete, aby se po 30 minutách nečinnosti počítač
442
+    uspal na disk, proveďte příslušná nastavení. Po půlhodině nečinnosti se
443
+    všechny soubory a data uloží na disk a počítač se uspí.</para> 
444
+    </step>
445
+    </procedure>
446
+    <mediaobject>
447
+      <imageobject>
448
+        <imagedata fileref="cs_configdialog_schemes_autosuspend.png" format="PNG" align="center"/>
449
+      </imageobject>
450
+      <textobject>
451
+        <phrase>Dialog KPowersave pro nastavení automatického uspání</phrase>
452
+      </textobject>
453
+     </mediaobject>
454
+   </sect2>
455
+  </sect1>
456
+ </chapter>
457
+
458
+ <chapter id="generalsettings">
459
+ <title>Obecná nastavení</title>
460
+  <sect1 id="lockscreen">
461
+   <title>Uzamčení obrazovky</title>
462
+   <para>
463
+    Kvůli zvýšení bezpečnosti můžete nastavit uzamykání obrazovky před
464
+    přechodem do spánku, pohotovostního režimu nebo před uzavřením víka
465
+    notebooku. Obrazovku lze uzamknout pomocí šetřiče obrazovky nebo pomocí
466
+    xlock.
467
+   </para> 
468
+   <para>
469
+    Pro nastavení uzamykání obrazovky klikněte na kartu
470
+    <guimenu>Obecná nastavení</guimenu>.
471
+   </para>
472
+
473
+   <mediaobject>
474
+     <imageobject>
475
+      <imagedata fileref="en_configdialog_general.png" format="PNG" align="center"/>
476
+     </imageobject>
477
+     <textobject>
478
+       <phrase>Dialog KPowersave pro obecná nastavení.</phrase>
479
+      </textobject>
480
+   </mediaobject>
481
+ 
482
+  </sect1>
483
+
484
+  <sect1 id="autosuspendblacklist">
485
+   <title>Vytvoření černé listiny automatického uspání</title>
486
+   <para>
487
+    KPowersave obsahuje černou listinu automatického uspání. Pokud běží
488
+    některá z aplikací na tomto seznamu, je automatické uspání zakázáno.
489
+    Například byste si asi nepřáli, aby váš notebook usnul během přehrávání
490
+    DVD, jen proto, že jste dlouho nestiskli žádnou klávesu. Listinu můžete
491
+    upravit na kartě <guimenu>Obecná nastavení</guimenu> kliknutím na
492
+    <guimenu>Upravit obecnou černou listinu</guimenu>. V otevřeném dialogu
493
+    přidejte nebo odeberte požadované aplikace.
494
+   </para> 
495
+
496
+   <mediaobject>
497
+     <imageobject>
498
+      <imagedata fileref="en_configdialog_general.png" format="PNG" align="center"/>
499
+     </imageobject>
500
+     <textobject>
501
+       <phrase>Dialog KPowersave pro nastavení
502
+       černé listiny automatického uspání</phrase>
503
+      </textobject>
504
+   </mediaobject>
505
+
506
+   <para>
507
+    Můžete také vytvořit černou listinu specifickou pro určité schéma.
508
+    Při vytváření takové listiny můžete importovat obecnou černou listinu
509
+    nebo vytvořit listinu zcela novou. Černá listina schématu má přednost před
510
+    obecnou černou listinou, pokud je dané téma aktivní.
511
+   </para>
512
+
513
+   <mediaobject>
514
+     <imageobject>
515
+      <imagedata fileref="cs_configdialog_blacklist.png" format="PNG" align="center"/>
516
+     </imageobject>
517
+     <textobject>
518
+       <phrase>Dialog KPowersave pro úpravy
519
+       černé listiny automatického uspání</phrase>
520
+      </textobject>
521
+   </mediaobject>
522
+  </sect1>
523
+ </chapter>
524
+
525
+</book>
526
+
527
+<!-- Keep this comment at the end of the file
528
+Local variables:
529
+mode: xml
530
+coding: utf-8
531
+sgml-indent-step: 1
532
+End:
533
+-->

+ 2
- 0
doc/de/Makefile.am View File

@@ -0,0 +1,2 @@
1
+KDE_DOCS = kpowersave
2
+KDE_LANG = de

BIN
doc/de/de_applet_autosuspend.png View File


BIN
doc/de/de_applet_configure.png View File


BIN
doc/de/de_applet_cpufreq.png View File


BIN
doc/de/de_applet_schemes.png View File


BIN
doc/de/de_applet_suspend.png View File


BIN
doc/de/de_applet_yast.png View File


BIN
doc/de/de_configdialog_blacklist.png View File


BIN
doc/de/de_configdialog_general.png View File


BIN
doc/de/de_configdialog_schemes.png View File


BIN
doc/de/de_configdialog_schemes_autosuspend.png View File


BIN
doc/de/de_configdialog_schemes_bright.png View File


BIN
doc/de/de_configdialog_schemes_screen.png View File


BIN
doc/de/de_notification_settings.png View File


BIN
doc/de/hi48-app-kpowersave.png View File


+ 610
- 0
doc/de/index.docbook View File

@@ -0,0 +1,610 @@
1
+<?xml version="1.0" ?>
2
+<!DOCTYPE book PUBLIC
3
+   "-//KDE//DTD DocBook XML V4.1.2-Based Variant V1.1//EN"
4
+   "dtd/kdex.dtd"
5
+[
6
+  <!ENTITY app "<application>KPowersave</application>">
7
+  <!ENTITY apprelease " ">
8
+  <!-- chapters in separate docbook files -->
9
+
10
+  <!-- book related entities -->
11
+  <!ENTITY kappname "KPowersave">
12
+  <!ENTITY % addindex "INCLUDE">
13
+  <!ENTITY % German "INCLUDE" > <!-- change language only here -->
14
+]>
15
+
16
+<!--
17
+NOTE:
18
+Entries which require special treatment are marked with comments starting with '###'. They should be visited on a regular basis.
19
+-->
20
+
21
+<book lang="&language;">
22
+
23
+<bookinfo>
24
+  <title>&app; Hilfe</title>
25
+
26
+  <date>2006-04-04</date>
27
+  <releaseinfo>&apprelease;</releaseinfo>
28
+
29
+  <authorgroup>
30
+    <author>
31
+      <firstname>Danny</firstname>
32
+      <surname>Kukawka</surname>
33
+      <affiliation>
34
+        <address><email>Danny.Kukawka@web.de</email></address>
35
+      </affiliation>
36
+    </author>
37
+    <author>
38
+      <firstname>Thomas</firstname>
39
+      <surname>Renninger</surname>
40
+      <affiliation>
41
+        <address><email>trenn@suse.de</email></address>
42
+      </affiliation>
43
+    </author>
44
+  </authorgroup>
45
+ 
46
+  <copyright>
47
+    <year>2006</year>
48
+    <holder>Danny Kukawka</holder>
49
+  </copyright>
50
+  
51
+
52
+  <!--ROLES_OF_TRANSLATORS-->
53
+
54
+  <!--<legalnotice>&FDLNotice;</legalnotice>-->
55
+
56
+  <abstract>
57
+    <para>&app; ist ein Program um Energieverbrauchs- und Energiesparoptionen einzustellen.</para> 
58
+  </abstract>
59
+
60
+  <keywordset>
61
+    <keyword>KDE</keyword>
62
+    <keyword>KPowersave</keyword>
63
+    <keyword>Energie</keyword>
64
+    <keyword>Batterie</keyword>
65
+    <keyword>sparen</keyword>
66
+    <keyword>ACPI</keyword>
67
+    <keyword>Suspend</keyword>
68
+</keywordset>
69
+
70
+</bookinfo>
71
+
72
+<!-- ====================================================================== -->
73
+
74
+<chapter id="introduction">
75
+  <chapterinfo>
76
+   <keywordset>
77
+    <keyword>KPowersave</keyword>
78
+   </keywordset>
79
+  </chapterinfo>
80
+<title>Einführung</title>
81
+  <mediaobject>
82
+  <imageobject>
83
+  <imagedata fileref="hi48-app-kpowersave.png" format="PNG"/>
84
+  </imageobject>
85
+  </mediaobject>
86
+  <para>
87
+	Verwenden Sie KPowersave, das KDE Front-End für powersave, um das Energiemangement
88
+	zu verwalten und den Batteriestand Ihres Gerätes anzuzeigen. Sie können 
89
+	beispielsweise konfigurieren, das der Bildschirm Ihres Laptops abgeschaltet 
90
+	wird, wenn Sie Ihre Laptop eine bestimmte Zeit nicht benutzen um die 
91
+	Batterielaufzeit zu verlängern.
92
+  </para> 
93
+
94
+ <sect1 id="starting">
95
+ <title>KPowersave starten</title>
96
+   
97
+   <para>Um KPowersave zu starten, öffnen Sie eine Shell und geben das Kommando
98
+	<command>kpowersave &amp;</command> ein oder wählen <menuchoice><guimenu>
99
+	System</guimenu><guimenu>Desktop Applet</guimenu>
100
+     <guimenu>KPowersave</guimenu></menuchoice> aus dem KDE oder GNOME Menü aus.
101
+	KPowersave wird dann in der Kontrollleiste bzw. im System Tray geöffnet.
102
+   </para> 
103
+   
104
+   <para>Um einzustellen ob KPowersave beim Anmelden an den Desktop automatisch 	
105
+	gestartet wird klicken Sie im KPowersave Konfigurations Dialog auf 
106
+    <guimenu>Allgemeine Einstellungen</guimenu> und wählen/abwählen dort die
107
+	Ankreuzfeld <guimenu>KPowersave automatisch beim Anmelden starten</guimenu>. 
108
+	Sie können dort auch einstellen, ob Sie beim Beenden gefragt werden ob 
109
+	KPowersave das nächste mal automatisch gestartet werden soll.
110
+   </para>
111
+ </sect1>
112
+
113
+ <sect1 id="understandingicon">
114
+ <title>Das KPowersave Icon/Symbol verstehen</title>
115
+   <para>
116
+	Das KPowersave Icon sieht aus wie ein Netzstecker neben einer Batterie
117
+	Füllstandsanzeige. Das Symbol zeigt den aktuellen Batteriefüllstand an und
118
+	ob der Computer sich am Stromnetz oder auf Batterie befindet.
119
+	Wenn der Batteriestand niedrig ist beginnt der Hintergrund des Icons zu 
120
+	blinken - mit organgen Hintergrund für Warnung und rot für Niedrig und 
121
+	Kritischen Ladezustand. Wenn Sie mit dem Mauszeiger über das Sysmbol fahren,
122
+	erscheint ein Tooltip mit Informationen über den Status des AC Adapters,
123
+	den Stand der Batterie und wenn der Computer sich nicht am Netzstrom befindet
124
+	die verbleibende geschätzte Zeit mit der aktuellen Batterieladung. Wenn die
125
+	Batterie geladen wird, finden Sie im Tooltip zudem Informationen wie lange 
126
+	vorraussichtlich der Ladevorgang bis zum vollständig geladenen Akku andauern
127
+	wird.
128
+   </para> 
129
+ </sect1>
130
+</chapter>   
131
+
132
+<chapter id="applet">
133
+ <title>Das Applet Menü</title>
134
+
135
+  <sect1 id="selectschemes">
136
+   <title>Das aktive Schema wechseln</title>
137
+   <para>
138
+	Um das aktive Schema zu setzen, klicken Sie mit der rechten Maustaste auf 
139
+	das KPowersave Symbol in der Kontrollleiste und wählen 
140
+	<guimenu>Setze aktives Schema</guimenu>. Dort wählen Sie dann das gewünschte
141
+	Schema aus. Wenn Sie das aktive Schema wechseln werden die Konfigurationen der
142
+	verschiedenen Systemkomponenten verändert. Ein Energieschema beinhaltet 
143
+	Einstellungen für CPU Freqenzverhalten (wenn dies von Ihrem Gerät unterstützt
144
+	wird), Throttling, Festplatten, Lüftereinstellungen und beispielsweise 
145
+	Bildschirmschoner- und Monitoreinstellungen.
146
+   </para> 
147
+
148
+   <mediaobject>
149
+    <imageobject>
150
+      <imagedata fileref="de_applet_schemes.png" format="PNG" align="center"/>
151
+    </imageobject>
152
+    <textobject>
153
+       <phrase>KPowersave Applet mit dem Menü zum Schema wechseln.</phrase>
154
+    </textobject>
155
+   </mediaobject>
156
+  </sect1>
157
+
158
+  <sect1 id="yast">
159
+   <title>Das YaST Power-Management-Modul starten</title>
160
+   <para>
161
+	Das YaST Power-Management-Modul (zur Zeit nur für SUSE verfügbar) bietet
162
+	verschiedene Einstellungsmöglichkeiten um Energie zu sparen. Mit diesem
163
+	Modul können Sie Einstellungen ändern, auf die Sie als Bentzer über KPowersave
164
+	keinen Einfluss haben. Um das Modul zu starten klicken Sie mit der rechten
165
+	Maustaste auf das KPowersave Symbol und wählen <guimenu> YaST2 
166
+	Power-Management-Modul starten ...</guimenu> 
167
+	Detailierte Anweisungen für die verschiedenen Einstellungsmöglichkeiten finden
168
+	Sie in YaST.
169
+    <mediaobject>
170
+     <imageobject>
171
+      <imagedata fileref="de_applet_yast.png" format="PNG" align="center"/>
172
+     </imageobject>
173
+     <textobject>
174
+       <phrase>KPowersave Applet Menü mit dem YaST Eintrag.</phrase>
175
+      </textobject>
176
+    </mediaobject>
177
+
178
+   </para> 
179
+   <note>
180
+    <para>
181
+        Zum Starten des YaST Power-Management-Modules benötigen Sie das root Passwort.
182
+    </para>
183
+   </note> 
184
+  </sect1>
185
+ 
186
+  <sect1 id="suspend"> 
187
+  <title>Suspendieren des Systems</title>
188
+   <para>
189
+	Sie können das System jederzeit mit Rechtsklick auf das KPowersave
190
+	Symbol und das Auswählen von <guimenu>Suspend to Disk</guimenu>,
191
+	<guimenu>Suspend to RAM</guimenu>, oder <guimenu>Stand-by</guimenu>
192
+	(wenn dies von Ihrem Gerät unterstützt wird) suspendieren bzw. in 
193
+	den Stand-by Zustand versetzen.
194
+   </para>
195
+
196
+   <itemizedlist>
197
+    <listitem>
198
+      <para>
199
+		Suspend to Disk sichert alle offenen Daten und Prozesse auf die Festplatte
200
+		bevor der Computer suspendiert wird. Dadurch werden Ihre Daten geschützt,
201
+		wenn Sie den Netzstecker enfernen und die Batterie leer bzw. entfernt wird.
202
+      </para>
203
+    </listitem> 
204
+    <listitem>
205
+      <para>
206
+		Suspend to RAM sichert die Daten in den Hauptspeicher. Dadurch wird das 
207
+		Aufwecken des Computers schneller als bei Suspend to Disk.
208
+      </para>
209
+    </listitem>
210
+    <listitem>
211
+      <para>
212
+		Das Verhalten von Stand-by hängt von Ihrem Gerät ab. Üblicherweise wird 
213
+		der Monitor/ das Display des Gerätes abgeschalten. Die restlichen Geräte
214
+		bleiben dabei aktiviert und alle Daten verbleiben im Hauptspeicher (RAM).
215