OS X's hidden preferences disappeared after Mavericks upgrade? In past OS X versions, I used some commands to set preferences on my Mac.

For example, I used the following command to enable selection of text in Quick Look:

defaults write com.apple.finder QLEnableTextSelection -bool TRUE;


…and the following command to create a stack on the Dock of recently-used apps:

defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'


In my Mac that I just upgraded they are all working as before, but in other Mac, which I initialised before upgrading they don't work. Does somebody knows a way to make them work again or an alternative for them?
Both of those still work for me, but you do sometimes need to run defaults commands again after upgrading OS X. If you run the commands again, quit and reopen applications to apply the changes:

killall Dock Finder


(If you also want to enable selecting text in Quick Look windows shown from other applications than Finder, you can use defaults write -g QLEnableTextSelection -bool true instead of defaults write com.apple.finder QLEnableTextSelection -bool true.)