forked from andonome/lk
		
	expand xdg
This commit is contained in:
		| @@ -1,11 +1,13 @@ | ||||
| --- | ||||
| title: "xdg" | ||||
| tags: [ "Documentation", "System" ] | ||||
| tags: [ "Documentation", "Defaults", "System" ] | ||||
| --- | ||||
|  | ||||
| Tab is your friend. | ||||
|  | ||||
| What filetype is this file? | ||||
|  | ||||
| > xdg-mime query filetype aif.pdf | ||||
| > xdg-mime query filetype *somefile.pdf* | ||||
|  | ||||
| `application/pdf` | ||||
|  | ||||
| @@ -13,3 +15,7 @@ Make `application/pdf` open with zathura as default: | ||||
|  | ||||
| > xdg-mime default org.pwmt.zathura.desktop application/pdf | ||||
|  | ||||
| Ask what happens with a filetype: | ||||
|  | ||||
| > xdg-mime query default audio/mp3 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user