Hi, everybody!
In that gThumb, which I used for years, has had everything useful about it removed, I sought alternatives. I often need to edit IPTC data embedded in photographs; while gThumb used to do this well it now does it poorly.
For most uses, I employ the excellent Photini (https://photini.readthedocs.io/en/latest/other/installation.html ), but from time to time I need just to pop into a picture to check or edit the IPTC data. The Trinity version of Gwenview is good for this. But to get to those data, one needs Plugins > Images > Metadata >Edit IPTC. Possibly because it comes apparently from a plugin, there's no way I can find to shorten this chain -- certainly can't move it to, say, a toolbar.
So I'm wondering if in fact there is a way to do just that, either move it to a top-level menu or to add it to the toolbar. I realize that this would probably involve screwing around with the code.
And yes, I know it's probably in opposition to standards set by the World Health Organization or UEFA or somebody. I'm just hoping that someone here is familiar enough with the code to give me an idea what I need to change to produce the desired ressult.
Thanks! -- dep
Pictures: http://www.ipernity.com/doc/depscribe/album Column: https://www.athensnews.com/opinion/columns/the_view_from_mudsock_heights/
On 6/20/21 8:25 AM, dep via tde-users wrote:
In that gThumb, which I used for years, has had everything useful about it removed, I sought alternatives. I often need to edit IPTC data embedded in photographs; while gThumb used to do this well it now does it poorly.
Can't help you with the Gwenview plugin, but would it be possible to simply run an old version of gThumb that does what you want? Alternatively, an apt-cache search turns up several programs that say they edit IPTC data; would one of those work more easily?
said Dan Youngquist via tde-users: | On 6/20/21 8:25 AM, dep via tde-users wrote: | > In that gThumb, which I used for years, has had everything useful | > about it removed, I sought alternatives. I often need to edit IPTC | > data embedded in photographs; while gThumb used to do this well it now | > does it poorly. | | Can't help you with the Gwenview plugin, but would it be possible to | simply run an old version of gThumb that does what you want? | Alternatively, an apt-cache search turns up several programs that say | they edit IPTC data; would one of those work more easily?
As a pure IPTC editor, Photini is in my estimation unsurpassed. My usual workflow is to use a viewer to select the picture I'm likely to use, toss it to the GIMP for tuning, open the new version in the viewer for caption editing and making sure the credit stuff is as it should be, then send it off to the publisher. So the viewer in many respects is the hub of the whole process. The IPTC packages available are all either something I have or something I've tried and found wanting. At the moment, the Trinity version of Gwenview is as close to ideal as I can find, and it would be closer still if I didn't have to dance through a bunch of menus to edit the IPTC stuff, which is needed by most publishing software. (The KDE version of Gwenview that I tried installed okay but its plugins weren't recognized by it, Trinity, or something -- anyway, they didn't work,)
I tried an older version of gThumb and it blew up initially; installed a lot of dependencies and it still blew up; took a while to back out of. One of the problems with much development at Gnome and KDE is that when something gets perfected, they keep hacking away at it until it's not good for anything anymore. I sometimes think their singular goal is one good screenshot. -- dep
Pictures: http://www.ipernity.com/doc/depscribe/album Column: https://www.athensnews.com/opinion/columns/the_view_from_mudsock_heights/
Hi dep via tde-users,
20.Jun.2021 at 17:03
As a pure IPTC editor, Photini is in my estimation unsurpassed. My usual workflow is to use a viewer to select the picture I'm likely to use, toss it to the GIMP for tuning, open the new version in the viewer for caption editing and making sure the credit stuff is as it should be, then send it off to the publisher. So the viewer in many respects is the hub of the whole process.
Maybe geeqie iso. gwenview does, what you need.
GRX, Peter.
Anno domini 2021 Sun, 20 Jun 09:22:27 -0700 Dan Youngquist via tde-users scripsit:
On 6/20/21 8:25 AM, dep via tde-users wrote:
In that gThumb, which I used for years, has had everything useful about it removed, I sought alternatives. I often need to edit IPTC data embedded in photographs; while gThumb used to do this well it now does it poorly.
Can't help you with the Gwenview plugin, but would it be possible to simply run an old version of gThumb that does what you want? Alternatively, an apt-cache search turns up several programs that say they edit IPTC data; would one of those work more easily?
Most likely not, this sounds like some GNOMES doing "improvements" when migrating applications to GTK3. As GTK2 is not available chimaera / debian11 the GNOMES have won this battle against the users.
Nik
On Sunday 20 June 2021 12:22:55 pm Dr. Nikolaus Klepp wrote:
Anno domini 2021 Sun, 20 Jun 09:22:27 -0700
Dan Youngquist via tde-users scripsit:
On 6/20/21 8:25 AM, dep via tde-users wrote:
In that gThumb, which I used for years, has had everything useful about it removed
So, I'm not going to lie, this solutions basically sucks...
- Find the version of gThumb that worked best for you. - Based on that find the Linux version that supports it. - - Ubuntu 14.04? MX-17? CentOS 5? whichever... - Install that version of Linux in a VM (VirtualBox is pretty easy to do this with) - Install gThumb in the VM - Remove the Network Interface (have to turn the VM off to change settings) - Setup Shared Folders in the VM (so gThumb can access your files)
Searching will get you the details for each step.
Not pretty, or even very convenient to setup, but should work to reduce your keystroke issues.
Best, Michael
said Michael via tde-users: | On Sunday 20 June 2021 12:22:55 pm Dr. Nikolaus Klepp wrote: | > Anno domini 2021 Sun, 20 Jun 09:22:27 -0700 | > | > Dan Youngquist via tde-users scripsit: | > > On 6/20/21 8:25 AM, dep via tde-users wrote: | > > > In that gThumb, which I used for years, has had everything useful | > > > about it removed | | So, I'm not going to lie, this solutions basically sucks...
Correct.
| - Find the version of gThumb that worked best for you. | - Based on that find the Linux version that supports it. | - - Ubuntu 14.04? MX-17? CentOS 5? whichever... | - Install that version of Linux in a VM (VirtualBox is pretty easy to do | this with) | - Install gThumb in the VM | - Remove the Network Interface (have to turn the VM off to change | settings) - Setup Shared Folders in the VM (so gThumb can access your | files) | | Searching will get you the details for each step. | | Not pretty, or even very convenient to setup, but should work to reduce | your keystroke issues.
Thanks, but, um, no. Might as well install some flavor of Windows in a virtual machine and install Photo Shop in that version of Windows.
I think you are joking.
Somewhere on this very machine there is the mechanism whereby Gwenview calls kipiplugin_metadataedit. I do not know of an executable for this, which suggests that the executable is something else that takes kipiplugin_metadataedit as an argument. If that command can be found, then I can cobble together a RMB command that calls it. I've tried looking at the output when I run Gwenview from a terminal, but no joy. -- dep
Pictures: http://www.ipernity.com/doc/depscribe/album Column: https://www.athensnews.com/opinion/columns/the_view_from_mudsock_heights/
Anno domini 2021 Sun, 20 Jun 18:59:03 +0000 dep via tde-users scripsit:
said Michael via tde-users: | On Sunday 20 June 2021 12:22:55 pm Dr. Nikolaus Klepp wrote: | > Anno domini 2021 Sun, 20 Jun 09:22:27 -0700 | > | > Dan Youngquist via tde-users scripsit: | > > On 6/20/21 8:25 AM, dep via tde-users wrote: | > > > In that gThumb, which I used for years, has had everything useful | > > > about it removed | | So, I'm not going to lie, this solutions basically sucks...
Correct.
| - Find the version of gThumb that worked best for you. | - Based on that find the Linux version that supports it. | - - Ubuntu 14.04? MX-17? CentOS 5? whichever... | - Install that version of Linux in a VM (VirtualBox is pretty easy to do | this with) | - Install gThumb in the VM | - Remove the Network Interface (have to turn the VM off to change | settings) - Setup Shared Folders in the VM (so gThumb can access your | files) | | Searching will get you the details for each step. | | Not pretty, or even very convenient to setup, but should work to reduce | your keystroke issues.
Thanks, but, um, no. Might as well install some flavor of Windows in a virtual machine and install Photo Shop in that version of Windows.
I think you are joking.
Somewhere on this very machine there is the mechanism whereby Gwenview calls kipiplugin_metadataedit. I do not know of an executable for this, which suggests that the executable is something else that takes kipiplugin_metadataedit as an argument. If that command can be found, then I can cobble together a RMB command that calls it. I've tried looking at the output when I run Gwenview from a terminal, but no joy.
In konqeror you can right click on the image, "open with ..." and select whatever program you want. Might involve some back magic with mimetypes to pu the program you like on top of the list, but should work.
nik
-- dep
Pictures: http://www.ipernity.com/doc/depscribe/album Column: https://www.athensnews.com/opinion/columns/the_view_from_mudsock_heights/ ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
said Dr. Nikolaus Klepp:
| In konqeror you can right click on the image, "open with ..." and select | whatever program you want. Might involve some back magic with mimetypes | to pu the program you like on top of the list, but should work.
Yes, thanks. Now. If you can tell me what opens the kipi plugin metadataeditor, I'll use that, not in Konqueror but on Gwenview, which I may have mentioned above is the place I'd like it to run. In short, if I knew the frigging program name to begin with, this wouldn't be a problem! -- dep
Pictures: http://www.ipernity.com/doc/depscribe/album Column: https://www.athensnews.com/opinion/columns/the_view_from_mudsock_heights/
On Sun, 20 Jun 2021 19:34:48 +0000 dep via tde-users users@trinitydesktop.org wrote:
said Dr. Nikolaus Klepp:
| In konqeror you can right click on the image, "open with ..." and select | whatever program you want. Might involve some back magic with mimetypes | to pu the program you like on top of the list, but should work.
Yes, thanks. Now. If you can tell me what opens the kipi plugin metadataeditor, I'll use that, not in Konqueror but on Gwenview, which I may have mentioned above is the place I'd like it to run. In short, if I knew the frigging program name to begin with, this wouldn't be a problem!
If it's a true plugin, it probably doesn't *have* a separate executable. Plugins are sort of like the inverse of libraries: they implement some sort of interface or contract provided by the host program. The kipi plugins appear to implement a common interface used by multiple TDE graphics programs.
Unless you can figure out how to use DCOP to send a message to gwenview that will force-invoke the plugin, or you're willing to write some kind of kipi stub-invoker, I suspect you're out of luck here.
E. Liddell
said E. Liddell:
| If it's a true plugin, it probably doesn't *have* a separate executable. | Plugins are sort of like the inverse of libraries: they implement some | sort of interface or contract provided by the host program. The kipi | plugins appear to implement a common interface used by multiple TDE | graphics programs.
I considered that possibility, but there has to be some way to invoke it.
| Unless you can figure out how to use DCOP to send a message to gwenview | that will force-invoke the plugin, or you're willing to write some kind | of kipi stub-invoker, I suspect you're out of luck here.
Do you think that the code in the actual menu entry contains all that code? Because all I hope to do it copy it from one menu on Gwenview to another menu in Gwenview, the latter being a freely editable one. It's not as if I want it to run free-standing, or to open it in a different program. Juast literally move it from one menu to another.
Something that also puzzled me a little is that there is a kipiplugin.metadataedit.desktop file (in /opt/trinity/share/services). Beyond listing every language spoken in the solar system and nearby parts of the galaxy, it has this:
X-TDE-ServiceTypes=KIPI/Plugin Type=Service X-TDE-Library=kipiplugin_metadataedit
Which I'm sure means something, though I know not what, beyond the extremely obvious. -- dep
Pictures: http://www.ipernity.com/doc/depscribe/album Column: https://www.athensnews.com/opinion/columns/the_view_from_mudsock_heights/
On Mon, 21 Jun 2021 01:48:17 +0000 dep via tde-users users@trinitydesktop.org wrote:
said E. Liddell:
| If it's a true plugin, it probably doesn't *have* a separate executable. | Plugins are sort of like the inverse of libraries: they implement some | sort of interface or contract provided by the host program. The kipi | plugins appear to implement a common interface used by multiple TDE | graphics programs.
I considered that possibility, but there has to be some way to invoke it.
Through whatever interface is in the program, usually.
| Unless you can figure out how to use DCOP to send a message to gwenview | that will force-invoke the plugin, or you're willing to write some kind | of kipi stub-invoker, I suspect you're out of luck here.
Do you think that the code in the actual menu entry contains all that code? Because all I hope to do it copy it from one menu on Gwenview to another menu in Gwenview, the latter being a freely editable one. It's not as if I want it to run free-standing, or to open it in a different program. Juast literally move it from one menu to another.
I expect the menu code calls a function somewhere. If you're willing to muck around with the gwenview source, it should theoretically be possible to replicate the original menu item (unless TDE did something really weird here).
I don't use gwenview, but have you checked for a way to create a toolbar button for this plugin, or bind its invocation to a keystroke? Seems to me that that would be easier all around.
Something that also puzzled me a little is that there is a kipiplugin.metadataedit.desktop file (in /opt/trinity/share/services). Beyond listing every language spoken in the solar system and nearby parts of the galaxy, it has this:
X-TDE-ServiceTypes=KIPI/Plugin Type=Service X-TDE-Library=kipiplugin_metadataedit
Which I'm sure means something, though I know not what, beyond the extremely obvious.
Examining the other files in the share/services directory suggests it's TDE's dumping ground for invocation information on plugins, embeds, and protocols. Poking around inside a couple of them suggests that if any of these has a separate executable, the file will contain a line "Exec=[name]". Look in kxkb.desktop for an example.
E. Liddell
said E. Liddell:
| I don't use gwenview, but have you checked for a way to create a | toolbar button for this plugin, or bind its invocation to a keystroke? | Seems to me that that would be easier all around.
That would be fine, but I've not found yet what the button would call, either. There's no hotkey available for it,
| Examining the other files in the share/services directory suggests it's | TDE's dumping ground for invocation information on plugins, embeds, and | protocols. Poking around inside a couple of them suggests that if any | of these has a separate executable, the file will contain a line | "Exec=[name]". Look in kxkb.desktop for an example.
Yes. That's why I noted that beyond a list of languages and the Metadata Editor plugin's name, it contained only the lines I quoted.
Thinking it might be of use, I d/led the kipi-plugins-trinity package, looking to see what it contained. This in turn led me to the (installed on my machine) /usr/share/app-install/desktop/kipi-plugins:kde4__kipiplugins.desktop, which contains:
Name=KIPI Plugins Comment=KDE Image Plugins Interface X-DocPath=kipi-plugins/index.html Categories=Qt;KDE;Graphics; NoDisplay=true Type=Application Exec="" Icon=kipi-logo
Clearly Gwenview, like other KDE photo applications, are kipi-aware. And in that those applications have kipi plugins in their menus, and their menus are varied, the way to call them has to be established -- someplace.
I was kind of hoping that someone here *knew* something about this; as much as I appreciate everyone's enthusiasm, if someone asks what channel the Bears-Packers game is on and the reply is "the Saints-Chargers game is on channel 5, and you might be able to watch that," the question is not advanced toward an answer (except through the likely elimination of one possible channel).
As it is, I've spent more time on this than I could ever have hoped to save. So of course tomorrow I'll go digging some more, because it is surely documented somewhere. There has to be at minimum a script that can be written to call the thing, in that it is called in a menu in the same frigging program. -- dep
Pictures: http://www.ipernity.com/doc/depscribe/album Column: https://www.athensnews.com/opinion/columns/the_view_from_mudsock_heights/