On Wed, Nov 11, 2020 at 02:51:19AM -0800, Kenny De Metter wrote:
> 
> 
> Hi,
> 
> I'm trying  to set up groups so that on startup different groups have  the 
> applications  I  want.
> 
> In short, I want to have  one  group 'GENERAL' with browser, file manager 
> and a terminal, and  another  group with my development IDE, browser  and 
> terminal
> 
> So in my  config.py file, I currently have:
> 
> groups = [
> 
> Group("GENERAL", spawn=["firefox", "thunar","alacritty"] ),
> Group("DEV", spawn=["intellij-idea-ultimate-edition", "firefox", 
> "alacritty"])
> 
> ]
> 
> However, when I do this, I end up with the following :
> 
> - firefox opens twice in the 'general' group , doesn't open  in the dev 
> group.
> - intellij also  opens in the  first window
> - thunar and alacritty do open correctly in the correct groups
> 
> Has anyone encountered this problem before ?

Yes, spawn= tries to use NET_WM_PID, which doesn't always work for
applications that fork. Try matching on the wm_class as well,

    Group('www', spawn='firefox', layout='xmonad',
          matches=[Match(wm_class=['Firefox', 'google-chrome', 
'Google-chrome'])]),

Tycho

-- 
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/20201112024555.GA3269185%40cisco.

Reply via email to