How to open files without default application using xdg-open file_name? xdg-open file_name opens the file in default application. To play video files, it always opens with vlc which is set to default. If I want to open with media player, what will be the xdg-open code?
If you want to open a file with a specific application, use that application's command directly instead of
xdg-open's purpose is to open the file with the associated application.
For example, with the default media player, Totem, the command is
totem, so you'd do:
If you want to use
and so on.