Re: [Ql-Users] Instrutions for running SMSQmulator on Raspberry Pi
Hi Derek Entered java -jar, works fine now. Just seems to be an extention of the command line. Have a desktop shortcut as well now. Plus my own custom QXL.WIN files, all fully working now. I still have a lot to learn about Raspberry Pi and Linux. Best Regards Ian - Original Message - From: "Derek Stewart"To: Sent: Wednesday, February 17, 2016 5:07 PM Subject: Re: [Ql-Users] Instrutions for running SMSQmulator on Raspberry Pi Hi Ian, If you open up the File Manager and select the SMSQmulator.jar file. Performing a right click to get the properties of the file. There should be a tab called "Open With" to define the application to open the .jar Just point toward the Java Runtime and the double clicking the Jar file will load the Java runtime and then the jar file. Just like in Windows Regards, Derek On 17/02/16 12:11, Ian Burkinshaw wrote: Hi Graeme Yes all the SMSQmulator files are owned by pi, the default user name I have been using. Just tried it again without the sudo command, and now it runs. Not sure what was going on there. Regards Ian - Original Message - From: "Graeme Gregory" To: Sent: Wednesday, February 17, 2016 10:49 AM Subject: Re: [Ql-Users] Instrutions for running SMSQmulator on Raspberry Pi Hi Ian, 'ls -l' to show detailed listing will show who owns files. Just because it is in your directory doesn't mean you own it, you could have accidentally done something like 'sudo unzip smsqemulator.zip' There is nothing in SMSQmulator or java that requires root to run so something is wrong. Graeme On Wed, 17 Feb 2016, at 10:44 AM, Ian Burkinshaw wrote: Hi Graeme I assume it is against my log-in since I can see it in the File Manager. Ian - Original Message - From: "Graeme Gregory" To: Sent: Wednesday, February 17, 2016 10:35 AM Subject: Re: [Ql-Users] Instrutions for running SMSQmulator on Raspberry Pi > > > On 17/02/2016 10:29, Ian Burkinshaw wrote: >> So the trouble was I needed to start it as a super user (sudo) > > I really hope thats not true as it goes totally against the reason > for > user accounts :-) > > Make sure the jar file is owned by your logged in user. > > Graeme > > ___ > QL-Users Mailing List > ___ QL-Users Mailing List ___ QL-Users Mailing List ___ QL-Users Mailing List ___ QL-Users Mailing List ___ QL-Users Mailing List
Re: [Ql-Users] Instrutions for running SMSQmulator on Raspberry Pi
Hi Ian, If you open up the File Manager and select the SMSQmulator.jar file. Performing a right click to get the properties of the file. There should be a tab called "Open With" to define the application to open the .jar Just point toward the Java Runtime and the double clicking the Jar file will load the Java runtime and then the jar file. Just like in Windows Regards, Derek On 17/02/16 12:11, Ian Burkinshaw wrote: Hi Graeme Yes all the SMSQmulator files are owned by pi, the default user name I have been using. Just tried it again without the sudo command, and now it runs. Not sure what was going on there. Regards Ian - Original Message - From: "Graeme Gregory"To: Sent: Wednesday, February 17, 2016 10:49 AM Subject: Re: [Ql-Users] Instrutions for running SMSQmulator on Raspberry Pi Hi Ian, 'ls -l' to show detailed listing will show who owns files. Just because it is in your directory doesn't mean you own it, you could have accidentally done something like 'sudo unzip smsqemulator.zip' There is nothing in SMSQmulator or java that requires root to run so something is wrong. Graeme On Wed, 17 Feb 2016, at 10:44 AM, Ian Burkinshaw wrote: Hi Graeme I assume it is against my log-in since I can see it in the File Manager. Ian - Original Message - From: "Graeme Gregory" To: Sent: Wednesday, February 17, 2016 10:35 AM Subject: Re: [Ql-Users] Instrutions for running SMSQmulator on Raspberry Pi > > > On 17/02/2016 10:29, Ian Burkinshaw wrote: >> So the trouble was I needed to start it as a super user (sudo) > > I really hope thats not true as it goes totally against the reason for > user accounts :-) > > Make sure the jar file is owned by your logged in user. > > Graeme > > ___ > QL-Users Mailing List > ___ QL-Users Mailing List ___ QL-Users Mailing List ___ QL-Users Mailing List ___ QL-Users Mailing List
Re: [Ql-Users] Instrutions for running SMSQmulator on Raspberry Pi
Hi Ian, Just tried it again without the sudo command, and now it runs. Not sure what was going on there. Ah, isn't computing fun? Who ever said it was a science? Anyway, good, as Graeme said, there's no need to run it as root. Have fun. Wolfgang Regards Ian - Original Message - From: "Graeme Gregory"To: Sent: Wednesday, February 17, 2016 10:49 AM Subject: Re: [Ql-Users] Instrutions for running SMSQmulator on Raspberry Pi Hi Ian, 'ls -l' to show detailed listing will show who owns files. Just because it is in your directory doesn't mean you own it, you could have accidentally done something like 'sudo unzip smsqemulator.zip' There is nothing in SMSQmulator or java that requires root to run so something is wrong. Graeme On Wed, 17 Feb 2016, at 10:44 AM, Ian Burkinshaw wrote: Hi Graeme I assume it is against my log-in since I can see it in the File Manager. Ian - Original Message - From: "Graeme Gregory" To: Sent: Wednesday, February 17, 2016 10:35 AM Subject: Re: [Ql-Users] Instrutions for running SMSQmulator on Raspberry Pi > > > On 17/02/2016 10:29, Ian Burkinshaw wrote: >> So the trouble was I needed to start it as a super user (sudo) > > I really hope thats not true as it goes totally against the reason for > user accounts :-) > > Make sure the jar file is owned by your logged in user. > > Graeme > > ___ > QL-Users Mailing List > ___ QL-Users Mailing List ___ QL-Users Mailing List ___ QL-Users Mailing List ___ QL-Users Mailing List
Re: [Ql-Users] Instrutions for running SMSQmulator on Raspberry Pi
Hi Graeme Yes all the SMSQmulator files are owned by pi, the default user name I have been using. Just tried it again without the sudo command, and now it runs. Not sure what was going on there. Regards Ian - Original Message - From: "Graeme Gregory"To: Sent: Wednesday, February 17, 2016 10:49 AM Subject: Re: [Ql-Users] Instrutions for running SMSQmulator on Raspberry Pi Hi Ian, 'ls -l' to show detailed listing will show who owns files. Just because it is in your directory doesn't mean you own it, you could have accidentally done something like 'sudo unzip smsqemulator.zip' There is nothing in SMSQmulator or java that requires root to run so something is wrong. Graeme On Wed, 17 Feb 2016, at 10:44 AM, Ian Burkinshaw wrote: Hi Graeme I assume it is against my log-in since I can see it in the File Manager. Ian - Original Message - From: "Graeme Gregory" To: Sent: Wednesday, February 17, 2016 10:35 AM Subject: Re: [Ql-Users] Instrutions for running SMSQmulator on Raspberry Pi > > > On 17/02/2016 10:29, Ian Burkinshaw wrote: >> So the trouble was I needed to start it as a super user (sudo) > > I really hope thats not true as it goes totally against the reason for > user accounts :-) > > Make sure the jar file is owned by your logged in user. > > Graeme > > ___ > QL-Users Mailing List > ___ QL-Users Mailing List ___ QL-Users Mailing List ___ QL-Users Mailing List
Re: [Ql-Users] Instrutions for running SMSQmulator on Raspberry Pi
Hi Ian, 'ls -l' to show detailed listing will show who owns files. Just because it is in your directory doesn't mean you own it, you could have accidentally done something like 'sudo unzip smsqemulator.zip' There is nothing in SMSQmulator or java that requires root to run so something is wrong. Graeme On Wed, 17 Feb 2016, at 10:44 AM, Ian Burkinshaw wrote: > Hi Graeme > > I assume it is against my log-in since I can see it in the File Manager. > > Ian > > - Original Message - > From: "Graeme Gregory"> To: > Sent: Wednesday, February 17, 2016 10:35 AM > Subject: Re: [Ql-Users] Instrutions for running SMSQmulator on Raspberry > Pi > > > > > > > > On 17/02/2016 10:29, Ian Burkinshaw wrote: > >> So the trouble was I needed to start it as a super user (sudo) > > > > I really hope thats not true as it goes totally against the reason for > > user accounts :-) > > > > Make sure the jar file is owned by your logged in user. > > > > Graeme > > > > ___ > > QL-Users Mailing List > > > > ___ > QL-Users Mailing List ___ QL-Users Mailing List
Re: [Ql-Users] Instrutions for running SMSQmulator on Raspberry Pi
Hi Graeme I assume it is against my log-in since I can see it in the File Manager. Ian - Original Message - From: "Graeme Gregory"To: Sent: Wednesday, February 17, 2016 10:35 AM Subject: Re: [Ql-Users] Instrutions for running SMSQmulator on Raspberry Pi On 17/02/2016 10:29, Ian Burkinshaw wrote: So the trouble was I needed to start it as a super user (sudo) I really hope thats not true as it goes totally against the reason for user accounts :-) Make sure the jar file is owned by your logged in user. Graeme ___ QL-Users Mailing List ___ QL-Users Mailing List
Re: [Ql-Users] Instrutions for running SMSQmulator on Raspberry Pi
Hi Marcos Checked Java was there and correct with $ java -version That proved to be OK. Then $ sudo java -jar /home/pi/Downloads/SMSQmulator.jar Also forgot that the operating system is case sensitive, the 'D' in Download being the culprit. Still not able to double click on the file in file manager to launch. So the trouble was I needed to start it as a super user (sudo) and case sensitive in the command line. Also the pi needs to be running in GUI mode. So entering the command line in LXterminal. So now looking into setting up a short cut to launch from the GUI. Running on a Pi2 and the speed is not bad as far as I can see. Making it portable, by running off batteries, using a USB power block. Give a few hours operation between charges. The touch screen removes the need for a mouse and Florence the on screen keyboard and also setting the config to boot straight to the GUI. Regards Ian - Original Message - From: "Marcos Cruz"To: Sent: Tuesday, February 16, 2016 8:07 PM Subject: Re: [Ql-Users] Instrutions for running SMSQmulator on Raspberry Pi En/Je/On 2016-02-16 19:27, Ian Burkinshaw escribió / skribis / wrote : Got it working now. What was the problem? Working is a Pi with the 7" touchscreen and on screen keyboard Florence. so a portable QL with no keyboard or mouse. What did you use to make the Pi portable? I built my own portable Pi and I'm very happy with it, I'm using it as my main computer. http://programandala.net/en.computer.raspesis.0x07.html -- Marcos Cruz http://programandala.net ___ QL-Users Mailing List ___ QL-Users Mailing List
Re: [Ql-Users] Instrutions for running SMSQmulator on Raspberry Pi
On 17/02/2016 10:29, Ian Burkinshaw wrote: So the trouble was I needed to start it as a super user (sudo) I really hope thats not true as it goes totally against the reason for user accounts :-) Make sure the jar file is owned by your logged in user. Graeme ___ QL-Users Mailing List