It is a common problem with spotify I guess. I experienced the same with
qtile and other window managers as well.

On Thu, 17 Dec 2020, 20:19 Justine Smithies, <[email protected]> wrote:

> I have got my group matches working on everything else but I cannot get
> spotify to behave. I get no errors but Spotify always opens on the window
> that I'm currently working on not number 5. I'm using Arch and the master
> version of Qtile. Can someone take a look at my group code for my config.py
> and I'll post the xprop from Spotify too.
>
> [justine@justine-laptop ~]$ xprop
> _NET_WM_ICON(CARDINAL) =
> WM_CLASS(STRING) = "spotify", "Spotify"
> WM_NAME(STRING) = "Spotify Premium"
> _NET_WM_NAME(UTF8_STRING) = "Spotify Premium"
> _NET_WM_DESKTOP(CARDINAL) = 0
> WM_STATE(WM_STATE):
> window state: Normal
> icon window: 0x0
> XdndProxy(WINDOW): window id # 0x1600002
> WM_NORMAL_HINTS(WM_SIZE_HINTS):
> program specified location: 0, 0
> window gravity: Static
> _NET_WM_PID(CARDINAL) = 33081
> WM_LOCALE_NAME(STRING) = "en_GB.UTF-8"
> WM_CLIENT_MACHINE(STRING) = "justine-laptop"
> WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, _NET_WM_PING
>
> # Groups with matches
>
> workspaces = [
>     {"name": " Home", "key": "1", "matches": [Match(wm_class='firefox')]},
>     {"name": " Dev", "key": "2", "matches": [Match(wm_class='nemo')]},
>     {"name": " Chat", "key": "3", "matches":
> [Match(wm_class='telegram-desktop')]},
>     {"name": " GFX", "key": "4", "matches": [Match(wm_class='gimp')]},
>     {"name": "阮 Music", "key": "5", "matches":
> [Match(wm_class='Spotify')]},
> ]
>
> groups = []
> for workspace in workspaces:
>     matches = workspace["matches"] if "matches" in workspace else None
>     groups.append(Group(workspace["name"], matches=matches,
> layout="monadtall"))
>     keys.append(Key([mod], workspace["key"],
> lazy.group[workspace["name"]].toscreen()))
>     keys.append(Key([mod, "shift"], workspace["key"],
> lazy.window.togroup(workspace["name"])))
>
>
> Thanks in advance
> Justine
>
> --
> You received this message because you are subscribed to the Google Groups
> "qtile-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/qtile-dev/CADrRWNbFLevObK%2B22xQ%3D%2B3K5wJRxrf29koDeh0cAPCBSRxpN%2BQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/qtile-dev/CADrRWNbFLevObK%2B22xQ%3D%2B3K5wJRxrf29koDeh0cAPCBSRxpN%2BQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qtile-dev/CAG4pprO0mouhZfE5SsQ0hhMCGgaNkYXqaK2KwfOnFamQfX3CaQ%40mail.gmail.com.

Reply via email to