:NeovideFocus does not focus existing Neovide window on Fedora Wayland Gnome
Author: ar1bisCreated Sep 26, 2026Updated Sep 26, 2026
Labelsbug
Description
When I run nvim --server "$socket" --remote-expr "execute('NeovideFocus')'" in a terminal, the existing Neovide window does not come into focus. The terminal window I run the command in flashes momentarily, but stays in focus.
To Reproduce
- Launch Neovide.
- Launch a terminal application, e.g. Alacritty.
- Find the correct socket $nvim (in $XDG_RUNTIME_DIR) for the nvim server embedded in Neovide.
- Execute
nvim --server "$nvim" --remote-expr "execute('NeovideFocus')"in the terminal. - I have checked that the socket $nvim is valid:
nvim --server "$nvim" --remote "~/.bashrc"opens~/.bashrcin the background Neovide window. - The terminal application flashes momentarily, and stays in focus. The background Neovide window is not brought into focus.
Expected Behavior
The background Neovide window comes into focus.
Screenshots
--
Desktop
- OS: Fedora 44 - Wayland - Gnome
- Neovide Version 0.16.2
- Neovim Version 0.12.5
neovide --log
See attached file neovide_rCURRENT.log.
Additional Context
I have checked that $nvim is the correct socket for the embedded nvim server in Neovide: nvim --server "$nvim" --remote "~/.bashrc" opens ~/.bashrc in the background Neovide window.
Source: neovide/neovide