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:
parent
6162219ebf
commit
91aaaaf276
2 changed files with 18 additions and 0 deletions
13
files/xsession.patch
Normal file
13
files/xsession.patch
Normal 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 $*"
|
|
@ -94,3 +94,8 @@
|
||||||
dest: /usr/bin/pranklock
|
dest: /usr/bin/pranklock
|
||||||
mode: 0755
|
mode: 0755
|
||||||
force: true
|
force: true
|
||||||
|
|
||||||
|
- name: Patch out terrible looking QT
|
||||||
|
patch:
|
||||||
|
src: './files/xsession.patch'
|
||||||
|
dest: '/etc/lightdm/Xsession'
|
||||||
|
|
Loading…
Reference in a new issue