-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (4) .- Knowledge Base  . 

Wattson

   1.0-beta  

Plasmoid Binary

Score 69%
Wattson
zoom


Wattson
zoom


Wattson
zoom


Depends on  KDE 4.x
Downloads:  282
Submitted:  Jul 2 2010
Updated:  Nov 13 2011

Description:

This is a plasmoid for viewing power used by laptop. Now configurable




Changelog:

** Version 1.0 beta **
Using upower now.
Can accept format strings
No more ticks. Gets notified by upower
- Needs more testing
** Version 0.3 **
Handles dark themes.
** Version 0.2 **
Added confuguration for Device and Ticks




LicenseGPL
Source(Wattson 1.0-beta Source)
Source(Wattson 0.3)
Send to a friend
Subscribe
Other  Apps  from admiral0
Report inappropriate content



goto page:  1  2 

-

 Building and installation

 
 by admiral0 on: Jul 2 2010
 
Score 50%

tar xzvf wattson*.tar.gz
cd wattson*
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=~/.kde4/
make
make install
kbuildsycoca4


admiral0
Reply to this

-

 doesn't work

 
 by lordlukas on: Jul 2 2010
 
Score 50%

In kubuntu the installation goes fine but then the plasmoid isn't there.

I think there are some problems with the address of the installed files


Reply to this

-
.

 Re: doesn't work

 
 by admiral0 on: Jul 2 2010
 
Score 50%

Did you try to restart plasma?
Could you do a "ls ~/.kde*"?


admiral0
Reply to this

-

 Re: Re: doesn't work

 
 by lordlukas on: Jul 2 2010
 
Score 50%

yes I tried. Also your previous mail is wrong, because it assumes that kde directory is kde4. I did that and it created .kde4 Your README files states

cmake -DCMAKE_INSTALL_PREFIX=$KDEDIRS ..

that should be right, but again wattson doesn't appear into the plasmoids.


Reply to this

-

 Re: Re: Re: doesn't work

 
 by admiral0 on: Jul 2 2010
 
Score 50%

Did you verify that $KDEDIRS is set?
Delete .kde4 then.
Try with either $KDEDIR (unlikely) or ~/.kde

You have also eyes to see where is your kde conf dir in home :P


admiral0
Reply to this

-

 Re: Re: Re: Re: doesn't work

 
 by lordlukas on: Jul 2 2010
 
Score 50%

yes, yes, yes.

And it isn't in the installed plasmoids, neither in .kde directory.


Reply to this

-

 Re: Re: Re: Re: Re: doesn't work

 
 by lordlukas on: Jul 2 2010
 
Score 50%

system wide works, I suggest to change the README


Reply to this

-
.

 Install system wide

 
 by admiral0 on: Jul 2 2010
 
Score 50%

You can also install system wide:

tar xzvf wattson*.tar.gz
cd wattson*
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
sudo make install
kbuildsycoca4

(restart plasma)


admiral0
Reply to this

-

 Consumption for all batteries

 
 by cpttom on: Jul 2 2010
 
Score 50%

I made a small change, so it will show the current consumption for all batteries. One number for each battery.

You can fint the changes here: http://linux-ecke.de/wattson_new.tar.gz


Reply to this

-

 Re: Consumption for all batteries

 
 by admiral0 on: Jul 2 2010
 
Score 50%

There are not only batteries there. There are also AC plugs...

I find it more useful to make BAT? choice intelligent and choose update time(currently @ 7secs)


admiral0
Reply to this

-

 Re: Re: Consumption for all batteries

 
 by cpttom on: Jul 2 2010
 
Score 50%

It is your plasmoid. To whatever you like to do.

I made theese changes, because i do not have BAT1 (bu BAT0). So i made it more intelligent and shoe every battery.


Reply to this

-

 Installation instructions

 
 by joth666 on: Jul 3 2010
 
Score 63%

Some, I hope, useful hints in how to install the plasmoid (feel free to add them to the README file).

First, and most important, the local and system-wide
instructions are identical.

Systemwide should look like this:

cd /where/you/downloaded_the_archive
tar -xvf 126981-wattson.tar.bz2
cd wattson
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=release ../
make
sudo make install
kbuildsycoca4 --noincremental

Local like this:

cd /where/you/downloaded_the_archive
tar -xvf 126981-wattson.tar.bz2
cd wattson
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` -DCMAKE_BUILD_TYPE=release ../
make
make install
kbuildsycoca4 --noincremental

That way it doesn't matter where KDE is installed (say /usr or /opt for example) or whether the directory is called .kde or .kde4.

Restarting plasma should not be necessary (wasn't for me). And in cases when it might be, it should be done like this:

kquitapp plasma-desktop in newer versions, 4.4 at least and possibly even 4.3 (can't remember), rather than kquitapp plasma (which, indeed, is what it should be like in 4.2)


Reply to this

-

 Command Watch

 
 by gravy on: Jul 3 2010
 
Score 50%

Nice way how to implement this and many other simple info is the applet Command Watch

http://kde-look.org/content/show.php/Command+Watch?content=84523

For example if you want to see the discharging power and temperature use this script

#!/bin/sh

T=`cat /proc/acpi/thermal_zone/THRM/temperature | awk '{print $2}'`

A=`cat /sys/class/power_supply/BAT1/current_now`
B=`cat /sys/class/power_supply/BAT1/voltage_now`
sleep 1
#echo $A $B
A=$A+`cat /sys/class/power_supply/BAT1/current_now`
B=$B+`cat /sys/class/power_supply/BAT1/voltage_now`
sleep 1
#echo $A $B
A=$A+`cat /sys/class/power_supply/BAT1/current_now`
B=$B+`cat /sys/class/power_supply/BAT1/voltage_now`
A=`echo $A | bc`
B=`echo $B | bc`
#echo $A $B

if cat /sys/class/power_supply/BAT1/status | grep Full > /dev/null
then C=""
else
if cat /proc/acpi/battery/BAT1/state | grep discharging > /dev/null
then C="-"
else C="+"
fi
fi
echo -e $T C \\t \\t $C`echo $A*$B/9000000000000 | bc ` W


Reply to this

-

 Re: Command Watch

 
 by admiral0 on: Jul 3 2010
 
Score 50%

Command Watch bothers [ba]sh, and that's not optimal for a laptop. Why do you think i didn't do a scripted plasmoid :) ?

Anyway, i'll consider adding Temperature info and coloured output.


admiral0
Reply to this

goto page:  1  2 

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.