Package: xdg-utils
Version: 1.1.0~rc1-1
Severity: minor

I use Openbox on Debian Sid with mostly GTK/Gnome Apps and more specifically 
Nautilus is what I will refer to in this report.  I do not use a login manager 
and start openbox from .xinitrc with "exec ck-launch-session dbus-launch 
openbox-session" and have dbus, policykit and consolekit installed.

I had set "export DE=gnome" in my .bashrc but found that xdg-open was still 
considering my DE to be "generic".  Therefore, as one example file:/// url's 
were opening within Chromium Web Browser when I clicked on "Show in Folder" 
from a download from within Chromium.  I wanted this to open in Nautilus 
instead.

The function "detectDE" in the xdg-open script does not take into account that 
the DE variable may already be set.

To get things working I replaced the line where "detectDE" is called with:

if [ x"$DE" = x"" ]; then
    detectDE
fi

Which means the script does not assume the DE variable is unset, if it's not 
set tries to detect it.

Then things worked as expected.


-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

xdg-utils depends on no packages.

Versions of packages xdg-utils recommends:
pn  libfile-mimeinfo-perl         <none>     (no description available)
ii  x11-utils                     7.5+4      X11 utilities
ii  x11-xserver-utils             7.5+2      X server utilities

Versions of packages xdg-utils suggests:
ii  gvfs-bin                      1.6.4-3    userspace virtual filesystem - bin

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to