UESP Forums
http://forums.uesp.net/

Opening console in Linux (Wine) doesn't work
http://forums.uesp.net/viewtopic.php?f=26&t=21581
Page 1 of 1

Author:  Pavouk106 [ Wed Apr 20, 2011 12:57 pm ]
Post subject:  Opening console in Linux (Wine) doesn't work

Hello,

recently I wanted to use console in Morrowind and I couldn't turn it on. Tilde key (~) doesn't work, because it's under Shift + Tilde combination (in my keyboard layout) and none of Shift + <any key> can be written in Morrowind (for example characters above numbers etc.; except BIG letters). For example when I save game, I can't write tilde (~) and other special characters obtained through Shift.

Can somebody on Windows try writing some special character with Shift key and confirm/not-confirm this?

I suppose this "bug?" has solution in changing keyboard layout in Linux, but I wouldn't like to do it that way. Rest of layout is ok, just like in KDE, except these combinations.

Maybe it can be changed in registry or some config file, but I don't know how/where. Anybody here knows?

Thanks

Author:  Haravikk [ Wed Apr 20, 2011 1:34 pm ]
Post subject:  Re: Opening console in Linux (Wine) doesn't work

I've run both Morrowind and Oblivion under WINE and I don't think I actually had to press Shift on either, just hitting the correct key (the slanted apostrophe `) should do it.

Author:  Andere [ Wed Apr 20, 2011 3:46 pm ]
Post subject:  Re: Opening console in Linux (Wine) doesn't work

Topic moved to The Tech Desk.

Author:  Pavouk106 [ Wed Apr 20, 2011 5:32 pm ]
Post subject:  Re: Opening console in Linux (Wine) doesn't work

Haravikk: I have run it in Linux before and console was working for me too, I don't know why it doesn't run now.

Correction - not Shift, but right Alt (I do this kind of characters via right Alt)

I will try different keyboard layout to work it out and maybe start Morrowind via bash script (change layout, run MW, change back)

Andere: Sorry :oops:

Author:  Andere [ Thu Apr 21, 2011 11:19 am ]
Post subject:  Re: Opening console in Linux (Wine) doesn't work

Pavouk106 wrote:
Andere: Sorry :oops:

No problem, none whatsoever. :wink:

Author:  Pavouk106 [ Fri Apr 29, 2011 7:58 pm ]
Post subject:  Re: Opening console in Linux (Wine) doesn't work

Hello back. I have final solution which I will use from now on.

I have created file called morrowind and put this inside

Code:
!#/bin/bash
setxkbmap -layout us
cd /home/pavouk/.wine/drive_c/Program\ Files/Bethesda\ Softworks/Morrowind/
wine Morrowind.exe
setxkbmap -layout cz


After that I had to change permissions by

Code:
chmod +x morrowind


Now all you have to do is to make some sort of desktop icon which points to this file and play ;-)

Reverse engineering of that file:
1. line - which interpreter to use
2. - change keyboard to US layout (with ~ tilde between Esc and Tab)
3. change directory to where Morrowind is installed
4. run Morrowind.exe via Wine
5. change keyboard back to CZ (in my case)

Even when Morrowind crashes (sometimes), keyboard changes back to Czech ;-) In fact, fifth line waits for completing the task on fourth line, which happens after crash or normal exit. Hope it helps to somebody else ;-)

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/