geeqie icon indicating copy to clipboard operation
geeqie copied to clipboard

Make --remote default or a global option

Open Massimo-B opened this issue 9 months ago • 5 comments

Setup (please complete the following information):

  • Distribution: Gentoo
  • Geeqie version [geeqie --version]: 2.5

Describe the bug I remember geeqie was working in single-instance mode all the years. Some configuration or update changed that. I still can have the single-instance behaviour by using --remote. There should be a global option for that behaviour as well, I can't find it. Please add such an option, so I don't need to change .desktop files adding --remote (which would be a workaround).

Massimo-B avatar Mar 01 '25 10:03 Massimo-B

Unfortunately the way to start Geeqie has changed again. In October 2024 Geeqie was changed to be a GtkApplication. This was unavoidable - it was part of the Gtk4 upgrade process.

Some parameters now need to be passed via environment variables.

The --remote option is no longer necessary.

https://www.geeqie.org/help/GuideReferenceCommandLine.html

caclark avatar Mar 01 '25 14:03 caclark

That manpage (generated for Geeqie 2.5+git20250101-2ec35a8e) has dropped --remote, while still being mentioned in my installed Geeqie 2.5 GTK3 manpage. Currently without --remote every new opened file openes a new geeqie instance. Usually I have a file manager beside geeqie to open next files.

You mean --remote will soon be the default without using that option?

Massimo-B avatar Mar 01 '25 19:03 Massimo-B

You mean --remote will soon be the default without using that option?

That is correct. There will be a Geeqie version 2.6 created in a few weeks or so.

caclark avatar Mar 02 '25 13:03 caclark

Is there some way to enable the previous behavior? I am on 2.6.1 and tried --new-window but that only kind of works (First instance opens previous picture as well and seems to have some problems reading the config file).

Offlinemaker avatar Sep 28 '25 20:09 Offlinemaker

geeqie --help gives some information in the final paragraphs. To run a new instance it is necessary to use environment variables: GQ_NEW_INSTANCE=yes geeqie There is also information there about how to use XDG variables to use multiple config. files.

What are the problems shown with reading the config.file?

opens previous picture as well

That bug occurs elsewhere - but no one has logged a fault (so far)....

caclark avatar Oct 01 '25 13:10 caclark