jwm icon indicating copy to clipboard operation
jwm copied to clipboard

Problem with applications "hopping" virtual desktops

Open RedactedCode opened this issue 6 years ago • 1 comments

I'm a long-time user of Puppy Linux with JWM.

On Precise (with whatever default version of JWM comes with it), I used to run 3 virtual desktops.

If I opened Geany on, say, desktop 3, and also opened a console on desktop 2, found a file and ran "geany filename" in the console, the file would open in geany on desktop 3.

Convenient - if I had to run a "find" in a console for instance then open that file, my desktops all remained static.

In Tahr (running the default JWM vgit-976 that comes with Tahr), if I open Geany on desktop 3, and open a file from console in desktop 2 as described, Geany "hops" to desktop 2.

That's annoying, but I've found that if I open (say) Sylpheed on a desktop, set it off to fetch mail, then change to a different desktop to continue e.g. writing this post (!), if Sylpheed pops a message box, it also move the whole Sylpheed app to the active desktop.

That is super annoying :)

Is this a configurable feature of JWM ?

Are there workarounds for this?

thanks

RedactedCode avatar Sep 14 '18 09:09 RedactedCode

This happens to me, with Chromium. I use Desktop #2 for my browser; similar assignments for Thunderbird, Gimp, and other apps, and all of them except Chromium obeyed the <OPTION>desktop:#</OPTION> directives -- Chromium always opened in whichever desktop was selected in the Pager.

My solution was to add a <OPTION>fixed</OPTION> directive to the already-extant group.

Additionally, I added nomove and noclose directives to the group definition -- I hate when I accidentally move or close it (did the same for Thunderbird).

<Group>
            <Name>chromium-browser</Name>
            <Option>desktop:2</Option>
            <Option>fixed</Option>
            <Option>icon:chrome-browser.png</Option>
            <Option>nolist</Option>
            <Option>nomove</Option>
            <Option>noclose</Option>
</Group>

JBHoren avatar Jun 01 '19 23:06 JBHoren