Complete Linux noob needing help with Wine

Discuss Sugar, upgrades and developer perspectives.

Complete Linux noob needing help with Wine

Postby Hobnob » Mon Nov 16, 2009 10:15 am

Hi there

I'm a developer of educational software, mostly for Windows and Mac, but we've had it running on Linux through Wine before now. I'm trying to get it running on an XO machine and getting completely stuck - I can't work out how to get Wine installed or how to run our software through it. In the long run we'd be hoping to get the software and Wine packaged together as a single Activity, but for now I was just hoping to run it directly off a USB stick as a standalone app as a proof of concept.

I find Linux very confusing and would really appreciate a step-by-step guide that doesn't assume any knowledge at all!

Thanks
Hob
Hobnob
 
Posts: 6
Joined: Mon Nov 16, 2009 10:09 am

Re: Complete Linux noob needing help with Wine

Postby culseg » Mon Nov 16, 2009 10:07 pm

Hobnob wrote:Hi there

I'm a developer of educational software, mostly for Windows and Mac, but we've had it running on Linux through Wine before now. I'm trying to get it running on an XO machine and getting completely stuck - I can't work out how to get Wine installed or how to run our software through it. In the long run we'd be hoping to get the software and Wine packaged together as a single Activity, but for now I was just hoping to run it directly off a USB stick as a standalone app as a proof of concept.

I find Linux very confusing and would really appreciate a step-by-step guide that doesn't assume any knowledge at all!

Thanks
Hob


Hob,

That's a tall order to send a step-by-step for what might big project! But here are some links and ideas:

http://wiki.laptop.org/go/Wine This leads to a Wine Activity that you can view as an example.

http://wiki.laptop.org/go/Developers/FA ... ity_GUI.3F This link is within the Developer's tab found at the main support wiki.

And a place to contact developers, review code samples for Activities, exchange ideas, etc. is http://www.sugarlabs.org/ (advice I have picked up is that the best way to build an Activity is to follow the source code in an existing Activity)

Finally, if you have a set of new ideas to share community wide, then you can request XO hardware for testing your ideas and contributions at: http://wiki.laptop.org/go/Contributors
culseg
Support Team
 
Posts: 105
Joined: Sun Dec 30, 2007 2:21 pm

Re: Complete Linux noob needing help with Wine

Postby Hobnob » Wed Nov 18, 2009 5:40 am

Thanks for that. I've already got the Wine activity you linked to, but I can't work out how to install it - as I say, complete Linux novice. The docs say I need to install something with a .xo, but this is a zip file with a .activity file inside.

(Side note: I'm sure Linux is lovely and all, but personally, I quite like the fact that I don't usually have to type DOS commands any more...)
Hobnob
 
Posts: 6
Joined: Mon Nov 16, 2009 10:09 am

Re: Complete Linux noob needing help with Wine

Postby culseg » Wed Nov 18, 2009 11:00 am

You can install an Activity by downloading to your net-connected XO, see:

http://wiki.laptop.org/go/Activities

The WiNE XO activity when downloaded will show a new icon on your XO. No command line programs needed.

Linux does take some effort...but if you have ambitious goals for porting and developing an Activity for kids that use open source systems, it is likely to be well worth jumping into the learning curve!
culseg
Support Team
 
Posts: 105
Joined: Sun Dec 30, 2007 2:21 pm

Re: Complete Linux noob needing help with Wine

Postby Hobnob » Wed Nov 18, 2009 11:35 am

I'm not on a wireless network here and (frustratingly) there's no way to connect it to our normal network. I was hoping to install it from a stick instead.

I agree with you about the learning curve, but I need to get the proof of concept first - given the low spec of the machines, we're not very hopeful that we'll be able to get it working at all yet.

Thanks for your help
Hob
Hobnob
 
Posts: 6
Joined: Mon Nov 16, 2009 10:09 am

Re: Complete Linux noob needing help with Wine

Postby culseg » Wed Nov 18, 2009 3:49 pm

Hob,

Your can connect your XO via wire using a USB to Ethernet connection, see:

http://wiki.laptop.org/go/USB_ethernet_adaptors

