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.

I'm using Tera Term, a Windows virtual terminal emulator with Wine due to a legacy application. Everything else works wonderfully, but for some reason the window requires two clicks to gain focus. After being minimized it at first comes to the foreground and only becomes focused when its "tab" is pressed again on the lower panel.

On Linux I cannot use some keys such as F1-F12 without specifying another terminal manually during login, this extra hassle is not justifiable for the end-user. With TeraTerm it seems to work out of the box.

I did not actually install the software in the usuaul sense - I just ran the executable that I copied from a Windows installation and it worked just fine besides the focus issue. I'm not actually using Ubuntu, but a modified version of it called Estobuntu which comes with some additional Estoninan software.

I have come up with a temporary solution, but it is still a bit inconvenient by setting the gnome windows to gain focus on mouse over movement.

Any ideas?

Thanks

share|improve this question
    
can you explain why you need tera-term - there are better linux based terminal emulators such as Putty - what doesnt work when you use a linux based terminal emulator? –  fossfreedom Sep 13 '11 at 17:33
    
On Linux I cannot use some keys such as F1-F12 without specifying another terminal manually during login, this extra hassle is not justifiable for the end-user. With TeraTerm it seems to work out of the box. –  Uku Loskit Sep 13 '11 at 17:43
    
Please add that comment into your question - further question - what version of ubuntu are you using and what version of wine are you using? Was it a simple "setup.exe" install or did you have to do anything extra? –  fossfreedom Sep 13 '11 at 17:46
    
Questions should relate to an accepted version of Ubuntu on this site (askubuntu.com/faq#questions). Please try an official version to confirm whether this is still an issue. –  fossfreedom Sep 13 '11 at 18:59
    
I don't use Ubuntu for this purpose any more, that "solved" it. –  Uku Loskit Feb 29 '12 at 15:05
add comment

closed as too localized by fossfreedom, jrg Mar 6 '12 at 15:56

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

This could between wine and compiz. Wine doesn't get along with compiz very well. You could switch from compiz to metacity. I don't know what exactly you are doing but you could use another terminal program like mincom. Here the source for the problem:

http://wiki.winehq.org/FAQ#head-db2fa150a8b8f906508959b92beb00768ec6ec47

Could also be another problem with the wine configuration for the app but since I don't know your config and there are many things which could get wrong I don't know if this is your problem.

share|improve this answer
    
I'd prefer it if I didn't have to give up using Compiz nor TeraTerm. Compiz provides me with the ability to apply rules (making windows unresizable and unmaximizable) to Windows, this is required because it doing the former messes up the terminal-based app. –  Uku Loskit Sep 13 '11 at 16:32
    
+1 nevertheless –  Uku Loskit Sep 13 '11 at 16:42
    
No, it did not fix the issue. –  Uku Loskit Sep 13 '11 at 17:01
    
Too bad. You could try another version of TeraTerm or download the source code and try to compile it for the use on linux. Or play around with the wine settings. –  Sebastian Grebe Sep 13 '11 at 17:06
add comment

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