Norman Dunbar wrote, on 7/Sep/12 16:10 | Sep7:
Hi Bryan,


On 07/09/12 15:32, Bryan Horstmann wrote:
It would be nice to demonstrate a set-up
which just brought up QL quickly on switching on, as the QL did,
providing programming straight away, or the Xchange suite if needed.  No
need for it to be a QL look-alike.

Login to your pi as the pi user, for example. Then create/edit a file in
your $HOME directory, named .xsession - leading dot and all lower case.

Add the following:

#!/usr/bin/sh
/usr/local/bin/qm &

Save and exit.

You can of course, replace qm with qx, qxx or qxxx to run Uqlx on login,
or indeed, any other GUI type program can be started in the same file.
Just add it's name into the file with a trailing ampersand to make it a
batch job.

Make it executable:

chmod 755 ./xsession

This causes Uqlx (the qm version) to be run whenever you connect with a
GUI session.

This works when you login as the pi user directly and the Pi is
connected to the HDMI/TV or when you login to the pi user via a VNC
session. (Which is what I tend to do.)

... and that user name caused me a few hassles when I set up mine.
The first thing I did was get rid of that user, and make a 'tony'.
However a number of suggestions on setting up had 'pi' in the command line and I didn't twig what that was first time!

Any instructions, especially command line quotes, should put <user> when they have pi there!
It only affects logins to a GUI and as the pi user. If you have more
users set up and you want them to run something on login to a GUI, then
instead of creating the same file in everyone's $HOME, create it in
/etc/X11/Xsession.d and call it startup instead.

Well, that's the theory at least, I haven't tried the latter version
myself.
I really must find time to play QL on my pi (8-)#

Also a number of hardware mods are hinted at in the UK production.
One definitely is removing the three pcb fuses (F1/2/3).

Tony



--
       [email protected]     http://firshman.co.uk
Voice: +44(0)1442-828254 Fax: +44(0)1442-828255 Skype: tonyfirshman
    TF Services, 29 Longfield Road, TRING, Herts, HP23 4DG
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to