Advertisement
metalx1000

Set Default Program for all Image Types

Jan 13th, 2023
1,724
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.17 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. for i in jpeg jpg png gif
  4. do
  5.   echo $i;xdg-mime default org.nomacs.ImageLounge.desktop image/$i
  6. done
  7.  
  8. #check default
  9. xdg-mime query default image/jpeg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement