-
 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 (1) .- Knowledge Base  . 

Cpu Frequency Selector Ruby

   2.4  

Plasmoid Script

Score 61%
Cpu Frequency Selector Ruby
zoom


Cpu Frequency Selector Ruby
zoom


Minimum required   KDE 4.x
Downloads:  2715
Submitted:  Nov 4 2008
Updated:  May 2 2010

Description:

"sudo chmod +s /usr/bin/cpufreq-set" Requires KDE 4.2, cpufreq-utils and cpufreq modules. Multi-cpu support. Fits into plasma better. Change CPU governor and frequency. More compatible.

Note:
You can change the UI if you think the default popup ui is ugly.
Check out the examples, Just set the 4 required things (3 listwidgets and 1 label) in the Qt Designer GUI Builder, and set the applets minimum size to something (Required!)




Changelog:

ported to ruby
remove last 3 zeros add Mhz to numbers

Changed interface entirely. Now a button that opens a window, the button displays current cpu speed in mhz, window allows slection of governor or cpu frequency.

Minor interface tweaks

Added Ghz, Made button smaller to fit better on panel, still not perfect in panel, but much better.

More interface changes, can now directly use the output of rbuic4 popupdialog.ui >> ../code/Ui_PopupDialog.rb without modifications
New better UI that scales properly and looks alright. I'm still learning qtdesigner sorry!

Added GPL About dialog - Note, this breaks my rbuic4 compiled file, it's missing a backslash somewhere.

Sorry for all the updates.. made smaller default size of popup dialog

Took me a long time but I figured out how.. Dialog pops up in a smart position now instead of in the corner, yay!

fixed signal on frequency select

Where do I start?
Lots of code cleanup and commenting
Fixed ui compiling by moving gpl about dialog to gpl.rb - requires qlabel called gpllabel
New GUI, looks suspiciously like the old one, but it's not
Code cleanup, lots of comments added
Button removed, now draw text directly to "Applet" - resizes text properly in panel, takes up enough space in panel, fixe all panel related bugs by doing this.
Fixed a potentially nasty core logic bug where if you had "1.65ghz" and "1.6ghz" it would show two but only 1.6ghz would work, or if you had 1.65 ghz only it wouldn't work at all - with a nice map

Just when you think I'm done.. I go and toss in multi-cpu support. Next maybe will be min/max frequencies to go with governor settings as sliders or something

Maintainance: (1) Keep open file pointers to system nodes
(2) X.XXGhz instead of X.XGhz
(3) Use dialog->isVisible to decide hide or not




LicenseGPL
(Cpu Frequency Selector Ruby)
Send to a friend
Subscribe
Other  Apps  from 0xDeadC0de
Report inappropriate content



goto page:  1  2 

-
.

 ruby-cpufreq missing

 
 by gravy on: Nov 29 2008
 
Score 50%

It keeps saying that the package ruby-cpufreq could not be opened. Am I missing any dependencies? (I installed all dependencies you mentioned!) Couldn't find any information about this "package".


Reply to this

-

 Re: ruby-cpufreq missing

 
 by jwistead on: Dec 6 2008
 
Score 50%

I get the same problem. Did you have any luck getting the Python version of Cpu Frequency Selector to work? (it works for me... maybe better luck there?)


Reply to this

-
.

 Dependencies

 
 by 0xDeadC0de on: Dec 18 2008
 
Score 50%

The dependencies should all be listed, the Ruby bindings should all be in the 4.1x tree, the python stuff however is a kde backport to 4.1x tree so it wasn't always there. Doesn't mean every distro included ruby bindings when 4.1x was released, bindings are optional.

Ubuntu supports the python version out of the box, but the python version was buggy for me, buggy bindings. The exact same code in ruby had no bugs with positioning and sometimes not starting after login/logout. (k)Ubuntu version needs the ruby bindings for kde4.1 in place (Listed in the description)


