Disable on screen keyboard permanently. - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139) +---- Thread: Disable on screen keyboard permanently. (/showthread.php?tid=15902) Pages:
1
2
|
RE: Disable on screen keyboard permanently. - SwordfishII - 06-08-2022 (02-15-2022, 11:48 AM)Zebulon Walton Wrote:(02-15-2022, 08:05 AM)wibble Wrote: Based on the script on the wiki page I guess something like this should work as the basis for a script which you could then add a .desktop file for: Thanks for showing your work. I used it as a basis for my own and incorporated both turning the software keyboard off and changing the charging limits for use with the keyboard case. echo -n 1500000 | sudo tee /sys/class/power_supply/axp20x-usb/input_current_limit A side note, you can close force close kgx with "kill $PPID" at the end of the script. Wish I could get around having to enter my password for the sudo part though RE: Disable on screen keyboard permanently. - wibble - 06-09-2022 (06-08-2022, 08:25 PM)SwordfishII Wrote: echo -n 1500000 | sudo tee /sys/class/power_supply/axp20x-usb/input_current_limit Check the NOPASSWD option in /etc/sudoers - you can use it to allow specific commands to be run without requiring the password. Something like: Code: your_user_name ALL=(ALL) NOPASSWD:/usr/bin/tee /sys/class/power_supply/axp20x-usb/input_current_limit,some_other_command_you_want RE: Disable on screen keyboard permanently. - SwordfishII - 06-11-2022 (06-09-2022, 04:47 AM)wibble Wrote:(06-08-2022, 08:25 PM)SwordfishII Wrote: echo -n 1500000 | sudo tee /sys/class/power_supply/axp20x-usb/input_current_limit That is exactly what I did the other day! It was quite handy |