Thanks, I was unaware of xprop. Very helpful info.
Unfortunately my app still "snaps" back to it's window. I set a similar rule for firefox and it does what it's supposed to, so it must just be an issue with one app calling another. The apps are Houdini and it's image viewer, MPlay. I'm trying to render 3d images. I suppose it's not too bad to view my renders in another tag on the same monitor though. xprop shows Houdini as "Houdini Escape", "Houdini" and mplay "MPlay", "Houdini" is the first the "class" ? I believe I've got this correct as I've got mplay to behave differently then Escape, but just checking. Thanks, Alan On Fri, Jul 23, 2010 at 1:58 PM, SamLT <[email protected]> wrote: > On Fri, Jul 23, 2010 at 09:27:33AM -0500, Alan Warren wrote: > > Hello, > > > > Does anyone know if there's a way to restrict an application to a single > > monitor on a specific tag with lua? Or more specifically, with shifty? > > > > I have an app that opens another small app and sends data to it on a > regular > > basis. I would like to place this small app's window on my second monitor > > and leave it there permanently so I can view it easly while I work inside > > my main app. However, whenever data is sent to the small app, Awesome > snaps > > it back to my main monitor, and I have to move it back again (Mod4 + o). > > > > I've tried using shifty to make sure this window spawns on monitor #2, > > and it works. However, as soon as data is sent to the window it snaps > > back to monitor #1 and tiles my main app's window. > > > > The strange part, is if I place this "small app" on a different tag on > > the same monitor as my main app it acts fine. This is quite inconvenient > > though as I'd like to see this app at all times. > > > > Note, this isn't like gimp's toolbox. These are two applications that > > can be run on their own. It just so happens that one of them can listen > > to the other for incoming commands. > > > > This is one of those issues that is aking me reconsider if a tiling > > window manager can be used in my line of work, as I've never seen this > > kind of behavior before in Gnome or KDE. > > > > Thanks, > > Alan > > > > -- > > You should try writing a rule for that "small app", use xprop to find its > name > or class, then add a rule for it in rc.lua. > > HTH > >
