timhughes / nautilus-open-terminator

Adds Terminator to the right click menu in Nautilus
Mozilla Public License 2.0
6 stars 1 forks source link

[Bug] What if versions are lower than 4.0? #1

Open LimHyungTae opened 2 months ago

LimHyungTae commented 2 months ago

Hi @timhughes, thanks for your wonderful code.

Unfortunately, those do not work on my desktop (currently, I still use Ubuntu 20.04, haha), and I've realized that my gtk and nautilus are bit lower version.

> pkg-config --modversion gtk+-3.0
3.24.20
> pkg-config --modversion gtk+-3.0
> pkg-config --modversion gtk4
Package gtk4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk4' found
> nautilus --version
GNOME nautilus 3.36.3

So, as the first trial, I've changed the lines as follows:

require_version("Gtk", "3.0")
require_version("Nautilus", "3.0")

yet it did not work for me.

Could you give me advice on this problem? Thanks!

timhughes commented 2 months ago

This is the last revision that supported gtk3

https://github.com/timhughes/nautilus-open-terminator/commit/40a589b40c0c8f99d6ebd456978640440f315b06