<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>43161</bug_id>
          
          <creation_ts>2022-07-06 16:51:10 +0300</creation_ts>
          <short_desc>xdg-terminal не работает на системах с графическими окружениями MATE, gnome, cinnamon</short_desc>
          <delta_ts>2025-04-08 15:16:36 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>xdg-utils</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=53771</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Makeenkov">amakeenk</reporter>
          <assigned_to name="Антон Мидюков">antohami</assigned_to>
          <cc>antohami</cc>
    
    <cc>lav</cc>
    
    <cc>rirusha</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>212361</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2022-07-06 16:51:10 +0300</bug_when>
    <thetext>Версия пакета:
xdg-utils 1.1.3-alt9

Системы, на которых воспроизводится ошибка:
ALT Workstation 10
ALT Server 10

Шаги воспроизведения:
$ xdg-terminal &apos;ping 8.8.8.8&apos;

Получаемый результат:
xdg-terminal: configured terminal program &apos;&apos;mate-terminal&apos;&apos; not found or not executable</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212379</commentid>
    <comment_count>1</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2022-07-06 19:01:30 +0300</bug_when>
    <thetext>Внутри скрипта команда gsettings get возвращает странное:
++ gsettings get org.mate.applications-terminal exec
+ term_exec=&apos;&apos;\&apos;&apos;mate-terminal&apos;\&apos;&apos;&apos;

Соответственно
++ which &apos;&apos;\&apos;&apos;mate-terminal&apos;\&apos;&apos;&apos;
+ terminal_exec=</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212405</commentid>
    <comment_count>2</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2022-07-07 07:03:21 +0300</bug_when>
    <thetext>(Ответ для Антон Мидюков на комментарий #1)
&gt; Внутри скрипта команда gsettings get возвращает странное:
&gt; ++ gsettings get org.mate.applications-terminal exec
&gt; + term_exec=&apos;&apos;\&apos;&apos;mate-terminal&apos;\&apos;&apos;&apos;
&gt; 
&gt; Соответственно
&gt; ++ which &apos;&apos;\&apos;&apos;mate-terminal&apos;\&apos;&apos;&apos;
&gt; + terminal_exec=

Ничего странного. Возвращает значение в кавычках, а надо без.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212426</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2022-07-07 13:04:23 +0300</bug_when>
    <thetext>xdg-utils-1.1.3-alt10 -&gt; sisyphus:

 Thu Jul 07 2022 Anton Midyukov &lt;antohami@altlinux&gt; 1.1.3-alt10
 - Add xdg-terminal fixes from upstream (Closes: 43161):
   + Fix a bug when xdg-terminal needs gsettings to get the default terminal
   + Fixes -x argument, which is the default for {gnome,mate}-terminal</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>