Forrest logo
back to the xdg-settings tool

xdg-settings:tldr:5b799

xdg-settings: Print the default web browser.
$ xdg-settings get ${default-web-browser}
try on your machine

The command xdg-settings is a command-line tool used to get or set default applications in a cross-desktop manner. The get subcommand is used to retrieve the value of a specific default setting.

In the given command, ${default-web-browser} is a placeholder for the actual default web browser on the system. The command retrieves the value of the default web browser setting using the xdg-settings tool.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the xdg-settings tool