Skip to content

Commit

Permalink
Update history.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
one7two99 authored Aug 16, 2021
1 parent 0ae15d3 commit fd54309
Showing 1 changed file with 10 additions and 27 deletions.
37 changes: 10 additions & 27 deletions history.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,34 +76,17 @@ echo "Body of Testmail" | mail -s "Testmail Subject" <MAILADDRESS>

#setup web browser
#install some webbrowsers
sudo apt-get install w3m w3m-imgcat elinks links2
#choose a default browser (w3m in my case)
sudo apt-get install w3m w3m-imgcat elinks chromium
#choose a default browser
#See also: https://askubuntu.com/questions/16621/how-to-set-the-default-browser-from-the-command-line
#sudo update-alternatives --config www-browser
#sudo update-alternatives --config x-www-browser
#sudo update-alternatives --config gnome-www-browser

ls -lah /usr/bin/*-browser
/usr/bin/gnome-www-browser -> /etc/alternatives/gnome-www-browser
/usr/bin/sensible-browser
/usr/bin/www-browser -> /etc/alternatives/www-browser
/usr/bin/x-www-browser -> /etc/alternatives/x-www-browser

ls -lah /etc/alternatives/*browser
/etc/alternatives/gnome-www-browser -> /usr/bin/garcon-url-handler
/etc/alternatives/www-browser -> /usr/bin/w3m
/etc/alternatives/x-www-browser -> /usr/bin/garcon-url-handler

#set w3m as default browser:
sudo rm /etc/alternatives/www-browser
sudo ln -s /usr/bin/w3m /etc/alternatives/www-browser
sudo rm /etc/alternatives/x-www-browser
sudo ln -s /usr/bin/w3m /etc/alternatives/x-www-browser
sudo rm /etc/alternatives/gnome-www-browser
sudo ln -s /usr/bin/w3m /etc/alternatives/gnome-www-browser



sudo update-alternatives --config www-browser
# chooe w3m
sudo update-alternatives --config x-www-browser
# choose Chromium
sudo update-alternatives --config gnome-www-browser
# choose Chromium
# See default browsers:
ls -lah /usr/bin/*-browser /etc/alternatives/*browser
#Test with
sensible-browser https://google.com

0 comments on commit fd54309

Please sign in to comment.