最近在系统移植的过程中需要解决pcmanfm的自动挂载问题。试过N多种方法都无法实现。
最终从国外的论坛上看到了一个解决方法。
1. 安装gvfs, polkit
apt-get install gvfs gksu-polkit
2. 为当前用户创建自启动文件夹
mkdir -p ~/.config/autostart
3. 复制启动项目
cp /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop ~/.config/autostart
引用:http://www.linuxquestions.org/questions/linux-newbie-8/arch-linux-mount-partitions-from-pcmanfm-mounting-using-gui-4175411014/