Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 1.09 KB

LinuxLaptop.md

File metadata and controls

34 lines (29 loc) · 1.09 KB

autostart scripts when some devices added

autostart scripts when wake up

xorg tearing free conf

debian variants korean key settings

  • edit /etc/default/keyboard
    • XKBOPTIONS="ctrl:nocaps,korean:ralt_hangul"
  • then run, 'sudo dpkg-reconfigure -phigh console-setup'

model enable

  • mmcli -L
  • mmcli -m 0 -d
  • echo "at@nvm:fix_cat_fcclock.fcclock_mode=0" > /dev/ttyACM0
  • mmcli -m 0 -e

limiting system resources with systemd and cgroup

  • make a slice file to ~/.config/systemd/user
[Slice]
AllowedCPUs=0-2
CPUQuota=50%
MemoryLimit=1G
MemoryMax=1G
MemoryHigh=500M
  • editing the desktop file's Exec argument like '/usr/bin/systemd-run --user --slice=slack.slice /usr/bin/slack %U'