You are not logged in.

#1 2025-01-09 18:18:55

freebench
Member
Registered: 2020-06-14
Posts: 50

[SOLVED] Gnome bring window to front

hi
I'm trying to find solution to the following:
bring window by it's title to front, I have it working in xfce though in gnome it doesn't work the same. In xfce it works oddly as well ...
the used methods are
xdotool search %options%
wmctrl -a %search criteria%

the above return only subset of the windows - not all opened.
for instance the above return the same outcome - can activate the chromium but don't "see" the gnome-terminal.

if anyone has solution - please share

THX

Last edited by freebench (2025-01-10 11:17:07)

Offline

#2 2025-01-09 18:31:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,076

Re: [SOLVED] Gnome bring window to front

The relevant difference will be that you're running a xorg session on xfce and a wayland session on gnome and will thus only see xwayland windows with your commands

you'll either need to find an extension to do this or some dbus calls you can make on mutter, I faintly remember some good DBUS docs floating around but can't find that link right now.

Offline

#3 2025-01-09 20:37:58

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,788

Online

Board footer

Powered by FluxBB