pelya / commandergenius

Port of SDL library and several games to the Android OS.
http://libsdl-android.sourceforge.net/
GNU Lesser General Public License v2.1
533 stars 250 forks source link

XServer XSDL copy code idea (from email) #97

Open compute-e opened 5 years ago

compute-e commented 5 years ago

@pelya Thanks for creating this app. It is useful but I have an idea to improve it that I would like you to do please:

One more thing: I can see that the setup info changes to use the device IP address so my text from OCR should not be used. I think the app needs a button labelled "Copy setup code" that copies the text to Android clipboard, the easiest place to add this could be in the "... XSDL is running" system notification.

I now have it for you, using OCR of screenshot (also in my Google Play Store comment): Previous setup text has errors, here is it fixed:

Launch these commands on your Linux PC:
export DISPLAY=10.146.137.207:0
export PULSE_SERVER=tcp:10.146.137.207:4712 metacity & gimp
To tunnel x over SSH, forward
port 6000 in your SSH client.
If you run Linux in chroot on this device, run:
export DISPLAY=:0 PULSE_SERVER=tcp: 127.0.0.1:4712