xdg-settings:tldr:624c7
The command "xdg-settings set ${pdf-viewer-desktop}" is used to set the default PDF viewer application on a system using xdg-settings utility.
Here's a breakdown of the command components:
-
"xdg-settings": This is the name of the utility/command being used. It is a command-line tool that allows you to query or change default desktop settings.
-
"set": This is the specific action being performed by xdg-settings. In this case, it is used to set a new default value for a specific setting.
-
"${pdf-viewer-desktop}": It is a placeholder for a variable that represents the current default PDF viewer application on the system. The value of this variable will be substituted with the actual value during the command execution.
So, when you run the command with the substituted variable value, it will change the default PDF viewer on your system to the specified application.