Miscellaneous KDE tips follows…


.


KDE 5: To disable KDE debug messages in the system log:

Add the following to the beginning of /usr/bin/startkde:

QT_LOGGING_RULES="*.debug=false"
export QT_LOGGING_RULES

Log out and log back in.


To set the TearFree option for Intel graphics cards:

Create the file /usr/share/X11/xorg.conf.d/20-intel.conf with the following content:

Section "Device" 
    Identifier "Intel Graphics" 
    Driver "intel" 
    Option "TearFree" "true" 
EndSection

Restart your login manager or your computer.


! This change will make the graphics performance worse !

To change from Intel SNA acceleration to UXA acceleration (this helps take out graphics glitches):

Create the file /usr/share/X11/xorg.conf.d/20-intel.conf with the following content:

Section "Device" 
    Identifier "Intel Graphics" 
    Driver "intel" 
    Option "AccelMethod" "uxa"
EndSection

Restart your login manager or your computer.


To fix the graphics glitches for Firefox running under KDE:

System settings
Desktop Effects
Advanced
OpenGL options
Set Tearing prevention (VSync) to None

KDE 5:

System settings
Hardware
Display and monitor
Compositor
Tearing prevention ("vsync"): Never

To fix the graphics glitches for Firefox running under KDE:

Open about:config
Set gfx.xrender.enabled to false
Set layers.acceleration.disabled to true
Edit/Preferences
Advanced
Browsing
Uncheck Use hardware acceleration when available

To disable the file indexer:

$ balooctl stop
$ balooctl disable

Ensure that Indexing-Enabled=false is defined in both $HOME/.config/baloofilerc.


To disable akonadi’s mysql server which might eat up up to 800 megabytes:

$ akonadictl stop

Change StartServer=true to StartServer=false in $HOME/.config/akonadi/akonadiserverrc


Fixes for Firefox:

/etc/profile:

export __GL_YIELD=”USLEEP”
export MOZ_USE_OMTC=1
export KWIN_EXPLICIT_SYNC=0
export QSG_RENDER_LOOP=basic

about:config

gfx.xrender.enabled=true
layers.acceleration.force-enabled=true
webgl.force-enabled=true

layers.offmainthreadcomposition.enabled=true (this item is missing since about Firefox 46.0)


Set KDE animation speed to ‘Instant’ in

System Settings
Workspace Appearance and Behavior
Desktop Effects
General
Animation speed:

KDE 5:

To disable the CPU intensive notification icon, change running: visible to running: false in /usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationIcon.qml.