I no longer use ubuntu (I use Gentoo instead), but I have done so in the past. I don't like it for NWN because of various issues with the way I run it, yet NWN does work very well in Ubuntu once you get it running.
Now for the issue at hand: windowed mode The easiest solution is if you simply want to play in Windowed mode: Set AllowWindowedMode=1 and Fullscreen=0 in the nwn.ini under the [Display Options] section. This should make NWN start in Windowed Mode, and then you don't have to use alt-enter to get there.
If you want to play in Fullscreen mode with the ability to "alt-tab" to your desktop, the easiest thing to do is simply run the Windows version of NWN in Wine. If you really want to use the linux version, things get a lot trickier. It involves running NWN in a separate X session from your desktop. If you really want to do this, let me know and I'll post the dirty details.
One last thing: No matter what you do, you won't be able to copy/paste to/from the linux version of NWN. If you want to do that, you need to run the windows version of NWN in Wine. This will also solve your problem with fullscreen mode and alt-tab, if you like to be able to do that.
Hope this helps. :-)
One last thing: No matter what you do, you need to open the "nwn" script in a text editor and remove ./lib from the LD_LIBRARY_PATH statement in there, so that it reads:
That way, NWN will use the SDL provided by Ubuntu instead of its own (which is known to cause problems on modern linux distributions).
Thanks for the info guys, this was most helpfull. I've got to work but will let you know how it turned out next time I get a chance. I'd play the game in a window by default but my framerate suffers a bit. I just like the ability to go back to desktop to work with Skype and other software as needed.
How is the performance of NWN via Wine? is it worth persusing?
I've found NWN on Wine to run just a bit slower than native, but Wine improves all the time. Were I you, I'd try it and see what happens.
If the performance is unacceptable to you, let me know and I'll try to walk you through the method I use (it might take me a bit to get the info together, tho - Gentoo is much, much nicer for this, but also has its lumps).
Really? This could be due to how the Unity desktop works, or it could just be something I haven't tried (I hardly ever use the winkey). Unfortunately, I doubt I could run NWN on Unity and get a framerate that's even close to reasonable on my box. Maybe if/when I get a decent computer I'll try it.
Anyway, I do NOT recommend running NWN on Unity 3D unless you've got a fairly recent computer, since doing so will likely take more resources than running NWN on Vista/7 with Aero enabled.
This reminds me: I need to take another look at the nouveau driver. I'm getting tired of the blob crashing nwn on me. On second thought, I'll give these folks time to get reclocking support (read: support for running the card at full speed in 3d mode) fixed. --Arek