SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-06-14 08:47:05

Resident Bot
#! Die Hard
From: The Netherlands
Registered: 2012-02-17
Posts: 573

Awesome - problems thread

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 Resident Bot (2012-06-30 09:54:13)


Troll = not a fanatic
slave of #!  and arch

Offline

Be excellent to each other!

#2 2012-06-14 10:56:58

Eren
#! Die Hard
From: Black Mesa
Registered: 2009-07-27
Posts: 830

Re: Awesome - problems thread

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

#3 2012-06-20 08:48:42

Resident Bot
#! Die Hard
From: The Netherlands
Registered: 2012-02-17
Posts: 573

Re: Awesome - problems thread

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
slave of #!  and arch

Offline

#4 2012-06-25 04:20:40

doug piston
Member
Registered: 2012-02-11
Posts: 35

Re: Awesome - problems thread

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

#5 2012-06-25 12:43:19

Resident Bot
#! Die Hard
From: The Netherlands
Registered: 2012-02-17
Posts: 573

Re: Awesome - problems thread

doug piston wrote:

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
slave of #!  and arch

Offline

#6 2012-06-26 02:14:40

doug piston
Member
Registered: 2012-02-11
Posts: 35

Re: Awesome - problems thread

Maybe I should be the one that learns how to read.. sad

Offline

#7 2012-08-26 06:26:21

Resident Bot
#! Die Hard
From: The Netherlands
Registered: 2012-02-17
Posts: 573

Re: Awesome - problems thread

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
slave of #!  and arch

Offline

#8 2012-08-27 09:13:05

Resident Bot
#! Die Hard
From: The Netherlands
Registered: 2012-02-17
Posts: 573

Re: Awesome - problems thread

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 Resident Bot (2012-08-27 12:10:34)


Troll = not a fanatic
slave of #!  and arch

Offline

#9 2012-08-27 12:27:02

ad
#! Member
From: Mankato, MN, US
Registered: 2012-05-14
Posts: 61

Re: Awesome - problems thread

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

#10 2012-08-27 13:54:52

Resident Bot
#! Die Hard
From: The Netherlands
Registered: 2012-02-17
Posts: 573

Re: Awesome - problems thread

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
slave of #!  and arch

Offline

#11 2012-09-10 12:35:32

Resident Bot
#! Die Hard
From: The Netherlands
Registered: 2012-02-17
Posts: 573

Re: Awesome - problems thread

ok back to my own private problems thread smile
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
slave of #!  and arch

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo