[Portland-bugs] [Bug 93231] New: xdg-terminal does not work in MATE

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 3 08:35:29 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=93231

            Bug ID: 93231
           Summary: xdg-terminal does not work in MATE
           Product: Portland
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: xdg-utils
          Assignee: portland-bugs at lists.freedesktop.org
          Reporter: ronisbr at gmail.com

Hi!

I'm trying to open the default terminal using xdg-terminal in MATE. However,
when I execute `xdg-terminal` I get the following output:

xdg-terminal: configured terminal program ''mate-terminal'' not found or not
executable

It turns out that, in MATE, `xdg-terminal` uses the following code to get the
default terminal:

gsettings get org.mate.applications-terminal exec

(see
http://cgit.freedesktop.org/xdg/xdg-utils/tree/scripts/xdg-terminal.in#n85)

However, this command in MATE returns:

gsettings get org.mate.applications-terminal exec              
'mate-terminal'

Thus, xdg-terminal tries to execute `'mate-terminal'` instead of
`mate-terminal`, which is the cause of the bug.

This happens regardless the terminal that I choose to be the default:

xterm:
$ gsettings get org.mate.applications-terminal exec
'xterm'

konsole:
gsettings get org.mate.applications-terminal exec
'konsole'

Hence, I think that xdg-terminal just need to remove '' from the returned
string and execute it.

Additional information about my system:

$ cat /etc/os-release
NAME=openSUSE
VERSION="Tumbleweed"
VERSION_ID="20151128"
PRETTY_NAME="openSUSE Tumbleweed (20151128) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:20151128"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://opensuse.org/"
ID_LIKE="suse"

$ xdg-terminal --version
xdg-terminal 1.1.0 rc3

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/portland-bugs/attachments/20151203/b8e562f3/attachment.html>


More information about the Portland-bugs mailing list