Re: [Geeqie-devel] Rawtherapee gets .jpg

2017-11-01 Thread Ray via Geeqie-devel
 Okay thanks, I'll try setting that up and hope for a solution down the road. I 
did get the main branch to compile without too much trouble so I might do a bit 
of hacking (if I get time - so many projects O.o) to see if there's anything my 
meager skills can do to help.
On Tuesday, October 31, 2017, 5:53:07 PM EDT, Colin Clark  
wrote:  
 
  On 31/10/17 18:43, Ray via Geeqie-devel wrote:
  
   Is there a way to set Geeqie to send .DNG and .CR2 raw files to Rawtherapee 
(RT) instead of the .JPG thumbnail?
 
 The association almost gets it right by not having RT visible in edit menus 
when no raw filetypes are found, but it is sending the .jpg file of a group 
instead of the raw file, which can lead to a fair amount of hair pulling, 
something already in short supply. I'm currently running ver3.1 on xubuntu 
16.04lts using  Zesty repos to solve dependencies. I can probably compile from 
source if needed but I'm hoping for an easier fix.
 
  
 
This seems to be a bit of a problem. I have made an entry on Geeqie's GitHub 
project page:
 
https://github.com/BestImageViewer/geeqie/issues/534
 
I guess it will be a while before a suitable solution is found.
 
You can, of course, simply disable file grouping - which is a pain.
 
There is a way to achieve this -  it is somewhat complicated, but if you need a 
short term answer this is the only one I can think of.
 
You must create a new desktop file - Edit/Preferences/Configure Editors - 
called e.g. my_rt.desktop
 
 
Call a shell script from the desktop file - e.g.Exec = /home/wherever/my_rt.sh 
%f
 
 
In the script file put something approximately like:
 
 #!/bin/bash
 OIFS="$IFS"
 IFS=$'\n'
 
 set -- $(geeqie -r --get-sidecars:"$1")
 
 while (( "$#" )); do
 
 if [[ "$1" == *".DNG" ]]; then
  rawtherapee "$1"
 fi
 if [[ "$1" == *".dng" ]]; then
  rawtherapee "$1"
 fi
 
 shift
 done
 
 IFS="$OIFS"
 exit
 
 
Sorry, that's the best I can suggest at the moment. (n.b. The above only works 
if you select a single group)

  

 
 --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
http://sdm.link/slashdot___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel
  --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Rawtherapee gets .jpg

2017-10-31 Thread Colin Clark

On 31/10/17 18:43, Ray via Geeqie-devel wrote:
  Is there a way to set Geeqie to send .DNG and .CR2 raw files to 
Rawtherapee (RT) instead of the .JPG thumbnail?


The association almost gets it right by not having RT visible in edit 
menus when no raw filetypes are found, but it is sending the .jpg file 
of a group instead of the raw file, which can lead to a fair amount of 
hair pulling, something already in short supply. I'm currently running 
ver3.1 on xubuntu 16.04lts using Zesty repos to solve dependencies. I 
can probably compile from source if needed but I'm hoping for an 
easier fix.


This seems to be a bit of a problem. I have made an entry on Geeqie's 
GitHub project page:


https://github.com/BestImageViewer/geeqie/issues/534

I guess it will be a while before a suitable solution is found.

You can, of course, simply disable file grouping - which is a pain.

There is a way to achieve this -  it is somewhat complicated, but if you 
need a short term answer this is the only one I can think of.


You must create a new desktop file - Edit/Preferences/Configure Editors 
- called e.g. my_rt.desktop


Call a shell script from the desktop file - e.g.Exec = 
/home/wherever/my_rt.sh %f


In the script file put something approximately like:

#!/bin/bash
OIFS="$IFS"
IFS=$'\n'

set -- $(geeqie -r --get-sidecars:"$1")

while (( "$#" )); do

if [[ "$1" == *".DNG" ]]; then
 rawtherapee "$1"
fi
if [[ "$1" == *".dng" ]]; then
 rawtherapee "$1"
fi

shift
done

IFS="$OIFS"
exit

Sorry, that's the best I can suggest at the moment. (n.b. The above only 
works if you select a single group)



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel