Fix Drag and Drop Not Working in Ubuntu 18.04 [Quick Tip]

If the drag and drop of files is not working in the file manager in Ubuntu 18.04, here is an easy fix for that.

The other day I was trying to upload an image on It’s FOSS. I prefer dragging the image and dropping it to the uploader. I tried the same and to my surprise, it didn’t work.

I clicked on the file and start to drag it. But instead of getting dragged, the file stayed there. On the other hand, other files in the same directory got selected.

Animated GIF - Find & Share on GIPHY

It was frustrating as hell and if you are facing the same issue, I can understand your frustration.

Let me show you the quick and easy fix for this annoying issue on Ubuntu.

Fixing drag and drop issue on Ubuntu 18.04

Fixing minor issues in Ubuntu

The reason behind the drag and drop not working was the experimental view of GNOME Files (previously known as Nautilus).

I don’t remember if it was activated by default or if I enabled it manually while trying some Nautilus hacks. But this experimental view resulted into drag and drop not working. I guess that’s the ‘side effect’ of too much tweaking. Curiosity killed the cat and in my case, it killed the drag ;)

To fix this, all you have to do is to disable the experimental view again.

Open Nautilus file manager. On the top left, click on Files->Preferences. Clear the “Use the new views” option under Experimental.

Fix drag and drop not working in Ubuntu

Close the file manager and open it again. Your drag and drop should be working again.

Alternatively, if you prefer the command line, you can use gsettings to fix this annoyance by using this command in the terminal:

gsettings set org.gnome.nautilus.preferences use-experimental-views false

I hope this quick tip helped you to fix the annoying drag and drop issue in Ubuntu. If you have questions or suggestions, do leave a comment below.

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries 🕵️‍♂️

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

It's FOSS

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.