aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2017-03-21 19:42:01 +0200
committerJani Välimaa <wally@mageia.org>2017-03-21 19:42:01 +0200
commitf1e4ced1fe4f9714ef90565e2f97e584cb95c59c (patch)
tree5a6ba669206e446b787ae6ee335a25b560c9761c
parentcb4f8baf50cc208db6723cd7dd57ae23310c4590 (diff)
downloadcommon-data-f1e4ced1fe4f9714ef90565e2f97e584cb95c59c.tar
common-data-f1e4ced1fe4f9714ef90565e2f97e584cb95c59c.tar.gz
common-data-f1e4ced1fe4f9714ef90565e2f97e584cb95c59c.tar.bz2
common-data-f1e4ced1fe4f9714ef90565e2f97e584cb95c59c.tar.xz
common-data-f1e4ced1fe4f9714ef90565e2f97e584cb95c59c.zip
xvt: use gsettings to detect default terminal in MATE as dconf might be not available always
-rwxr-xr-xbin/xvt2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/xvt b/bin/xvt
index e1fb21e..4b0d4f6 100755
--- a/bin/xvt
+++ b/bin/xvt
@@ -32,7 +32,7 @@ if [[ -z "$TERMINAL" ]]; then
# using MATE
if [[ -n "$MATE_DESKTOP_SESSION_ID" || x"$XDG_CURRENT_DESKTOP" = x"MATE" ]]; then
- TERMINAL=`dconf read /org/mate/desktop/applications/terminal/exec | tr -d \'`
+ TERMINAL=`gsettings get org.mate.applications-terminal exec | tr -d \'`
fi
#using KDE