Sample Header Ad - 728x90

Fedora 33 - gnome-terminal doesn't show up in wmctrl

2 votes
2 answers
1330 views
A while ago I wrote a wmctrl-based script I used to implement a hotkey to focus into running *gnome-terminal* instance in order to avoid using mouse when I need to run anything in terminal. After an upgrade to Fedora 33 it seems like wmctrl -l doesn't list *gnome-terminal* windows anymore. It does list other windows though - like Chrome browser or Electron apps.
mdulko:~/ $ wmctrl -l
0x00a00001  3 fedora The Dandy Warhols - Country Leaver
0x02a0004c  2 fedora release – lower-constraints.txt
0x01c00007  1 fedora Slack |  | 
0x01000007  0 fedora Chrome/Chromium 85.0.4183.83 regression workaround : swaywm - Brave
This is probably related to usage of Wayland which Fedora defaults to and I use. To script that I'll probably need to call lookingGlass API over gdbus. Is that a good clue?
Asked by dulek (21 rep)
Dec 8, 2020, 04:34 PM
Last activity: Jun 26, 2024, 01:01 AM