사용자 도구

사이트 도구


windows:windows_terminal

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
windows:windows_terminal [2021/02/14 16:39]
kwon37xi
windows:windows_terminal [2024/12/14 17:31] (현재)
kwon37xi [Drop Down / Quake mode]
줄 1: 줄 1:
 ====== Windows Terminal ====== ====== Windows Terminal ======
 +  * [[https://docs.microsoft.com/ko-kr/windows/terminal/tutorials/powerline-setup|Windows 터미널 Powerline 설정 | Microsoft Docs]]
  
 +===== 기본 Profile 설정=====
 +  * [[https://learn.microsoft.com/ko-kr/windows/terminal/install#settings-json-file|settings.json]] 파일로 설정
 +  * [[https://docs.microsoft.com/ko-kr/windows/terminal/customize-settings/profile-general|Windows Terminal General Profile Settings | Microsoft Docs]]
 +
 +==== Font / 글꼴 ====
 +<code>
 +"profiles":
 +{
 +    "defaults":
 +    {
 +        "fontFace": "D2Coding",
 +        "fontSize": 16
 +    },
 +    ...
 +}
 +</code>
 +
 +===== 기본 터미널 변경 =====
 +  * [[https://alexanderallen.medium.com/windows-terminal-changing-the-default-shell-c4f5987c31|Windows Terminal: Changing the Default Shell | by Callback Insanity | Medium]]
 +  * ''Ubuntu'' 의 ''guid'' 값을 복사해서 **''defaultProfile''** 의 값으로 넣으면 된다.
 +  * 이 경우 ''$HOME'' 디렉토리로 셸이 열리지 않는 문제가 있다. [[https://docs.microsoft.com/ko-kr/windows/terminal/troubleshooting|Windows 터미널 문제 해결 | Microsoft Docs]] 참조하여
 +  * Ubuntu-20.04 가 이름이라면 wsl 경로는 ''%%//wsl$/Ubuntu-20.04/home/<username>%%'' 이 값을 WSL Ubuntu 설정의 ''startingDirectory'' 값에 넣어준다.
 +<code>
 +wsl --list # 배포판 이름 확인
 +
 +{
 +    "guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
 +    "hidden": false,
 +    "name": "Ubuntu-20.04",
 +    "source": "Windows.Terminal.Wsl",
 +    "startingDirectory" : "//wsl$/Ubuntu-20.04/home/myusername"
 +}
 +
 +역슬래시(\) 사용시에는 JSON escape 를 해줘야한다.
 +    "startingDirectory" : "\\\\wsl$\\Ubuntu-20.04\\home\\myusername"
 +</code>
 +
 +===== Drop Down / Quake mode =====
 +  * ''Win+`'' : 이걸로 보이게/안보이게
 +  * 최초 한 번은 명령을 실행해야함.
 +<code>
 +wt -w _quake
 +</code>
 +  * 자동시작으로 설정하려면 **작업 스케줄러**에 **사용자가 로그온 할 때만 실행** 트리거로 설정해둔다.
 +  * ''C:\Users\[사용자명]\AppData\Local\Microsoft\WindowsApps\wt.exe'' 이 실행 파일 경로이다.
 +  * Quake Terminal 이 의도치 않게 종료될 때에 대비해 ''wt.exe'' 파일에 대한 바로가기를 바탕화면에 만들고 옵션을 추가해두면 좋다.
 +
 +{{:windows:wt_job_schedule_동작.png?400|}}
 +  * **조건**에서 **컴퓨터의 AC 전원이 켜져 있는 경우에만 작업시작** 을 꺼야 한다.
 +{{:windows:wt_job_schedule_condition_ac_power.png?400|}}
 ===== 참조 ===== ===== 참조 =====
 +  * [[https://devblogs.microsoft.com/commandline/windows-terminal-tips-and-tricks/|Windows Terminal Tips and Tricks | Windows Command Line]]
 +  * [[https://docs.microsoft.com/ko-kr/windows/terminal/tips-and-tricks|Windows 터미널 팁과 힌트 | Microsoft Docs]] : quake mode, 단축키로 터미널 명령 실행 등.
 +  * [[https://blog.danskingdom.com/Bring-up-the-Windows-Terminal-in-a-keystroke/|Bring up the Windows Terminal in a keystroke - Daniel Schroeder’s Programming Blog]]
   * [[https://github.com/microsoft/terminal/issues/653|Feature request: hot key drop down ala quake/guake/tilda · Issue #653 · microsoft/terminal]]   * [[https://github.com/microsoft/terminal/issues/653|Feature request: hot key drop down ala quake/guake/tilda · Issue #653 · microsoft/terminal]]
 +  * [[https://gist.github.com/atruskie/99a498ac43b91deb91eab4069b6047b9|AutoHotkey script to bind Win+~ keyboard shortcut to Windows Terminal]]
 +  * [[https://gist.github.com/andrewgodwin/89920ee02501ab12d09b02500897066c|AutoHotkey script for making Windows Terminal appear/disappear with a single keypress]]
 +
 +===== 대체품 =====
 +  * [[:tabby|tabby]]
 +
 +===== 참조 =====
 +
   * [[https://www.sitepoint.com/windows-terminal/|Windows Terminal: The Complete Guide - SitePoint]]   * [[https://www.sitepoint.com/windows-terminal/|Windows Terminal: The Complete Guide - SitePoint]]
-  * [[https://docs.microsoft.com/ko-kr/windows/terminal/tutorials/powerline-setup|Windows 터미널 Powerline 설정 | Microsoft Docs]]+  * [[https://www.lesstif.com/software-architect/windows-terminal-89555840.html|윈도우즈 터미널(Windows Terminal) 설정하기]] 
 +  * [[https://www.ubuntupit.com/best-terminal-emulators-for-windows-system/|Top 5 Best Terminal Emulators for Windows System]] 
 + 
windows/windows_terminal.1613288340.txt.gz · 마지막으로 수정됨: 2021/02/14 16:39 저자 kwon37xi