LinuxCommandLibrary

handlr

Manage your default applications.

TLDR

Open a URL in the default application

$ handlr open [https://example.com]
copy


Open a PDF in the default PDF viewer
$ handlr open [path/to/file.pdf]
copy


Set imv as the default application for PNG files
$ handlr set [.png] [imv.desktop]
copy


Set MPV as the default application for all audio files
$ handlr set ['audio/*'] [mpv.desktop]
copy


List all default apps
$ handlr list
copy


Print the default application for PNG files
$ handlr get [.png]
copy

Copied to clipboard