Skip to content

Instantly share code, notes, and snippets.

Serial premission denied error

If you have error in klippy log like: [Errno 13] could not open port /dev/serial0: [Errno 13] Permission denied: '/dev/serial0'

Follow the raspi-config -> Inerface Options -> Serial Port and disable a Login Shell

Then disable a getty service:

@set-st
set-st / init.lua
Created August 23, 2023 09:32 — forked from andyngo/init.lua
My personal hammerspoon config.
-- global config --
-- disable all window animation
hs.window.animationDuration = 0
-- custom alert style
hs.alert.defaultStyle.radius = 4
hs.alert.defaultStyle.fillColor = {white = 0, alpha = 0.9}
hs.alert.defaultStyle.strokeColor = {white = 0, alpha = 0}
hs.alert.defaultStyle.fadeInDuration = 0
hs.alert.defaultStyle.fadeOutDuration = 0