In Ubuntu, xdg-open command is not working

гm new with Ubuntu, and I read in another thread that to open в file in the default редактор (gedit for я), I need to run xdg-open, but for some reason, when I run the command xdg-open app.js гm getting в bash: xdg-open: command not found notification. Why is it?

Following в request from в comment, the output of echo $PATH is:

/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/efiminzer/.local/bin:/home/efiminzer/bin
8
задан 1 December 2015 в 12:51

1 ответ

Установите/переустановите пакет xdg-utils:

sudo apt-get install --reinstall xdg-utils

/usr/bin/xdg-open часть этого пакета.

6
ответ дан 23 November 2019 в 05:48

Другие вопросы по тегам:

Похожие вопросы: