maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Wine 1.3.4 on arm (https://talk.maemo.org/showthread.php?t=63336)

mscion 2010-10-05 20:18

Re: Wine 1.3.4 on arm
 
Quote:

Originally Posted by onion (Post 833528)
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 2010-10-05 20:33

Re: Wine 1.3.4 on arm
 
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:

Quote:

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.

mail_e36 2010-10-06 16:51

Re: Wine 1.3.4 on arm
 
Can you please point out which actual file needs to be modified to change the Wine home directory?

Quote:

Originally Posted by allnameswereout (Post 834156)
@ mail_e36 yes you can set your WINE homedir to something else. E.g. WINEPREFIX=/tmp/temporary_wine /usr/bin/wine /root/notepad.exe


onion 2010-10-15 10:46

Re: Wine 1.3.4 on arm
 
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.

mail_e36 2010-10-15 13:27

Re: Wine 1.3.4 on ARM
 
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

Quote:

Originally Posted by onion (Post 841810)
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.


mail_e36 2010-10-18 14:25

Re: Wine 1.3.4 on ARM
 
Onion, please take a look at the message below. Thank you.

Quote:

Originally Posted by mail_e36 (Post 841904)
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


onion 2010-10-19 10:50

Re: Wine 1.3.4 on ARM
 
Quote:

Originally Posted by mail_e36 (Post 841904)
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.

mail_e36 2010-10-19 16:50

Re: Wine 1.3.4 on ARM
 
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.


Quote:

Originally Posted by onion (Post 844924)
Wine home is under /home/user so it shouldn't take any space from root.


Megaltariak 2010-10-19 16:58

Re: Wine 1.3.4 on arm
 
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.

GeraldKo 2010-10-19 19:42

Re: Wine 1.3.4 on arm
 
Quote:

Originally Posted by lma (Post 832994)
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!]


All times are GMT. The time now is 05:02.

vBulletin® Version 3.8.8