From c9fbf93c4097018ebc8d27968abab5fa1e776188 Mon Sep 17 00:00:00 2001 From: Julien Lavergne Date: Wed, 30 Dec 2009 12:22:00 +0100 Subject: [PATCH] Install configuration file for QT apps if no one is installed, and set QT style=GTK+. --- debian/changelog | 2 ++ usr/bin/startlubuntu | 5 +++++ usr/share/lubuntu/qt/Trolltech.conf | 2 ++ 3 files changed, 9 insertions(+) create mode 100644 usr/share/lubuntu/qt/Trolltech.conf diff --git a/debian/changelog b/debian/changelog index 10e5d99..1e01b73 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ lubuntu-default-settings (0.4) UNRELEASED; urgency=low * Remove spacer before the menu applet on the panel. * Use openbox menu on the desktop indead of pcmanfm one. + * Install configuration file for QT apps if no one is installed, and set + QT style=GTK+. -- Julien Lavergne Sun, 13 Dec 2009 17:45:38 +0100 diff --git a/usr/bin/startlubuntu b/usr/bin/startlubuntu index fa6226d..98cae6c 100644 --- a/usr/bin/startlubuntu +++ b/usr/bin/startlubuntu @@ -36,6 +36,11 @@ if [ ! -f "$OPENBOX_CONF_DIR/lubuntu-rc.xml" ]; then cp /usr/share/lubuntu/openbox/rc.xml "$OPENBOX_CONF_DIR/lubuntu-rc.xml" fi +# Install custom QT configuration if no one is already installed +if [ ! -f "$XDG_CONFIG_HOME/Trolltech.conf" ]; then + cp /usr/share/lubuntu/qt/Trolltech.conf "$XDG_CONFIG_HOME/Trolltech.conf" +fi + # Clean up after GDM (GDM sets the number of desktops to one) xprop -root -remove _NET_NUMBER_OF_DESKTOPS -remove _NET_DESKTOP_NAMES -remove _NET_CURRENT_DESKTOP 2> /dev/null diff --git a/usr/share/lubuntu/qt/Trolltech.conf b/usr/share/lubuntu/qt/Trolltech.conf new file mode 100644 index 0000000..e148896 --- /dev/null +++ b/usr/share/lubuntu/qt/Trolltech.conf @@ -0,0 +1,2 @@ +[Qt] +style=GTK+