hi all!
Looks like a little GNOME just hit me with a club: I'm working on a presentation with libreoffice impress (yes, I hnow, why ...). Now that thing has a function "Edit image using external tool". Selecting that, impress calls "xdg-open file://tmp/sdfsfewf.png" - which call in my case kuickshow - which is not surprising, as I use kuickshow for viewing images. But how do I persuade that piece of a genius to call gimp ???
Nik
On 02/28/2020 12:41 PM, Dr. Nikolaus Klepp wrote:
hi all!
Looks like a little GNOME just hit me with a club: I'm working on a presentation with libreoffice impress (yes, I hnow, why ...). Now that thing has a function "Edit image using external tool". Selecting that, impress calls "xdg-open file://tmp/sdfsfewf.png" - which call in my case kuickshow - which is not surprising, as I use kuickshow for viewing images. But how do I persuade that piece of a genius to call gimp ???
Nik
Start Menu -> Settings -> Control Center -> TDE Components -> File Assiciations -> image -> png
in Application Preference Order - highlight GIMP and choose [Move Up] until GIMP is at the top of the list.
That should do it, if not, click the Embedding tab and set the radio button to 'Show file in separate viewer'.
If that doesn't do it, then I'm out of bullets.
Anno domini 2020 Fri, 28 Feb 13:49:24 -0600 David C. Rankin scripsit:
On 02/28/2020 12:41 PM, Dr. Nikolaus Klepp wrote:
hi all!
Looks like a little GNOME just hit me with a club: I'm working on a presentation with libreoffice impress (yes, I hnow, why ...). Now that thing has a function "Edit image using external tool". Selecting that, impress calls "xdg-open file://tmp/sdfsfewf.png" - which call in my case kuickshow - which is not surprising, as I use kuickshow for viewing images. But how do I persuade that piece of a genius to call gimp ???
Nik
Start Menu -> Settings -> Control Center -> TDE Components -> File Assiciations -> image -> png
in Application Preference Order - highlight GIMP and choose [Move Up] until GIMP is at the top of the list.
That should do it, if not, click the Embedding tab and set the radio button to 'Show file in separate viewer'.
If that doesn't do it, then I'm out of bullets.
Well, yes, but that kills the setting for the rest of the system :(
On Friday 28 February 2020 01:54:26 pm Dr. Nikolaus Klepp wrote:
Anno domini 2020 Fri, 28 Feb 13:49:24 -0600
David C. Rankin scripsit:
On 02/28/2020 12:41 PM, Dr. Nikolaus Klepp wrote:
hi all!
Looks like a little GNOME just hit me with a club: I'm working on a presentation with libreoffice impress (yes, I hnow, why ...). Now that thing has a function "Edit image using external tool". Selecting that, impress calls "xdg-open file://tmp/sdfsfewf.png" - which call in my case kuickshow - which is not surprising, as I use kuickshow for viewing images. But how do I persuade that piece of a genius to call gimp ???
Nik
Start Menu -> Settings -> Control Center -> TDE Components -> File Assiciations -> image -> png
in Application Preference Order - highlight GIMP and choose [Move Up] until GIMP is at the top of the list.
That should do it, if not, click the Embedding tab and set the radio button to 'Show file in separate viewer'.
If that doesn't do it, then I'm out of bullets.
Well, yes, but that kills the setting for the rest of the system :(
Which is what it's suppose to do... ;)
michael@local [~]# xdg-open --help xdg-open - opens a file or URL in the user's preferred application
I don't think the current rev's of LO have the ability to allow you to choose what applications to use like FF does. I believe OO use to, but I'm finding nothing in Options (and if it did it'd most likely be under either Tools > Options > LibreOffice or Tools > Options > LibreOffice Base)
I wouldn't, but you could write a wrapper for xdg-open that captures what/who's sending the request to do what you want. Most likely be a huge pita, here's a way to get the parent pid:
$$ is defined to return the process ID of the parent in a subshell; from the man page under "Special Parameters": https://stackoverflow.com/questions/21063765/why-is-returning-the-same-id-as...
Best, Michael
On Friday 28 February 2020 02:21:21 pm Michael wrote:
On Friday 28 February 2020 01:54:26 pm Dr. Nikolaus Klepp wrote:
Anno domini 2020 Fri, 28 Feb 13:49:24 -0600 David C. Rankin scripsit:
On 02/28/2020 12:41 PM, Dr. Nikolaus Klepp wrote:
But how do I persuade that piece of a genius to call gimp ???
Ah, hit send too soon :( Another possibility...
As they are both open source, IF LO and FF are written in close to the same language and if you also know a similar language, it shouldn't be terribly difficult to rip out the FF code (about:preferences > General > Applications) and merge it into LO. LO already has a 'Paths' section, so you could use that for your LO template.
On Friday 28 February 2020 12:29:40 Michael wrote:
On Friday 28 February 2020 02:21:21 pm Michael wrote:
On Friday 28 February 2020 01:54:26 pm Dr. Nikolaus Klepp wrote:
Anno domini 2020 Fri, 28 Feb 13:49:24 -0600
David C. Rankin scripsit:
On 02/28/2020 12:41 PM, Dr. Nikolaus Klepp wrote:
But how do I persuade that piece of a genius to call gimp ???
Ah, hit send too soon :( Another possibility...
As they are both open source, IF LO and FF are written in close to the same language and if you also know a similar language, it shouldn't be terribly difficult to rip out the FF code (about:preferences > General > Applications) and merge it into LO. LO already has a 'Paths' section, so you could use that for your LO template.
For what it's worth, I open up graphics files for editing directly in GIMP, and almost never use "open with" features; but especially not in a word processing program. (Also, I use Open Office, and never warmed up to LibreOffice. They say they're interchangeable, but it's not true.)
Too many things can go wrong, like everything crashing, etc. Better to open it in GIMP, then edit, then save, and when you're done, import the file, however you like to do it, into your office program.
If you're working on short documents, maybe it doesn't matter too much, but when you have large documents with lots of big graphics files, you will run into that problem of crashing. And nothing kills inspiration like a misbehaving machine.
Bill
Thanks for all the support! Next time I'll insist on LaTeX again,I guess :(
Anno domini 2020 Fri, 28 Feb 13:00:56 -0800 William Morder via trinity-users scripsit:
On Friday 28 February 2020 12:29:40 Michael wrote:
On Friday 28 February 2020 02:21:21 pm Michael wrote:
On Friday 28 February 2020 01:54:26 pm Dr. Nikolaus Klepp wrote:
Anno domini 2020 Fri, 28 Feb 13:49:24 -0600
David C. Rankin scripsit:
On 02/28/2020 12:41 PM, Dr. Nikolaus Klepp wrote:
But how do I persuade that piece of a genius to call gimp ???
Ah, hit send too soon :( Another possibility...
As they are both open source, IF LO and FF are written in close to the same language and if you also know a similar language, it shouldn't be terribly difficult to rip out the FF code (about:preferences > General > Applications) and merge it into LO. LO already has a 'Paths' section, so you could use that for your LO template.
Ok, there's no way to configure that pestilence. It always calls xdg-open with absolute path (I'm sure somebody got payed quite a reasonable amount of money to remove the config dialog that was present some versions back). Patching LO is way too clumsy, so I'll have to patch xdg-open - at least that is still an editable textfile ... yes, cheers, somebody will soon discover that and patch it to be binary :(
For what it's worth, I open up graphics files for editing directly in GIMP, and almost never use "open with" features; but especially not in a word processing program. (Also, I use Open Office, and never warmed up to LibreOffice. They say they're interchangeable, but it's not true.)
Problem is: there are already images inside the presentation and I do not have the original images. And guess what: the "feature" "save image as .." is gone, too. Probably removed by the same GNOME as the config dialog.
Too many things can go wrong, like everything crashing, etc. Better to open it in GIMP, then edit, then save, and when you're done, import the file, however you like to do it, into your office program.
If you're working on short documents, maybe it doesn't matter too much, but when you have large documents with lots of big graphics files, you will run into that problem of crashing. And nothing kills inspiration like a misbehaving machine.
Oh yes. That's the next thing I fear. And the stuff is graphic-intense. Oh my, I think it's called progress ... wait a second, wasn't that the deault behaviour of "the great destroyer of companies and unlimited macro fun" aka "Word"?
Nik
Bill
To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
On Friday 28 February 2020 13:22:19 Dr. Nikolaus Klepp wrote:
Thanks for all the support! Next time I'll insist on LaTeX again,I guess :(
Anno domini 2020 Fri, 28 Feb 13:00:56 -0800
William Morder via trinity-users scripsit:
On Friday 28 February 2020 12:29:40 Michael wrote:
On Friday 28 February 2020 02:21:21 pm Michael wrote:
On Friday 28 February 2020 01:54:26 pm Dr. Nikolaus Klepp wrote:
Anno domini 2020 Fri, 28 Feb 13:49:24 -0600
David C. Rankin scripsit:
On 02/28/2020 12:41 PM, Dr. Nikolaus Klepp wrote: > But how do I persuade that piece of a genius to > call gimp ???
Ah, hit send too soon :( Another possibility...
As they are both open source, IF LO and FF are written in close to the same language and if you also know a similar language, it shouldn't be terribly difficult to rip out the FF code (about:preferences > General
Applications) and merge it into LO. LO already has a 'Paths'
section, so you could use that for your LO template.
Ok, there's no way to configure that pestilence. It always calls xdg-open with absolute path (I'm sure somebody got payed quite a reasonable amount of money to remove the config dialog that was present some versions back). Patching LO is way too clumsy, so I'll have to patch xdg-open - at least that is still an editable textfile ... yes, cheers, somebody will soon discover that and patch it to be binary :(
For what it's worth, I open up graphics files for editing directly in GIMP, and almost never use "open with" features; but especially not in a word processing program. (Also, I use Open Office, and never warmed up to LibreOffice. They say they're interchangeable, but it's not true.)
Problem is: there are already images inside the presentation and I do not have the original images. And guess what: the "feature" "save image as .." is gone, too. Probably removed by the same GNOME as the config dialog.
In Open Office, I am pretty sure that I can still right-click on images and then choose to copy them. (This might have changed, as I haven't used that trick in a long while.) Then I manually paste them into a file manager, such as Konqueror, then open that file in GIMP. Then repeat the other steps as I said already.
Too many things can go wrong, like everything crashing, etc. Better to open it in GIMP, then edit, then save, and when you're done, import the file, however you like to do it, into your office program.
If you're working on short documents, maybe it doesn't matter too much, but when you have large documents with lots of big graphics files, you will run into that problem of crashing. And nothing kills inspiration like a misbehaving machine.
Oh yes. That's the next thing I fear. And the stuff is graphic-intense. Oh my, I think it's called progress ... wait a second, wasn't that the deault behaviour of "the great destroyer of companies and unlimited macro fun" aka "Word"?
Nik
In general, I stick to the most primitive features of office programs. When I do page layout, I basically am doing it the old-fashioned way (I mean, before computers), so that my pages have the look of a real book. Whenever I use the automated "features", something almost always goes wrong; and the best possible result is to end up with pages that don't quite look like I want.
Rather than expecting the machine to do things for me unasked, or to anticipate what I want, I just want my machine to obey me. If I wanted something with a mind of its own, I would get a dog, or worse, a cat.
Bill
Hi Nik,
Am Freitag, 28. Februar 2020 schrieb Dr. Nikolaus Klepp:
Problem is: there are already images inside the presentation and I do not have the original images. And guess what: the "feature" "save image as .." is gone, too. Probably removed by the same GNOME as the config dialog.
I have tried that in libreoffice-impress.
In presentation mode there indeed is no way to "save as..." the image. But when I switch to editing mode, there is.
Version information of libreoffice-impress on the system I use: *** 1:5.2.7-1+deb9u11 500 500 http://de.deb.devuan.org/merged ascii/main amd64 Packages 500 http://de.deb.devuan.org/merged ascii-security/main amd64
HTH
Kind regards, Stefan
Hi Stefan!
Anno domini 2020 Sun, 1 Mar 11:43:19 +0100 Stefan Krusche scripsit:
Hi Nik,
Am Freitag, 28. Februar 2020 schrieb Dr. Nikolaus Klepp:
Problem is: there are already images inside the presentation and I do not have the original images. And guess what: the "feature" "save image as .." is gone, too. Probably removed by the same GNOME as the config dialog.
I have tried that in libreoffice-impress.
In presentation mode there indeed is no way to "save as..." the image. But when I switch to editing mode, there is.
Found it.
I also tried to patch xdg-open, but somehow libreoffice refuses to refresh/reload the modified image, so no success on that battlefield.
Nik
Version information of libreoffice-impress on the system I use: *** 1:5.2.7-1+deb9u11 500 500 http://de.deb.devuan.org/merged ascii/main amd64 Packages 500 http://de.deb.devuan.org/merged ascii-security/main amd64
HTH
Kind regards, Stefan
To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
On 02/28/2020 01:54 PM, Dr. Nikolaus Klepp wrote:
Start Menu -> Settings -> Control Center -> TDE Components -> File Assiciations -> image -> png
in Application Preference Order - highlight GIMP and choose [Move Up] until GIMP is at the top of the list.
That should do it, if not, click the Embedding tab and set the radio button to 'Show file in separate viewer'.
If that doesn't do it, then I'm out of bullets.
Well, yes, but that kills the setting for the rest of the system :(
It will be a toughie from within Impress. Generally, from konqueror, I just right-click and Open with... if I want to open with something other than the default.
My only other thought would be checking the minutia of the Impress settings to see if it doesn't have some separate Open With... setting for image editing (it's pretty smart, so it wouldn't surprise me if it did). Otherwise, I think you are stuck with a default File Association choice.