How to automatically mount partitions in lubuntu image

1 3277
pcmanfm is the default archive browser. It can automatically mount the partitions if we do some settings.

1. Update and upgrade the packages.
  1. sudo apt-get update
  2. sudo apt-get dist-upgrade
Copy the Code
2. Install some essential packages.
  1. sudo apt-get install gvfs gksu-polkit
Copy the Code
3. Create autostart folder for current user
  1. mkdir -p ~/.config/autostart
Copy the Code
4. Copy autostart file.
  1. cp /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop ~/.config/autostart  
Copy the Code
5. Reboot the system

then you can find the tips when you insert a removable disk.
Thanks for sharing. I will try later.

You have to log in before you can reply Login | Sign Up

Points Rules