XDG−OPEN - Online Linux Manual PageSection : 1
Updated : 01/21/2023
Source : xdg-utils 1.0
Note : xdg-open Manual

NAMExdg-open − opens a file or URL in the user's preferred application

SYNOPSISxdg−open {file | URL} xdg−open {−−help | −−manual | −−version}

DESCRIPTIONxdg−open opens a file or URL in the user's preferred application​. If a URL is provided the URL will be opened in the user's preferred web browser​. If a file is provided the file will be opened in the preferred application for files of that type​. xdg−open supports file, ftp, http and https URLs​. xdg−open is for use inside a desktop session only​. It is not recommended to use xdg−open as root​.

OPTIONS−−help Show command synopsis​. −−manual Show this manual page​. −−version Show the xdg−utils version information​.

EXIT CODESAn exit code of 0 indicates success while a non−zero exit code indicates failure​. The following failure codes can be returned: 1 Error in command line syntax​. 2 One of the files passed on the command line did not exist​. 3 A required tool could not be found​. 4 The action failed​.

SEE ALSOxdg-mime(1), xdg-settings(1), MIME applications associations specification[1]

EXAMPLESxdg−open 'http://www​.freedesktop​.org/'Opens the freedesktop​.org website in the user's default browser​. xdg−open /tmp/foobar​.pngOpens the PNG image file /tmp/foobar​.png in the user's default image viewing application​.

AUTHORSKevin Krammer Author. Jeremy White Author.

COPYRIGHT
Copyright © 2006

NOTES 1. MIME applications associations specification ­http://www.freedesktop.org/wiki/Specifications/mime-apps-spec/
0
Johanes Gumabo
Data Size   :   10,899 byte
man-open.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 181,768
Visitor ID   :     :  
Visitor IP   :   18.118.252.215   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.