Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Currently, I have both the gajim and skype windows visible as both icons (in systray) and window labels (in mytasklist). How can I remove that latter so that it is not shown since I do not need two instances of the same thing cluttering my wibox.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

To have a window not appear in the tasklist, you have to set skip_taskbar to true for the client. As you want to do that for specific applications, probably the best way is to add a client rule to your rc.lua:

awful.rules.rules = {
    { rule = { class = {"Gajim","Skype"} },
      properties = { skip_taskbar = true }
    },
    -- other rules ...
}

You may have to change the values for class. To get the window class of a X program, call xprop WM_CLASS from a terminal, then click on the window you want to match. This should output 2 values (e.g. WM_CLASS(STRING) = "Zsh", "URxvt"). The second one is the one for class. The first one can be matched with instance and may be used to differentiate between windows from the same program.

See also Awesome Wiki for more on rules and Awesome API docs for a list of properties you can set with rules.

share|improve this answer
    
+1 An exemplary answer. Thank you. –  Sardathrion Nov 20 '12 at 7:56
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.