In the past (probably 16.04), simply running gnome-settings-daemon allows gnome settings to work in i3 including hidpi settings, media keys, and touchpad preferences.

In Ubuntu 18.04, there is no gnome-settings-daemon. This daemon is splitted into several daemons in /usr/lib/gnome-settings-daemon/ directory. Include gsd-xsettings, gsd-mouse, etc. However, running these seem to have no effects. I have the lines...

exec --no-startup-id /usr/lib/gnome-settings-daemon/gsd-xsettings
exec --no-startup-id /usr/lib/gnome-settings-daemon/gsd-keyboard
exec --no-startup-id /usr/lib/gnome-settings-daemon/gsd-mouse
exec --no-startup-id /usr/lib/gnome-settings-daemon/gsd-media-keys
exec --no-startup-id /usr/lib/gnome-settings-daemon/gsd-sound
exec --no-startup-id /usr/lib/gnome-settings-daemon/gsd-backlight-helper

...at the end of my .config/i3/config. However, none of my gnome setting take effect in my i3 session. Do I have to run them in a different way?


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 repo https://github.com/glsorre/i3-gnome and install with

make install

Then reboot and choose i3 + Gnome as session.

You should be done.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.