You are not logged in.

#1 2019-06-30 06:45:38

vipinbalakrishnan
Member
Registered: 2018-07-10
Posts: 36

DWM screen not clearing even after closing window

I am starting DWM using SDDM . Following list of configuration i am using

sudo cat /usr/share/xsessions/dwm.desktop

[Desktop Entry]
Type=Application
Exec=/usr/bin/dwmscript
DesktopNames=DWM
Name=DWM
Comment=DWM by suckless

cat /usr/bin/dwmscript

#!/bin/bash
while true; do
   xsetroot -name "$( date + "%F %I:%M %p" )"
   sleep 10
done &
exec dwm

No patches applied. When i open a window and close a window using shift+alt+q. Window will get close . But i am able to see the screenshot kind image of the previous window (screen tearing). How do i clear this, I mean screen is not clearing the closed window. or I am missing something?

But after this i install xcompmgr
and added  xcompmgr in the starting of script . I don't find any screen tearing.

#!/bin/bash
xcompmgr -f -l 0.038 -o 0.040 -D 3 -F -C -n &
while true; do
   xsetroot -name "$( date + "%F %I:%M %p" )"
   sleep 10
done &
exec dwm

But when i add directly at .xinitrc i don't need to use xcompmgr and no screen tearing. What is the difference between these 3 approach?
1. using xsession  wiithout xcompmgr ==> Getting screen tearing.
2. using .xinitrc to start dwm no screen tearing
3. using xsession with xcompmgr not screen tearing.
I  don't want to use xcompmgr to fix tearing problem. Because it will clear my status bar. Please let me know what is the real issue here

Last edited by vipinbalakrishnan (2019-06-30 11:26:22)

Offline

#2 2019-06-30 16:20:52

ackt1c
Banned
From: Visalia, California
Registered: 2012-10-10
Posts: 241

Re: DWM screen not clearing even after closing window

Good Luck

Last edited by ackt1c (2022-11-05 12:34:32)

Offline

#3 2019-07-01 04:51:18

vipinbalakrishnan
Member
Registered: 2018-07-10
Posts: 36

Re: DWM screen not clearing even after closing window

Can you share your compton setting? What  all the argument you used?

Last edited by vipinbalakrishnan (2019-07-01 04:51:35)

Offline

#4 2019-07-01 05:01:03

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: DWM screen not clearing even after closing window

Maybe try reading the wiki and stop looking to have your hand held:

https://wiki.archlinux.org/index.php/Co … figuration


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB