[Trac-bugs] [PC-BSD Trac] #793: Media Tray > More Options > Open Media Directory uses Web Browser

PC-BSD trac at pcbsd.org
Fri Nov 8 08:50:41 PST 2013

#793: Media Tray > More Options > Open Media Directory uses Web Browser
  Reporter:  bridger        |      Owner:  ken
      Type:  System Defect  |     Status:  closed
  Priority:  minor          |  Milestone:
 Component:  System Tool    |    Version:  9.2-RELEASE
Resolution:  3rdpartybug    |   Keywords:  Media Tray
Changes (by kenmoore):

 * status:  new => closed
 * resolution:   => 3rdpartybug


 This is a known bug with the "xdg-open" utility (how it detects the
 running DE). It is currently setup to look for environment variables, but
 those EV do not exist yet when the mount-tray is first started. If a DE
 could not be determined, xdg-open cycles through a list of web browsers to
 fall back on (causing firefox/epiphany to be opened instead).

 Solution: The xdg-open script needs to look for particular active
 processes instead of environment variables to determine which DE is
 running. This is outside the scope of the PC-BSD project, looking for
 someone to patch the FreeBSD port (there rumors that this is being worked

 Temporary workarounds:
 1) Use XFCE - xdg-open already looks for a process to detect XFCE, so this
 DE works perfectly fine with it.
 2) Close the mount-tray and re-open it from the control panel. This will
 force the utility to start over with the current batch of environment
 variables (including the DE-specific ones) and might let xdg-open work
 properly. This will need to be done every time you log in.

Ticket URL: <http://trac.pcbsd.org/ticket/793#comment:3>
PC-BSD <http://trac.pcbsd.org>
PC-BSD Project Management

More information about the Trac-bugs mailing list