diff options
author | Eric Hameleers <alien@slackware.com> | 2017-04-17 20:02:15 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2017-04-17 20:02:15 +0200 |
commit | b5e2f60be0e4428a539f597bf5a0e51a8cc783df (patch) | |
tree | 5385092968e1a74b107c3069d2158c9d265dc2c1 | |
parent | 19a2b6fe29224b76fcc09549996a45b5867dfed9 (diff) | |
download | liveslak-b5e2f60be0e4428a539f597bf5a0e51a8cc783df.tar.gz liveslak-b5e2f60be0e4428a539f597bf5a0e51a8cc783df.tar.xz |
Set default GTK+ theme for Qt applications
-rwxr-xr-x | make_slackware_live.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh index 1f60d8e..87840df 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -1538,6 +1538,20 @@ cat <<EOT > ${LIVE_ROOTDIR}/var/lib/kdm/kdmsts EOT chmod 600 ${LIVE_ROOTDIR}/var/lib/kdm/kdmsts +# Set default GTK+ theme for Qt applications: +mkdir -p ${LIVE_ROOTDIR}/etc/skel/ +cat << EOF > ${LIVE_ROOTDIR}/etc/skel/.gtkrc-2.0 +include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc" +include "/usr/share/gtk-2.0/gtkrc" +include "/etc/gtk-2.0/gtkrc" +gtk-theme-name="Adwaita" +EOF +mkdir -p ${LIVE_ROOTDIR}/etc/skel/.config/gtk-3.0 +cat << EOF > ${LIVE_ROOTDIR}/etc/skel/.config/gtk-3.0/settings.ini +[Settings] +gtk-theme-name = Adwaita +EOF + # Be gentle to low-performance USB media and limit disk I/O: mkdir -p ${LIVE_ROOTDIR}/etc/skel/.kde/share/config cat <<EOT > ${LIVE_ROOTDIR}/etc/skel/.kde/share/config/nepomukserverrc |