Your message dated Mon, 07 Feb 2011 09:40:54 +0100
with message-id <[email protected]>
and subject line Re: Bug#612139: xdg-utils: xdg-open should check if $DE is 
already set
has caused the Debian Bug report #612139,
regarding xdg-utils: xdg-open should check if $DE is already set
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
612139: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612139
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
2011-02-07 01:39, James Robertson skrev:
> I installed the package and this has fixed the problem.
> I will know in future to check on recommends before submitting a bug report.
> 
> Thanks for your assistance.

Great! Closing then.

-- 
Pelle


--- End Message ---

Reply via email to