මම හිතන්නේ xdg-openඔබ සොයන විධානය මෙයයි.
NAME
xdg-open - opens a file or URL in the user's preferred application
SYNOPSIS
xdg-open {file | URL}
xdg-open {--help | --manual | --version}
DESCRIPTION
xdg-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 index.php
මෙය gedit හි index.php විවෘත කරනු ඇත (ඔබ gnome භාවිතා කරන්නේ නම්).
ඔබට බ්රව්සරයේ යූආර්එල් එකක් විවෘත කිරීමට අවශ්ය නම්
xdg-open http://google.com
මෙය ඔබගේ සුපුරුදු බ්රව්සරයේ google.com විවෘත කරනු ඇත.
xdg-openඑය දවටනය තිර රචනය - එය ඩෙස්ක්ටොප් පරිසරය ගේ මෙවලම භාවිතා කරනු ඇත ( gio open, gvfs-open, kde-open, gnome-open, dde-open, exo-open, සහ වෙනත් එවැනි මෙවලම් සත්කාරක). එය ද පෙර සැකසුම මඟින් ස්ථාපනය කරනු ලබයි, හා ඉතා ඉඩ වැඩ කිරීමට, පසුගිය වත්මන් සහ අනාගත සංස්කරණය මත (අනෙක් අතට, gvfs-openසහ gnome-openඅතහැර දමා ඇති අතර, අනාගත නිකුත් ලබාගත නොහැක විය හැක).