Last active
April 6, 2022 19:49
-
-
Save bkuri/64161ba73e62efeed2b6cd795a446bed to your computer and use it in GitHub Desktop.
Attempts to toggle OSK visibility depending upon usb dongle (dis)connection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ACTION=="add", ATTRS{idProduct}=="c52b", ATTRS{idVendor}=="046d", ENV{DISPLAY}=":0", RUN+="dbus-send --print-reply --dest=com.deepin.VirtualKeyboard /com/deepin/VirtualKeyboard com.deepin.VirtualKeyboard.HideKeyboard" | |
ACTION=="remove", ATTRS{idProduct}=="c52b", ATTRS{idVendor}=="046d", ENV{DISPLAY}=":0", RUN+="dbus-send --print-reply --dest=com.deepin.VirtualKeyboard /com/deepin/VirtualKeyboard com.deepin.VirtualKeyboard.ShowKeyboard" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment