Active Topics

 



Notices


Reply
Thread Tools
Posts: 1,873 | Thanked: 4,529 times | Joined on Mar 2010 @ North Potomac MD
#31
Originally Posted by onion View Post
Not really a dead end, combined with a emulator it could be possible to run some apps. It's not like it hasn't been done before. Just google for WABI.
Several years ago I used Win4lin, which often worked well.
It would be useful to have something like this on the n900,
but not with the intention of having the entire desktop envirionment.
Only as a way to run certain apps. Something like having easy Debian
but not actaully using the LDXE. One would make desktop shortcuts
to run, say, word or power point from Win4lin, as opposed to the open
office applications in Debian. I guess this is the point of using Wine in the
first place! Anyways, I don't really know enough about how to do this and
maybe you run into the same problems with the processors mentioned
earlier in this thread. But it would be nice if it worked!
 
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#32
No, WINE for ARM is not useful with an x86-32 emulator. Those who think so are confusing the 2 following situations:

1) ARM/Linux -> WINE for ARM -> Windows/ARM binary (usually means an open source Windows application)
2) ARM/Linux -> x86-32 emulator-> WINE for x86-32 -> Windows/x86-32 binary (almost all (proprietary) Windows applications in existence)

Clearly, we're discussing option 1 which is most useful for portability and debugging reasons. Option 2 means you must emulate a wholex 86-32 architecture which is too much a performance impact to even consider. Option 2 also has another disadvantage that all Windows applications are written for a Windows desktop UI with mouse and keyboard instead of for a device with the UI experience as Nokia N900 with Maemo 5.

If you really have to use Windows applications there are more suitable solutions such as running it on a x86-32 portable computer (netbook or w/e), or something smaller w/o a screen, or a server you connect to from your N900 using e.g. rdesktop.

@ mail_e36 yes you can set your WINE homedir to something else. E.g. WINEPREFIX=/tmp/temporary_wine /usr/bin/wine /root/notepad.exe

This is explained in the manual:

WINEPREFIX
If set, the content of this variable is taken as the name of the directory where wine stores its data (the default is $HOME/.wine ). This
directory is also used to identify the socket which is used to communicate with the wineserver. All wine processes using the same wine‐
server (i.e.: same user) share certain things like registry, shared memory, and config file. By setting WINEPREFIX to different values for
different wine processes, it is possible to run a number of truly independent wine processes.
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 
Posts: 393 | Thanked: 67 times | Joined on Feb 2010
#33
Can you please point out which actual file needs to be modified to change the Wine home directory?

Originally Posted by allnameswereout View Post
@ mail_e36 yes you can set your WINE homedir to something else. E.g. WINEPREFIX=/tmp/temporary_wine /usr/bin/wine /root/notepad.exe
 
Posts: 96 | Thanked: 105 times | Joined on Aug 2006 @ Finland
#34
Just a small update, enabling Desktop mode makes it work a bit nicer as the windows won't be handled by the maemo window manager.
winecfg is a bit of a pain so edit ~/.wine/user.reg and add
Code:
[Software\\Wine\\Explorer] 1287126526
"Desktop"="Default"

[Software\\Wine\\Explorer\\Desktops] 1287126530
"Default"="800x480"
somewhere suitable, after the header lines.
__________________
--
2x770, N810 and 2xN900, N950, 2xN9, BBZ10
Devel - twitter - blog
 

The Following 3 Users Say Thank You to onion For This Useful Post:
Posts: 393 | Thanked: 67 times | Joined on Feb 2010
#35
Onio, thanks for your last note.

On a slightly different note, can you please point out which actual file needs to be modified to change the Wine home directory? The idea is to move the Wine home directory out of the root of the N900 where it is eating up precious root space

Thank you

Originally Posted by onion View Post
Just a small update, enabling Desktop mode makes it work a bit nicer as the windows won't be handled by the maemo window manager.
winecfg is a bit of a pain so edit ~/.wine/user.reg and add
Code:
[Software\\Wine\\Explorer] 1287126526
"Desktop"="Default"

[Software\\Wine\\Explorer\\Desktops] 1287126530
"Default"="800x480"
somewhere suitable, after the header lines.
 
Posts: 393 | Thanked: 67 times | Joined on Feb 2010
#36
Onion, please take a look at the message below. Thank you.

Originally Posted by mail_e36 View Post
Onio, thanks for your last note.

On a slightly different note, can you please point out which actual file needs to be modified to change the Wine home directory? The idea is to move the Wine home directory out of the root of the N900 where it is eating up precious root space

Thank you
 
Posts: 96 | Thanked: 105 times | Joined on Aug 2006 @ Finland
#37
Originally Posted by mail_e36 View Post
home directory out of the root of the N900 where it is eating up precious root space
Wine home is under /home/user so it shouldn't take any space from root.
__________________
--
2x770, N810 and 2xN900, N950, 2xN9, BBZ10
Devel - twitter - blog
 
Posts: 393 | Thanked: 67 times | Joined on Feb 2010
#38
Onion,

It appears that Wine does take up 9.8 MB of space on /root/.wine

The same files also takes up the same amount of space on /home/user/.wine

Could the /root/.wine entry have been automatically created because I used Wine as the root user?

Please let us know, thank you.


Originally Posted by onion View Post
Wine home is under /home/user so it shouldn't take any space from root.
 
Posts: 346 | Thanked: 271 times | Joined on Jan 2010
#39
Yes, it is perfectly normal if you used wine as root, you can delete them as there is no point at running wine as root.
 
Posts: 1,950 | Thanked: 1,174 times | Joined on Jan 2008 @ Seattle, USA
#40
Originally Posted by lma View Post
Not x86 binaries at any rate, but perhaps there are some good open source win32 programs worth "porting"?
Well, it's not OpenSource, but my all-time favorite program, EccoPro, was discontinued in 1997 but made freely available. It runs on WINE on a desktop and is not too "heavy" a program -- no surprise since it's so old. Here is a thread from this month about running EccoPro on Ubuntu.

I and many others still rely on Ecco Pro, and not because our data is stuck in it, but because no other personal information manager compares. While it used to be hosted free, these days it can be downloaded by buying a $10 membership to the website/forum that hosts the software. Or if you PM me I'll email you a copy.

It's the most award-winning information manager in history. If you have any interest, start with this article.

I know that it ran on WINE long ago. Since it's rather lightweight and cleanly coded, maybe it will run on WINE on a Tablet/N900. I'd sure be interested to find out!

[That is, I'd be interested to find out, but I've never installed Linux anywhere and own an N800, not an N900. My interest in WINE arises from my interest in EccoPro; my notion is that if I ever leave Windows XP, I'll go to Linux, but I'm taking EccoPro with me!]
 
Reply


 
Forum Jump


All times are GMT. The time now is 03:54.