aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2013-10-23 13:21:13 +0200
committerMathias Bynens <mathias@qiwi.be>2013-10-23 13:23:50 +0200
commitf10eb803cf9cb9ed321bc60e92f662353400a38c (patch)
tree854633f0d7c052764d8240502f428c45daca418d
parent813f813bbceac45a19094b4e5a5b88c05fe0fa78 (diff)
downloaddotfiles-f10eb803cf9cb9ed321bc60e92f662353400a38c.tar.gz
dotfiles-f10eb803cf9cb9ed321bc60e92f662353400a38c.tar.bz2
dotfiles-f10eb803cf9cb9ed321bc60e92f662353400a38c.zip
.osx: Use plain text smileys in Messages
Messages in OS X 10.9 Mavericks automatically substitutes e.g. `:)` with `😊`, with no way to disable this feature through the app’s preferences pane. After analyzing the `defaults read` output it turns out there is a hidden preference for it.
-rwxr-xr-x.osx11
1 files changed, 9 insertions, 2 deletions
diff --git a/.osx b/.osx
index 8d1cbd0..e11dd30 100755
--- a/.osx
+++ b/.osx
@@ -548,6 +548,13 @@ defaults write com.apple.appstore WebKitDeveloperExtras -bool true
defaults write com.apple.appstore ShowDebugMenu -bool true
###############################################################################
+# Messages #
+###############################################################################
+
+# Disable automatic emoji substitution (i.e. use plain text smileys)
+defaults write com.apple.messageshelper.MessageController SOInputLineSettings -dict-add "automaticEmojiSubstitutionEnablediMessage" -bool false
+
+###############################################################################
# Google Chrome & Google Chrome Canary #
###############################################################################
@@ -621,8 +628,8 @@ defaults write com.twitter.twitter-mac HideInBackground -bool true
###############################################################################
for app in "Address Book" "Calendar" "Contacts" "Dashboard" "Dock" "Finder" \
- "Mail" "Safari" "SizeUp" "SystemUIServer" "Terminal" "Transmission" \
- "Twitter" "iCal" "iTunes"; do
+ "Mail" "Messages" "Safari" "SizeUp" "SystemUIServer" "Terminal" \
+ "Transmission" "Twitter" "iCal" "iTunes"; do
killall "$app" > /dev/null 2>&1
done
echo "Done. Note that some of these changes require a logout/restart to take effect."