xdg-open command_examples

xdg-open command_examples

xdg-open – opens a file or URL in the user’s preferred application

xdg-open 'http://www.freedesktop.org/'

Opens the freedesktop.org website in the user’s default browser.

xdg-open /tmp/foobar.png

Opens the PNG image file /tmp/foobar.png in the user’s default image viewing application.

Leave a Reply

Your email address will not be published. Required fields are marked *