Guest User

Untitled

a guest
Feb 18th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. karthick@Ubuntu-desktop:~$ sudo update-alternatives --config x-www-browser
  2. There are 3 choices for the alternative x-www-browser (providing /usr/bin/x-www-browser).
  3.  
  4. Selection Path Priority Status
  5. ------------------------------------------------------------
  6. 0 /usr/bin/google-chrome 200 auto mode
  7. * 1 /usr/bin/firefox 40 manual mode
  8. 2 /usr/bin/google-chrome 200 manual mode
  9. 3 /usr/bin/opera 90 manual mode
  10.  
  11. xdg-settings set default-web-browser chromium-browser.desktop
  12.  
  13. export BROWSER=/usr/bin/firefox
  14.  
  15. sudo update-alternatives --config x-www-browser
  16.  
  17. sudo update-alternatives --config x-www-browser
  18. sudo update-alternatives --config www-browser
  19.  
  20. /usr/bin/google-chrome -> /etc/alternatives/google-chrome -> /usr/bin/google-chrome-beta
  21.  
  22. sudo update-alternatives --install /usr/bin/x-www-browser x-www-browser /opt/yourapp/yourapp 200
  23. sudo update-alternatives --set x-www-browser /opt/yourapp/yourapp
Add Comment
Please, Sign In to add comment