We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69fa33f commit b5c25b1Copy full SHA for b5c25b1
scripts/create_display_config.py
@@ -17,6 +17,7 @@
17
# along with this program. If not, see <http://www.gnu.org/licenses/>.
18
#######################################################################
19
20
+import os
21
import subprocess
22
23
import lib_setup
@@ -36,6 +37,9 @@ def __init__(self):
36
37
self.conf_TOUCH_MATRIX_Y = self.__setup.get_val('conf_TOUCH_MATRIX_Y')
38
39
def setup_display(self):
40
+ if not os.path.isfile('/usr/sbin/lightdm'):
41
+ return(False)
42
+
43
self.__write_config_txt()
44
self.__write_touch_udev()
45
0 commit comments