문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
linux:compton [2014/01/02 04:37] kwon37xi |
linux:compton [2014/05/20 16:36] kwon37xi |
||
---|---|---|---|
줄 9: | 줄 9: | ||
sudo apt-get update && sudo apt-get install compton | sudo apt-get update && sudo apt-get install compton | ||
</ | </ | ||
+ | |||
+ | compton 사용시, 애플리케이션의 투명 기능은 꺼두는 것이 나은 듯. | ||
===== 시작 프로그램으로 등록 ===== | ===== 시작 프로그램으로 등록 ===== | ||
- | 옵션 도움말은 '' | + | 옵션 도움말은 '' |
아래는 예시. | 아래는 예시. | ||
<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 ===== | ||
+ | * [[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 ' | ||
</ | </ | ||
줄 21: | 줄 80: | ||
* [[http:// | * [[http:// | ||
* [[https:// | * [[https:// | ||
+ | * [[http:// | ||
+ | * [[http:// |