1 |
On Sun, Feb 21, 2010 at 03:45:14PM +0100, Damian wrote: |
2 |
> So I tried to see how xdg-open works, but the man page didn't give me |
3 |
> any useful information. The related command, xdg-mime, doesn't work as |
4 |
> I expected. |
5 |
|
6 |
I asked a similar question a week or so back. |
7 |
|
8 |
> But xdg-open (and therefore beagle-search) still refuses to open jpeg |
9 |
> images with geeqie. |
10 |
> |
11 |
> Any ideas? |
12 |
|
13 |
xdg-open is just a shell script. If you are interested, take a look at |
14 |
less `which xdg-open` |
15 |
and you will be enlightened as to why it is a complete piece of crap |
16 |
unless you are using KDE, GNOME, or XFCE. (Hint, notice how nowhere in |
17 |
the script does it read whatever you modified with xdg-mime.) |
18 |
|
19 |
A possible way to work around it (depends on your application, which, |
20 |
in your case, is beagle, which I am not familiar with) is to go into |
21 |
the offending application that is calling xdg-open and see if you can |
22 |
configure MIME types in there yourself. The application that made me |
23 |
look this up, Jabref, does allow that configuration. Your mileage can |
24 |
of course vary. |
25 |
|
26 |
Cheers, |
27 |
|
28 |
W |
29 |
-- |
30 |
Willie W. Wong wwong@××××××××××××××.edu |
31 |
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire |
32 |
et vice versa ~~~ I. Newton |