How can i3 use gnome settings in Ubuntu 18.04

Try setting environmental variable XDG_CURRENT_DESKTOP=Gnome and then running the daemon, e.g.

 XDG_CURRENT_DESKTOP=Gnome; gsd-xsettings

Install gnome-flashback with:

apt install -y gnome-flashback

Then clone this repository

git clone https://github.com/glsorre/i3-gnome

Install with

make install

Then reboot and choose i3 + Gnome as session.

You should be done.