Write patch to remove terrible looking QT apps under ligthdm

We set the value to something more sane in other places, but it gets overriden
This commit is contained in:
Jake Howard 2019-05-13 09:07:46 +01:00
parent 6162219ebf
commit 91aaaaf276
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 18 additions and 0 deletions

13
files/xsession.patch Normal file
View file

@ -0,0 +1,13 @@
--- /etc/lightdm/Xsession 2019-03-13 18:14:42.569300975 +0000
+++ /etc/lightdm/Xsession 2019-05-13 08:52:58.876091847 +0100
@@ -67,8 +67,8 @@
if ! [[ "${@}" =~ plasma|lxqt ]]; then
# Fix ugly styles for Qt applications when running under GTK-based desktops and Qt 5.7+
- export QT_QPA_PLATFORMTHEME='qt5ct'
- unset QT_STYLE_OVERRIDE
+ # export QT_QPA_PLATFORMTHEME='qt5ct'
+ # unset QT_STYLE_OVERRIDE
fi
echo "X session wrapper complete, running session $*"

View file

@ -94,3 +94,8 @@
dest: /usr/bin/pranklock
mode: 0755
force: true
- name: Patch out terrible looking QT
patch:
src: './files/xsession.patch'
dest: '/etc/lightdm/Xsession'