苹果senior司机

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 994|回复: 4

[原创] 咨询,如何能在finder下搜索的时候默认按文件名?

[复制链接]

33

主题

289

帖子

1964

积分

金牌会员

Rank: 6Rank: 6

积分
1964
发表于 2018-10-17 13:10:25 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
不需要特意去选择名称,以及更改了default_smart.plist 的SearchNameOnly为true,好像不起效?
回复

使用道具 举报

15

主题

150

帖子

1985

积分

贡献者

Rank: 1

积分
1985
发表于 2018-11-17 14:09:01 | 显示全部楼层
这个也是同问的,希望司机能解决!
回复

使用道具 举报

15

主题

150

帖子

1985

积分

贡献者

Rank: 1

积分
1985
发表于 2018-12-11 20:26:29 | 显示全部楼层
这个方法你试试,我怎么没有权力处理那个文件?
After locating the Finder Application (System/Library/CoreServices/Finder.app), Change the Finder app with Get Info to allow read/write by your user admin account. New Control-click the Finder and Show Package Contents. Look for the default_smart.plist file here: System/Library/CoreServices/Finder.app/Contents/Resources/default_smart.plist

Copy the file default_smart.plist out to desktop (save an original elsewhere as well just in case), edit in TextEdit, and insert the line <key>SearchNameOnly</key><true/> before the end of that dict grouping here:

    <key>SearchNameOnly</key><true/>
</dict>
<key>Version</key>
Then save and replace the file default_smart.plist in it's location: System/Library/CoreServices/Finder.app/Contents/Resources/default_smart.plist (you will need to authenticate with a password to save changes to the Finder)
看起来应该是可以起作用的。
回复

使用道具 举报

33

主题

289

帖子

1964

积分

金牌会员

Rank: 6Rank: 6

积分
1964
 楼主| 发表于 2018-12-13 00:52:04 | 显示全部楼层
apsuinweb 发表于 2018-12-11 20:26
这个方法你试试,我怎么没有权力处理那个文件?
After locating the Finder Application (System/Library/C ...

改过了。不咋好用。
你得先改这个文件的权限才成。或者命令行下 sudo vi修改文件。
回复

使用道具 举报

33

主题

289

帖子

1964

积分

金牌会员

Rank: 6Rank: 6

积分
1964
 楼主| 发表于 2019-5-15 02:07:40 | 显示全部楼层
升级了几次好像不起效了。。见鬼。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|苹果senior司机

GMT+8, 2024-4-27 06:11 , Processed in 0.076461 second(s), 24 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表