Package: xdg-utils
Version: 1.0.2-3
Severity: normal

I can't get 'xdg-mime query' to output anything at all.

[12:27AM] [EMAIL PROTECTED]:~ $ ls -l output.ps
-rw-r--r-- 1 hamish hamish 10212505 2008-02-06 22:22 output.ps
[12:27AM] [EMAIL PROTECTED]:~ $ xdg-mime query filetype output.ps
[12:27AM] [EMAIL PROTECTED]:~ $ xdg-mime query default application/postscript
[12:27AM] [EMAIL PROTECTED]:~ $ 

By setting $XDG_UTILS_DEBUG_LEVEL I found that 'query filetype' is using
gnomevfs-info, which is only a Suggestion of xdg-utils'. The command
should print an error if it can't actually call gnomevfs-info.

Having installed gnomevfs-info, query filetype works but query default
still does not:

[12:32AM] [EMAIL PROTECTED]:~ $ XDG_UTILS_DEBUG_LEVEL=10 xdg-mime query
default application/postscript
Checking /home/hamish/.local/share//applications/defaults.list
Checking /usr/local/share//applications/defaults.list
Checking /usr/share//applications/defaults.list
Checking /usr/share/gdm//applications/defaults.list

I have only 

[12:33AM] [EMAIL PROTECTED]:~ $ locate defaults.list
/etc/gnome-vfs-2.0/defaults.list
/usr/share/gnome/applications/defaults.list

I don't know why xdg-mime would check under gdm/applications? Should be
gnome, surely.


Hamish

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (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/bash

xdg-utils depends on no packages.

Versions of packages xdg-utils recommends:
ii  elinks [www-browser]          0.11.3-3   Advanced text-mode WWW browser
ii  epiphany-gecko [www-browser]  2.20.3-1   Intuitive GNOME web browser - Geck
ii  file                          4.23-1     Determines file type using "magic"
ii  iceweasel [www-browser]       2.0.0.12-1 lightweight web browser based on M
ii  links [www-browser]           2.1pre32-1 Web browser running in text mode
ii  mime-support                  3.40-1     MIME files 'mime.types' & 'mailcap
ii  shared-mime-info              0.23-1     FreeDesktop.org shared MIME databa
ii  x11-utils                     7.3+1      X11 utilities
ii  x11-xserver-utils             7.3+2      X server utilities
ii  xsltproc                      1.1.22-1   XSLT command line processor

-- no debconf information



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

Reply via email to