(SOLVED) Where does KDE store screen settings (Screen Tearing issue)

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
SawDoc58

(SOLVED) Where does KDE store screen settings (Screen Tearing issue)

Post by SawDoc58 »

I've been having a terrible time with screen tearing in KDE. One of the things I tried was to set tearing prevention to "reuse screen content", well that made my desktop unusable, I had been using Timeshift to create backups so I thought I could just run Timeshift from terminal Ctrl-Alt-F2, but timeshift does not restore the screen setting file I screwed up. So 2 questions, 1) Can I delete the settings file and have KDE recreate a stock settings file with the screen tearing option reset? 2) If this is possible where is this file?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
aes2011
Level 4
Level 4
Posts: 498
Joined: Wed Jul 06, 2011 10:39 pm

Re: Where does KDE store screen settings (Screen Tearing issue)

Post by aes2011 »

SawDoc58 wrote: Mon Mar 19, 2018 5:34 pm where is this file?
Do you have ~/.config/kwinrc? In KDE Plasma 5.8.9, the first section in that file deals with compositing.
phd21
Level 20
Level 20
Posts: 10103
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Where does KDE store screen settings (Screen Tearing issue)

Post by phd21 »

Hi SawDoc58,

I just read your post and the good replies to it. Here are my thoughts on this as well.

It would help to know more about your system setup. If you run "inxi -Fxzd" and "lsusb" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.
Phd21: Mint 20 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS's, Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.
SawDoc58

Re: Where does KDE store screen settings (Screen Tearing issue)

Post by SawDoc58 »

Thank you for your replys, sorry about the delay as work got real crazy there for a bit. I found the kwinrc and set up a test user to see if I could fix it from vi in a terminal and I could. I wonder why Timeshift doesn't restore a copy of kwinrc on a restore.
SawDoc58

Re: Where does KDE store screen settings (Screen Tearing issue)

Post by SawDoc58 »

sawdoc@sawdoc-on-Linux ~ $ inxi -Fxzd
System: Host: sawdoc-on-Linux Kernel: 4.13.0-37-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: KDE Plasma 5.8.9 (Qt 5.6.1) Distro: Linux Mint 18.3 Sylvia
Machine: Mobo: ASUSTeK model: M4A89GTD-PRO/USB3 v: Rev 1.xx Bios: American Megatrends v: 3029 date: 07/05/2012
CPU: Quad core AMD FX-4100 (-MCP-) cache: 8192 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 28897
clock speeds: max: 3600 MHz 1: 1400 MHz 2: 1700 MHz 3: 1400 MHz 4: 1700 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] RS880 [Radeon HD 4290] bus-ID: 01:05.0
Display Server: X.Org 1.18.4 drivers: ati,radeon (unloaded: fbdev,vesa) Resolution: 1920x1080@60.00hz
GLX Renderer: AMD RS880 (DRM 2.50.0 / 4.13.0-37-generic, LLVM 5.0.0)
GLX Version: 3.0 Mesa 17.2.8 Direct Rendering: Yes
Audio: Card-1 Advanced Micro Devices [AMD/ATI] RS880 HDMI Audio [Radeon HD 4200 Series]
driver: snd_hda_intel bus-ID: 01:05.1
Card-2 Advanced Micro Devices [AMD/ATI] SBx00 Azalia (Intel HDA) driver: snd_hda_intel bus-ID: 00:14.2
Sound: Advanced Linux Sound Architecture v: k4.13.0-37-generic
Network: Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: e800 bus-ID: 05:00.0
IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 3250.7GB (25.4% used) ID-1: /dev/sda model: WDC_WD1002FAEX size: 1000.2GB
ID-2: /dev/sdb model: ST3250820AS size: 250.1GB ID-3: /dev/sdc model: WDC_WD2003FZEX size: 2000.4GB
Optical: /dev/sr0 model: HP DVD Writer 1265d rev: NH21 dev-links: cdrom,cdrw,dvd,dvdrw
Features: speed: 125x multisession: yes
audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition: ID-1: / size: 19G used: 6.0G (35%) fs: ext4 dev: /dev/sda1
ID-2: /home size: 1.4T used: 749G (58%) fs: ext4 dev: /dev/sdc1
ID-3: /var size: 46G used: 1.2G (3%) fs: ext4 dev: /dev/sdb1
ID-4: swap-1 size: 15.73GB used: 0.00GB (0%) fs: swap dev: /dev/dm-0
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 41.0C mobo: 27.0C
Fan Speeds (in rpm): cpu: 2136 psu: 0 sys-1: 2428 sys-2: 2606
Info: Processes: 190 Uptime: 20 min Memory: 887.4/3675.6MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35
Hoser Rob
Level 20
Level 20
Posts: 11806
Joined: Sat Dec 15, 2012 8:57 am

