Forrest logo
back to context overview

xdg-mime

List of commands for xdg-mime:

  • xdg-mime:tldr:4afd3 xdg-mime: Set imv as the default application for opening PNG and JPEG images.
    $ xdg-mime default ${imv-desktop} ${image-png} ${image-jpeg}
    try on your machine
    explain this command
  • xdg-mime:tldr:9812f xdg-mime: Display the default application for opening a specific file.
    $ xdg-mime query default $(xdg-mime query filetype ${filename})
    try on your machine
    explain this command
  • xdg-mime:tldr:a9712 xdg-mime: Display the MIME type of a file.
    $ xdg-mime query filetype ${filename}
    try on your machine
    explain this command
  • xdg-mime:tldr:e9151 xdg-mime: Display the default application for opening PNGs.
    $ xdg-mime query default ${image-png}
    try on your machine
    explain this command
back to context overview