You are not logged in.
Pages: 1
Awesome Window Manager:
Hi all - can we start a problems-solution thread here for Awesome users?
I tried 3 other tiling managers before trying Awsome (DWM,i3,ratpoison) the others had problems and crashed - Awesome (3.4.11) just worked nearly 100% for me but there is a niggle for me so here is my niggle:
I have set up some keybindings to lauch, gedit,Thunar and Iceweasel - they work and then for some reason stop working now and then! here is my entries in rc.lua
-- gedit
awful.key({ modkey, }, "g", function () awful.util.spawn("gedit") end),
-- Webbrowser
awful.key({ modkey, }, "i", function () awful.util.spawn("iceweasel") end),
-- File-Manager-Thunar
awful.key({ modkey, }, "b", function () awful.util.spawn("thunar") end),-----
EDIT - hmm I am pretty sure now this was to do with me changing something in rclua and re-starting Aweseome - it's not letting me know when it doesn't like something I have put in rclua and just uses another rclua instead -which of course dont have the keybinding set up-
so any tips how to avoid this? I thought I had remembered to use awesome-k to check everything was ok in rclua but maybe i forgot. I notice there are TWO other rclua files
/usr/share/awesome/
/etc/xdg/awesome/
as well as the one i made in homedir/.config/aweseome
Last edited by ChickenPie4Tea (2012-06-30 09:54:13)
Troll = not a fanatic
Offline
If one of that rc.lua is broken somehow, wrong config, unclosed blocks etc, it'll use working one. Like homedir awesome config broken, then it choose xdg awesome config to use. It won't show any errors, just starts working one.
And this must be something like;
-- gedit
awful.key({ modkey, "a" }, "g", function () awful.util.spawn("gedit") end),
-- Webbrowser
awful.key({ modkey, "a" }, "i", function () awful.util.spawn("iceweasel") end),
-- File-Manager-Thunar
awful.key({ modkey, "a" }, "b", function () awful.util.spawn("thunar") end),Offline
yeah those fall back configs can be confusing when you dont know it's using them so now I have set it up so that the theme my home/bla/.config/awesome rclua points to is a different theme and background so I can see instantly if it is being used or Awesome has fallen back to using another rclua
Troll = not a fanatic
Offline
FYI, you can always run 'awesome -k' from a terminal to check your config. It isn't a 100% but will point out syntax errors.
Offline
FYI, you can always run 'awesome -k' from a terminal to check your config. It isn't a 100% but will point out syntax errors.
yeah I mention I do that in my first post but thanks for the reminder!
Troll = not a fanatic
Offline
Maybe I should be the one that learns how to read.. 
Offline
I have a problem with automatically starting an app in a particular deskop
strange as it was working fine for ages but now it doesn't !
I was sending iceweasel to the desktop called "web" (desktop 3) but now it just opens in whatever desktop I am on. here is the part of the rc.lua
awful.rules.rules = {
-- All clients will match this rule.
{ rule = { },
properties = { border_width = beautiful.border_width,
border_color = beautiful.border_normal,
focus = true,
keys = clientkeys,
buttons = clientbuttons } },
{ rule = { class = "MPlayer" },
properties = { floating = true } },
{ rule = { class = "pinentry" },
properties = { floating = true } },
{ rule = { class = "gimp" },
properties = { floating = true } },
{ rule = { class = "iceweasel" },
properties = { tag = tags[1][web] } }, Troll = not a fanatic
Offline
ok got it working now -
used the terminal command xprop to find the values of Iceweasel
to use the class you use the SECOND value given in the class output so in this case it was Firefox-bin
So I changed the entry in rc.lua to
{ rule = { class = "Firefox-bin" }, properties = { tag = tags[1][3] } },
maybe it was updating iceweasel that caused the problem - it's class name changed?
now working - I have noticed that the difference of just not having a capital at the begining is enough to not make it work -
I was trying to get gedit to open in a notes tab and was using gedit instead of Gedit
so it wasn't working.
Last edited by ChickenPie4Tea (2012-08-27 12:10:34)
Troll = not a fanatic
Offline
Hi there:
used the terminal command xprop to find the values of Iceweasel
to use the class you use the SECOND value given in the class output so in this case it was Firefox-bin
Could you post how did you use this command?
Offline
well just try it and see
type xprop in terminal then return key and you will see a little x
the x follows you mouse so move your mouse over a window you want to know more about and click on it - you will see the output displayed in terminal
Troll = not a fanatic
Offline
ok back to my own private problems thread 
i wanted to change the order of my title bars icons and couldnt find where to in my
rc.lua or my theme.lua
turns out I had to change (near the bottom)
/usr/share/awesome/lib/awful/titlebar.lua
just in case anyone else didn't know
Troll = not a fanatic
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.