Re: Where does KDE store screen settings (Screen Tearing issue)

Post by Hoser Rob »

SawDoc58 wrote: Mon Mar 26, 2018 1:30 pm I wonder why Timeshift doesn't restore a copy of kwinrc on a restore.
Do you have a separate /home partition and just back up your / (root) partition? User settings are stored in /home.

Screen tearing tends to be desktop agnostic so KDE settings aren't necessarily the way to go. But that's a legacy AMD card (the open source driver (radeon) is your only driver available) so you may want to try disabling all desktop effects / animations / eye candy in KDE settings.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
SawDoc58

Re: Where does KDE store screen settings (Screen Tearing issue)

Post by SawDoc58 »

Thanks, Timeshift was not backing my home partition.
SawDoc58

Re: Where does KDE store screen settings (Screen Tearing issue)

Post by SawDoc58 »

I seem to remember having no issues until I installed conky aureola.
Last edited by SawDoc58 on Tue Apr 17, 2018 11:30 am, edited 1 time in total.
Hoser Rob
Level 20
Level 20
Posts: 11806
Joined: Sat Dec 15, 2012 8:57 am

Re: Where does KDE store screen settings (Screen Tearing issue)

Post by Hoser Rob »

SawDoc58 wrote: Tue Mar 27, 2018 12:08 pm I seem to remember having no issues until I installed conky ayreola.
I suspect that's it. It isn't meant for KDE, and I wouldn't install a 3rd party app like that even in a GTK based DE.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
aes2011
Level 4
Level 4
Posts: 498
Joined: Wed Jul 06, 2011 10:39 pm

Re: Where does KDE store screen settings (Screen Tearing issue)

Post by aes2011 »

SawDoc58 wrote: Tue Mar 27, 2018 11:57 am Thanks, Timeshift was not backing my home partition.
https://community.linuxmint.com/software/view/timeshift indicates it only takes snapshots of your system, not of your home partition.
SawDoc58

Re: Where does KDE store screen settings (Screen Tearing issue)

Post by SawDoc58 »

Hoser Rob wrote: Thu Mar 29, 2018 7:58 am
SawDoc58 wrote: Tue Mar 27, 2018 12:08 pm I seem to remember having no issues until I installed conky ayreola.
I suspect that's it. It isn't meant for KDE, and I wouldn't install a 3rd party app like that even in a GTK based DE.
OK, thanks. Is there a KDE alternative by any chance?
Hoser Rob
Level 20
Level 20
Posts: 11806
Joined: Sat Dec 15, 2012 8:57 am

Re: Where does KDE store screen settings (Screen Tearing issue)

Post by Hoser Rob »

I'm typing this on my 17.3 Xfce netbook but my main laptop runs 18.2 KDE. And I avoid 3rd party customizattions in Plasma 5 like the plague. Even the themes that come up in legitimate lists for Plasma 5 aren't reliable.

My version of a conky (in both Xfce and KDE) is just a vertical auto hide panel on the side. I just put app launchers there. Much simpler and more reliable.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
SawDoc58

Re: Where does KDE store screen settings (Screen Tearing issue)

Post by SawDoc58 »

I would have no problems with screen tearing until I ran conky,even that would take a few days/sessions to start manifesting itself. I changed my desktop session in startup/shutdown to "start with an empty session" and now I don't have any issues with screen tearing any more, I'm thinking there were two instances of conky running and because they exactly overlayed each other it was not possible to see this and this would increase by one every new session.
SawDoc58

Re: (SOLVED) Where does KDE store screen settings (Screen Tearing issue)

Post by SawDoc58 »

Sure enough, with screen edge set to Desktop Grid every window would be shown as separate and I would see one more conky running on every new session. So now I'm no longer having any issues with screen tearing.
Locked

Return to “Software & Applications”