Also, you need to enable the cpu frequency scaling modules with the kernel (It's easy for those who may be scared), hint: /etc/modules and cpufreq


Reply to this

-
.

 Dependencies

 
 by 0xDeadC0de on: Dec 22 2008
 
Score 50%

I don't know what I changed but after uninstalling and reinstalling some packages, all of a sudden the script was erroring saying "mainscript" not found (after installing the plasmoid you can debug it from the command line with plasmoidviewer ruby-cpufreq), I made a couple softlinks and added them to the new release, they solve it for me.
If you do have problems, I and many others would appreciate it if you run it in plasmoidviewer and copy/paste the errors here. I will get around to fixing it.


Reply to this

-

 Re: Dependencies

 
 by dpalacio on: Jan 11 2009
 
Score 50%

A recent change in kdebase broke the ruby plasmoids. You can fix it by reverting the ruby scriptengine package.


Reply to this

-
.

 WARNING

 
 by 0xDeadC0de on: Dec 24 2008
 
Score 50%

*****************************


Warning! I've had reports of this plasmoid package failing to install in KDE 4.2 from get hot new stuff (right click on desktop, add widget, Install new widgets, from internet). If you are one of these cases, please remove the failed installed version, then download the package, then use in a console: plasmapkg -i xxxx-cpufreq.plasmoid
And it should work. Thank you.


******************************


Reply to this

-
.

 Re: WARNING

 
 by 0xDeadC0de on: Dec 26 2008
 
Score 50%

I upgraded to 4.2b2 myself, found out it doesn't actually fail, just says it did. All is fine. Make sure to upgrade to the latest version for all the bugfixes, especially that one giant core bug that made it not work when people selected certain speeds.
If it's a button - it's an old version. Download from here, or GHNS whenever it syncs.


Reply to this

-
.

 Re: Re: WARNING

 
 by 0xDeadC0de on: Dec 26 2008
 
Score 50%

Not entirely true, Updates do seem to fail. Fresh installs seem alright.
To update: in a console type:
cd /tmp/kde-YOURUSERNAME
plasmapkg -r 92573-cpufreq.plasmoid
plasmapkg -i 92573-cpufreq.plasmoid


Reply to this

-

 Kubuntu KDE 4.2

 
 by trickykid on: Jan 29 2009
 
Score 50%

Install from net fails.

plasmapkg -i 92573-cpufreq.plasmoid gives me:
Error: "/var/tmp/kdecache-tommy" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-tommy" is owned by uid 1000 instead of uid 0.


Reply to this

-
.

 Re: Kubuntu KDE 4.2

 
 by 0xDeadC0de on: Feb 14 2009
 
Score 50%

This is very odd, you sure you're not running it as sudo? It shouldn't be installed by root.


Reply to this

-

 Memory Leak

 
 by Gatsu84 on: Feb 18 2009
 
Score 50%

Maybe i have found a bug, but i have to do some other tests. On Kubuntu Intrepid (amd64) the plasmoid works fine, but cause a memory leak, plasma process increase the usage of ram without stopping. I' ve tried to reinstall the plasmoid but nothing change. It' s strange, because i use this plasmoid from the first release, and all the previous version works without this problem... Someone else can confirm this bug?


Reply to this

-

 Re: Memory Leak

 
 by speed47 on: Mar 11 2009
 
Score 50%

Wow, yes, indeed, this plasmoid is causing a major plasma memory leak. Confirmed under KDE 4.2.0 and KDE 4.2.1. The process could hit 1 Gb of used RAM after less than 24 hours of uptime, and never stops eating more RAM until killed by the kernel OOM_Killer.


Reply to this

-
.

 Re: Re: Memory Leak

 
 by 0xDeadC0de on: May 10 2009
 
Score 50%

It's ruby, so there isn't _much_ I can do about a leak, but anyway, there has been yet another port of this plasmoid to C++ (I know - first python, then ruby, and now C++.)

You can find it in playground on kde's svn server, unless they've since moved it.

In C++ I have explicit control over the memory, and there are no problems like this.


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.