My August Desktop
Google Analytics via OAuth 2.0 (Daily visits)
If you run a Website and want to view your Google Analytics information on your Desktop, you might enjoy this one. The basic setup just queries the daily visits, but you can script it to show whatever you like.
Minimalistically flat- V2.2
Minimalistic Glassy Info
Current Version - 2.2
//Features
Scroll down to find all these.
-System-wide Icon Overhaul
-Digital Clock
-Horizontal/Vertical Calendar
-Spotify/iTunes now playing
-CPU Usage meter
-Battery life and health meter
-Disk space meter
Changelog
V2.2
- Changed layout for theme. Available in both minimal and complication.
V2.1p2
-Swapped out calendar for another calendar. (I do not think i can talk about it here but it is a widget for another geektool-like application) -Transparent dock -Edited the background "glass" to a darker version.
V2.1
-Used new icons for applications and system icons. -Did some cleanup.
V2.0
-The top menu bar does not have the menu bar shadow anymore. This is a little tweak by creating a blurred glow near to the top on any wallpaper, cancelling the shadow out. Its now officially "flat". -Used new applications. -Redesigned UI -Read all things below for more information
Links to dock and application icons
//Normal dock/application Icons
The icons are based on flat design. Icons can be changed easily using applications such as liteIcon and similar applications. The icons i used are from the dynamic collection and are available here and are by ccard3. Please do use the template by him for applications not included in his pack. http://www.ccard3.com/icons.html
//Icons for professional applications
For those who use professional applications like autodesk products such as Maya, Smoke, Softimage, 3dsMax, (i know i do) and professional applications from the foundry, this guy has some of the best icons out there. Although i like it, it did not fit me so i used the icons and tweaked to my liking such as masking the icon into a circle, removing the words. Its a great one so i suggest for those who use them, go get it.
http://cryptoworks.deviantart.com/art/Modern-UI-25-Icons-for-Professional-Media-Programs-381053423
Links to scripts and applications
//Alfred 2
It offers similar function as the spotlight in OSX Yosemite. Just a way to quickly launch apps, find folders and that sort of things. Helps simplify your OSX experience. http://www.alfredapp.com
//Bartender
Bartender is great especially if you have many many things on the menu bar. This will give you a cleaner and space- saving menu bar. A neat tool to have. Its available over at http://www.macbartender.com
//Menu Bar
With YOSEMITE, you do NOT need to modify system files. Just simply change it via system preferences. But if you are still running an OLD version of OS X, check out the obsidian menu bar which is available over here at http://www.obsidianmenubar.com
//Spotify Info
The info at the top left is the "Spotify now Playing" geeklet. It is an absolute great and simple Spotify song info out there (well for me that is). It is available over at http://www.macosxtips.co.uk/geeklets/music/spotify-now-playing/
//System Info (CPU, RAM, Batt, Disk Cap)
The info shows in a few lines and its clean. It could be replaced with circle indicators but anyway it can be downloaded there: http://www.macosxtips.co.uk/geeklets/system/system-information/
//Date and Time
Its Simple. Shows the current date and time. Modified it a little bit (placements) http://www.macosxtips.co.uk/geeklets/productivity/desktop-date-time-1/
An alternate version (the round clock and the colourful line calendar) is available through uberschist as seen in the third screen shot. Uberschist is available here: http://tracesof.net/uebersicht/
//Vertical calendar
The calendar is modified version with me translating the Thai characters to English (the public holidays). Over here, http://www.macosxtips.co.uk/geeklets/internet/minimal-geeklet/ , you can download his desktop's geeklets as a whole but i only choose the calendar. Easy on the eyes.
//Dock
The dock is done using cDock, a great tool for customising your dock (free). Although it does not have the blur functionality at the moment, its just spectacular.
//Alternative versions.
Ecma has his own desktop design based on this. Go check out his desktop. While mine is a more of a dark-ish theme, his is more of a "light" theme. Go check it out here
Wunderground.com: Weather for your current location
Many of you know that www.wunderground.com provides highly accurate weather information. It has not been so well-known in term of geeklets. The Geektool cannot get images from the website because the website uses SVG format for its weather icons.
However, Geektool can get current location from the website. It means that in stead of only sticking with weather information of your location Geektool will display such of any place you travel to. It is exactly like weather applications on smartphones.
These geeklets are tested and worked smoothly on my computer running Mac OS X 10.9.4 Mavericks. I do not have lower versions of Mac OS X to test. Please follow strickly my guides and hope that it works on your computers :-)
Part One: Testing commands.
Step 1: Open Terminal on your computer.
Step 2: Open the website http://www.wunderground.com and see your location displayed on it (e.g. in my case, it is Ha Noi - the capital of Viet Nam).
Step 3: Copy the follow command: curl -s 'http://www.wunderground.com' | grep -E 'cgi-bin/findweather' | sed -n '8p' | awk -F '>' '{print $2}' | sed 's/<\/a//'
and paste in your Terminal and press Return. If the command does not return anything, try to replace ‘>’ (greater than) in the command by ‘>’
. If the command returns something, compare it with the location displayed on the website. E.g. in my case, the command returns ‘Ha Noi’ which is exactly similar to the location displayed on the website.
Step 4: Copy the follow command: curl -s 'http://www.wunderground.com' | grep 'hpIcon' | awk -F '=' '{print $4}' | sed 's/"//' | sed 's/" class//'
and paste in your Terminal and press Return. If the command does not return anything, try to replace ‘>’ (greater than) in the command by ‘>’
. If the command returns something, compare it with the weather condition displayed on the website.
Step 5: Copy the follow command: curl -s 'http://www.wunderground.com' | grep 'wx-value' | sed -n '1p' | awk -F '>' '{print $2}' | sed 's/<\/span//' | awk '{print $0"°C"}'
and paste in your Terminal and press Return. If the command does not return anything, try to replace ‘>’ (greater than) in the command by ‘>'
. If the command returns something, compare it with the current temperature displayed on the website.
Step 6: Copy the follow command: curl -s 'http://www.wunderground.com' | grep 'wx-value' | sed -n '2p' | awk -F '>' '{print $2}' | sed 's/<\/span//' | awk '{print "Feel like "$0"°C"}'
and paste in your Terminal and press Return. If the command does not return anything, try to replace ‘>’ (greater than) in the command by ‘>’
. If the command returns something, compare it with the ‘feel like’ temperature displayed on the website.
Step 7: Copy the follow command: curl -s 'http://www.wunderground.com' | grep 'wx-value' | sed -n '3p' | awk -F '>' '{print $2}' | sed 's/<\/span//' | awk '{print "Hi "$0"°C"}'; curl -s 'http://www.wunderground.com' | grep 'wx-value' | sed -n '4p' | awk -F '>' '{print $2}' | sed 's/<\/span//' | awk '{print "Lo "$0"°C"}'
and paste in your Terminal and press Return. If the command does not return anything, try to replace ‘>’ (greater than) in the command by ‘>’
. If the command returns something, compare it with the ‘Hi Lo’ temperature displayed on the website.
Please be advised that if all the commands return results it means that geeklets can work well on your computer. Now turn to Part Two if you want to do it yourselves or Part Four for easier way. But if the commands does not run, these geeklets cannot work. Poor you !!! Turn to Part Three: Diagnosing errors
Part Two: Turning commands to geeklets
Step 1: Open Geektool and you will see a windows with three icons (File, Image and Shell).
Step 2: Left-click and hold your mouse on Shell and drag it to your desktop. Properties windows will appear.
Step 3: Copy commands tested and run in Part One and paste in Command Box on Shell Properties windows. Input ‘600’ for ‘Refresh every’ just under Command Box on Properties. You will see the results displayed on your desktop.
Step 4: Click on “click here to set font and colors” to change font type and colors.
Part Three: Diagnosing errors
If the command cannot run on your computer, please try to run it part by part as follow. I will take this command: curl -s 'http://www.wunderground.com' | grep -E 'cgi-bin/findweather' | sed -n '8p' | awk -F '>' '{print $2}' | sed 's/<\/a//' as an example.
Step 1: Run the first part of command as follow: curl -s 'http://www.wunderground.com'
=> Any result or not? If yes, follow next step. If not, sorry computer is not compatible.
Step 2: Run the second part of the command:
curl -s 'http://www.wunderground.com' | grep -E 'cgi-bin/findweather'
=> Any result or not? If yes, follow next step.
Step 3: Run the third part of the command:
curl -s 'http://www.wunderground.com' | grep -E 'cgi-bin/findweather' | sed -n '8p'
=> Any result or not? If yes, follow next step.
Step 4: Run the next part of the command:
curl -s 'http://www.wunderground.com' | grep -E 'cgi-bin/findweather' | sed -n '8p' | awk -F '>' '{print $2}'
=> Any result or not? If yes, follow next step. If not, try to replace ‘>” (greater than) by in the command by ‘>’.
Step 5: Run the next part of the command:
curl -s 'http://www.wunderground.com' | grep -E 'cgi-bin/findweather' | sed -n '8p' | awk -F '>' '{print $2}' | sed 's/<\/a//'
=> Any result or not? If yes, follow next step.
Part Four: Adding complete geeklets to you
I also attach complete geeklets here. If you test and find out all commands work in Part One, you can use these complete geeklets on your computer. Follow here:
Step 1: Download all attached geeklets to your computers.
Step 2: Double click on each geeklets. A pop-up appears and select Yes. Geeklet will appear on your desktop.
Minimalistic Blurred Desktop v 2.3* NEW WEATHER IMAGE!
New Desktop!
This one features:
-Calendar (Vertical, Shows Current Date)
-Date (Day, Month, Week, and Year)
-Time (Hour, Minute, and Second 12 hour)
-Weather (Fahrenheit)
-Weather Forecast
-Weather Image
-Music (Bowtie, Boptie Theme)
-Music (Spotify music info)
-Alfred (ModernGlassware by Viztor theme)
-Wallpaper (2 differnt blurred wallpapers download below)
Steps:
Download wallpaper (Wave or Galaxy Blur below) and "set as desktop background"
Download geeklet files and open them.
Set up and position.
Weather:
open and position
Get your weather code from Yahooweather.com URL (Numbers ex: 2438841).
paste your code where it says "WEATHERCODE" in the geeklet.
Weather Forecast and Image: Get Better Instructions Here
Download weather forecast geeklet and weather image geelet below.
Go to https://uk.weather.yahoo.com/ and search for your location.
Copy URL and paste under yahoourl in script. also copy 8 number code after URL to Location in script. 1st line F fahrenheit and C for Celsius.
4.Weather image: open weather image geeklet and set path to documents folder. There should be an image now.
Set 83% opacity for transparent effect.
If you don't want the weather forecast, just set the geeklet to 0% opacity under color.
*note: The weather forecast is necessary for the weather image.
Other Features:
cDock used to "get rid" of dock.
Litecon to change icons to blurred icons from: Here Here and Here
Bowtie for the song title, author, and album (for use with iTunes)
Spotify Music info Geeklet (for use with Spotify)
Alfred v2 ModernGlassware by Viztor theme. Note: you must have purchased a power pack to use themes
Finally all credit goes to: elviskasonlin check out his desktop Here
Changelog:
2.1
Included Alfred v2
Included 2 blurred wallpapers
Other minor fixes
2.2
- Added a Spotify geeklet that shows song info
2.3
Weather icon
Weather Forcast
If you have any questions ask in the comments!
Yahoo Weather (Sep 2014) - multi units, bugfixes
This is an updated version of YahooWeather widget posted earlier by lem2405 (http://www.macosxtips.co.uk/geeklets/weather/yahoo-weather-updated/)
Changes
- location changes are now easier as all settings are in first couple lines
- fixed bug where first line of weather forecast wasn't printed properly if description included / in text (number was printed instead)
- fixed bug where printed lows and highs were not aligned when one temperature was single and other double digit
Installation instructions
WeatherForecast geeklet
This widget is responsible for displaying weather forecast and downloading image icon. This is how to install it
- Go to https://uk.weather.yahoo.com/ and search for your location and open it.
- Copy current URL from your browser and replace
YAHOOURL
inline 3
. Ensure that it points tohttps://uk.weather.com/...
, and not justhttps://weather.yahoo.com/...
as this will not work. - Replace
LOCATION
variable with the 8 location number that shows up when you search for your city. For London it's24875646
- (Optional) Change units in first line.
- (Optional) Change the image path in
line 7
if you want to store image somewhere else.
WeatherImage geeklet
- After installation, change path to the image. If you didn't change default image path for
WeatherForecast
geeklet, then it will be/Users/YOURUSERNAME/Documents/.currentweather.png
JSS System Admin's Desktop
Details here
Scripting to get background images from reddit Earthporn, etc.
I created this to use in conjunction with Geektool to periodically scrape awesome images from the SWFporn multireddit and display them on the background.
Hermes Now Playing Information w/ Album Artwork (fixed v1.2.2)
Show what's playing in Hermes on your desktop.
If you don't want the Album Artwork, simply don't load the HermesAlbumArt geeklet. The Hermes geeklet uses AppleScript to update the image of the first Image geeklet named "HermesAlbumArt". Pretty straight forward stuff.
NOTE: Credit goes to tresni for originally submitting this.
My Current Desktop (Collection of Geeklets)
This is my collection of Geeklets right now. I take credit for only a few of these.
Corresponding Reddit post:
/r/GeekTool - My Current Desktop (Collection of Geeklets)
/r/Desktops - My Current Desktop (Collection of Geeklets) [x-post from /r/GeekTool]
Colorized Stock Viewer, Version 2
Cleaned-up Colorized Stock Viewer (http://www.macosxtips.co.uk/geeklets/productivity/colorized-stock-viewer/), added capability to easily add stock tickers and customize stock names. Also put in trap for invalid stock items on Yahoo (such as ^DJI). Uses Google for real time quotes and Yahoo for 15 min delayed quotes. No change is green instead of red.
Enjoy!
National Geographic Photo of the Day Desktop
National Geographic publishes photo of the day. These are amazing pictures with the option to download as wallpapers.
This geeklet automates this process to get this setup everyday automatically.
You can clearly add on more things. I chose to keep it simple so that I can enjoy the images.
Steps:
- create a folder to hold your files.
>
mkdir -pv ~/Pictures/NG_PoD/
Create a text file in the directory, and rename to NG_PoD.sh, and paste the script in the text file attached. Make sure it is an executable
chmod 755 NG_PoD.sh
.create a shell geeklet, and point to the .sh file
~/Pictures/NG_PoD/NG_PoD.sh
. Set refresh to every 21600-43200 seconds (6-12 hours). [Note: my desktop is 1440 by 900. You can adjust the image size downloaded within the .sh
Tips
- Will work on different resolutions.
- ignore temp files.
- internet connection is necessary.
- set your desktop image to a flat color so that the toolbar looks fine.
- I would add text in white (as in the image) with some transparency, since each day is a surprise.
Ferrari F12 Berlinetta
Idea credit goes to Inatel. (Initial page: http://www.macosxtips.co.uk/geeklets/images/ferrari-f12-berlinetta-beautiful-car/)
I have expanded on this. Please ask any questions, give opinions and make suggestions and tips. Please ask for and geeklet scripts.
The font is Aliquam
Gmail with Sender, Title and Count using Keychain 2014
New version 2014-11-02
Parts recoded
Original Version:
This is a modification of the following scripts:
Mail Count in Gmail Inbox (Using Keychain) by mosius -Here i used the keychain part << recode
Gmail Sender's E-mail over Subject line by indeeditis, which is already a modified script from << recode
Gmail Unread - Title and summary from ross314pi Here i added some optical and informational code. << recode I merged them to one.
There were two problems in the original scripts: The replacement for @ with %40 did not worked for me. I need to use the @ instead.
In the lines with the phrase "Google Service: Google Notifier" i have to replace this with "mail.google.com" to get access to the keychain.
BTW i added a line for the Server. Maybe useful for other mailprovider.
Network & SSID Info (With Color)
This geeklet was originally authored by Jacob Salmela and this is where you will find the License file. For some reason, I could not upload the text file for it.
I have made some functionality changes to his work and added a couple of things as well.
I have a static IP assigned by my ISP and also use a VPN service. The color portion of this geeklet is to visually, and at a glance know if I am on my VPN or not, as well as if I am on my preferred wifi network. I am currently using this geeklet on a Late 2012 Mac Mini running OS X Yosemite 10.10. The colors are changeable to any of the colors listed in the variables section of the script; simply change the name of the color in the script and save for changes to take effect.
If you have any questions, or need any help, I will do my best to answer what I can. I have a limited knowledge, but did spend a lot of time tweaking this to my liking.
Display Growl History
Display the Growl History.
1) Change the .txt file extension to .sh 2) Create a Shell Geeklet 3) type "sh /path/to/script/GetGrowlHistory.sh" 4) Enjoy
Silk — Clean & Complete & Configurable (System, iTunes, …)
First attempt to create a geeklet. I'll upload the glet file if someone request it.
Clean
I try to make it as beautiful as I can too. You see 2 configurations examples in the following screenshots.
Complete
Gather many information : Software & Hardware. Disk, CPU, Memory and many more.
Configurable
I try to make a fully configurable geeklet, you can easily :
- change color
- change bar
- size & column width
- choose want you want to display or hide
- Informations
- CPU
- Memory
- Network
- Weather
- Disk
- iTunes information
- Stocks
For configuration, edit the primary part of the script :
# * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
# Column size
c1=15 # title
c2=20 # bar size [preferably even number]
c3=6 # bar info
c4=15 # complement
# information to display
# available widget : information, weather, itunes, network, cpu_memory, battery, disks, stocks
widgets=('information' 'weather' 'itunes' 'network' 'cpu_memory' 'battery' 'disks' 'stocks' )
# Color options
default_color=$white
bar_begin=''
bar_empty_char='•'
bar_full_char='•'
bar_end=''
bar_empty_color=$black
bar_full_color=$white
# Stock options
stocks=('AAPL' 'AMD' 'GOOG')
stock_begin=''
stock_negative_empty_char='•'
stock_negative_full_char='•'
stock_positive_full_char='•'
stock_positive_empty_char='•'
stock_end=''
stock_negative_color=$red
stock_positive_color=$green
# Weather options
unit='metric' # metric|imperial
# * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Bug
if you encounter any problem or bug please report it. I'll try to resolve it as soon as I can.
Dev
The file is not final, some part aren't finished yet, please take it into consideration.
Fuji Desktop
My first serious attempt for a Geektool desktop. Near all of them are found here, I just tried to customize to my liking and knowledge so I will just comment what I did. Thanks to all the people who create them for first time.
System Info, go by two calls to the system_profller and a temporary file for grep use.
Current and Next month, just put sunday at end of week and mark the current day.
Uptime, have not modified yet.
Internal external IP not touched.
Last backup This is mine. As I don’t have the time machine disk connected all time i used a temporary file to save the last backup date. I put the file in /Users/genimac/Documents/Geeklets/offlinecopy, you can change the file name or path.
Doing TimeMachine backup You need the ARC font for this to work.
IPs in network In my work I keep an eye on some network disks and server. I installed “fing” from Overlook http://www.overlooksoft.com/download The only “problem”, not for me, is that it need root access. I send my password by an echo on the script. If you are ok with that, just change the “adminpass” with your current one. Can the password be send encrypted? I adjusted it to 30 IP in 3 columns as that fits my network, you need to modify the code for more.
Network totals for that to work you need “vnstat” installed, it can be compiled directly or you can use “brew” to install. The later is more easy so go to http://brew.sh and follow the instructions, mainly ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew doctor brew update
then install vnstat with brew install vnstat and follow the instructions to create the database vnstat -u -i en0 For my MacbookProo retina en0 is the wifi board. You can use “vnstat --iflist” for the list on your computer. Once all that done in a few minutes (5 or so) you will have data to display.
Top RAM and CPU processes I modified the ruby scripts from http://brettterpstra.com to bash.
New Weather Geeklets
I updated the original scripts I posted. The weather site I was using made several changes that broke the script.
It gets information from yahoo.weather and the image from accuweather. You will need to change your info for your state and city.
The city name above the weather info is just plain text do no geeklet. Also if the weather info is blank then its probably due to being a sunny day. It wont show anything when everything is normal.
Must change your location.
Update: Updated weather info had some unwanted results.
Update #2: Update minor awk line in weather info. Update #3: Corrected test being shown for get image.
Custom Quotes - Very Easy To Use
Custom Quotes - Easy Easy Easy
Hope you enjoy :)
all you need to do is to insert your quotes into the array that exist in the script, for example:
Q[0]="First"
Q[1]="Second"
...
The script:
#!/bin/sh
Q[0]="First"
Q[1]="Second"
rnd=$(( ( RANDOM % ${#Q[@]} -1 | bc ) + 1 ))
echo \"${Q[$rnd]}\"
**Don't Forget to change "Refresh every:" to how many seconds you want for updating
** Enjoy! :)**