Package: fish
Version: 1.21.12-1
Severity: normal

Fish is a attempt at a intellegent shell. One of the features that it
has is the ability to detect the mime types of files and then launch the
user's prefered application to open that file. It does this with the
'open' built-in command. Also there is a tool called 'mimedb' that is
supplied with the the fish package that you can use to see how files are
handled by the shell.

To do all this correctly it follows the Freedesktop.org convention of
the '.desktop' files and their mimetype database. This stuff is
supported by Debian and should work more-or-less.

So I have a plain text file I should be able to go:
open suchandsuch.txt 

But nothing happens.
With mimedb you can go:
mimedb suchandsuch.txt

and it will return:
plain/text

but if you go 
mimedb -a suchandsuch.txt
(a for action for the open command)

It will return nothing.

To get it to work you have to go in through nautilus and go through the
right-click preferences dialog and select the program you want to use.
Then it will work.

What should happen is that it will choose the same generic commands that
nautilus (or whatever Debian has by default) to open files when you
double click them. You shouldn't have to select a action manually for
each file type.

How to fix it.. I don't know. You would have to choose actions based on
desktop environment.

Probably a nice fix would be a command used to assign programs to be
launched or a error message explaining that it doesn't know and you
have to assign a action via nautilus or whatnot so your personal
..desktop preferences are known. Something like that.

How exactly fish is to know if your running KDE vs Gnome or what to do
when your running something like Fluxbox or Ion3 I don't know.



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-powerpc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages fish depends on:
ii  bc                    1.06-19            The GNU bc arbitrary precision cal
ii  epiphany-browser [www 2.14.3-1+b1        Intuitive GNOME web browser
ii  firefox [www-browser] 1.5.dfsg+1.5.0.6-4 lightweight web browser based on M
ii  konqueror [www-browse 4:3.5.4-2+b1       KDE's advanced file manager, web b
ii  libc6                 2.3.6.ds1-4        GNU C Library: Shared libraries
ii  libncurses5           5.5-3              Shared libraries for terminal hand
ii  links2 [www-browser]  2.1pre23-1         Web browser running in both graphi
ii  lynx [www-browser]    2.8.5-2sarge2.1    Text-mode WWW Browser
ii  mozilla-browser [www- 2:1.7.13-0.3       The Mozilla Internet application s
ii  w3m [www-browser]     0.5.1-5            WWW browsable pager with excellent

Versions of packages fish recommends:
ii  xsel                          0.9.6-1.1  More than just cat for the X selec

-- no debconf information


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

Reply via email to