<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - xdg-terminal does not work when gsettings is used to get the default terminal"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93231#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - xdg-terminal does not work when gsettings is used to get the default terminal"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93231">bug 93231</a>
from <span class="vcard"><a class="email" href="mailto:ronisbr@gmail.com" title="Ronan Arraes Jardim Chagas <ronisbr@gmail.com>"> <span class="fn">Ronan Arraes Jardim Chagas</span></a>
</span></b>
<pre>The following patch completely fixes the issue:
$cat xdg-terminal-fix-gsettings.patch
--- a 2015-12-03 14:46:29.679354374 -0200
+++ b 2015-12-03 14:49:08.144583541 -0200
@@ -514,8 +514,8 @@
{
term_schema="$1"; shift
- term_exec=`gsettings get ${term_schema} exec`
- term_exec_arg=`gsettings get ${term_schema} exec-arg`
+ term_exec=`gsettings get ${term_schema} exec | sed -r "s/^'(.*)'$/\1/"`
+ term_exec_arg=`gsettings get ${term_schema} exec-arg | sed -r
"s/^'(.*)'$/\1/"`
terminal_exec=`which $term_exec 2>/dev/null`</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>