EoG - adding --geometry option

Willem van Schaik <[email protected]> Wed, 12 Sep 2018 13:39:32 -0600
Newsgroups gmane.comp.gnome.apps.Eog
Message-ID <[email protected]>
a feature that seems to be missing from EoG is a "--geometry 
WidthxHeight+Xpos+Ypos" parameter

similar to what gnome-terminal has (and IIRC 25 years ago all X-Windows 
programs had)

it would be a very welcome addition for the following reason

when doing something like "eog *.jpg" on a directory of photo's, the 
orientation and size of the first picture will determine the window 
size, however if the orientation of the next photo is different, you 
will get gray bands and a zoomed-out image

with a --geometry parameter, you could open photos in a square window by 
defining something like 'alias eog="eog --geometry 720x720"'

an alternative way would be to have a "--square" parameter that would 
open in a square window as large as the longest side of the photo

I started looking into adding this feature to the source myself and 
rebuilding the code, but if you're not familiar with all the required 
libraries and dependencies the latter appears to be not for the faint of 
heart

Willem