-- Leo's gemini proxy

-- Connecting to freeshell.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

xdg-mime


> Query and manage MIME types according to the XDG standard.

More information.


Display the MIME type of a file:

xdg-mime query filetype {path/to/file}

Display the default application for opening PNGs:

xdg-mime query default {image/png}

Display the default application for opening a specific file:

xdg-mime query default $(xdg-mime query filetype {path/to/file})

Set imv as the default application for opening PNG and JPEG images:

xdg-mime default {imv.desktop} {image/png} {image/jpeg}


> Copyright © 2014—present the tldr-pages team and contributors.

> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY



-- Response ended

-- Page fetched on Fri May 17 14:16:30 2024