854
edits
m (added languages and translate tags) |
(Marked this version for translation) |
||
Line 2: | Line 2: | ||
__TOC__ | __TOC__ | ||
<translate> | <translate> | ||
<!--T:1--> | |||
People who are experiencing screen tearing in Xfce can try out the following method. | People who are experiencing screen tearing in Xfce can try out the following method. | ||
= Installing compton = | = Installing compton = <!--T:2--> | ||
Compton is an X compositor which supports xrender and glx (opengl) backends. | Compton is an X compositor which supports xrender and glx (opengl) backends. | ||
<!--T:3--> | |||
To install it from the command line: | To install it from the command line: | ||
sudo pacman -S compton | sudo pacman -S compton | ||
= Configuring compton = | = Configuring compton = <!--T:4--> | ||
Compton can be configured by editing ''~/.config/compton.conf'' or ''~/.config/compton/compton.conf'', the latter location is now recommended. | Compton can be configured by editing ''~/.config/compton.conf'' or ''~/.config/compton/compton.conf'', the latter location is now recommended. | ||
<!--T:5--> | |||
The following are some commonly used options: | The following are some commonly used options: | ||
backend = "glx"; | backend = "glx"; | ||
Line 50: | Line 53: | ||
}; | }; | ||
= Disabling xfwm4 compositor and enabling compton = | = Disabling xfwm4 compositor and enabling compton = <!--T:6--> | ||
The following command can be used to turn off xfwm4's compositing feature: | The following command can be used to turn off xfwm4's compositing feature: | ||
xfconf-query -c xfwm4 -p /general/use_compositing -s false | xfconf-query -c xfwm4 -p /general/use_compositing -s false | ||
<!--T:7--> | |||
The following content can be pasted in ''~/.config/autostart/compton.desktop'' | The following content can be pasted in ''~/.config/autostart/compton.desktop'' | ||
[Desktop Entry] | [Desktop Entry] | ||
Line 67: | Line 71: | ||
Hidden=false | Hidden=false | ||
<!--T:8--> | |||
Now one could logout and login again to see if compton has been activated. | Now one could logout and login again to see if compton has been activated. | ||
<!--T:9--> | |||
To check if compton is working following command can be used: | To check if compton is working following command can be used: | ||
pgrep -l compton | pgrep -l compton | ||
= Links = | = Links = <!--T:10--> | ||
<!--T:11--> | |||
*https://classicforum.manjaro.org/index.php?topic=19857.0 | *https://classicforum.manjaro.org/index.php?topic=19857.0 | ||
*http://ubuntuforums.org/showthread.php?t=2144468&p=12644745#post12644745 | *http://ubuntuforums.org/showthread.php?t=2144468&p=12644745#post12644745 |