Lubuntu

Discussion and advice about emulating the QL on other machines.
User avatar
Mr_Navigator
QL Fanatic
Posts: 782
Joined: Mon Dec 13, 2010 11:17 pm
Location: UK, Essex
Contact:

Lubuntu

Post by Mr_Navigator »

I wont bore you with how I got to this stage, suffice to say, my old and trusty Laptop has been given a dust-off as I found it while packing. Windows bloat-ware has kept every operation to a snails pace, even after a clean install, wiping and formatting the drive. I have in the past tried installing Linux as a look and see, and things always ran fast and smooth but the stumbling block was the wireless connection as Linux put a wrapper around the Windows driver for the particular hardware I have. Its a Medion Laptop, which I bought in Woolworths, yes Medion (who?) and Woolworths (who?).

Now in the past my experience with the Raspi and uQLx came to a grinding halt and thats a future project, so my experience is non-existent. Most of the Linux guides assume a working knowledge of Linux, which I don't have. Anyway after a quick search on the internet for the top ten Linux Distros for 2014 (I know all the lingo now woohoo), Lubuntu came up trumps as a light package especially for older laptops. Downloaded, installed and runs fine especially with my newly acquired and tiny USB WiFi dongle http://www.ebay.co.uk/itm/WIFI-150MBPS- ... 1023374826 it connects with no problem at all.

Great, Chrome installed (I don't like Firefox, but that's my preference) I thought, OK QL time, what can I install. SMSQmulator, it runs on JAVA and in Linux, downloaded, un-archived, read the instructions/readme, Yes it has been tested/ran on Lubuntu, great I thought. downloaded the correct JAVA package, followed the instructions on the JAVA website for installing.

So where I am now, is here.
ScreenShot01.png
ScreenShot01.png (16.21 KiB) Viewed 6356 times
Un-packed JAVA, unpacked SMSQmulator, double clicking on the SMSQmulator.JAR file just opens up another un-archive option with more folders and files, I don't think I am supposed to do that, but as a LINUX newbie/I know nothing and its all confusing, I am not sure what I am doing wrong or what to do next.

Is there a dummies guide to this process at all?

Anyone?


-----------------------------------------------------------------------------------
QLick here for the Back 2 the QL Blog http://backtotheql.blogspot.co.uk/
User avatar
tofro
Font of All Knowledge
Posts: 2685
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: Lubuntu

Post by tofro »

Lee,

probably the easiest one (without referring to a lot of desktop re-configuration):

Use an editor (like gedit) to write the following script

Code: Select all

#!/bin/bash
java -jar <path-to-SMSQmulator>/SMSQmulator.jar 
Save it to a convenient place and make it executable from your file manager application.

A simple double click from the file manager on that script should get you going then.

If that doesn't work, probably some of your PATH needs some tweaking.

Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
User avatar
XorA
Site Admin
Posts: 1358
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Lubuntu

Post by XorA »

As root run the command

Code: Select all

apt-get install openjdk-7-jre
Then you get the version of Java 7 integrated with your desktop, then just double clicking on .jar files works.

Almost always check for a package on your distro before downloading on linux.


User avatar
XorA
Site Admin
Posts: 1358
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Lubuntu

Post by XorA »

General rule for linux is 98% of the software you want/need is available from the package manager directly. You don't download like you do in windows.

On Lubuntu there should be a GUI to the package manager, called Software Something probably.


User avatar
Mr_Navigator
QL Fanatic
Posts: 782
Joined: Mon Dec 13, 2010 11:17 pm
Location: UK, Essex
Contact:

Re: Lubuntu

Post by Mr_Navigator »

Thanks T, are the <> significant?


-----------------------------------------------------------------------------------
QLick here for the Back 2 the QL Blog http://backtotheql.blogspot.co.uk/
User avatar
tofro
Font of All Knowledge
Posts: 2685
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: Lubuntu

Post by tofro »

Mr_Navigator wrote:Thanks T, are the <> significant?
Oops, no - were just intended to mark a placeholder.
replace <path to...> with the location where you put SMSQmulator, like "/home/navigator/Qmulator/" (without the quotes). The whole thing should then be the complete path to the .jar file.

Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
User avatar
XorA
Site Admin
Posts: 1358
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Lubuntu

Post by XorA »

Mr_Navigator wrote:Thanks T, are the <> significant?
In coder terms <> means insert stuff here, you replace the comment and the <> marks.


User avatar
Mr_Navigator
QL Fanatic
Posts: 782
Joined: Mon Dec 13, 2010 11:17 pm
Location: UK, Essex
Contact:

Re: Lubuntu

Post by Mr_Navigator »

XorA wrote:
Mr_Navigator wrote:Thanks T, are the <> significant?
In coder terms <> means insert stuff here, you replace the comment and the <> marks.
Thanks guys, the reason I asked is that I have tried both of your suggestions and none of it worked :(

I am trying the package manager now to see if that helps

Its called Synaptic Package Manager for your information


-----------------------------------------------------------------------------------
QLick here for the Back 2 the QL Blog http://backtotheql.blogspot.co.uk/
User avatar
XorA
Site Admin
Posts: 1358
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Lubuntu

Post by XorA »

Well I tend to use Gnome or KDE as they are fully integrated, the desktop environment in Lubuntu is much rougher around the edges.


User avatar
XorA
Site Admin
Posts: 1358
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Lubuntu

Post by XorA »

Oh and if you have installed openjdk-7-jre then java -jar SMSQmulator.jar on command line inside your unpacked zip file should always work.

You can then work backwards from this to work out what is going wrong with the script.


Post Reply