Skip to content

Instantly share code, notes, and snippets.

@ekollof
Created September 9, 2025 20:21
Show Gist options
  • Select an option

  • Save ekollof/1acb5f99f47fc8c8d0de025d27eaecca to your computer and use it in GitHub Desktop.

Select an option

Save ekollof/1acb5f99f47fc8c8d0de025d27eaecca to your computer and use it in GitHub Desktop.
Config snippets for the GPD Pocket 4
# NOTE: This will disable touch screen in KDE6/Wayland
SUBSYSTEM=="input", ACTION=="add|change", KERNEL=="event*", ATTRS{name}=="NVTK0603:00 0603:F001", ENV{LIBINPUT_CALIBATION_MATRIX}="0 1 0 -1 0 1"
# Shikane config
[[profile]]
name = "single"
[[profile.output]]
enable = true
search = ["m=YHB03P24", "s=0x00888888", "v=HSX"]
mode = "1600x2560@143.999Hz"
position = "0,0"
scale = 2.0
transform = "270"
adaptive_sync = false
# /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet splash mem_sleep_default=s2idle amdgpu.dc=1 amdgpu.dpm=1 fbcon=rotate:1 video=eDP-1:panel_orientation=right_side_up"
[this file is not complete]
monitor=,preferred,auto,2.133333,transform,3
[bottom]
device {
name = NVTK0603:00 0603:F001
transform = 3
output = eDP-1
enabled = true
}
[NVTK Touchscreen Quirk]
MatchName=NVTK0603:00 0603:F001
ModelTouchscreen=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment