Re: [e-users] xdg-open ignores mimeapps.list
Hello, In the Message; Subject: Re: [e-users] xdg-open ignores mimeapps.list Message-ID : <20220918193243.f395bf4c3137fccbc06e7...@rasterman.com> Date & Time: Sun, 18 Sep 2022 19:32:43 +0100 [CH] == Carsten Haitzler has written: CH> On Sun, 18 Sep 2022 19:09:12 +0900 Masaru Nomiya said: CH> > Hello, CH> > CH> > In the Message; CH> > CH> > Subject: Re: [e-users] xdg-open ignores mimeapps.list CH> > Message-ID : <20220918093940.694f6b28cad7744e32866...@rasterman.com> CH> > Date & Time: Sun, 18 Sep 2022 09:39:40 +0100 CH> > CH> > [CH] == Carsten Haitzler has written: CH> > CH> > CH> On Sun, 18 Sep 2022 14:08:44 +0900 Masaru Nomiya CH> > CH> said: [...] MN>> The way you put it, we can't use recoll under the enlightenment, is MN>> that right? MN>> Are you actually saying that none of the enlightenment users use MN>> recoll? CH> i have never heard of recoll. MN>> In additon, MN>> 1. sorry, but what is the efm? CH> efm is enlightenment's file manager - built in. Come to think of it, there sure was. But now it doesn't appear on the menu. (_ _? MN>> 2. pmview.exe doesn't include the pdf file as a target file. CH> it probably says it handles all mime types, not just pdf. I see. But why would it call up a Windows app instead of a Linux native app? BTW, I can't believe that someone with a career as yours doesn't know about recoll. Arch Linux itself provides the package Now then, as a workaround, I did # ln -s /usr/bin/kde-open /usr/bin/xdg-open With this, recoll seems to be working fine! I'm wondering if there are any problems with this workaround? Regards. --- ┏━━┓彡Masaru Nomiyamail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ " Today’s China is not the old China humiliated and bullied over 100 years ago. It is time for these people to wake up from their imperial dream." -- Hua Chunying’s Regular Press Conference on August 4, 2022 -- ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] xdg-open ignores mimeapps.list
On Sun, 18 Sep 2022 19:09:12 +0900 Masaru Nomiya said: > Hello, > > In the Message; > > Subject: Re: [e-users] xdg-open ignores mimeapps.list > Message-ID : <20220918093940.694f6b28cad7744e32866...@rasterman.com> > Date & Time: Sun, 18 Sep 2022 09:39:40 +0100 > > [CH] == Carsten Haitzler has written: > > CH> On Sun, 18 Sep 2022 14:08:44 +0900 Masaru Nomiya > CH> said: > > CH> > Hello, > CH> > > CH> > In enlightenment (0.25.3 and 0.25.4), and e16 (1.0.24), xdg-open > CH> > exhibits strange behaviours; > CH> > > CH> > 1. for plain text e-mail in many folders, the command > CH> > > CH> > $ xdg-open 1 > CH> > > CH> > tries to show it in the default audio player. > > CH> let me guess - there is a disagreement on mime type as this has > CH> absolutely no way to tell what kind of file that is (without > CH> opening it up and poking around inside). efreet has multiple ways > CH> of checking the type one - fo them is an expensive "poke around > CH> inside". efm doesn't use that when it lists files as it's really > CH> costly to go open every file you list and scan around for magic > CH> byte sequences as you list a directory... enlightenment_open uses > CH> the more expensive efreet call that pokes around inside because > CH> it's only opening 1 or a small set of files, not a whole > CH> directory. opening up files with poor/ambiguous extensions is > CH> going to lead to this. there are performance tradeoffs. > > Sorry, but your comment is very hard to understand. > > I found the issue via using of recoll. > > This is a great application, and I am thrilled that I can instantly > find the files I want from the nearly 5 million files on my system. > > This is a great application, and I am thrilled that I can instantly > find the files I want from the nearly 5 million files on my system. > > As you may know, xdg-open plays an important role in the display of > search results in this application, but I hesitate to use it under > enlightenment because it behaves like a sleepwalker. > > The way you put it, we can't use recoll under the enlightenment, is > that right? > > Are you actually saying that none of the enlightenment users use > recoll? i have never heard of recoll. > In additon, > > 1. sorry, but what is the efm? efm is enlightenment's file manager - built in. > 2. pmview.exe doesn't include the pdf file as a target file. it probably says it handles all mime types, not just pdf. > Regards. > > --- > ┏━━┓彡Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp > ┃\/彡 > ┗━━┛ "A bachelor’s degree still holds prestige as a ticket to the > middle class, but its value has received increasing scrutiny. > In the last several years, rising tuition and student loan debt > have led more Americans to reconsider an investment in > postsecondary education." > > -- Washington Post -- > > > ___ > enlightenment-users mailing list > enlightenment-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > -- - Codito, ergo sum - "I code, therefore I am" -- Carsten Haitzler - ras...@rasterman.com ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] xdg-open ignores mimeapps.list
Hello, In the Message; Subject: Re: [e-users] xdg-open ignores mimeapps.list Message-ID : <20220918093940.694f6b28cad7744e32866...@rasterman.com> Date & Time: Sun, 18 Sep 2022 09:39:40 +0100 [CH] == Carsten Haitzler has written: CH> On Sun, 18 Sep 2022 14:08:44 +0900 Masaru Nomiya said: CH> > Hello, CH> > CH> > In enlightenment (0.25.3 and 0.25.4), and e16 (1.0.24), xdg-open CH> > exhibits strange behaviours; CH> > CH> > 1. for plain text e-mail in many folders, the command CH> > CH> > $ xdg-open 1 CH> > CH> > tries to show it in the default audio player. CH> let me guess - there is a disagreement on mime type as this has CH> absolutely no way to tell what kind of file that is (without CH> opening it up and poking around inside). efreet has multiple ways CH> of checking the type one - fo them is an expensive "poke around CH> inside". efm doesn't use that when it lists files as it's really CH> costly to go open every file you list and scan around for magic CH> byte sequences as you list a directory... enlightenment_open uses CH> the more expensive efreet call that pokes around inside because CH> it's only opening 1 or a small set of files, not a whole CH> directory. opening up files with poor/ambiguous extensions is CH> going to lead to this. there are performance tradeoffs. Sorry, but your comment is very hard to understand. I found the issue via using of recoll. This is a great application, and I am thrilled that I can instantly find the files I want from the nearly 5 million files on my system. This is a great application, and I am thrilled that I can instantly find the files I want from the nearly 5 million files on my system. As you may know, xdg-open plays an important role in the display of search results in this application, but I hesitate to use it under enlightenment because it behaves like a sleepwalker. The way you put it, we can't use recoll under the enlightenment, is that right? Are you actually saying that none of the enlightenment users use recoll? In additon, 1. sorry, but what is the efm? 2. pmview.exe doesn't include the pdf file as a target file. Regards. --- ┏━━┓彡Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "A bachelor’s degree still holds prestige as a ticket to the middle class, but its value has received increasing scrutiny. In the last several years, rising tuition and student loan debt have led more Americans to reconsider an investment in postsecondary education." -- Washington Post -- ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] xdg-open ignores mimeapps.list
On Sun, 18 Sep 2022 14:08:44 +0900 Masaru Nomiya said: > Hello, > > In enlightenment (0.25.3 and 0.25.4), and e16 (1.0.24), xdg-open > exhibits strange behaviours; > > 1. for plain text e-mail in many folders, the command > > $ xdg-open 1 > > tries to show it in the default audio player. let me guess - there is a disagreement on mime type as this has absolutely no way to tell what kind of file that is (without opening it up and poking around inside). efreet has multiple ways of checking the type one - fo them is an expensive "poke around inside". efm doesn't use that when it lists files as it's really costly to go open every file you list and scan around for magic byte sequences as you list a directory... enlightenment_open uses the more expensive efreet call that pokes around inside because it's only opening 1 or a small set of files, not a whole directory. opening up files with poor/ambiguous extensions is going to lead to this. there are performance tradeoffs. > 2. for pdf files, > > $ xdg-open foo.pdf > > tries to show it in the pmview.exe (= pictuew viewer for Windows, > works on the wine), then enters an infinite loop and forces a > reboot. also possibly you never opened a pdf file with efm and so efm/e is using whatever came first in the list of files from ALL app desktop files that say they handle that mime type. some apps handle ALL mime types (or say they do) thus... they end up by chance being listed. if you open up a pdf once ... then it'll keep being opened up with that app. > However, kde-open works correctly according to the settings in the > mimeapps.list. > > Furthermore, its xdg-open works fine on Gnome. > > I think there is a bug. e uses mimeapps.list first - always. falls back to the old defaults.list if no mimeapps.list is found. see above :) > Regards. > > --- > ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp > ┃\/彡 > ┗━━┛ "She continues to deeply divide opinion, nearly a decade after her > death in 2013, due to her policies of privatisation, breaking the > power of trade unions, and selling off public housing." > > -- World Is One News -- > > > ___ > enlightenment-users mailing list > enlightenment-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > -- - Codito, ergo sum - "I code, therefore I am" -- Carsten Haitzler - ras...@rasterman.com ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] xdg-open ignores mimeapps.list
Hello, Sorry, I've fogotten to write my system. OS: openSUSE Tumbleweed (always latest) Kernel : 5.19.8-1-default Video Card : NVIDIA GeForce RTX 2060 xdg-open : version 1.1.3+ In the Message; Subject: [e-users] xdg-open ignores mimeapps.list Message-ID : <87o7vdjmlf.wl-nom...@galaxy.dti.ne.jp> Date & Time: Sun, 18 Sep 2022 14:08:44 +0900 [MN] == Masaru Nomiya has written: MN> Hello, MN> In enlightenment (0.25.3 and 0.25.4), and e16 (1.0.24), xdg-open MN> exhibits strange behaviours; MN> 1. for plain text e-mail in many folders, the command MN> $ xdg-open 1 MN> tries to show it in the default audio player. MN> 2. for pdf files, MN> $ xdg-open foo.pdf MN> tries to show it in the pmview.exe (= pictuew viewer for Windows, MN> works on the wine), then enters an infinite loop and forces a MN> reboot. MN> However, kde-open works correctly according to the settings in the MN> mimeapps.list. MN> Furthermore, its xdg-open works fine on Gnome. MN> I think there is a bug. Regards. --- Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp "She continues to deeply divide opinion, nearly a decade after her death in 2013, due to her policies of privatisation, breaking the power of trade unions, and selling off public housing." -- World Is One News -- ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users