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
  On-Screen Keyboard Arrow Keys biketool 10 785 03-27-2025, 03:03 PM
Last Post: biketool
  mobian phosh on screen keyboard not popping up for Chromium/Electron apps grump_fiddle_reinstall 1 439 01-15-2025, 08:08 PM
Last Post: Kevin Kofler
  icon keyboard chris_02 4 2,180 01-14-2025, 02:49 AM
Last Post: grump_fiddle_reinstall
  New keyboard issue sandspur 30 20,720 01-13-2025, 01:37 AM
Last Post: grump_fiddle_reinstall
  how to disable ipv6 at kernel level with towboot? vusra 3 2,261 10-04-2024, 04:23 AM
Last Post: vusra
  Proximity sensor is oversensitive (was "Screen blanks when making call") treebeard 6 5,303 08-05-2024, 06:12 AM
Last Post: baptx
  Keyboard not popping up on QT apps 3x5co 1 1,381 02-08-2024, 11:45 PM
Last Post: Kevin Kofler
  Screen auto-rotation sensitivity mdk 0 1,057 12-26-2023, 06:08 AM
Last Post: mdk
  Keyboard keeps disappearing the moment it's touched jojuma 1 1,367 10-29-2023, 08:34 AM
Last Post: walter1950
  Unable to do initial setup of Weather due to keyboard LibrePhoneUser 2 1,902 07-07-2023, 03:29 AM
Last Post: jojuma

Forum Jump:


Users browsing this thread: 1 Guest(s)