我注意到有不少应用程序支持在~/.config文件夹里读取配置,并且按应用程序名称进行文件夹各自的归档,例如i3的配置放在~/.config/i3/文件夹,fcixt配置放在~/.config/fcitx文件夹等等。我挺喜欢这设定的,因为起到了对用户专用配置文件的集中作用,也好用Git进行全面备份。
不过我还不清楚Linux界是否认可这为国际惯例,毕竟有些应用程序的配置文件还是放在别的地方,例如git的用户配置文件是~/.gitconfig,而并非是在~/.config的专用文件夹。
--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 shlug+un...@googlegroups.com。
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
您收到此邮件是因为您订阅了 Google 网上论坛“Shanghai Linux User Group”中的主题。
要退订此主题,请访问 https://groups.google.com/d/topic/shlug/YYGA2iOZT6c/unsubscribe?hl=zh-CN。
要退订此论坛及其所有主题,请发送电子邮件到 shlug+un...@googlegroups.com。
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 shlug+un...@googlegroups.com。
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 shlug+un...@googlegroups.com。
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
我现在是把配置文件都统一放到一个文件夹里面,然后用符号链链到 home 里
On 4/27/13, Tualatrix Chou <tual...@gmail.com> wrote:
> 命令行程序就是那个潜规则吧,配置文件要以「.」开头放在Home下。
>
> --
> -- You received this message because you are subscribed to the Google Groups
> Shanghai Linux User Group group. To post to this group, send email to
> sh...@googlegroups.com. To unsubscribe from this group, send email to
> sh...@googlegroups.com. For more options, visit this group at
> https://groups.google.com/d/forum/shlug?hl=zh-CN
> ---
> 您收到此邮件是因为您订阅了 Google 网上论坛“Shanghai Linux User Group”中的主题。
> 要退订此主题,请访问
> https://groups.google.com/d/topic/shlug/YYGA2iOZT6c/unsubscribe?hl=zh-CN。
> 要退订此论坛及其所有主题,请发送电子邮件到 sh...@googlegroups.com。
> 要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
>
>
>
--
Best wishes,
--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to sh...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 sh...@googlegroups.com。
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了Google网上论坛上的“Shanghai Linux User Group”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到shlug+un...@googlegroups.com。
要在网络上查看此讨论,请访问https://groups.google.com/d/msgid/shlug/61990a20-63e1-42d2-9664-1ffc63661a99%40googlegroups.com。