/Desktop.jl

Basic GUI desktop interactions such as opening a browser

Primary LanguageJuliaMIT LicenseMIT

Desktop

Stable Dev Build Status

This Julia package provides functions for basic GUI Desktop interactions:

  • checking if the current process has access to a desktop environment
  • opening a URL with a web browser
  • opening a file with the desktop environment's default application

Example

using Desktop
if hasdesktop()
   browse_url("https://julialang.org/")
else
   @info("No desktop environment available.")
end