recentpopularlog in

kme : defaults   27

Show all files in the Finder | Macworld
<code class="language-bash">defaults write com.apple.Finder AppleShowAllFiles YES</code>
macos  finder  hiddenfiles  configsetting  defaultswrite  defaults  maybesolution 
5 days ago by kme
How to Prevent .DS_Store File Creation
<code class="language-bash">defaults write com.apple.desktopservices DSDontWriteNetworkStores true</code>

See also: https://hints.macworld.com/article.php?story=2005070300463515
mac  macos  finder  annoyance  defaults  movein 
10 weeks ago by kme
How to Show the Expanded Print Details Dialog in Mac OS by Default
<code class="language-bash">defaults write -g PMPrintingExpandedStateForPrint -bool TRUE</code>
macos  mojave  10.14  defaults  essential  movein  annoyance  printing 
september 2019 by kme
Disable Dock Bouncing in Mac OS X
<code class="language-bash">defaults write com.apple.dock no-bouncing -bool TRUE</code>
macos  defaults  solution  dock  animation  movein 
september 2019 by kme
Disable Notification Center & Remove the Menu Bar Icon in Mac OS X
<code class="language-bash">launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist

killall NotificationCenter</code>
mac  osx  defaults  notificationcenter  annoyance  maybesolution 
september 2019 by kme
MartinHarding/macOSuckless: Scripts, commands, hacks, and tweaks to make macOS suck less.
<code class="language-bash">
# always show the detailed Print dialog
# source: http://osxdaily.com/2018/03/19/show-expanded-print-details-dialog-mac-default/
defaults write -g PMPrintingExpandedStateForPrint -bool TRUE

# Unhide Library folder
# (might require a restart)
chflags nohidden ~/Library

# Expand Save Panel by default
defaults write -g NSNavPanelExpandedStateForSaveMode -bool true
defaults write -g NSNavPanelExpandedStateForSaveMode2 -bool true

# Set Dock size and make it unchangeable
defaults write com.apple.dock tilesize -int 48
defaults write com.apple.dock size-immutable -bool true
killall Dock

# Dim Dock icon when application is hidden
defaults write com.apple.dock showhidden -boolean true
killall Dock

# Add a blank space to the end of Dock
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'
killall Dock

# Disable shadows on window screenshots
defaults write com.apple.screencapture disable-shadow -bool true
killall SystemUIServer

# Disable animations when you open an application from the Dock.
defaults write com.apple.dock launchanim -bool false

# disable bounce animation when application wants attention
# source: http://osxdaily.com/2010/02/19/disable-dock-bouncing/
defaults write com.apple.dock no-bouncing -bool TRUE

# Make all animations faster that are used by Mission Control.
# (not sure if this does anything, actually)
defaults write com.apple.dock expose-animation-duration -float 0.1

# Fixes an issue with some applications that have poor smoothing in Mojave when not running on Retina monitors.
# (not sure how much good this actually does)
defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO
</code>
macos  osx  dotfiles  defaults  annoyances  movein  essential 
september 2019 by kme
Disable the New Window Animation in Mac OS X
<code class="language-bash">defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool NO</code>
window  animation  dialogbox  defaults  movein  essential  macos  mojave  10.14  solution 
september 2019 by kme
10 of the Best Defaults Write Commands to Improve Mac OS X
Not sure if this works in Mojave (10.14):
<code class="language-bash">defaults write com.apple.dock expose-animation-duration -float 0.12 && killall Dock</code>
mac  osx  macos  defaults  settings  desktoptweaks  reference 
september 2019 by kme
How do I set Thunderbird as my default mail app? | Official Apple Support Communities | https://discussions.apple.com/
Yeah, this doesn't seem to "stick" on OS X 10.11.6.

Part of the problem /might/ have been that Firefox itself was set up to use Mail.app. Changing that to Thunderbird at least makes this problem 50% less annoying. Mail.app itself *still* doesn't seem to remember what you set as the default mail client, though.
annoyance  mac  osx  thunderbird  defaults  mua  sortof  solution 
november 2017 by kme
Disable the Window Shadow on Screen Shots in Mac OS X
Launch the Terminal app and enter the following at the command line:

defaults write com.apple.screencapture disable-shadow -bool true
mac  osx  screencapture  screenshot  solution  defaults  defaultswrite  commandline  configsetting 
june 2016 by kme
help/en/howto/sftp – Cyberduck
Exampe for ​iTerm:

defaults write ch.sudo.cyberduck terminal.bundle.identifier com.googlecode.iterm2
defaults write ch.sudo.cyberduck terminal.command \"set\ t\ to\ \(make\ new\ terminal\)\\ntell\ t\\nset\ s\ to\ \(launch\ session\ \\\"Default\ Session\\\"\)\\ntell\ s\\nwrite\ text\ \\\"{0}\\\"\\nend\ tell\\nend\ tell\"


Would have been great, except the AppleScript doesn't work anymore.
cyberduck  macos  mac  osx  defaultswrite  defaults  tipsandtricks  terminalapp 
june 2016 by kme
defaults write
Show expanded print settings by default:

<code style="language-bash">defaults write -g PMPrintingExpandedStateForPrint -bool TRUE</code>
mac  osx  tipsandtricks  tweaks  defaultswrite  defaults  reference 
march 2016 by kme
Take a Screen Shot Without the Shadow in Mac OS X
See also: http://osxdaily.com/2011/05/23/disable-shadow-screen-shots-mac/
Launch the Terminal app and enter the following at the command line:

defaults write com.apple.screencapture disable-shadow -bool true

Hit return and then you’ll then need to restart SystemUIServer by killing it:

killall SystemUIServer
mac  osx  screencapture  screenshot  defaults  defaultswrite  solution 
january 2014 by kme
Unixjunkie Blog: Use defaults to Manipulate Any Plist
This helped a lot when I was trying to figure out how to make all the Fluid web apps I'd created stop assigning themselves to PDFs and all the image formats.

See http://apple.stackexchange.com/questions/105435/adding-application-to-open-with-context-menu-qnapi-problem for more information on which key in the plist to change to fix that.
mac  osx  defaults  sysadmin  plist  commandline  fuckina  solution 
january 2014 by kme
New release - Google Groups
Enhancements
- Add boolean hidden pref, OpenFileInNewWindows. When you open a file
(e.g., a shell script) in finder with iTerm2, this controls whether it
opens in a new window or tab.
iterm2  releasenotes  tipsandtricks  mac  osx  defaults  config 
march 2013 by kme

Copy this bookmark:





to read