Skip to content

Commit

Permalink
alternatives
Browse files Browse the repository at this point in the history
  • Loading branch information
cherkavi authored May 11, 2022
1 parent 7ff8018 commit afe2080
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -3042,8 +3042,18 @@ open in default browser
x-www-browser http://localhost:9090
```

### alternatives
```sh
sudo update-alternatives --display x-www-browser
sudo update-alternatives --query x-www-browser
sudo update-alternatives --remove x-www-browser /snap/bin/chromium
sudo update-alternatives --remove x-www-browser /usr/bin/chromium
sudo update-alternatives --install /usr/bin/x-www-browser x-www-browser /usr/bin/chromium-browser 90
```

### open file with default editor, default viewer, with more appropriate viewr
```sh
# ranger should be installed
rifle <path to file>
```

Expand Down

0 comments on commit afe2080

Please sign in to comment.