linux系统 链接手机自动弹出窗口问题

   linux系统 Ubuntu链接手机自动弹出窗口问题
 
  在做android 开发时,链接手机USB,经常会遇到自动弹出文件窗口,为了解决这个问题,从网上找了相关的值进行设置,经过验证是ok的,特意做个笔录;

//禁止自动挂载
$ gsettings set org.gnome.desktop.media-handling automount false
//允许自动挂载
$ gsettings set org.gnome.desktop.media-handling automount true
//禁止自动挂载并打开文件
$ gsettings set org.gnome.desktop.media-handling automount-open false
//允许自动挂载并打开文件
$ gsettings set org.gnome.desktop.media-handling automount-open true

猜你喜欢

转载自blog.csdn.net/xiao_yuanjl/article/details/80887118