User Tag List

  1. Chase817's Avatar
    1) 2D Dock

    This quite a popular hack for the people running Leopard and donít like the 3D feel. It changes the 3D dock to a flat 2D version. To enter copy and past the following code.
    defaults write no-glass -boolean YES
    killall Dock
    2) Gradient Behind A Stack Item

    One of my favourite hacks that enables you to put a small gradient behind an icon. I think this should be enabled by default.
    defaults write mouse-over-hilte-stack -boolean YES
    killall Dock
    3) Add A Message To The Login Window
    This little Terminal command enables you to add a message of your choice to the Login window. Pretty cool and deserved a screenshot if I new how to take on while not logged in. Warning itís a sudo command which can be dangerous.
    sudo defaults write /Library/Preferences/ LoginwindowText "Your Message"
    Replace ďYour MessageĒ with the message of your choice, donít make it to long. If you want to revert it do the following.
    sudo defaults write /Library/Preferences/ LoginwindowText ""
    4) Add An ExposŤ Button To The Desktop
    If you have reconfigured the F9 and F10 keys to something different you may want to use exposŤ. This hack adds a bigish blue button onto the desktop to enable you to use exposŤ. Clicking on it shows all the windows from one application (F10 default), option clicking it shows all windows (F9 default).

    defaults write wvous-floater -bool YES
    killall Dock

    5) Address Book Debug Menu
    If you have some trouble with Address Book it may be useful to open up the debug menu as well as this use some of the hidden features. Make sure address book is closed first before applying the code. If you want to revert it remove YES in the string.

    defaults write ABShowDebugMenu -bool YES

    6) Increase Dock Magnification Size
    This little hack lets you increase the size of the magnification of the dock icons. Donít go past 512.
    defaults write largesize -int 512
    7) Increase Desktop Icon Size
    If you want massive icons on you desktop this little hack lets you increase the icons to 512 pixels x 512 pixels. This is massive, may slow down on older machines. I donít think it goes larger than 512.
    defaults write DesktopViewOptions -dict IconSize -integer 512
    killall Finder
    8) Changing the Format Of Screen Shots
    If you use the screen shot function, you may want to change the format of the images, this is not easily done normally. Where jpg is in the code you can change this to the format your want, png bmp gif etc. You need to log out and back in again, or restart for the changes to take effect.
    defaults write type jpg
    9) Change The Login Picture
    If you get a bored of the space picture used on the login screen, you can change it with this little bit of code. Change the file location in the second half of the string to the exact file location of your chosen picture.
    defaults write /Library/Preferences/ DesktopPicture "/System/Library/CoreServices/"
    10) Change The Loading Bar In Safari To A Pie Chart

    This is a Safari 3 hack, so it might not work. This changes the blue bar that goes across the address bar into a small blue pie chart. Insert false instead of true to reverse.
    defaults write DebugUsePieProgressIndicator -bool true

    11) Clear The Open With Menu
    If you right click on a file you can open it with many applications. Sometimes your OS can get a little confused and list many applications. This is to clear this list and start again. The code below is all on one line.
    -kill -r -domain local -domain system -domain user
    12) Change The Delay When Dragging Windows In Spaces
    This simple hack changes the delay time it takes to drag windows around in spaces, its currently set to 0.75
    defaults write workspaces-edge-delay -float 0.5
    13) Disable Dashboard
    If you donít want or like the dashboard running you can disable it. Change YES to NO to enable it again.
    defaults write mcx-disabled -boolean YES
    killall Dock
    14) Enable Double Scroll Arrows

    This little hack enables the double arrow set for up and down, left or right, to be at both ends of the scroll bar. Handy if you like the double arrows. Use System Preferences to reset.
    defaults write ďApple Global DomainĒ AppleScrollBarVariant DoubleBoth
    15) Disable Tooltips In Safari
    This quick little hack for Safari that removes the tooltips you get when you hover over certain elements.
    defaults write WebKitShowsURLsInToolTips 0
    16) Increase The Dock Size
    Command #6 enables you to change the magnification. This command enables you to change the size of the dock. Use the sliders in System Preferences to reduce this size. Donít go larger 256.
    defaults write tilesize -int 256
    17) Disable the Crash Dialog Box
    This disables the quit dialog box when an application crashes. Type prompt to enable again.
    defaults write DialogType none
    18)Drag A Widget Onto The Desktop

    Probably one of the coolest hacks. This command enables widgets to be placed onto the desktop. Drag a widget around and press F12 to drag it onto the desktop. Repeat the process again to drag a widget back onto the dashboard. This may need you to log off or restart for it to take effect.
    defaults write devmode YES
    19) Enable Debug Menu In Safari

    Adding debug menus to programs is great as you can access a whole range of features. This one is for Safari.
    defaults write IncludeDebugMenu 1
    20) Enable The Path View In Finder

    One of may favourite hacks as it lets you see the current path of the Finder window you are in. Its great if you work with a lot of windows.
    defaults write _FXShowPosixPathInTitle -bool YES
    21)Enable Time Machine On Unsupported Drives

    Another favourite hack of mine, simply because it enable Time Machine to work on unsupported drives such as a NAS. Use with caution as it is unsupported.
    defaults write TMShowUnsupportedNetworkVolumes 1
    22) Enable Web Inspector

    This is a very detailed web inspector that enables you to find out specific information about a page. It is accessible through the debug menu but this enables you to use it without. You can quickly access it through right-click.
    defaults write WebKitDeveloperExtras -bool true
    23) Enable Debug in iCal
    Another debug menu (I like debug menus) this time its for iCal. You need to restart iCal for the changes to take effect.
    defaults write IncludeDebugMenu YES
    24) Enable Quit In Finder

    This is a very useful command for anyone who does a lot of fiddling and needs to quit Finder.
    defaults write QuitMenuItem -bool YES
    killall Finder
    25) Force Mail To Display In Plain Text
    If you have problems with HTML emails or you just want emails to be displayed in plain text use the following command. You need to restart Mail for the changes to take effect. Replace with false to revert.
    defaults write PreferPlainText -bool TRUE
    26) Increase Time Machine Backups
    If you do a lot of work on you Mac, and you want time machine to back up more frequently you need to change the value. It is in seconds. The default is set to an hour which is 3600. Change this value to suit, half and hour is 1800 seconds.
    sudo defaults write /System/Library/LaunchDaemons/ StartInterval -int 1800
    27) Kill A Process
    Sometimes you just need a process to stop running. If you want to kill it in Terminal with out using Activity Monitor, find the process ID (In Activity Monitor) and then use the following command. Only really useful if you donít like much clicking or are writing a program.
    kill PID 478
    28) Let Terminal Talk
    If you are bored one day you can get Terminal to quickly talk anything back to you using the voice engine. Replace hello with anything you want.
    say hello
    29) Make Hidden Applications Icons Transparent

    If you hide a lot of applications you can make there icons transparent in the dock. A very good visual clue.
    defaults write showhidden -bool YES
    killall Dock
    30) Make The Dock Spring Loaded
    Makes the dock spring loaded so you can open files or windows from within the dock.
    defaults write enable-spring-load-actions-on-all-items -boolean YES
    31) Recent Applications Stack
    This command creates a new stack in your dock so you can view the recently used Applications.
    defaults write persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'
    32) Change The Arrows In iTunes
    Normally the arrows in iTunes link to the music store, adding this command enables you to search your library. You need to click on the song first for the arrows to appear.
    defaults write invertStoreLinks -bool YES
    33) Pin The Dock To The Left
    This command pins the dock to the left hand side of the screen. Iím not sure what happens if you have the dock on the left or right edge. Replace start with middle to revert.
    defaults write pinning -string start
    34) Pin The Dock To The Right
    Exactly the same as above except it pins the dock to the right hand side of the screen.
    defaults write pinning -string end
    35) Play Star Wars Episode IV

    Using a simple telnet address you Terminal will connect in and play Star Wars Episode IV in its ASCII glory.
    36) Quicklook A File
    Quicklook is a great little application in Leopard. The command lets you quicklook a file right in Terminal. First you need to change the folder by using the ďcdĒ command and then the folder you want. To enable this command to work you need to type the file name exactly.
    qlmanage -p "Jaguar Aqua Graphite.jpg"
    37) Disable The Spotlight Icon
    This command removes the spotlight icon. Type 755 to re-enable it, instead of 0.
    sudo chmod 0 /System/Library/CoreServices/
    killall Spotlight

    38) Remove The Stripes In List View
    A simple hack that removes the alternating stripes in list view in finder.
    defaults write FXListViewStripes -bool FALSE
    killall Finder
    39) Turn The Menu Bar White
    If you donít like the menu bar in its cool transparent glory you can change it so it appears white. This requires a password and you will need to restart you mac.
    sudo defaults write /System/Library/LaunchDaemons/ 'EnvironmentVariables' -dict 'CI_NO_BACKGROUND_IMAGE' 1
    40) Turn The Menu Bar Grey
    If you donít like the white version of the menu bar you can change it so it appears gret.
    sudo defaults write /System/Library/LaunchDaemons/ 'EnvironmentVariables' -dict 'CI_NO_BACKGROUND_IMAGE' 0
    41) Revert The Menu Bar Back To Default
    If you prefer the transparent menu bar and you want it back type the following into Terminal.
    sudo defaults delete /System/Library/LaunchDaemons/ 'EnvironmentVariables'
    42) Set The Expanded Print Dialogue As Default
    If you want access to a lot of the extra print menus on by default you can use the following command to enable you to do this. Requires restart.
    defaults write -g PMPrintingExpandedStateForPrint -bool TRUE
    43) Set The Expanded Save Dialogue As Default
    Similar as the print dialogue this sets the save dialogue to the expanded view as default. Requires restart.
    defaults write -g NSNavPanelExpandedStateForSaveMode -bool TRUE
    44) Set The Screen Saver As The Wallpaper

    This command sets the currently selected screen saver as the desktop background. Use command + c or . to stop while in Terminal. Alternatively you can use wallsaver.
    /System/Library/Frameworks/ScreenSaver.framework/Resources/ -background
    45) Set The History Limit In Safari To A Number Of Items
    If you donít want a massive history you can set it to a limited number of items. Change the number to suit.
    defaults write WebKitHistoryItemLimit 2000
    46) Set The History Limit In Safari To A Number Of Days
    Similar to the hack above you can set the number of days Safari keeps its history.
    defaults write WebKitHistoryAgeInDaysLimit 30
    47) Show Hidden Files In Finder

    A lot of the files in Finder are hidden. This is probably a wise choice by Apple as there are countless things you can screw up. But if you want to take a look at how many there are and what they are you can show them within Finder. Be careful as these files are needed by the system, if you screw something up donít come complaining. Repeat the command with false to revert. The image above, click for larger version, show the amount of files there actually is, with these hidden there is only 4 shown normally.
    defaults write AppleShowAllFiles TRUE
    48) Skip Disk Image Verification
    If you want to save some time you can skip the disk image verification for a disk image. Potentially risky as a whole load of things could go wrong without you knowing. skip-verify TRUE
    49) Show SubFolders In Graphical Format In Terminal
    This is a very cool little hack that enables you to show an ASCII graphical view of sub folders. Use the cd command to change to a directory other wise the command will list every folder. For more information look here.
    ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//Ė/gí -e ís/^/ /í -e ís/-/|/í
    50) Speed Up Dialogue Boxes
    Most dialogue boxes have a cool animation effect that looks cool. If you want to speed this up you can change the speed at which is renders so it appears almost instantly. The default is 0.2.
    defaults write NSGlobalDomain NSWindowResizeTime 0.01

    [Via Mac Tricks and Tips]  03473
    2008-09-04 06:17 AM
  2. zsuns's Avatar
    Top 50 Terminal Commands | Mac Tricks And Tips

    Plagiarism is cheating =/

    Didnt see you gave the source at the bottom sorry.
    Last edited by zsuns; 2008-09-04 at 06:37 AM.
    A Thanks is always nice =]
    2008-09-04 06:25 AM
  3. SundayDuffer's Avatar
    He did give out the source though.
    2008-09-04 06:34 AM
  4. zsuns's Avatar
    Ohhhhhh my baddddd I didn't see that down there thanks for pointing that out.
    A Thanks is always nice =]
    2008-09-04 06:36 AM
  5. Kyle Matthews's Avatar
    Still if you copy something pure and simple, it will not be counted towards the contest - Google works for all, original content is what we're after, At least make your own screenshots, etc.

    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews
    2008-09-07 07:16 AM
  6. saipansailor670's Avatar
    thanks for this, I had no idea so much cool stuff was hidden on Macs.... and I've been using macs since I was 4 years old! haha
    2009-10-01 06:12 AM
  7. magic8ball88's Avatar
    like half of these can be activated with superdocker
    2009-10-13 03:52 AM
  8. kaceykaso's Avatar
    I <3 Terminal!
    2010-03-09 11:19 PM
  9. Excel Wiz's Avatar
    very useful.

    MacBook Pro 15" Core i7|4GB|500GB|HiRes
    iPhone 4 16GB
    iPhone 3G 8GB
    2010-05-26 01:34 AM
  10. click66's Avatar
    love this thread :d really !
    2010-09-15 07:22 PM
  11. Saved0ne's Avatar
    The terminal talk was amazing
    got me some laughs and some cool things to test if it could say it right.
    2010-12-31 12:55 PM
  12. TKDPeter's Avatar
    Hi there!
    I do love playing around with Terminal! Thanx for all the small, funny things!...

    Anyway.. I did a modification that i cant find to reverse in Dock. The mod i did is that when i starts a application with the icons in Dock, it autmatically hides all the open apps on my screen. Now when i used it for a while and wanted to reverse, i cant find the command. Is there anyone that know what command i am lookin for?

    Thanx in advance!
    2012-08-28 10:14 AM
  13. H4CK3R's Avatar
    Hi there!
    I do love playing around with Terminal! Thanx for all the small, funny things!...

    Anyway.. I did a modification that i cant find to reverse in Dock. The mod i did is that when i starts a application with the icons in Dock, it autmatically hides all the open apps on my screen. Now when i used it for a while and wanted to reverse, i cant find the command. Is there anyone that know what command i am lookin for?

    Thanx in advance!
    Nothing in Terminal can do this, sorry.
    2012-08-28 02:33 PM
  14. TKDPeter's Avatar
    I did the mod in terminal and i remember that if i wanted to reverse, i just had to write the command an set NO instead...
    2012-08-28 11:57 PM
  15. BradBrown's Avatar
    I thought this post was gonna be about shell commands like cd, ls, rm, ssh, or top. Those would be my top terminal commands.
    mod edit/link removed
    2012-09-03 06:03 AM
  16. pierovera's Avatar
    If it is still useful, there is a command in Terminal that does that, it's some kind of single-app mode. Here's the command:
    defaults write single-app -bool true
    I assume you know that to reverse it you just replace true with false.
    2013-05-12 05:49 PM