[Users] [OT] Re: Screen flicker issue with claws mail on i3+compton

Brahm Prakash Mishra bpmishra92 at gmail.com
Wed May 4 10:01:28 CEST 2016


I will do accordingly in future.

I'll leave a refined answer here for fixing claws-mail flicker with
compton.

The issue occurs because Compton by default tries to redirect output from
full screen windows to X. This is done to increase frame-rate on
applications like games which might have bad performance because of an
intervening compositor layer. Some applications can cause this redirection
attempt to be visible. If you have an auto-hiding status bar at the bottom,
it will flicker each time the bar shows or hides itself (as in my setup).
These steps will fix the issue -

1. Locate compton.conf file (its in */etc/**xdg**/* on my system). Then,
either -

2. Comment out the line '*unredir-if-possible** = true;' *or

3. Add *unredir-**if-**possible-exclude** = [ "class_g = **'Claws-mail**'**
"];*     or -

4. Add *unredir-**if-**possible-delay** = 500;* This adds a 500 ms delay
between the redirection and stops in the flicker in *nearly* all use cases.

Thanks for all the help.

Cheers,
Brahm
On May 4, 2016 1:10 PM, "Ricardo Mones" <ricardo at mones.org> wrote:

> On Tue, May 03, 2016 at 10:07:54PM +0530, Brahm Prakash Mishra wrote:
> > Thanks, your suggestion helped me single in on the issue. It is the
> > 'unredir' option in compton config. Commenting it out or whitelisting
> > claws-mail solves the problem
>
> You're welcome. If you found a solution the usual is to answer to the
> public list, so others can find the answer in the future, even if it's
> off-topic ;-)
>
> regards,
>
> > On May 3, 2016 4:17 PM, "Ricardo Mones" <ricardo at mones.org> wrote:
> >
> > > On Mon, May 02, 2016 at 03:59:01PM +0530, Brahm Prakash Mishra wrote:
> > > > I need to start compton on i3 for my chromium to display correctly
> (it
> > > > gives me tearing issues otherwise). If I do that however, claws-mail
> > > starts
> > > > flickering. If I stop compton, it works properly again.
> > >
> > > Given what the FAQ says I doubt that Claws Mail is the only affected…
> > >
> > > > Could someone help me debug the issue? Where can I look for the
> cause of
> > > > this happening?
> > >
> > > http://lmgtfy.com/?q=compton+faq
> > >
> > > --
> > >   Ricardo Mones
> > >   ~
> > >   Never send a human to do a machine's job.               Agent Smith
> > >
> > > _______________________________________________
> > > Users mailing list
> > > Users at lists.claws-mail.org
> > > http://lists.claws-mail.org/cgi-bin/mailman/listinfo/users
> > >
> > >
>
> --
>   Ricardo Mones
>   ~
>   The three principal virtues of a programmer are Laziness,
>   Impatience, and Hubris.                                    man perl
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20160504/1de2e978/attachment.html>


More information about the Users mailing list