Disable on screen keyboard permanently.
(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

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

Check the NOPASSWD option in /etc/sudoers - you can use it to allow specific commands to be run without requiring the password. Something like:

your_user_name ALL=(ALL) NOPASSWD:/usr/bin/tee /sys/class/power_supply/axp20x-usb/input_current_limit,some_other_command_you_want

That is exactly what I did the other day! It was quite handy

Messages In This Thread
RE: Disable on screen keyboard permanently. - by SwordfishII - 06-11-2022, 08:11 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Battery problem with a Pinephone keyboard and Mobian elode 1 502 10-28-2022, 02:24 PM
Last Post: presire
  Disable headphone controls 3x5co 0 197 09-10-2022, 07:11 AM
Last Post: 3x5co
  Would creating a 2 row landscape keyboard be difficult? rp3 1 254 09-09-2022, 06:49 AM
Last Post: zetabeta
  Making a new keyboard layout Eugo 2 314 08-28-2022, 04:15 AM
Last Post: Eugo
  New keyboard issue sandspur 23 3,866 08-14-2022, 06:46 AM
Last Post: sandspur
  how to split screen? andrew907 2 380 08-08-2022, 09:38 AM
Last Post: andrew907
  PP Keyboard doesn't charge Pinephone (Mobian) jojuma 1 360 08-06-2022, 01:10 AM
Last Post: elode
  PP keyboard not working at all jojuma 3 547 08-03-2022, 10:02 AM
Last Post: jojuma
  Proximity sensor is oversensitive (was "Screen blanks when making call") treebeard 5 743 08-02-2022, 03:16 PM
Last Post: treebeard
  on screen keyboard woes vusra 1 438 07-18-2022, 03:29 AM
Last Post: vusra

Forum Jump:

Users browsing this thread: 1 Guest(s)