맥 멀티 모니터 환경에서 연결/해제 시 동일한 스페이스 desktop/space 사용하기 (화면 전환 이슈 해결 - rotate, swap) :: 소림사의 홍반장!
사용 환경
  • MacBook Pro (15-inch, 2019) + LG 24" 모니터(가로) + DELL 21" 모니터(세로)
  • os : macOS Catalina v10.15.7
 
 
 
이슈
 
 
해결 방안
 
displayplacer활용
  1. `displayplacer list` 실행하면 각 모니터의 id와 사용가능한 해상도 목록이 나옴
Persistent screen id: 8FBBFD40-4BE8-278A-8E9A-199623D6562D
Contextual screen id: 459137906
Type: 27 inch external screen
Resolution: 2560x1440
Hertz: 60
Color Depth: 8
Scaling:on
Origin: (0,0) - main display
Rotation: 0
Resolutions for rotation 0:
  mode 0: res:1920x1080 hz:60 color_depth:4 scaling:on
  mode 1: res:1920x1080 hz:60 color_depth:8 scaling:on
  mode 2: res:1920x1080 hz:30 color_depth:4 scaling:on
  mode 3: res:1920x1080 hz:30 color_depth:8 scaling:on
  mode 4: res:960x540 hz:60 color_depth:4 scaling:on
 
 
  1. 사용법에 따라 본인의 환경에 맞추어 명령어 작성
https://github.com/jakehilborn/displayplacer 의 usage 항목 참고
2,3번 전환 시나리오
- 3번을 메인으로 변경
- 2번을 메인으로 변경
- 원래 설정대로 1번을 메인으로 변경
 
1 메인 8FBBFD40-4BE8-278A-8E9A-199623D6562D
2 맥북 65813422-5CB0-A21A-779D-0CD2237DFB3F
3 세로 5E106C9C-37E5-6422-8069-12E1D1A48225
 
기본모드
displayplacer "id:8FBBFD40-4BE8-278A-8E9A-199623D6562D res:2560x1440 hz:60 color_depth:8 scaling:on origin:(0,0) degree:0" "id:65813422-5CB0-A21A-779D-0CD2237DFB3F res:1680x1050 color_depth:4 scaling:on origin:(-1680,457) degree:0" "id:5E106C9C-37E5-6422-8069-12E1D1A48225 res:1080x1920 hz:60 color_depth:8 scaling:off origin:(2560,-102) degree:90"
 
 
 
  1. 작성한 명령어 터미널에서 실행
displayplacer "id:5E106C9C-37E5-6422-8069-12E1D1A48225 res:1080x1920 hz:60 color_depth:8 scaling:off origin:(0,0) degree:90" "id:8FBBFD40-4BE8-278A-8E9A-199623D6562D res:2560x1440 hz:60 color_depth:8 scaling:on origin:(-2560,102) degree:0" "id:65813422-5CB0-A21A-779D-0CD2237DFB3F res:1680x1050 color_depth:4 scaling:on origin:(-1680,457) degree:0"
 
 
displayplacer "id:65813422-5CB0-A21A-779D-0CD2237DFB3F res:1680x1050 color_depth:4 scaling:on origin:(0,0) degree:0" "id:5E106C9C-37E5-6422-8069-12E1D1A48225 res:1080x1920 hz:60 color_depth:8 scaling:off origin:(1680,-457) degree:90" "id:8FBBFD40-4BE8-278A-8E9A-199623D6562D res:2560x1440 hz:60 color_depth:8 scaling:on origin:(-2560,102) degree:0"
 
 
displayplacer "id:8FBBFD40-4BE8-278A-8E9A-199623D6562D res:2560x1440 hz:60 color_depth:8 scaling:on origin:(0,0) degree:0" "id:65813422-5CB0-A21A-779D-0CD2237DFB3F res:1680x1050 color_depth:4 scaling:on origin:(-1680,457) degree:0" "id:5E106C9C-37E5-6422-8069-12E1D1A48225 res:1080x1920 hz:60 color_depth:8 scaling:off origin:(2560,-102) degree:90"
 
 
 
Tip! alfred 를 사용하는 경우 workflow에 해당 명령어를 등록해 놓으면 명령어 한 단어 입력으로 사용 가능하다!
 
 
 

다른 카테고리의 글 목록

삽질방지 팁 카테고리의 포스트를 톺아봅니다