Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

In the MS Windows when you have opened explorer (file/folder explorer eq nautilus in Ubuntu) and another application opened on top of that (for example explorer in full screen mode and some application opened in windowed mode on top of that) and you click on the file/folder explorer that window gets the focus. So far this works exactly the same in the Ubuntu. However when you have the same situation and you click and drag on some file or folder than the file explorer window does not get the focus which allows you to drag and drop items from that folder into that application very quickly and easily. How can I achieve the same behavior in the Ubuntu?

In case its not clear what I am asking for I will try to write it with another words. When you have more than one windows/applications stacked and you click or click and drag into one of them that window gets the focus and is moved to the top of the stacking order. As a result it cover other windows. I want to leave the stacking order as is when I click and drag some file or folder and only changes this stacking order when I just single click into that application window. It works exactly as I want it to when I drag and drop files from desktop into some application.

I often work with multiple windows/applications opened at the same time and disability to easily drag and drop files and folder from nautilus into my apps is very annoying to me and it slows me down more than I am willing to sacrifice.

share|improve this question

1 Answer 1

As of now, you cannot do this with Ubuntu or any other system based on X11. (On MS Windows it only works for the file manager. On MacOS it works for everything, modulo bugs.) Making it possible requires changes to toolkits and window managers which, in the past, developers have been unwilling to make; it's not a failure of X11. Perhaps with the new graphics systems, like Wayland and Mir, it will be possible.

share|improve this answer
    
Thank you. I've been thinking about it and I think I found a solution / workaround but I have no idea how to execute this solution. I think that there should be an event in the background that fires off when you start drag and drop on an item. Also when you set some window as always on top you basically get desired effect. So if we somehow hook onto that drag event and apply always on top on last focused window it should work. However scripts like this are way out of my comfort zone so I have no idea how to do it or if it is not too hard / too much work. –  Joe Nov 20 '13 at 20:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.