Bug 43161 - xdg-terminal не работает на системах с графическими окружениями MATE, gnome, cinnamon
Summary: xdg-terminal не работает на системах с графическими окружениями MATE, gnome, ...
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: xdg-utils (show other bugs)
Version: unstable
Hardware: all Linux
: P5 normal
Assignee: Антон Мидюков
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-06 16:51 MSK by Alexander Makeenkov
Modified: 2022-07-07 13:04 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2022-07-06 16:51:10 MSK
Версия пакета:
xdg-utils 1.1.3-alt9

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

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

Получаемый результат:
xdg-terminal: configured terminal program ''mate-terminal'' not found or not executable
Comment 1 Антон Мидюков 2022-07-06 19:01:30 MSK
Внутри скрипта команда gsettings get возвращает странное:
++ gsettings get org.mate.applications-terminal exec
+ term_exec=''\''mate-terminal'\'''

Соответственно
++ which ''\''mate-terminal'\'''
+ terminal_exec=
Comment 2 Антон Мидюков 2022-07-07 07:03:21 MSK
(Ответ для Антон Мидюков на комментарий #1)
> Внутри скрипта команда gsettings get возвращает странное:
> ++ gsettings get org.mate.applications-terminal exec
> + term_exec=''\''mate-terminal'\'''
> 
> Соответственно
> ++ which ''\''mate-terminal'\'''
> + terminal_exec=

Ничего странного. Возвращает значение в кавычках, а надо без.
Comment 3 Repository Robot 2022-07-07 13:04:23 MSK
xdg-utils-1.1.3-alt10 -> sisyphus:

 Thu Jul 07 2022 Anton Midyukov <antohami@altlinux> 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