Mac

[Mac] karabiner 앱 삭제 잠금 해제

chan's chance 2022. 12. 8. 14:58

최근에 맥에 입문하게 되었다. 

첫 번째 진입장벽은 윈도우의 caps lock키로 한/영 전환을 하는 것이었다.

어찌저찌 적응을 하고 나니 문제점이 생겼다.

다른 키를 누르면서 caps lock 키를 누를 경우 키 인식이 되지 않아 한영전환이 매끄럽지 못했다.

이를 해결하기 위해 karabiner 앱을 사용하여 caps lock을 F19에 매핑한 후 F19를 한영전환 키로 설정하여 사용하였다.

 

그런데 또 문제점이 생겼다.

이렇게 사용하는 경우 본래의 caps lock 기능을 사용하지 못하게 되어, 연속적으로 대문자를 타이핑 하지 못한다는 점이었다.

그래서 결국, 모든 설정을 초기화하고 control + enter 를 한영전환 키로 사용하기로 하였다.

그리하여 karabiner를 삭제하고자 하는데, 잠금이 걸려 삭제가 되지 않았다.

appcleaner 앱을 사용해도 마찬가지였다.

결국, 아래의 karabiner 공식 홈페이지의 가이드를 통해 해결하게 되었다.

 

https://karabiner-elements.pqrs.org/docs/help/advanced-topics/lock-icon/#why-these-files-are-protected

 

What is the lock indicator on Karabiner-Elements and Karabiner-EventViewer icon

Prior to Karabiner-Elements 14.10.0, a lock indicator is shown on Karabiner-Elements and Karabiner-EventViewer icon. These indicators show that these files are protected so that they cannot be deleted from Finder. Why these files are protected This protect

karabiner-elements.pqrs.org

 

터미널을 실행시킨 후에 아래의 코드를 입력하니 karabiner의 잠금이 해제되었다.

이후에, 원하는 방법으로 삭제를 하니 정상적으로 삭제가 되었다. 

sudo chflags nouchg,noschg /Applications/Karabiner-Elements.app
sudo chflags nouchg,noschg /Applications/Karabiner-EventViewer.app