LINUX.ORG.RU

Утилита диалога выбора файла


0

1

Есть ли утилита, которая при запусе откроет диалог выбора файлов, выдаст имя в stdout и закроется? Надо для пайпа для mednfen'а. Просто запуск из файлового менеджера «открыть с помощью» не катит, ибо надо доп параметры передать.

★★

man xdg-desktop-menu:

Exec=Command Line

The command line to start the application. If the application can open files the %f placeholder should be specified. When a file is dropped on the application launcher the %f is replaced with the file path of the dropped file. If multiple files can be specified on the command line the %F placeholder should be used instead of %f. If the application is able to open URLs in addition to local files then %u or %U can be used instead of %f or %F.

Так что если написать свой .desktop-файл для Mednafen, можно будет и «открывать с помощью».

AITap ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.