How do I get the active window on Gnome Wayland?

The two previous answers are outdated, this is the current state of querying appnames and titles of windows in (Gnome) Wayland. A Gnome-specific JavaScript API which can be accessed over DBus The wlr-foreign-toplevel-management Wayland protocol (unfortunately not implemented by Gnome) The Gnome-specific API will likely break between Gnome versions, but it works. It is heavily …

Read more

Start Script when Gnome Starts Up

There is a specification for this purpose, and it works with any desktop environment that supports the specification (eg. KDE, GNOME2, GNOME3, …). You should put a Desktop Entry file (with .desktop extension) inside of ~/.config/autostart (for a user) or /etc/xdg/autostart (for the whole system). In the file you set the script to run (see …

Read more

How to use git with gnome-keyring integration

@marcosdsanchez’s answer is for Arch (which answers the original question) but I’m on Ubuntu. For git >= 2.11: sudo apt-get install libsecret-1-0 libsecret-1-dev cd /usr/share/doc/git/contrib/credential/libsecret sudo make git config –global credential.helper /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret For git < 2.11: sudo apt-get install libgnome-keyring-dev cd /usr/share/doc/git/contrib/credential/gnome-keyring sudo make git config –global credential.helper /usr/share/doc/git/contrib/credential/gnome-keyring/git-credential-gnome-keyring