[cdesktopenv-devel] Integration of Antonis Tsolomitis' desktop_approots tarball, with some changes

2018-07-19 Thread Jon Trulson
Hi Antonis, I'm also CC'ing the CDE list for their information as well. I have finally managed to integrate much of the stuff you provided in your desktop_approots tarball. WRT the icons, I just put them all in. If someone has a problem and complains, they can just ask us to remove it. I di

Re: [cdesktopenv-devel] Integration of Antonis Tsolomitis' desktop_approots tarball, with some changes

2018-07-19 Thread Matthew R. Trower
Hi Jon, Do I understand correctly that dtapp is meant to function in the same vein as open, xdg-open, gnome-open, etc? As in, I can type $ dtapp mypic.jpg And my picture will open up in some suitable image viewer? If so, might you consider continuing this naming convention‎ by naming it dtope

Re: [cdesktopenv-devel] Integration of Antonis Tsolomitis' desktop_approots tarball, with some changes

2018-07-19 Thread Jon Trulson
On 07/19/2018 08:15 PM, Matthew R. Trower wrote: Hi Jon, Do I understand correctly that dtapp is meant to function in the same vein as open, xdg-open, gnome-open, etc? As in, I can type $ dtapp mypic.jpg And my picture will open up in some suitable image viewer? If so, might you consider co

Re: [cdesktopenv-devel] Integration of Antonis Tsolomitis' desktop_approots tarball, with some changes

2018-07-19 Thread Matthew R. Trower
Ah, I see. That's a bit different than I had envisioned. It sounds more like Debian's 'alternatives' framework. xdg-open and friends choose a program based on filetype detection (for example, mimetype). Ideally, dtopen would use CDE's own action database‎ to open a file, with the same result as

Re: [cdesktopenv-devel] Integration of Antonis Tsolomitis' desktop_approots tarball, with some changes

2018-07-19 Thread Jon Trulson
On 07/19/2018 08:55 PM, Matthew R. Trower wrote: Ah, I see. That's a bit different than I had envisioned. It sounds more like Debian's 'alternatives' framework. xdg-open and friends choose a program based on filetype detection (for example, mimetype). Ideally, dtopen would use CDE's own actio

Re: [cdesktopenv-devel] Integration of Antonis Tsolomitis' desktop_approots tarball, with some changes

2018-07-19 Thread Richard L. Hamilton
Maybe I'm missing something, but what's the need for it at all? dtaction Open _filename_ should, if the appropriate actions have been defined, recognize the file by its magic number and/or name suffix, and run the appropriate viewer, or whatever. And dtfile among others will be able to make us

Re: [cdesktopenv-devel] Integration of Antonis Tsolomitis' desktop_approots tarball, with some changes

2018-07-19 Thread Jon Trulson
On 07/19/2018 09:32 PM, Richard L. Hamilton wrote: Maybe I'm missing something, but what's the need for it at all? dtaction Open _filename_ should, if the appropriate actions have been defined, recognize the file by its magic number and/or name suffix, and run the appropriate viewer, or whatev

Re: [cdesktopenv-devel] Integration of Antonis Tsolomitis' desktop_approots tarball, with some changes

2018-07-19 Thread Matthew R. Trower
Well, that would be the built-in functionality I asked about. It would still be useful, I feel, to have a familiar convention which matches other desktop environments; dtopen would provide this. Moreover, Jon's wrapper provides dynamic defaults for a variety of systems. Right now, CDE doesn't sh

Re: [cdesktopenv-devel] Integration of Antonis Tsolomitis' desktop_approots tarball, with some changes

2018-07-19 Thread Jon Trulson
On 07/19/2018 09:41 PM, Matthew R. Trower wrote: Well, that would be the built-in functionality I asked about. Yes - the trouble was, is that didn't work for say, a jpg or .mp4 file, or many useful filetypes like PDF's, and the like. It does now, since in addition to 'dtopen', there are many

Re: [cdesktopenv-devel] Integration of Antonis Tsolomitis' desktop_approots tarball, with some changes

2018-07-19 Thread Richard L. Hamilton
If you're saying you want wrappers that for example use whichever of xv, ImageMagick's "display" command, or whatever is available to display a JPG, and then to define actions that used the wrappers, fine. But once that's all done, you'd still just use dtaction Open _filename_ to open the file