You are not logged in.

#1 2011-06-01 18:53:17

syltman
Member
Registered: 2010-06-12
Posts: 39

[Solved] subtle wm launching terminal application in different view

Hello I'm trying to launch a terminal application in a different view from the other terminal windows I added the following to subtle.rb:

grab "S-W-i", "urxvt -e alsamixer"
tag "chat" do
        match  "alsamixer"
        gravity :right
end

and I dunno, I just don't have a clue on what else I could need to do.

Last edited by syltman (2011-06-02 10:17:29)

Offline

#2 2011-06-01 18:55:46

Varg
Member
From: Belgium
Registered: 2010-07-07
Posts: 272

Re: [Solved] subtle wm launching terminal application in different view

This should help you:
http://subforge.org/news/39

Offline

#3 2011-06-01 19:30:29

syltman
Member
Registered: 2010-06-12
Posts: 39

Re: [Solved] subtle wm launching terminal application in different view

Hello, I added the following
tag "terms" do
        match "urxvt"
        exclude :instance => "centerim"
end
tag "chat" do
        match :instance => "centerim", :class => "urxvt"
        gravity :right
end

still doesn't work, now all terminal windows are on both views.

Offline

#4 2011-06-01 20:57:50

Varg
Member
From: Belgium
Registered: 2010-07-07
Posts: 272

Re: [Solved] subtle wm launching terminal application in different view

You don't need the exclude option anymore, that's what the page was all about. Try it like this:

tag "terms" do
     match :instance => "urxvt"
end

tag "chat" do
     match :instance => "centerim", :class => "urxvt"
     gravity :right
end

Offline

#5 2011-06-02 09:08:16

syltman
Member
Registered: 2010-06-12
Posts: 39

Re: [Solved] subtle wm launching terminal application in different view

Varg wrote:

You don't need the exclude option anymore, that's what the page was all about. Try it like this:

tag "terms" do
     match :instance => "urxvt"
end

tag "chat" do
     match :instance => "centerim", :class => "urxvt"
     gravity :right
end

well same problem still exist, all terminals are on two views.

Last edited by syltman (2011-06-02 09:08:31)

Offline

#6 2011-06-02 10:06:16

Varg
Member
From: Belgium
Registered: 2010-07-07
Posts: 272

Re: [Solved] subtle wm launching terminal application in different view

Try launching the grab with the name option for urxvt:

urxvt -name centerim -e centerim

Forgot to mention that in my previous post...

Offline

#7 2011-06-02 10:15:49

syltman
Member
Registered: 2010-06-12
Posts: 39

Re: [Solved] subtle wm launching terminal application in different view

Varg wrote:

Try launching the grab with the name option for urxvt:

urxvt -name centerim -e centerim

Forgot to mention that in my previous post...

Alright now centerim is only on one view however all other urxvt terminal also spawn in that view.

Edit: solved it, should've just removed the :class urxvt thingy. Thanks!

Last edited by syltman (2011-06-02 10:17:58)

Offline

Board footer

Powered by FluxBB