If you have ideas that fit with using the upcoming XO 1.5 (faster hardware) then check out the Contributor's Program at:
http://wiki.laptop.org/go/Contributors_program
culseg
Support Team
 
Posts: 105
Joined: Sun Dec 30, 2007 2:21 pm

Re: Complete Linux noob needing help with Wine

Postby Hobnob » Thu Nov 19, 2009 5:26 am

That's great to know, thanks, but I'd still prefer to use the stick if possible. Most likely we'd be delivering on sticks in any case, and even if I can get the Wine activity running, I'd still need to run our software via the stick.

I think in some ways the Wine activity is a red herring anyway: I don't really need to run a Windows desktop, I just want to open our application using Wine as a standalone app (essentially as an activity in its own right). I got that working on Ubuntu, I'm just a little bit lost here.

Thanks again
Hobnob
 
Posts: 6
Joined: Mon Nov 16, 2009 10:09 am

Re: Complete Linux noob needing help with Wine

Postby culseg » Thu Nov 19, 2009 11:34 am

Hob,

You can install any Sugar-enabled Activity via a USB stick or downloading to the XO.

Why can't your XO connect to a network? Test your XO in a free Wifi library or community center, then check the support wiki for details. Use the search bar here at the Forum or at the support wiki.

If you decide to continue with Wine, you may want to review docs and contact a developer via:
http://wiki.winehq.org/SugaredWine

Getting involved with Sugarlabs where Sugar in being actively developed and deployed as "Sugar on a Stick" SOAS could be interesting for you, see: http://wiki.sugarlabs.org/go/Downloads

Culseg
culseg
Support Team
 
Posts: 105
Joined: Sun Dec 30, 2007 2:21 pm

Re: Complete Linux noob needing help with Wine

Postby Hobnob » Thu Nov 19, 2009 12:23 pm

culseg wrote:You can install any Sugar-enabled Activity via a USB stick or downloading to the XO


Thank you but Aaaaargh. This is the thing I still don't know how to do and would love some help with...

culseg wrote:Why can't your XO connect to a network? Test your XO in a free Wifi library or community center, then check the support wiki for details. Use the search bar here at the Forum or at the support wiki.


Fair enough, but I can't really justify taking time out of the office to wander around looking for libraries with internet connections, especially when I still can't quite pin down what it is that said connections will help me achieve. After all, given the aim of these machines, it seems to me that any system that insists on a working wireless connection is missing the point somewhat. I can't quite understand why no one thought to set up a clear and simple 'You've plugged in a USB stick, what do you want to do with it' wizard. I pity these poor kids for whom this machine is their first introduction to computers, it's like the last 20 years of interface development have been completely passed by and instead someone decided the most important thing they needed was a Python programming app.

Sorry, rant over. But this is starting to frustrate me a bit - can you tell?

All your help still appreciated, though!
Hobnob
 
Posts: 6
Joined: Mon Nov 16, 2009 10:09 am

Re: Complete Linux noob needing help with Wine

Postby culseg » Thu Nov 19, 2009 3:15 pm

See these pages with pictures on how to install Activities.
http://www.laptop.org/8.2.0/manual/Suga ... ities.html

Start by updating your XO (yes, using a USB stick) then glance at the manual which is an Activity and is also on line,at: http://www.laptop.org/8.2.0/manual/ More pictures to help! Hundreds of thousands of kids have learned how to use XOs!

If you are still stuck getting network access for your XO, try here: http://wiki.laptop.org/go/Wifi_Connectivity
And look at the wireless help areas of the manual linked above.

XOs often work best in a school, group, or community settings, and XOs can use a school server for network access.

XOs have been distributed in many countries, often in the least developed areas. Wide distribution to all kids is an OLOC goal, and for example, every school age child in Uruguay has an XO!

Of course, we all rant a bit when we are stymied. I understand. I have sent you a raft of useful information and links to open the way to learn some new tricks.

Thanks for your thanks, I am a volunteer, and though not a coder, I can steer you to the right places to learn from others.
culseg
Support Team
 
Posts: 105
Joined: Sun Dec 30, 2007 2:21 pm


Return to Sugar, Linux and System Software

Who is online

Users browsing this forum: No registered users and 1 guest

cron