





















Or just update to newer version of package. I updated the codes to cope with the problem
HI @FMB, I think the error caused by the variable, beautiful.fg_normal is not set. First, could you check if you have awesome lua package 'beautiful' by run command 'locate beautiful/init.lua'. I guess you should have this package. Also check if you include it in your rc.lua such like local beautiful = require("beautiful") Then, you can check if you include a theme in your rc.lua by beautiful.init("/usr/share/awesome/themes/zenburn-custom/theme.lua"). Usually you will included one, but it is not necessary. But after you include a theme for your awesome. beautiful.fg_normal should be taken care by the theme. If you do not want to include a theme. you can also add a line before revelation.init() to specify the color used by beautiful.fg_normal, for example: local beautiful = require('beautiful') .... beautiful.fg_normal = #DCDCCC ... revelation.init()
I get these errors at startup (Awesome v3.5.6): /usr/share/awesome/lib/revelation/init.lua:350: attempt to concatenate a nil value (field 'fg') error while running the function stack traceback: /usr/share/awesome/lib/revelation/init.lua:350: in function 'revelation.init' /home/XXX/.config/awesome/rc.lua:44: in main chunk error: /usr/share/awesome/lib/revelation/init.lua:350: attempt to concatenate a nil value (field 'fg') [line 44 in rc.lua contains "revelation.init()"]
Thanks @xduugu for the reminding. The PKGBUILD has been updated.
Also it says that it was merged with awesome-revelation, it still depends only on awesome-git.
My mistake. I forgot the "revelation.init()"
works only for awesome < 3.5? I got some error for my part with awesome 3.5 W: awesome: luaA_dofunction:77: error while running function stack traceback: /usr/share/awesome/lib/revelation/init.lua:166: in function </usr/share/awesome/lib/revelation/init.lua:124> (...tail calls...) /usr/share/awesome/lib/awful/key.lua:42: in function </usr/share/awesome/lib/awful/key.lua:42> error: /usr/share/awesome/lib/revelation/init.lua:166: attempt to index field '?' (a nil value)
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
Thanks guotsuan, I don't get these errors anymore.