![]() Saved that script in /usr/bin/ as "Battery.perl" (to get to usr/bin I did terminal > "open /usr/bin"Ģ. Maybe I did something wrong, but here's what I did:ġ. Someone gave me a perl script I could use, but for some reason, I can't get it working on my system: I can't seem to figure out where to get this from, or even how the actual OS does it. My problem is I want a time remaining indicator, just like the status bar shows. I've found Geektool scripts that show the percentage left or even the remaining mAh left (which I believe is just taken from system_profilier via just the battery info and grep). Users/test/Library/Saved Application State//windows.So I've been using Geektool for some time to display the time and date on my desktop, but recently-in my effort to de-clutter the status bar, I wish to put battery information on my desktop somewhere. Users/test/Library/Saved Application State//data.data Users/test/Library/Saved Application State//window_1.data private/var/db/dyld/dyld_shared_cache_x86_64h System/Library/Frameworks/amework/Versions/A/Frameworks/amework/Versions/A/Resources/English.lproj/Localized.rsrc System/Library/Frameworks/amework/Versions/A/Frameworks/amework/Versions/A/Resources/HIToolbox.rsrc private/var/db/mds/messages/501/se_SecurityMessages System/Library/Frameworks/amework/Versions/C/Resources/Assets.car Users/test/Desktop/GeekTool.app/Contents/PlugIns/GeekTool.prefPane/Contents/Resources/GeekTool Helper.app/Contents/PlugIns/Shell.bundle/Contents/MacOS/Shell Users/test/Desktop/GeekTool.app/Contents/PlugIns/GeekTool.prefPane/Contents/Resources/GeekTool Helper.app/Contents/PlugIns/Image.bundle/Contents/MacOS/Image Users/test/Desktop/GeekTool.app/Contents/PlugIns/GeekTool.prefPane/Contents/Resources/GeekTool Helper.app/Contents/PlugIns/HTML.bundle/Contents/MacOS/HTML Users/test/Desktop/GeekTool.app/Contents/PlugIns/GeekTool.prefPane/Contents/Resources/GeekTool Helper.app/Contents/PlugIns/File.bundle/Contents/MacOS/File Users/test/Desktop/GeekTool.app/Contents/PlugIns/GeekTool.prefPane/Contents/Frameworks/amework/Versions/A/Geeklet System/Library/Keyboard Layouts/AppleKeyboardLayouts.bundle/Contents/Resources/AppleKeyboardLayouts-L.dat System/Library/Frameworks/amework/Versions/A/Frameworks/amework/Versions/A/Resources/Extras2.rsrc System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/Assets.car System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/SystemAppearance.car Users/test/Desktop/GeekTool.app/Contents/PlugIns/GeekTool.prefPane/Contents/MacOS/GeekTool Library/Application Support/CrashReporter/SubmitDiagInfo.domains Users/test/Desktop/GeekTool.app/Contents/PlugIns/GeekTool.prefPane/Contents/Resources/delete.tif Users/test/Desktop/GeekTool.app/Contents/PlugIns/GeekTool.prefPane/Contents/Resources/add.tif This should cause a new Geeklet to pop up your desktop, likely with the same text styling that we used in the previous step. System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/VibrantLightAppearance.car As it launches, you should see a little window pop up that shows you the code that you're about to run and asks your permission to proceed. Users/test/Desktop/GeekTool.app/Contents/Frameworks/amework/Versions/A/Frameworks/amework/Versions/A/Frameworks/amework/Versions/A/CrashReporter Users/test/Desktop/GeekTool.app/Contents/Frameworks/amework/Versions/A/Frameworks/amework/Versions/A/DevMateIssuesReporter Users/test/Desktop/GeekTool.app/Contents/Frameworks/amework/Versions/A/DevMateKit Users/test/Desktop/GeekTool.app/Contents/MacOS/GeekTool
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |