Xfce Forum

Sub domains
 

You are not logged in.

#1 2009-04-21 00:27:27

bbkr
Member
Registered: 2006-09-23
Posts: 4

[Solved] command to composite switching

Hi

I'd like to know what command is used behind

Window Manager Tweaks -> Compositor tab -> Enable display compositing

checkbox?

I like composite effects, but i get annoyng tearing while watching videos while it's on (I read tons of posts and it's something related to composite ignoring VBlank sync). So i'd like to write a script that:
1. disables composite effects (exactly like unchecking the checkbox mentioned above)
2. launches video player
3. enables composite effects after player is gone.

OpenSuSE 11.1, XFCE 4.6, Xorg 7.4, Nvidia drivers 180.29-0.1

Offline

#2 2009-04-21 02:01:17

Wapush
Member
Registered: 2006-12-14
Posts: 140

Re: [Solved] command to composite switching

Hi

You can do it using xfconf-query:

xfconf-query -c xfwm4 -p '/general/use_compositing' -t 'bool' -s 'true'
xfconf-query -c xfwm4 -p '/general/use_compositing' -t 'bool' -s 'false'

Offline

#3 2009-04-21 17:51:40

bbkr
Member
Registered: 2006-09-23
Posts: 4

Re: [Solved] command to composite switching

Thanks!

Works like charm, you're the best smile

Offline

#4 2011-04-09 21:27:25

rub3nmv
Member
Registered: 2011-04-09
Posts: 1

Re: [Solved] command to composite switching

I've been looking for something like this for a while.
Thank you very much!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 522.28 KiB (Peak: 524.12 KiB) ]