balenablocks / electron

Provides handy functionality for running electron apps in kiosk mode; wifi config, file picker, on-screen keyboard and removable drive management.
42 stars 11 forks source link

Add flag to enable cursor #53

Closed yzkoh closed 3 years ago

yzkoh commented 3 years ago

I have a kiosk application which requires cursor to interface the application. I realised that there is no way to show cursor through setting a environment variables.

.xserverrc

#!/bin/sh

rm -f /tmp/.X0-lock

exec X $DISPLAY -nolisten tcp -s 0 -nocursor

Is there an easy way to not pass the -nocursor flag?

thundron commented 3 years ago

I will make it optional, thanks for the suggestion!

thundron commented 3 years ago

Will be solved with https://github.com/balenablocks/electron/pull/57

There will be an environment variable through which you can control additional parameters for X