Kanshi configuration


Kanshi configuration

Kanshi allows you to define output profiles that are automatically enabled and disabled on hotplug. For instance, this can be used to turn a laptop’s internal screen off when docked.

kumatsu

Kumatsu (Motors) is my 13“ Dell XPS I use for work. I use it with my 2 external monitors most of the time, while the built-in screen remains enabled as well.

output "Sharp Corporation 0x14F8 Unknown"            mode 3840x2400@60Hz position 0,0 scale 2
output "LG Electronics LG HDR 4K 0x0000DDFA"         mode 3840x2160@60Hz position 1920,0 scale 2
output "LG Electronics LG Ultra HD 0x00003E1F" mode 3840x2160@60Hz position 3840,0 scale 2
output HEADLESS-1                                                        position 5760,0
profile kumatsu-two {
  output "Sharp Corporation 0x14F8 Unknown"            mode 3840x2400@60Hz position 0,0 scale 2
  output "LG Electronics LG HDR 4K 0x0000DDFA"         mode 3840x2160@60Hz position 1920,0 scale 2
  output "LG Electronics LG Ultra HD 0x00003E1F" mode 3840x2160@60Hz position 3840,0 scale 2
}

profile kumatsu-two-plus {
  output "Sharp Corporation 0x14F8 Unknown"            mode 3840x2400@60Hz position 0,0 scale 2
  output "LG Electronics LG HDR 4K 0x0000DDFA"         mode 3840x2160@60Hz position 1920,0 scale 2
  output "LG Electronics LG Ultra HD 0x00003E1F" mode 3840x2160@60Hz position 3840,0 scale 2
  output HEADLESS-1                                                        position 5760,0
}

profile kumatsu-one {
  output "Sharp Corporation 0x14F8 Unknown"            mode 3840x2400@60Hz position 0,0 scale 2
  output "LG Electronics LG HDR 4K 0x0000DDFA"         mode 3840x2160@60Hz position 1920,0 scale 2
}

profile kumatsu-one-plus {
  output "Sharp Corporation 0x14F8 Unknown"            mode 3840x2400@60Hz position 0,0 scale 2
  output "LG Electronics LG HDR 4K 0x0000DDFA"         mode 3840x2160@60Hz position 1920,0 scale 2
  output HEADLESS-1                                                        position 5760,0
}

profile kumatsu-solo {
  output "Sharp Corporation 0x14F8 Unknown"            mode 3840x2400@60Hz position 0,0 scale 2
}

canyonero

Canyonero is my personal computer I use with or without an external monitor. If connected to external monitor, disable the built-in screen.

profile canyonero-ext {
  output "LG Display 0x058B Unknown"             disable
  output "LG Electronics LG Ultra HD 0x00003E1F" enable mode 3840x2160@30Hz position 0,0 scale 2
}

profile canyonero-solo {
  output "LG Display 0x058B Unknown"             enable mode 2560x1440      position 0,0 scale 2
}