Skip to content

Instantly share code, notes, and snippets.

@darkoverlordofdata
Last active September 5, 2022 22:56
Show Gist options
  • Save darkoverlordofdata/311077a447e95ca0296eda4e08837314 to your computer and use it in GitHub Desktop.
Save darkoverlordofdata/311077a447e95ca0296eda4e08837314 to your computer and use it in GitHub Desktop.
After instailling helloSystem

To Use 24" external monitor

disable suspend on lid closure

from https://forums.freebsd.org/threads/how-to-stop-laptop-from-sleeping-when-lid-is-closed.37822/

Check the value from sysctl hw.acpi.lid_switch_state

ex it's S3

change sysctl hw.acpi.lid_switch_state from "S3" to "NONE"

sudo nano /etc/sysctl.conf

xrandr changes on reboot

add to /Applications/Autostart:

benq.sh

#!/bin/sh xrandr --output LVDS-1 --off --output VGA-1 --off --output HDMI-1 --primary --mode 1920x1080 --pos 1366x0 --rotate normal --output DP-1 --off

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment