|
|
i made a cpu speed menu extra for PBs
|
|
|
|
Forum Regular
Join Date: Feb 2003
Location: Sundsvall, Sweden
Status:
Offline
|
|
it lets you change the processor speed that you normally do in Energy Saver (highest/automatic/reduced)
EDIT:
new version, been a few months since i touched this, but i updated it today, i fixed the lag when opening the menu
btw, could someone with access to a G5 please give this version a try, and tell me if it works or not.
note: only tested on my own 15" 1.25
cpuPerformance-0.6.1b.menu.tar.bz2
Requires MenuCracker or probably Menu Extra Enabler(ive only tested it with MenuCracker)
(
Last edited by ul1984; Apr 23, 2004 at 01:39 AM.
)
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Dec 2002
Status:
Offline
|
|
Hey, that's handy!
Thanks a lot!
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Nov 2002
Location: Barcelona, Spain
Status:
Offline
|
|
Thats great. I always wondered why Apple made us have to go into the preference pane just to change present power management settings (insted of a drop down menu from battery icon). Excellent!
|
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Oct 1999
Location: The Tollbooth Capital of the US
Status:
Offline
|
|
Cool thanks. I'll have to see if this works on my 12 inch. Thanks for the App.
|
"Evil is Powerless If the Good are Unafraid." -Ronald Reagan
Apple and Intel, the dawning of a NEW era.
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jul 2003
Location: North Carolina
Status:
Offline
|
|
Originally posted by ul1984:
(to get it to work on G5 towers i need the output of "pmset -g disk"(run that from in terminal) from a G5 owner)
I'll run that on my G5 when I go home for lunch in a few minutes, and give you the output.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jul 2003
Location: North Carolina
Status:
Offline
|
|
Here you go:
AC Power:
womp 1
dps 1
dim 25
reduce 0
autorestart 0
spindown 0
powerbutton 1
sleep 0
acwake 0
ring 0
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Feb 2003
Location: Missing, presumed fed.
Status:
Offline
|
|
|
Smoke me a kipper, I'll be back for breakfast!
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Nov 2002
Location: Washington, DC
Status:
Offline
|
|
cool, very useful indeed
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Feb 2003
Location: Sundsvall, Sweden
Status:
Offline
|
|
yw everyone, hope it works good, if you find any bugs please tell me about them
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Feb 2003
Location: Sundsvall, Sweden
Status:
Offline
|
|
Originally posted by jasonsRX7:
Here you go:
AC Power:
womp 1
dps 1
dim 25
reduce 0
autorestart 0
spindown 0
powerbutton 1
sleep 0
acwake 0
ring 0
Thanks a lot, ive tried to make it G5 compatible using that data, i have no way of testing it myself tho, so it may not work at all..
if you want to try it: http://w1.605.telia.com/~u60527006/c...-0.4b.menu.zip
note this 0.4 version doesnt add any new features for PowerBook owners
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Dec 2000
Location: Málaga, Spain, Europe, Earth, Solar System
Status:
Offline
|
|
Mmm nice. The icon can be improved though, I think menu extras feel better if they are grayscale.
Also I use a PowerBook G4 12" revision A, and these ones don't use the "Automatic" setting, yet I seem able to select it. It should be greyed out.
And if you can find how to code brightness level (related to energy saver settings), or are you just doing a front end for that command line utility?
Last, but not least interesting, ever thought about releasing this as open source so others (like me) can take a peek and even help on development?
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Feb 2003
Location: Sundsvall, Sweden
Status:
Offline
|
|
Originally posted by eevyl:
Mmm nice. The icon can be improved though, I think menu extras feel better if they are grayscale.
Also I use a PowerBook G4 12" revision A, and these ones don't use the "Automatic" setting, yet I seem able to select it. It should be greyed out.
And if you can find how to code brightness level (related to energy saver settings), or are you just doing a front end for that command line utility?
Last, but not least interesting, ever thought about releasing this as open source so others (like me) can take a peek and even help on development?
Yea the icon isnt too good, but im no icon artist, and i didnt have lots of time, i just wanted to at least have an icon..
hmm didnt know the PB 12 rev A didnt have automatic, as i said its only been tested on my own PowerBook..
i have no idea how to change brightness level, and i reanlly didnt feel there was any need for it either, cus i can change brightness so easy with the brightness keys on my keyboard, and yea its just using that command line utility to make changes..
i could release it as open source, what i need to know first, how does these licenses work, does it need like a GPL license? or could i release it without a license? would suit me best if i could just post the source here directly, lol
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Feb 2003
Location: Sundsvall, Sweden
Status:
Offline
|
|
eevyl, a question about your PowerBook model, if you do a "pmset -g disk"
is it just like this:
Code:
Battery Power:
dps 0
dim 3
reduce 1
autorestart 0
spindown 10
sleep 15
acwake 0
lidwake 1
ring 0
AC Power:
womp 0
dps 0
dim 180
reduce 0
autorestart 0
spindown 0
sleep 0
acwake 0
lidwake 1
ring 0
but without the "dps" lines? dps is the automatic mode
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Jul 2001
Location: Sydney, Australia
Status:
Offline
|
|
Yeah, something to automatically drop my screen brightness to a specified percentage while on battery would rock!
|
You can't eat all those hamburgers, you hear me you ridiculous man?
|
|
|
|
|
|
|
|
Junior Member
Join Date: Feb 2004
Status:
Offline
|
|
Originally posted by ul1984:
i could release it as open source, what i need to know first, how does these licenses work, does it need like a GPL license? or could i release it without a license? would suit me best if i could just post the source here directly, lol [/B]
Here's a good place to start, the Open Source Initiative License page
Depending on what you want done with your code:
In a nutshell, the L/GPL says anybody can do what they want with the source, but if they make any changes they also have to release the source code.
The BSD License says, basically, do what you want with the code, you don't have to release it, but you do have to keep the original author's copyright/information in it. (it's a good one for businesses, just ask Apple )
The biggest determining factor in your case is the type of license the command line utility you're using has (probably GPL or BSD would be my guess).
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Feb 2003
Location: Sundsvall, Sweden
Status:
Offline
|
|
Originally posted by ghotirking:
Here's a good place to start, the Open Source Initiative License page
Depending on what you want done with your code:
In a nutshell, the L/GPL says anybody can do what they want with the source, but if they make any changes they also have to release the source code.
The BSD License says, basically, do what you want with the code, you don't have to release it, but you do have to keep the original author's copyright/information in it. (it's a good one for businesses, just ask Apple )
The biggest determining factor in your case is the type of license the command line utility you're using has (probably GPL or BSD would be my guess).
hmm im not bundling that command line utility with my menu extra, im just running it from within my menuextra, pmset comes with the OS...
|
|
|
|
|
|
|
|
|
Junior Member
Join Date: Feb 2004
Status:
Offline
|
|
Originally posted by ul1984:
hmm im not bundling that command line utility with my menu extra, im just running it from within my menuextra, pmset comes with the OS...
Oh, well, then I guess you can use any license ya want!
Go for something like the L/GPL...that way if somebody improves/changes your code to add functionality, you (and anybody else) can download it and see what they did
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Jan 2001
Status:
Offline
|
|
You should go with a BSD liscence.
|
...happiness is not a fish that you can catch.
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Jan 2001
Status:
Offline
|
|
Question:
why are you switching between consumption modes???
why aren't you just switching between presets made in the energy preference pane?
The latter would be more flexible.. and you could include presets like "slide show" which will prevent the computer to go to shut down the screen after 5 minutes... (this is bad when the projector keeps loosing signal!)
Could you put an entry like: Spin down the HD?
this would be amazing... like the missing menu from apple (it was a control stripe module...)
|
...happiness is not a fish that you can catch.
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Feb 2003
Location: Sundsvall, Sweden
Status:
Offline
|
|
Originally posted by Bouba:
Question:
why are you switching between consumption modes???
why aren't you just switching between presets made in the energy preference pane?
The latter would be more flexible.. and you could include presets like "slide show" which will prevent the computer to go to shut down the screen after 5 minutes... (this is bad when the projector keeps loosing signal!)
Could you put an entry like: Spin down the HD?
this would be amazing... like the missing menu from apple (it was a control stripe module...)
hmm mainly because thats what i needed myself, i never use any presets, the presets arent customizable.
one thing that would be possible, is making like a prefpane where u could create ure own presets, and then those presets would show up in the menu extra.... but thats ALOT of work, compared to this.. the reason i made this was because i found myself switching between highest and reduced pretty often..
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Dec 2000
Location: Málaga, Spain, Europe, Earth, Solar System
Status:
Offline
|
|
Originally posted by ul1984:
hmm mainly because thats what i needed myself, i never use any presets, the presets arent customizable.
one thing that would be possible, is making like a prefpane where u could create ure own presets, and then those presets would show up in the menu extra.... but thats ALOT of work, compared to this.. the reason i made this was because i found myself switching between highest and reduced pretty often..
If I can find out how to set up brightness using code, I will be willing to develop such an app, and if I can get some help, maybe do it Open Source.
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Oct 1999
Status:
Offline
|
|
Why all the excitment over a tool to make your mac run slower? Why not just buy an extra battery and always operate on the highest speed?
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Dec 2002
Status:
Offline
|
|
Originally posted by Podolsky:
Why all the excitment over a tool to make your mac run slower? Why not just buy an extra battery and always operate on the highest speed?
1) We don't want to carry an extra battery.
2) Some powerbooks get hot and run their fans if run constantly at "highest."
3) Some powerbooks' processors make an annoying sizzling noise when run on "highest."
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Nov 2000
Location: nyc til they bury me
Status:
Offline
|
|
Very cool as-is, but a few things i'd like to see:
- user configurable (text) configuration file.
- allow to set/change the menu bar icon when different settings are enabled (configured in the configuration file.
i've already swapped out your icon tif, you should definitely look into a new one, particularly one that isn't copyrighted (assuming it is, just in case).
If you don't mind me asking, what are you writing it in, c++?
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Jan 2004
Location: dirty south
Status:
Offline
|
|
How do you remove the thing from the menu?
|
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status:
Offline
|
|
Originally posted by saranwarp:
How do you remove the thing from the menu?
Command-click on it, hold, and drag it off the menu bar.
|
•
|
|
|
|
|
|
|
|
Junior Member
Join Date: Oct 2003
Location: Boca Raton, Florida
Status:
Offline
|
|
how do I open a zip file?
|
|
|
|
|
|
|
|
|
Junior Member
Join Date: Oct 2003
Location: Boca Raton, Florida
Status:
Offline
|
|
nevermind...I didn't read
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Feb 2003
Location: Sundsvall, Sweden
Status:
Offline
|
|
(
Last edited by ul1984; Apr 20, 2004 at 03:59 AM.
)
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Feb 2003
Location: Sundsvall, Sweden
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Jan 2004
Location: Lawrence, KS
Status:
Offline
|
|
Anyone see if the new powerbooks got the new G4 that can change speeds on the fly.
|
Mr. CaN
|
|
|
|
|
|
|
|
Junior Member
Join Date: May 2001
Location: Bethesda, MD
Status:
Offline
|
|
Cool app, thanks man What is the app to the right of it (the transfer speed thingy) called?
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Mar 2004
Location: Toronto
Status:
Offline
|
|
i accidently installed 3 times, anyone know how to remove them and remove from the menu bar? (right click, delete button wont work)
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Feb 2003
Location: Sundsvall, Sweden
Status:
Offline
|
|
Originally posted by miccocan:
i accidently installed 3 times, anyone know how to remove them and remove from the menu bar? (right click, delete button wont work)
hold down CMD and drag them out of the menubar
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Feb 2003
Location: Sundsvall, Sweden
Status:
Offline
|
|
Originally posted by Mike656:
Cool app, thanks man What is the app to the right of it (the transfer speed thingy) called?
thats MenuMeters
(
Last edited by ul1984; Apr 20, 2004 at 04:33 PM.
)
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Sep 2001
Location: C'dale, IL
Status:
Offline
|
|
very cool menu extra ul1984...
for those not liking the default icon i made a different one that i've been using but sort of looks like a stamp...
download
yes, i realize it doesn't actually resemble a processor all that much but it would look pretty boring otherwise.
feel free to change/redistribute... i really poured my heart into it
oh, btw if you open it in photoshop you'll see some lame badge layovers i was messing around with that you can toggle back on.
to install right-click cpuPerformance.menu > show contents > resources folder > backup icon.tiff (so you can go back when you get sick of the stamp) and drag the new icon.tiff file into this folder.
//carbon
[edit: new icon available below, however i have reuploaded the old version as well]
(
Last edited by CarbonG4; Apr 21, 2004 at 11:28 PM.
)
|
:: Carbon Themes v1.5 ::
|
|
|
|
|
|
|
|
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status:
Offline
|
|
Awesome. I'd been looking for just such a thing!
tooki
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Feb 2003
Location: Sundsvall, Sweden
Status:
Offline
|
|
Originally posted by CarbonG4:
feel free to change/redistribute... i really poured my heart into it
thanks, i like your icon
i will use that from now on
oh, btw if you open it in photoshop you'll see some lame badge layovers i was messing around with that you can toggle back on.
too bad i aint got photoshop
i got a new version now
changes
- carbon's icon
- should detect machines without an automatic mode(like the revAs)
this is the way it should look on a machine without automatic (assuming the detection works)
here's version 0.6b:
cpuPerformance-0.6.1b.menu.tar.bz2
hopefully someone with a revA 12" could test this, and i still need someone with a G5 to test it as well (on a G5 it should no longer act as if it had a battery)
(
Last edited by ul1984; Apr 23, 2004 at 01:40 AM.
)
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Sep 2001
Location: C'dale, IL
Status:
Offline
|
|
heh, i'm honored you included my icon in the actual menu extra... in fact i'm a little embarrassed because it was such a shoddy icon
now knowing that you were actually looking for a replacement i took a couple of extra minutes to make a slightly more realistic looking processor icon if you are interested:
download
if you like it better than the previous one feel free to use it.
//carbon
|
:: Carbon Themes v1.5 ::
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Nov 2002
Status:
Offline
|
|
I like your menu extra. It worked great for me initially. Then I installed MenuMeters. Your menu extra still shows up, but after I try to select a new CPU setting it will revert to the prior setting after a few seconds (energy saver confirms that no change was made).
I tried re-installing both Menu Cracker and your menu extra, restarting, as well as deleting the powermanagement prefs file, but can't get it to wrok again.
Any suggestions?
jmp
PB 12"
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: May 2003
Location: Somewhere
Status:
Offline
|
|
I don't mean any disrespect to the person that created this cool program since it was free but I am getting the same issue. I just downloaded this program out of excitement and installed it and after selecting a different processor setting it reverts back to the original on my REV B 17"PB. Are there bugs in the software?
|
iMac 24" 2.8 Ghz Core 2 Extreme
500GB HDD
4GB Ram
Proud new Owner!
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Feb 2003
Location: Sundsvall, Sweden
Status:
Offline
|
|
I like your menu extra. It worked great for me initially. Then I installed MenuMeters. Your menu extra still shows up, but after I try to select a new CPU setting it will revert to the prior setting after a few seconds (energy saver confirms that no change was made).
I tried re-installing both Menu Cracker and your menu extra, restarting, as well as deleting the powermanagement prefs file, but can't get it to wrok again.
Any suggestions?
I don't mean any disrespect to the person that created this cool program since it was free but I am getting the same issue. I just downloaded this program out of excitement and installed it and after selecting a different processor setting it reverts back to the original on my REV B 17"PB. Are there bugs in the software?
okay thats weird, will be hard to find the bug, what version are you guys running?
(
Last edited by ul1984; Apr 21, 2004 at 10:00 PM.
)
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Nov 2002
Status:
Offline
|
|
OS X 10.3.3
MenuCracker 1.3
MenuMeters 1.1.1
I'm guessing this is probably some sort of permissions issue?
I tried making a new user and re-installing MenuCracker and your cpu speed menu extra using that account. It works fine when logged into that account, but still won't work when logged in under my original user. I did try repairing permissions with disk utility-no effect.
JMP
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: May 2003
Location: Somewhere
Status:
Offline
|
|
I'm using Panther 10.3.3. Clean install.
|
iMac 24" 2.8 Ghz Core 2 Extreme
500GB HDD
4GB Ram
Proud new Owner!
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Feb 2003
Location: Sundsvall, Sweden
Status:
Offline
|
|
Originally posted by jmp998:
OS X 10.3.3
MenuCracker 1.3
MenuMeters 1.1.1
I'm guessing this is probably some sort of permissions issue?
I tried making a new user and re-installing MenuCracker and your cpu speed menu extra using that account. It works fine when logged into that account, but still won't work when logged in under my original user. I did try repairing permissions with disk utility-no effect.
JMP
accually i ment to ask what version of my menu extra you were running, but after what you said now, i guess the bug might not be in my menu extra.
btw one thing you should know, MenuCracker is included in MenuMeters, so if you have MenuMeters installed, maybe it would be a good idea to remove the seperate MenuCracker.
try this
remove MenuCracker and my menu extra. logout and login, then after you confirmed that MenuMeters did load(which means it loaded MenuCracker), redownload my menuextra again, and install it.
who knows, might work
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Feb 2003
Location: Sundsvall, Sweden
Status:
Offline
|
|
Originally posted by hldan:
I'm using Panther 10.3.3. Clean install.
weird, thats the same OS version im using, and i got a PowerBook of the same generation as you, should work...
there's only one thing i can think of, maybe my menuextra requires BSD subsystem as well, do you have the BSD subsystem installed?
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: May 2003
Location: Somewhere
Status:
Offline
|
|
Okay I realized I downloaded the first one that you offered b5. I got rid of it and downloaded b6 with the newer icon and it works great
Only one more question, how do you change the icon to use the one that was posted that looks like a IC chip?
|
iMac 24" 2.8 Ghz Core 2 Extreme
500GB HDD
4GB Ram
Proud new Owner!
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Feb 2003
Location: Sundsvall, Sweden
Status:
Offline
|
|
Originally posted by hldan:
Okay I realized I downloaded the first one that you offered b5. I got rid of it and downloaded b6 with the newer icon and it works great
Only one more question, how do you change the icon to use the one that was posted that looks like a IC chip?
okay good, but b5 should work as well, wierd
to change the icon, right click on my menuextra, and click "Show Package Contents" then a window pops up, double click on the folder "Contents", then double click "Resources", and inside that folder, you'll find the icon, just replace it with the one you want.
then kill SystemUIServer OR logout and login again.
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Nov 2002
Status:
Offline
|
|
I tried deleting all copies, restarting, re-installing. Same problem. I'll post if I figure out what it is.
Like I said, it seems like some permissions issue, because installing a new user fixes the problem. Is there any specific file it accesses to make the change that I might be able to manually adjust the permissions on?
JMP
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: May 2003
Location: Somewhere
Status:
Offline
|
|
Wow that so cool UL. Thanks for that. I wish I knew how to creat cool software like that for the Mac. R U a developer?
|
iMac 24" 2.8 Ghz Core 2 Extreme
500GB HDD
4GB Ram
Proud new Owner!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|