PcManFM无法移动名字包含中文的文件的问题

各种窗口管理器和美化相关
回复
janus
帖子: 156
注册时间: 2006-01-02 3:15

PcManFM无法移动名字包含中文的文件的问题

#1

帖子 janus » 2010-10-22 10:18

最近改用PcManFM作为文件管理器,但是有一直有一个很奇怪的问题,
根本无法移动包含任何中文文字的文件,只有文件名全部是英文的文件没有这个问题。
即使把loacle改成zh_CN.utf8也是一样的。

而且很奇怪,pcmanfm的菜单无法变成中文的,而使用
pcmanfm-mod菜单可以变成中文,而且复制文件没有什么问题。

不知道有谁碰到这个问题?
附件
pcmanfm.png
上次由 janus 在 2010-10-23 14:58,总共编辑 1 次。
hotzzerg
帖子: 48
注册时间: 2008-10-16 21:20

Re: PcManFM无法自动挂载U盘以及无法移动中文文件的问题

#2

帖子 hotzzerg » 2010-10-23 0:20

不知道你用的是udev还是hal,
如果是udev,而且用udisk来挂载,下面有一个办法可以永久解决这个权限问题
在下面这个文件中,/usr/share/polkit-1/actions/org.freedesktop.udisks.policy

<action id="org.freedesktop.udisks.filesystem-mount">
<description>Mount a device</description>
<message>Authentication is required to mount the device</message>
<defaults>
<allow_any>no</allow_any> ####修改为: <allow_any>yes</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
..............
<action id="org.freedesktop.udisks.filesystem-unmount-others">
<description>Unmount a device mounted by another user</description>
<message>Authentication is required to unmount devices mounted by another user</message>
<defaults>
<allow_any>no</allow_any> ####修改为: <allow_any>yes</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
</action>

其中有如下两行:<allow_any>no</allow_any>,
把这两行中的no改为yes,也就是:<allow_any>yes</allow_any>。
然后就可以挂载了,不需要权限。
janus
帖子: 156
注册时间: 2006-01-02 3:15

Re: PcManFM无法移动名字包含中文的文件的问题

#3

帖子 janus » 2010-10-23 14:59

:em11
谢谢ls
头像
hakie
帖子: 270
注册时间: 2008-04-30 12:14

Re: PcManFM无法移动名字包含中文的文件的问题

#4

帖子 hakie » 2010-11-03 22:49

ipnuipnu :em06 :em06 :em06
Archlinux+FVWM

虽然没技术折腾,但一直在默默折腾。
回复