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.

Is the following I will explain possible with a key combination?

Here is the image:

enter image description here

As you can see, the terminal is the focus window (Front window) and Nautilus is in the background (Back Window). How can I grab a folder or file from Nautilus without loosing focus on the terminal (Without making the terminal go to the background and Nautilus to the front) and drop it in the terminal?. What I want is not to have to ALT+TAB again just to do this.

Options like resizing the windows to fit the screen are not what I am looking for. Like in the image, we have a fullscreen window that we want it to stay like that. We can drag the terminal window around but anytime I access the background nautilus window, I should not loose focus on the terminal (It should not go to the background every time I access Nautilus). Maybe like a key combination that freezes the current focus windows positions and I can drag from background windows to background windows or background windows to the front focused one.

share|improve this question
add comment

3 Answers 3

up vote 3 down vote accepted

Right-click on the Terminal title-bar and select Always On Top. You can now drag files from Nautilus to Terminal.

share|improve this answer
add comment

Responsible for this behaviour on all windows is Metacity. By opening gconf-editor we can disable it.

Note that you then will no longer be able to raise any window by clicking on it.

enter image description here

share|improve this answer
    
Nicely done Takkat. Is there a way to for example create a shortcut that will enable/disable this option whenever the keys are pressed. For example leaving SUPER+Z pressed will enable the feature while I drag stuff and then after releasing will activate the option again. –  Luis Alvarado Sep 30 '12 at 18:07
    
You may be able to call gconftool-2 from a keyboard shortcut to set raise_on_click but as soon as you update to 12.10 this will probably not work any more. –  Takkat Sep 30 '12 at 18:13
    
Your answer is correct. But it has some buggy feature :P –  Anwar Shah Sep 30 '12 at 18:37
    
A much better approach would be to get the windows manager to raise a window on mouse button release rather than on click. But afaik this is not implemented. –  Takkat Sep 30 '12 at 18:53
add comment

I don't know if this is what you were looking for, but I just resize the windows and put them side-by-side. Like this:

enter image description here

Hope this helps!

share|improve this answer
    
No. That would involve resizing the windows. The question is to not be able to resize them, just grab something from the background window without the front one loosing focus.. Resizing will just eat time to do a simple drag or copy/paste. I will add this to the question to clarify. –  Luis Alvarado Sep 30 '12 at 16:26
add comment

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.