You are not logged in.
Currently I am trying out awesome WM however I have configured a bunch of rules for various windows to have them jump to certain tags but it seems they are being ignored & I am close to just ditching it & sticking with what I have as I cannot for the life of me work why these are being partially ignored.
I say partially because my terminals all open on the tag I want & my browsers do as well but everything else just opens on the tag I am on !!!
I have read the awsome wm wiki over & over & over again I have looked at others configs i have googled & ddg'd but I just cannot work it out & the config has all the correct syntax
list of rules:
-- {{{ Rules
awful.rules.rules = {
-- All clients will match this rule.
{ rule = { },
properties = { border_width = beautiful.border_width,
border_color = beautiful.border_normal,
focus = awful.client.focus.filter,
keys = clientkeys,
buttons = clientbuttons } },
{ rule = { class = "pinentry" },
properties = { floating = true } },
{ rule = { class = "gimp" },
properties = { floating = true } },
{ rule = { class = "Gmrun" },
properties = { floating = true } },
{ rule = { class = "Xfce4-notifyd" },
properties = { floating = true } },
{ rule = { class = "Lxapperance" },
properties = { floating = true } },
{ rule = { class = "Xfce4-appfinder" },
properties = { floating = true } },
-- music players
{ rule = { class = "Gmpc" },
properties = { tag = tags[1][1] } },
{ rule = { class = "Audacious" },
properties = { tag = tags[1][1] } },
{ rule = { class = "Vlc" },
properties = { tag = tags[1][1] } },
{ rule = { class = "Mplayer" },
properties = { tag = tags[1][1] } },
{ rule = { class = "Mplayer2" },
properties = { tag = tags[1][1] } },
{ rule = { class = "Audacious" },
properties = { floating = true } },
{ rule = { class = "Vlc" },
properties = { floating = true } },
{ rule = { class = "Mplayer" },
properties = { floating = true } },
{ rule = { class = "Mplayer2" },
properties = { floating = true } },
--mail
{ rule = { instance = "mutt" },
properties = { tag = tags[1][2] } },
{ rule = { instance = "gmail", "crx_pjkljhegncpnkpknbcohdijeoejaedia" },
properties = { tag = tags[1][2] } },
{ rule = { instance = "crx_pjkljhegncpnkpknbcohdijeoejaedia" },
properties = { tag = tags[1][2] } },
--instant messengers
{ rule = { name = ".::Finch::." },
properties = { tag = tags[1][3] } },
{ rule = { name = "(Home Timeline)" },
properties = { tag = tags[1][3] } },
{ rule = { class = "Pidgin" },
properties = { tag = tags[1][3], width = 1190 } },
{ rule = { class = "Pidgin", role = "buddy_list" },
properties = { tag = tags[1][3], floating=true, maximized_vertical=true, maximized_horizontal=false, width = 250, callback = awful.client.setslave } },
-- browsers
{ rule = { class = "Firefox" },
properties = { tag = tags[1][4] } },
{ rule = { class = "Aurora" },
properties = { tag = tags[1][4] } },
{ rule = { class = "Chromium" },
properties = { tag = tags[1][4] } },
{ rule = { class = "Luakit" },
properties = { tag = tags[1][4] } },
{ rule = { class = "Opera" },
properties = { tag = tags[1][4] } },
{ rule = { instance = "Dialog" },
properties = { floating = true } },
{ rule = { instance = "Extension" },
properties = { floating = true } },
{ rule = { instance = "Abp" },
properties = { floating = true } },
{ rule = { instance = "Febe" },
properties = { floating = true } },
--social network web apps
{ rule = { instance = "crx_boeajhmfdjldchidhphikilcgdacljfm" },
properties = { tag = tags[1][5] } },
{ rule = { instance = "facebook" },
properties = { tag = tags[1][5] } },
{ rule = { instance = "crx_hbdpomandigafcibbmofojjchbcdagbl" },
properties = { tag = tags[1][5] } },
{ rule = { instance = "tweetdeck" },
properties = { tag = tags[1][5] } },
{ rule = { instance = "crx_jfkogbicoohcjbjlppcaeiggjomjkkem" },
properties = { tag = tags[1][5] } },
{ rule = { instance = "twitter" },
properties = { tag = tags[1][5] } },
{ rule = { instance = "crx_dlppkpafhbajpcmmoheippocdidnckmm" },
properties = { tag = tags[1][5] } },
{ rule = { instance = "googleplus" },
properties = { tag = tags[1][5] } },
{ rule = { instance = "pinterest.com" },
properties = { tag = tags[1][5] } },
--RSS readers webapps & cli
{ rule = { name = ".::RSS::." },
properties = { tag = tags[1][6] } },
{ rule = { instance = "feedly" },
properties = { tag = tags[1][6] } },
{ rule = { instance = "theoldreader" },
properties = { tag = tags[1][6] } },
{ rule = { instance = "crx_hipbfijinpcgfogaopmgehiegacbhmob" },
properties = { tag = tags[1][6] } },
--terminals
{ rule = { class = "Terminator" },
properties = { tag = tags[1][7] } },
{ rule = { name = "Terminator Preferences" },
properties = { floating = true } },
--file managers
{ rule = { class = "Thunar", "Spacefm" },
properties = { tag = tags[1][7] } },
}Does anyone on here have the slightest clue as to why these are only partially working?
also offtopic I am struggling to create a keybinding to start selected applications.
thnx in advance to any assistance.
Last edited by t0m5k1 (2013-06-08 15:02:25)
Offline
fixed it!
when it comes to rules for windows the class window property takes precedence:
{ rule = { class = "Terminator" },
properties = { tag = tags[1][7] } },the above rule works fine so long as you do not want other apps started in new terminator windows to appear in the same tag.
now as I use different profiles for different apps (finch, newsbeuter, etc) which I use to open with a new window of terminator the class property was forcing new terniator windows to spawn on the tag in the above rule.
To work around this you have to change the property to something other than class thus:
{ rule = { instance = "terminator" },
properties = { tag = tags[1][7] } },so now the following rule gets applied due to the class property no longer being used for terminator:
{ rule = { name = ".::RSS::." },
properties = { tag = tags[1][6] } },I also had to do the same for google chrome web apps:
{ rule = { instance = "crx_boeajhmfdjldchidhphikilcgdacljfm" },
properties = { tag = tags[1][5] } }the above allows the facebook web app to open on my designated tag because I changed the class property to instance in my chromium rule:
{ rule = { instance = "chromium" },
properties = { tag = tags[1][4] } },So for all you awesome users whom also use web apps in chromium or aurora & would like them to spawn on different tags than that of the main browser window use the above conventions & all should be ok until the next release lol
PS:
I still have an issue with key bindings not working but I am now using dmenu-launch
Offline