From f10eb803cf9cb9ed321bc60e92f662353400a38c Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Wed, 23 Oct 2013 13:21:13 +0200 Subject: .osx: Use plain text smileys in Messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .osx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.osx b/.osx index 8d1cbd0..e11dd30 100755 --- a/.osx +++ b/.osx @@ -547,6 +547,13 @@ defaults write com.apple.appstore WebKitDeveloperExtras -bool true # Enable Debug Menu in the Mac App Store 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." -- cgit v1.2.3