OpenRoberta / robertalab-ev3dev

roberta lab connector for ev3dev
Apache License 2.0
17 stars 14 forks source link

Switch VT using dbus to fix #72 #75

Open guillaumezin opened 4 years ago

guillaumezin commented 4 years ago

Should fix #72

ensonic commented 4 years ago

Thanks for this. Is that dbus interface already available under jessie? I am still mostly using jessie due to lack of time testing stretch :/

guillaumezin commented 4 years ago

Thanks for this. Is that dbus interface already available under jessie? I am still mostly using jessie due to lack of time testing stretch :/

I don't know, I juste have stretch now, you can check with qdbus for instance, but if the dbus interface isn't available, it won't hurt, , the exception will be catched, self.tty_name will be equal to self.previous_tty_num and it won't try to switch, as before