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

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


Messages In This Thread
RE: Disable on screen keyboard permanently. - by wibble - 06-09-2022, 04:47 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Disable vibrations 3x5co 9 12,989 01-03-2026, 12:26 PM
Last Post: baptx
  Trixie - bring up the On Screen Keyboard manually. grump_fiddle_reinstall 0 295 12-23-2025, 04:34 AM
Last Post: grump_fiddle_reinstall
  On-Screen Keyboard Arrow Keys biketool 11 6,726 12-23-2025, 04:25 AM
Last Post: grump_fiddle_reinstall
  How to add an homemade app to the main screen? JChdeL 3 696 11-04-2025, 04:13 AM
Last Post: JChdeL
  New Install, apps start but don't show up on screen?! RT3 2 2,142 07-18-2025, 07:56 PM
Last Post: Kevin Kofler
  mobian phosh on screen keyboard not popping up for Chromium/Electron apps grump_fiddle_reinstall 1 3,350 01-15-2025, 08:08 PM
Last Post: Kevin Kofler
  icon keyboard chris_02 4 4,614 01-14-2025, 02:49 AM
Last Post: grump_fiddle_reinstall
  New keyboard issue sandspur 30 33,249 01-13-2025, 01:37 AM
Last Post: grump_fiddle_reinstall
  how to disable ipv6 at kernel level with towboot? vusra 3 3,628 10-04-2024, 04:23 AM
Last Post: vusra
  Proximity sensor is oversensitive (was "Screen blanks when making call") treebeard 6 8,291 08-05-2024, 06:12 AM
Last Post: baptx

Forum Jump:


Users browsing this thread: 1 Guest(s)