253

Tron Inspired Desktop

Posted in Collections by baldrailers 1295 days ago

Tron Inspired Desktop by baldrailers

Enjoy

Comments

User Avatar
meierjo 1269 days ago
Love it!  Thanks for sharing this.

I add the following to my BatteryStatus.glet code - to get the battery stats for my Bluetooth Keyboard (just stole your code and put in the name of the KB object):

kbatt=`ioreg -c AppleBluetoothHIDKeyboard | grep BatteryPercent | tail -1|awk '{print $10}'`;

if [ ${#kbatt} -lt 1 ]; then

echo "Bluetooth Keyboard: disconnected"

else

echo "Bluetooth Keyboard: $kbatt%"

fi
User Avatar
GS_Death 1265 days ago
If i wanted to add the status of my wireless mouse what would i use?
User Avatar
Binary 1189 days ago
Fan temp seems not to work under lion or do I need an extra app?

Edit:
User Avatar
hephaestus042 1183 days ago
What font did you use?
User Avatar
elwesties 1177 days ago
bank-gothic medium
User Avatar
Klutch_bl3ndz 1182 days ago
This is really cool
User Avatar
buddha_li 1181 days ago
cool!!
User Avatar
olivierdeen 1179 days ago
Nice colours!!! Cool, keep on going!
User Avatar
madhatter 1177 days ago
Im' fix the awk and add magic mouse

mbatt=`ioreg -c BNBMouseDevice | grep BatteryPercent | tail -1 | awk -F"=" {'print $2'}`;

if [ ${#mbatt} -lt 1 ]; then

echo "No Mouse Detected"

else

echo "Mouse Battery: $mbatt%"

fi
User Avatar
Samael 1172 days ago
Awesome work baldrailers and thanks also to madhatter for adding the section for Magic Mouse.
User Avatar
DayDream 1166 days ago
I just made an account here to say thanks for this wonderful theme!

You are awesome.
User Avatar
Fleek 1158 days ago
Thanks, this is really awesome. I added a tron themed dock as well as icons to this as well for added effect. I also used a gtwthr script to add to it as well.

http://fleek968.deviantart.com/art/Tron-Mac-Theme-259564367

For anyone who is interested.
User Avatar
baldrailers 1150 days ago
Awesome dock!
User Avatar
Heatsauce 1156 days ago
Use this to hide the menu bar. Looks better,

http://hints.macworld.com/article.php?story=20070118003804854
User Avatar
bgibson72 1152 days ago
Rather than hide the menubar, here is an app that creates a true black menu bar--look for Obsidian here:

There are plenty of resources for changing the menubar icons to white and a system clock replacement called WhiteClock (). Some of them are already included in the Obsidian package, but you can find more at: !
User Avatar
baldrailers 1150 days ago
Thanks guys! I really appreciate your comments!
User Avatar
timsit 1118 days ago
I just set this up and the calendar isn't showing the numbers with the days of the week correctly. I'm running 10.7.2 Any ideas?
User Avatar
michaelaye 1095 days ago
As a thank you I'd like to share a repaired battery status geeklet, the one linked here was calculating non-sense on my Lion system. I choose to calculate 'Health' as percentage of current capacity over design capacity. There you go:

ioreg -l | grep -i capacity | tr '\n' ' | ' | awk '{print ("System Battery:",$10/$5 * 100,"%")}';

osascript -e 'set a to do shell script "ioreg -w0 -l | grep Capacity"' -e "set c to word 5 of a" -e "set d to word 15 of a" -e "set h to round(c*100/d)" -e '"Battery Health: " & h &" %"' | iconv -f utf-8 -t ucs-2-internal;

ioreg -w0 -l | grep "Cycle Count" | awk 'BEGIN { FS = "=" } ; {print $8}' | awk 'BEGIN { FS = "}" } ; {print $1, "Cycles"}';

tbatt=`ioreg -c BNBTrackpadDevice | grep BatteryPercent | tail -1|awk '{print $10}'`;

if [ ${#tbatt} -lt 1 ]; then

echo "Magic Trackpad: disconnected"

else

echo "Magic Trackpad Battery: $tbatt%"

fi

mbatt=`ioreg -c BNBMouseDevice | grep BatteryPercent | tail -1 | awk -F"=" {'print $2'}`;

if [ ${#mbatt} -lt 1 ]; then

echo "No Mouse Detected"

else

echo "Mouse Battery: $mbatt %"

fi
User Avatar
michaelaye 1094 days ago
Hm, realised I don't need osascript to do the second line, and the first still had a calculational bug, I guess this info was once displayed differently by ioreg?

Here now my last version:

ioreg -l | grep -i capacity | tr '\n' ' | ' | awk '{print ("Current Charge:",int($5/$10 * 100),"%")}';

ioreg -l | grep -i capacity | tr '\n' ' | ' | awk '{print ("Battery Health:",int($10/$15 * 100),"%")}';

ioreg -w0 -l | grep "Cycle Count" | awk 'BEGIN { FS = "=" } ; {print $8}' | awk 'BEGIN { FS = "}" } ; {print $1, "Cycles"}';

tbatt=`ioreg -c BNBTrackpadDevice | grep BatteryPercent | tail -1|awk '{print $10}'`;

if [ ${#tbatt} -lt 1 ]; then

echo "Magic Trackpad: disconnected"

else

echo "Magic Trackpad Battery: $tbatt%"

fi

mbatt=`ioreg -c BNBMouseDevice | grep BatteryPercent | tail -1 | awk -F"=" {'print $2'}`;

if [ ${#mbatt} -lt 1 ]; then

echo "No Mouse Detected"

else

echo "Mouse Battery: $mbatt %"

fi
User Avatar
jlippiner 1085 days ago
These are fantastic but I'm noticing that the GeekTool Helper seems to take up double digit CPU and memory. Are you noticing this also and, if so, what is causing this? Does GeekTool really require that much mem and CPU or is it simply the shell command that causes that output?
User Avatar
djqbnzq 1071 days ago
Figured out how to modify the script to allow for temp in F instead of C.

- modify the letter c in the code and sub the letter f in the obvious positions. Next you need to visit the Yahoo weather page and find your local city. Find the city code number, and save this info. In the new code, replace the w= area with your own city number you looked up from Yahoo weather. For example, I live in Seattle so my Yahoo city will now become w=2490383
User Avatar
justperry 1031 days ago
Nocturne and hiding the Menubar as Heatsauce pointed Us towards with a link does NOT work well together.

If I use Nocturne to darken the MenuBar and then set the Info.Plist in Finder to:

LSUIPresentationMode

4

(The above does not show up right but look in link for compleet command.)

does not work and get strange side effect, Sadly:(

Thanks for the link though, I wanted to hide the MenuBar for a long time.

Sadly it should be possible to Toggle easily and systemwide.

The tron Desktop is nice for a while but I prefer others.
User Avatar
DeinHeinz 1011 days ago
thx for all
User Avatar
reinler 1005 days ago
Can't seem to get the fan info temperature working. Can anyone help me?
User Avatar
hireph89 1004 days ago
i don't know why! but it's doesn't works! what apps should i use?
User Avatar
mahclark 896 days ago
realistic! :)
User Avatar
mahclark 875 days ago
I really want to submit a desktop but I need to vote 5 times,

how do you vote???
User Avatar
sabatica 828 days ago
Excellent the best so far
User Avatar
sabatica 828 days ago
Absolutely love this one
User Avatar
macpuddle 813 days ago
ok so loaded this up but cant seem to get the .glet next to the calendar to load the one with the CPU temps.

also is there a network code for internal, external ip address and net usage ?
User Avatar
Shadowlows 786 days ago
love it
User Avatar
hernanchodiaz 775 days ago
super
User Avatar
TylerAllen86 770 days ago
Nice!
User Avatar
erfin300 763 days ago
wow ...it so nice inter face and easy to copy :D

love it ...wait for another desktop costumize
User Avatar
michaelkevin89 666 days ago
nice one...........
User Avatar
bravosierra 580 days ago
wowww
User Avatar
jeckleentailor 492 days ago
thanks
User Avatar
olyuriel 489 days ago
Nice!!!!
User Avatar
captkras 440 days ago
Great Theme!

To get the fan-temp you need to use the

http://www.macosxtips.co.uk/geeklets/system/fans-temperature-monitor-geeklet-1/

Specifically the

http://www.macosxtips.co.uk/geeklets/modules/upload/attachments/fans_tempsMonitor_exec.glet

Per the author....

Because of the limitation of attachment, I renamed this file extension to glet. So, please download it to your home folder (~/) and then first modify the file extension to .tar.gz and double click it to unarchive. The executable file in fanstempsMonitorexe is named .fans_tempsMonitor (this means this is a invisible file by default), so when you unarchive it, you cannot find it in Finder (you can find it in Terminal command: ls -al ~/).
User Avatar
gjavot 390 days ago
Very nice !

I've tryed and looks amazing
User Avatar
Satya1 339 days ago
fine
User Avatar
keyelle 301 days ago
cool
User Avatar
shakes268 298 days ago
I'm new to GeekTool - is there any way to keep a layout consistent between monitors? I have a macbook pro but when I attach it to an external display everything is off. I've tried different groups as well.

Any advice?
User Avatar
powerastroguru 267 days ago
great blog http://vashikaranamantra.com
User Avatar
zaqky 254 days ago
This is fantastic, thank you.

The only thing is that the Calendar does not highlight the day if it is a 2-digit number on sunday. This is because it searches for a leading space with the number. A quick fix for this is to have awk put 1 space at the start of each line before the sed.

Here is what I changed it to.

cal | awk '{sub(/^/," ");print}' | sed -E '1,$'"s/ ($(date +%e))( |$)/ $(echo '\033[1;32m')\1$(echo '\033[0m')\2/"
User Avatar
Lev2202 224 days ago
i really like this one
User Avatar
jerrychenglei 162 days ago
Awesome thanks!!! that's cool

Log in to comment or register here.