-
 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:  2717
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: prev   1  2 

-

 Ruby bindings bug

 
 by pyra on: May 2 2010
 
Score 50%

Hi, i try to write my own plasmoid on ruby, bu i have a big bug with gc:

Thread 1 (Thread 0x7f4f151b87a0 (LWP 4963)):
[KCrash Handler]
#5 0x0000000000000021 in ?? ()
#6 0x00007f4ef2da499e in ?? () from /usr/lib/libsmokeqtgui.so.3
#7 0x00007f4ef877e36e in smokeruby_free(void*) () from /usr/lib/libqtruby4shared.so.2
#8 0x00007f4ef8e95ed3 in ?? () from /usr/lib/libruby1.8.so.1.8
#9 0x00007f4ef8e95efe in ?? () from /usr/lib/libruby1.8.so.1.8
#10 0x00007f4ef8e95f62 in rb_gc_finalize_deferred () from /usr/lib/libruby1.8.so.1.8
#11 0x00007f4ef8e855d0 in rb_thread_schedule () from /usr/lib/libruby1.8.so.1.8

Does anyone here know what is it? And how i can come over this bug in my plasmoid?

This happens while disposing graphics widgets.

I really cry :( Sorry for my english.


Reply to this

-
.

 Error

 
 by nukru on: May 13 2010
 
Score 50%

hi!

I use archlinux 64b

when I try launch it, i have this error:

lasmoidviewer ruby-cpufreq
RubyAppletScript::Applet#init mainScript: /home/****/.kde4/share/apps/plasma/plasmoids/ruby-cpufreq/contents/code/main.rb
RubyAppletScript::Applet#init instantiating: RubyCpufreq::Main
/usr/share/apps/plasma_scriptengine_ruby/applet.rb:90:in `method_missing': undefined method `kindof?' for #<Qt::SizeF:0x000000014eed40 width=126,000000, height=26,000000> (NoMethodError)
/usr/share/apps/plasma_scriptengine_ruby/applet.rb:90:in `resize'
/home/****/.kde4/share/apps/plasma/plasmoids/ruby-cpufreq/contents/code/main.rb:132:in `init'
/usr/share/apps/plasma_scriptengine_ruby/applet.rb:183:in `init'


and in the plasmoid puts "Script initialization failed"

thanks


Reply to this

-

 Re: Error

 
 by Desdenova88 on: Aug 18 2010
 
Score 50%

Same problem here, Arch Linux 64 bit, too.


Reply to this

-
.

 Re: Error

 
 by gravy on: Jun 24 2011
 
Score 63%

Had the same error on kubuntu 11.04
Commenting out lines 132 and 206 on /.kde/share/apps/plasma/plasmoids/ruby-cpufreq/contents/code/main.rb fixed the issue.


Reply to this

-
.

 Re: Re: Error

 
 by DesireRebound on: Jan 25 2013
 
Score 50%

Thanks a lot, that solved my problem!!


Reply to this

-
.

 cpufreq ruby plasmoid broken

 
 by hipsterical on: Feb 19 2011
 
Score 50%

i tried both ruby and non-ruby version and both, to say it plain, suck like s#|t.. the ruby widget complains about being unable to start the ruby script engine, the non-ruby one whines for the lack of some package plasma-cpufreq that i can't find anywhere. so much for the excellent kpowersave and generally speaking kde3. looks like libkorundum is conflicting over /usr/lib/ruby/1.8/x86_64-linux/korundum4.so also present in libkde4-ruby1.8 4:4.5.90-0ubuntu1~maverick1~ppa2 . oh, i have kubuntu maverick 64.


Reply to this

-
.

 openSUSE 11.4 KDE4.6

 
 by MartinKN on: Mar 15 2011
 
Score 50%

same here ... Ruby Plasmoid says "Dieses Objekt kann aus folgendem Grund nicht erstellt werden: Script-Initialisierung fehlgeschlagen"

"Was nun tun sprach Zeus?" ... oder war es so ähnlich?

Leider beschränken sich meine Ruby Kenntnisse aufs starten von Ruby Programmen ;-)


Reply to this

goto page: prev   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.