문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
linux:compton [2014/01/03 17:37] kwon37xi [참조] |
linux:compton [2014/03/16 17:02] kwon37xi [시작 프로그램으로 등록] |
||
---|---|---|---|
줄 9: | 줄 9: | ||
sudo apt-get update && sudo apt-get install compton | sudo apt-get update && sudo apt-get install compton | ||
</ | </ | ||
+ | |||
+ | compton 사용시, 애플리케이션의 투명 기능은 꺼두는 것이 나은 듯. | ||
===== 시작 프로그램으로 등록 ===== | ===== 시작 프로그램으로 등록 ===== | ||
줄 15: | 줄 17: | ||
아래는 예시. | 아래는 예시. | ||
<code sh> | <code sh> | ||
- | compton -c -r 16 -l -24 -t -12 -G -b | + | compton -c -r 8 -l -24 -t -12 -G -b --shadow-exclude ' |
+ | | ||
</ | </ | ||
- | |||
===== compton-trans ===== | ===== compton-trans ===== | ||
* [[https:// | * [[https:// | ||
* '' | * '' | ||
+ | ===== shadow-exclude ===== | ||
+ | * '' | ||
+ | * Wine, Firefox 애플리케이션 제외< | ||
+ | compton [...options..] --shadow-exclude ' | ||
+ | | ||
+ | </ | ||
+ | * Usage< | ||
+ | --shadow-exclude condition | ||
+ | Exclude conditions for shadows. | ||
+ | |||
+ | Format of a condition: | ||
+ | |||
+ | condition = < | ||
+ | |||
+ | < | ||
+ | instance), and " | ||
+ | |||
+ | < | ||
+ | " | ||
+ | regular expressions, | ||
+ | |||
+ | < | ||
+ | flag is " | ||
+ | |||
+ | < | ||
+ | </ | ||
+ | * Examples< | ||
+ | # Don't paint shadow if window name is exactly URxvt | ||
+ | compton -c --shadow-exclude ' | ||
+ | |||
+ | # Don't paint shadow if window general class string starts with | ||
+ | # " | ||
+ | compton -c --shadow-exclude ' | ||
+ | |||
+ | # Don't paint shadow if window name matches wildcard " | ||
+ | compton -c --shadow-exclude ' | ||
+ | |||
+ | # Don't paint shadow if window instance class string contains " | ||
+ | # ignore case | ||
+ | compton -c --shadow-exclude ' | ||
+ | |||
+ | # Don't paint shadow if window name matches PCRE regular expression | ||
+ | # "( - )?Mozilla Firefox$", | ||
+ | compton -c --shadow-exclude ' | ||
+ | |||
+ | # Combine them all | ||
+ | compton -c --shadow-exclude ' | ||
+ | --shadow-exclude ' | ||
+ | --shadow-exclude ' | ||
+ | --shadow-exclude ' | ||
+ | --shadow-exclude ' | ||
+ | </ | ||
===== 참조 ===== | ===== 참조 ===== | ||
* [[http:// | * [[http:// | ||
* [[https:// | * [[https:// | ||
+ | * [[http:// |