You are not logged in.

#1 2009-01-22 17:40:14

Thoht
Member
From: Sweden
Registered: 2008-02-02
Posts: 75

Awesome 3: Apptags not working [SOLVED]

Hello!

I'm using Awesome 3, and would like Firefox to always open in tag #2, "www", but it won't work! I'm not sure what could be wrong, I don't know Lua, but it seemed easy enough to figure out on ones own...

apptags =
{
    ["Firefox"] = { screen = 1, tag = 2 },
    -- ["mocp"] = { screen = 2, tag = 4 },
}

Thanks in advance for any help.

Last edited by Thoht (2009-01-22 18:03:57)


Credit to KiwiesRuleXD @ DeviantArt for the avatar.

Offline

#2 2009-01-22 18:03:28

Thoht
Member
From: Sweden
Registered: 2008-02-02
Posts: 75

Re: Awesome 3: Apptags not working [SOLVED]

Ah yeah, forgot about the Gran Paradiso-thing. Solved.


Credit to KiwiesRuleXD @ DeviantArt for the avatar.

Offline

#3 2009-01-22 22:56:13

devil_kc
Member
Registered: 2008-09-14
Posts: 93

Re: Awesome 3: Apptags not working [SOLVED]

i have similar problem. i want vlc to always open as floating and in tag number 4. does anyone have a solution for this?

floatapps =
{
    -- by class
    ["MPlayer"] = true,
    ["gimp"] = true,
    ["sonata"] = true,
    ["pidgin"] = true,
    ["transmission"] = true,
    ["smplayer"] = true,
    ["vlc"] = true,
        ["vlc"] = { screen = 1, tag = 4 },

Offline

#4 2009-01-23 02:32:53

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: Awesome 3: Apptags not working [SOLVED]

Awesome release version? Get the correct vlc class name with:

xprop | grep --color=none "WM_WINDOW_ROLE\|WM_CLASS" | xmessage -file - -center

Offline

#5 2009-01-23 02:54:05

Thoht
Member
From: Sweden
Registered: 2008-02-02
Posts: 75

Re: Awesome 3: Apptags not working [SOLVED]

Or press Ctrl+Mod4+i. That's the way I did it.


Credit to KiwiesRuleXD @ DeviantArt for the avatar.

Offline

#6 2009-01-23 09:17:28

devil_kc
Member
Registered: 2008-09-14
Posts: 93

Re: Awesome 3: Apptags not working [SOLVED]

it says:

WM_CLASS(STRING) = "", ""

i tried to add that in rc.lua and awesome crashed:)

awesome version: ring my bell, 3.1.1

Offline

#7 2009-01-23 09:18:35

devil_kc
Member
Registered: 2008-09-14
Posts: 93

Re: Awesome 3: Apptags not working [SOLVED]

@thot: we dont have same keybindings. is that keybinding showing your titlebar?

Offline

#8 2009-01-23 09:31:26

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: Awesome 3: Apptags not working [SOLVED]

devil_kc wrote:

it says:

WM_CLASS(STRING) = "", ""

i tried to add that in rc.lua and awesome crashed:)

awesome version: ring my bell, 3.1.1

So you ran that command in the terminal and then clicked on the vlc window? not sure why the output doesn't give the class name. Anyway once it does give you the class name put that name(not including WM_CLASS..) in [" "] = true and [" "] = { screen = , tag =  }

Offline

#9 2009-01-23 09:32:08

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: Awesome 3: Apptags not working [SOLVED]

@devil_kc
In rc.lua search for client.focus.instance. use the keybinding to which that function is bound to ....


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#10 2009-01-23 09:36:39

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: Awesome 3: Apptags not working [SOLVED]

That keybinding+function actually got removed from git-master for some reason.

Last edited by ST.x (2009-01-23 09:36:56)

Offline

#11 2009-01-23 09:46:46

devil_kc
Member
Registered: 2008-09-14
Posts: 93

Re: Awesome 3: Apptags not working [SOLVED]

@ST.x: yes i did it from terminal and clicked on vlc.

@u_no_hu & Thoht: you were right it was ctrl + mod4 + i.
anyways it says: "Class: Instance: "

nothing, like vlc has no name. everything worked in awesome 3.0 but after upgrade to 3.1(.1) vlc is making problems.

Offline

#12 2009-01-23 10:09:42

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: Awesome 3: Apptags not working [SOLVED]

Try with "VLC media player" ... thats WM_NAME... may work.....
Edit:  (or may not) wink

Last edited by u_no_hu (2009-01-23 10:15:09)


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#13 2009-01-23 20:00:03

devil_kc
Member
Registered: 2008-09-14
Posts: 93

Re: Awesome 3: Apptags not working [SOLVED]

anyone? please f1

Offline

#14 2009-01-23 20:03:36

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: Awesome 3: Apptags not working [SOLVED]

Ask on #awesome there should be more people using vlc.

Offline

Board footer

Powered by FluxBB