我正在打开系统偏好设置应用>>键盘>>快捷方式>>服务,并尝试更改一些选项 - 设置或取消设置,没有人启用或禁用。 更重要的是,在我退出Preferences应用程序后,所有选项都恢复为默认值
我尝试过“磁盘工具”提供的“修复权限”选项,但它没有帮助
我正在运行OS X 10.9.1,但是我记得,这也发生在OS X 10.8.x上,但我放弃了那段时间
我问过我的朋友,他们也运行OS X 10.9.1,他们没有这个问题,所以这是特定的。 有任何想法吗?
UPD:来自Guest用户或具有Admin权限的其他帐户都正常运行
I'm opening System Preferences app >> Keyboard >> Shortcuts >> Services, and trying to change some options - to set or unset, and no one is enabling or disabling. Even more, after I quit the Preferences app all the options are restoring to their default values
I've tried 'fix permission' option provided by Disk Utility, but it didn't helped
I'm running OS X 10.9.1, but as I remember, this also happened on OS X 10.8.x, but I gave up that time
I've asked my friends, which also run OS X 10.9.1, and they don't have this problem, so it's something specific. Any ideas?
UPD: From Guest user, or another account with Admin privileges all is working correctly
最满意答案
我发现问题以某种方式与pbs.plist文件相关联,其中必须保存更改
所以这对我有所帮助:
作为嘉宾进入 添加一些服务更改 将文件/Users/Guest/Library/Preferences/pbs.plist复制到我的〜/ Library / Preferences文件夹 使用chown设置正确的权限或者您可以将此代码保存到〜/ Library / Preferences / pbs.plist
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>NSServicesStatus</key> <dict/> </dict> </plist>然后将其转换为二进制格式
plutil -convert binary1 ~/Library/Preferences/pbs.plist另一个解决方案可以是运行此命令,但我不确定,因为现在一切正常,我无法检查它
/System/Library/CoreServices/pbs updateI found that problem is somehow associated with pbs.plist file, where the changes must be saved
So this helped me:
enter as a guest add some changes to the Services copy file /Users/Guest/Library/Preferences/pbs.plist to my ~/Library/Preferences folder set correct permissions using chownOr you can just save this code to your ~/Library/Preferences/pbs.plist
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>NSServicesStatus</key> <dict/> </dict> </plist>And then convert it to binary format
plutil -convert binary1 ~/Library/Preferences/pbs.plistAnother solution can be to run this command, but I'm not sure, because now all is working, and I can't check it
/System/Library/CoreServices/pbs update更多推荐
发布评论