aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2017-03-21 19:44:51 +0200
committerJani Välimaa <wally@mageia.org>2017-03-21 19:45:22 +0200
commit29ab8b1fa5c63e7506965f7f4070c220c202803f (patch)
treed6d915012657c138b594a112367be57e5439dfaf
parentf1e4ced1fe4f9714ef90565e2f97e584cb95c59c (diff)
downloadcommon-data-29ab8b1fa5c63e7506965f7f4070c220c202803f.tar
common-data-29ab8b1fa5c63e7506965f7f4070c220c202803f.tar.gz
common-data-29ab8b1fa5c63e7506965f7f4070c220c202803f.tar.bz2
common-data-29ab8b1fa5c63e7506965f7f4070c220c202803f.tar.xz
common-data-29ab8b1fa5c63e7506965f7f4070c220c202803f.zip
xvt: update default terminal detection to use gsettings in GNOME
-rwxr-xr-xbin/xvt2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/xvt b/bin/xvt
index 4b0d4f6..4de5158 100755
--- a/bin/xvt
+++ b/bin/xvt
@@ -27,7 +27,7 @@ if [[ -z "$TERMINAL" ]]; then
# using GNOME
if [[ -n "$GNOME_DESKTOP_SESSION_ID" ]]; then
- TERMINAL=`gconftool -g /desktop/gnome/applications/terminal/exec`
+ TERMINAL=`gsettings get org.gnome.desktop.default-applications.terminal exec | tr -d \'`
fi
# using MATE