![Pantheon 터미널 에뮬레이터의 색상 변경](https://linux55.com/image/39320/Pantheon%20%ED%84%B0%EB%AF%B8%EB%84%90%20%EC%97%90%EB%AE%AC%EB%A0%88%EC%9D%B4%ED%84%B0%EC%9D%98%20%EC%83%89%EC%83%81%20%EB%B3%80%EA%B2%BD.png)
저는 Elementary OS(Ubuntu 12.04 기반)를 사용하고 있으며 Pantheon 터미널 창의 색상 구성표를 변경하고 싶습니다. 내가 시도한 것은 다음과 같습니다.
- 기본 조정
- Dconf 편집기
쉘 명령
$ gsettings set org.pantheon.terminal.settings background '#090911111a1a' $ gsettings set org.pantheon.terminal.settings foreground '#d9d9e6e6f2f2' $ gsettings set org.pantheon.terminal.settings palette '#000000000000:#acac6d6d7474:#7474acac6d6d:#acaca4a46d6d:#6d6d7474acac:#a4a46d6dacac:#6d6dacaca4a4:#e6e6e6e6e6e6:#262626262626:#d6d6b8b8bcbc:#bcbcd6d6b8b8:#d6d6d3d3b8b8:#b8b8bcbcd6d6:#d3d3b8b8d6d6:#b8b8d6d6d3d3:#ffffffffffff'
이 방법 중 어느 것도 작동하지 않습니다. 이것이 내가 사용하고 싶은 것입니다:https://github.com/Mayccoll/Elementary-OS-Terminal-Colors
답변1
- 홈 디렉터리로 이동합니다. 숨겨진 파일을 표시합니다.
.bashrc
텍스트 편집기에서 엽니다.#force_color_prompt=yes
다음으로 변경합니다force_color_prompt=yes
(예: 행 번호 43의 주석 처리를 제거). 해당 행이 없으면 추가하십시오.sh theme-file.sh
이제dconf editor
전경색, 배경색, 팔레트 색상에 대해 별도의 명령을 사용하거나 실행하여 색 구성표를 변경할 수 있습니다.
답변2
dconf 편집기는 저에게 효과적이었지만 이 솔루션도 보았고 쉽게 작동했습니다.
https://github.com/Mayccoll/Gogh/blob/master/content/themes.md
여기에는 여러 가지 색상 테마와 터미널에 복사하여 붙여넣기 위한 명령 문자열이 나열되어 있습니다. 그렇다면 괜찮습니다.
예는 다음과 같습니다. https://github.com/Mayccoll/Gogh/blob/master/content/themes.md
테마를 변경하기 위해 sudo를 사용할 필요조차 없습니다.