Public bug reported:

Default url-viewer value is 'open _URL_'

In Linux, open(1) is the command for "start a program on a new virtual
terminal", not for opening a web browser.

The reason that this configuration still worked, is because it didn't at
all. url-viewer requires the full path, therefore, 'open _URL_', missing
the leading '/bin/', triggers an internal exception which makes alpine
fall back to the default browser - probably /usr/bin/x-www-browser.

I suggest to change default url-viewer value to '/usr/bin/xdg-open
_URL_' for the Ubuntu package thanks to Ubuntu shipping xdg-utils.

** Affects: alpine (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Default url-viewer value is 'open _URL_'
  
  In Linux, open(1) is the command for "start a program on a new virtual
  terminal", not for opening a web browser.
  
  The reason that this configuration still worked, is because it didn't at
- all. url-viewer requires the full path, therefore, 'open _URL_', instead
- of '/bin/open _URL_' triggers an internal exception and makes alpine
- fall back to the default browser (probably /usr/bin/x-www-browser)
+ all. url-viewer requires the full path, therefore, 'open _URL_', missing
+ the leading '/bin/', triggers an internal exception which makes alpine
+ fall back to the default browser - probably /usr/bin/x-www-browser.
  
  The sensible action to do here is to use '/usr/bin/xdg-open' which is
  shipped in Ubuntu to open the default browser configured in unity-
  control-center.
  
- 
- I suggest to change default url-viewer value to '/usr/bin/xdg-open _URL_' for 
the Ubuntu package.
+ I suggest to change default url-viewer value to '/usr/bin/xdg-open
+ _URL_' for the Ubuntu package.

** Description changed:

  Default url-viewer value is 'open _URL_'
  
  In Linux, open(1) is the command for "start a program on a new virtual
  terminal", not for opening a web browser.
  
  The reason that this configuration still worked, is because it didn't at
  all. url-viewer requires the full path, therefore, 'open _URL_', missing
  the leading '/bin/', triggers an internal exception which makes alpine
  fall back to the default browser - probably /usr/bin/x-www-browser.
  
- The sensible action to do here is to use '/usr/bin/xdg-open' which is
- shipped in Ubuntu to open the default browser configured in unity-
- control-center.
- 
  I suggest to change default url-viewer value to '/usr/bin/xdg-open
  _URL_' for the Ubuntu package.

** Description changed:

  Default url-viewer value is 'open _URL_'
  
  In Linux, open(1) is the command for "start a program on a new virtual
  terminal", not for opening a web browser.
  
  The reason that this configuration still worked, is because it didn't at
  all. url-viewer requires the full path, therefore, 'open _URL_', missing
  the leading '/bin/', triggers an internal exception which makes alpine
  fall back to the default browser - probably /usr/bin/x-www-browser.
  
  I suggest to change default url-viewer value to '/usr/bin/xdg-open
- _URL_' for the Ubuntu package.
+ _URL_' for the Ubuntu package thanks to Ubuntu shipping xdg-utils.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1747324

Title:
  default url-viewer not suitable for Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alpine/+bug/1747324/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to