Quantcast
Channel: How to cleanly launch a GUI app via the Terminal? - Ask Ubuntu
Viewing all articles
Browse latest Browse all 12

Answer by Jonathan Komar for How to cleanly launch a GUI app via the Terminal?

$
0
0

xdg-open

Have a look at this general-purpose utility: https://linux.die.net/man/1/xdg-open

This will open a relative location in your file manager.

 $ xdg-open .

This will open a pdf file in a pdf reader.

 $ xdg-open foo.pdf

You can even provide web URLs

$ xdg-open www.google.com

Viewing all articles
Browse latest Browse all 12

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>