Hello,
I'm having some issues with a widget that I made recently. When I add
it to my wibox all of my window titles are replaced with elipses ( ... ).
This widget appears to work fine beyond that exception.
Here is the widget code.
-- GPU temperature widget
gputemp = widget({ type = "textbox"
I also had a weird issue with a small perl script I scribbled up. It
would work from inside the Lua interactive console and in Xephyr, but
not in the real awesome. I eventually realized that in the script I
had initialized the readline library (even though I didn't make use of
it). Once I moved
Thx Yussi.
~/.xsession-errors unfortunately does contain no error output concerning the
io.popen or os.execute calls from rc.lua .
I did tried your code but io is proper system table already.
io.stderr:write(tostring(io))
local io=require("io")
io.stderr:write(tostring(io))
After inspection of
Hi Nicolas,
it unfortunately does not matter if I execute xrandr at the beginning
(immediately after modules loading) or as the last command in the rc.lua
script.
When io.popen("xrandr") is called inside callback funtion (like handler of
timer event, mouse events etc.), ie. after whole rc.lua is
You mean io.popen()?
what does your ~/.xsession-errors say (if anything)?
That will be a complete guess, but try adding
local io=require("io") or local io=io at the top of your rc.lua...
also, run whatever you run in popen on a terminal to see it works
On Sun, Oct 3, 2010 at 5:48 PM, David Unric
Hi,
it unfortunately does not matter if I split it in separate steps. It never
gets to the line where the filehandle is closed.
Calling os.popen does create a separate process but even if rc.lua will
stop, the os.popen function has to return soon and give back control to
Awesome's rc.lua script.
On Sat, Oct 2, 2010 at 01:41, David Unric wrote:
> Hello,
>
> it starts to drive me a bit mad because I cann't understand what's going
> wrong with the following code:
>
> prg_out = io.popen('/usr/bin/xkb-switch'):read('*a')
>
> When run in a separate script or from Lua interpreter it works as exp
I have no idea, os.execute did give me some problems in the past,
can't remember what though.
One thought is that when you popen this way you can't close the file
when it's done, i'm not sure what's the implications though, maybe try
breaking it into:
fh=io.popen(...)
txt=fh:read("*a")
fh:close()
I think that for the spacing what you want is something like
{widget1,widget2,widget3,width=200,["layout"] =
awful.widget.layout.horizontal.flex}
but i might be wrong.
as for the blurring, you can try messing with xcompmgr or
cairo-compmgr, not sure if that's possible though
good luck,
Yussi
On
Hi Satoshi:
I got a WORKAROUND:
> It didn't work. I need the spacer to be INSIDE the tasklist, between
> each program. I would guess that this is where I should edit it:
>
> /usr/share/awesome/lib/awful/widget/tasklist.lua (123-125):
>
- text = text .. ""
+ text = " | " .. text .. ""
> r
> Would you mind posting a link to a screenshot and your config files
> when you are done?
This is how it looks so far:
http://img831.imageshack.us/img831/3387/55screenshot.png
--
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
On 3 October 2010 03:01, Anurag Priyam wrote:
> Create a text widget with the text as a space and add it between two icons.
>
> A snippet from my rc.lua :
>
> spacer = widget({ type = "textbox" })
> spacer.text = " "
> .
> .
> .
>
> wibox_bottom[s].widgets = {
> spacer,
>
> Just out of curiosity, is there a way to emulate Windows Seven's panel
> with a wibox?
Would you mind posting a link to a screenshot and your config files
when you are done?
--
Anurag Priyam,
3rd Year Undergraduate,
Department of Mechanical Engineering,
IIT Kharagpur.
+91-9775550642
--
To un
> Alright, got it. Now, how do I modify the wibox size? If I set the
> tasklist to only show icons, how do I put a space between two icons?
Create a text widget with the text as a space and add it between two icons.
A snippet from my rc.lua :
spacer= widget({ type = "textbox" })
spacer.text
14 matches
Mail list logo