[SOLVED] Conky lua problem (transparency)

Hi,
I'm trying to transfer my conky from Ubuntu to Arch: below is a screenshot of the Ubuntu version (what it should look like).  On Arch I have a solid black background.   If it's relevant, I'm running Archbang rather than pure Arch, so with Openbox.
My main issue at the moment is the semi-transparency (and I'd like to have the rounded corners too).   I understand that conky 1.8.0 can do transparency, but only with a compositor, and I'd rather keep my system as light as possible.  So I've replaced my conky with 1.7.2 conky-lua from AUR and (don't know if this was necessary) installed cairo and lua from the repos.   Unfortunately the lua script I used on Ubuntu isn't working; when I run conky in the terminal I get the message ".conkyrc: 121: config file error".  At lines 120 and 121 I have my
lua_load ~/scripts/draw_bg.lua
        lua_draw_hook_pre
My .conkyrc and lua script are below.  Thanks for looking!
# conky configuration
# edited by Mark Buck (Kaivalagi) <[email protected]>
# set to yes if you want Conky to be forked in the background
background no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=9
# Text alpha when using Xft
xftalpha 0.8
# Update interval in seconds
update_interval 1.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 200 700
maximum_width 200
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
draw_graph_borders yes
# Stippled borders?
stippled_borders 8
# border margins
border_inner_margin 2
border_outer_margin 2
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color white
# own window options
own_window yes
own_window_type desktop
#own_window_hints undecorated,skip_taskbar
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 5
gap_y 35
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer right
# colours
color1 white
# light blue
color2 6892C6
color3 6892C6
# green
color4 78BF39
# red
color5 CC0000
color6 88ff88
text_buffer_size 2048
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
lua_load ~/scripts/draw_bg.lua
lua_draw_hook_pre
TEXT
${offset -5}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Weather${font} ${hr}${color1}
${execpi 1800 conkyForecast --location=MZXX0003 --template=/home/mark/conky/conkyForecast.template}
${goto 25}${color1}${font Bitstream Vera Sans Mono:size=14}${execi 1800 conkyForecast --location=MZXX0003 --datatype=CT}${font}
${goto 20}${font ConkyWeather:style=Bold:size=30}${execi 1800 conkyForecast --location=MZXX0003 --datatype=WF} ${goto 120}${font ConkyWindNESW:size=30}${execi 1800 conkyForecast --location=MZXX0003 --datatype=BS}${font}
${goto 10}${execi 1800 conkyForecast --location=MZXX0003 --datatype=HT --centeredwidth=4}/${execi 1800 conkyForecast --location=MZXX0003 --datatype=LT --centeredwidth=4} ${goto 100}${execi 1800 conkyForecast --location=MZXX0003 --datatype=WS --imperial} - ${execi 1800 conkyForecast --location=MZXX0003 --datatype=WD}
$if_mpd_playing${offset -5}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Music${font} ${hr}${color1}
${font Bitstream Vera Sans:size=9}${color2}MPD:${color6} $mpd_status
${color}${texeci 10 /home/mark/conky/composer.sh}
${font Bitstream Vera Sans:size=9}$color$mpd_artist
${font Bitstream Vera Sans:size=9}$mpd_album
${font Bitstream Vera Sans:size=9}$mpd_title
${color #ccddff} ${mpd_bar 5, 100}
$endif
${offset -5}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}${color1}System${font} ${hr}${color1}
${color2}CPU Temp: ${color}${acpitemp}${color}°${font Bitstream Vera Sans Mono:size=9}
$color2}CPU1: $color${cpu cpu1}% ${cpubar cpu1 4,65}${font Bitstream Vera Sans Mono:size=9}
$color2}CPU2: $color${cpu cpu2}% ${cpubar cpu2 4,65}${font Bitstream Vera Sans Mono:size=9}
${color2}RAM:$color $mem/$memmax
${color2}Root: $color${fs_used /}/${fs_size /}${font Bitstream Vera Sans Mono:size=9}
${color2}Home: $color${fs_used /home/}/${fs_size /home/}${font Bitstream Vera Sans Mono:size=9}
${color2}Today:${color6}${execi 10 vnstat -i eth0 | grep "today" | awk '{print $5 $6}'}${goto 120}${color1}${execi 10 vnstat -i eth0 | grep "today" | awk '{print $8 $9}'}
${color2}Week: ${color6}${execi 10 vnstat -i eth0 -w | grep "current week" | awk '{print $6 $7}'}${goto 120}${color1}${execi 10 vnstat -i eth0 -w | grep "current week" | awk '{print $9 $10}'}
${color2}Month: ${color6}${execi 10 vnstat -i eth0 -m | grep "`date +"%b '%y"`" | awk '{print $6 $7}'}${goto 120}${color1}${execi 10 vnstat -i eth0 -m | grep "`date +"%b '%y"`" | awk '{print $9 $10}'}${font}
${color2}Battery:$color ${color red}${battery_bar 4,50 BAT0}
Background by londonali1010 (2009)
This script draws a background to the Conky window. It covers the whole of the Conky window, but you can specify rounded corners, if you wish.
To call this script in Conky, use (assuming you have saved this script to ~/scripts/):
lua_load ~/scripts/draw_bg.lua
lua_draw_hook_pre
Changelog:
+ v1.0 -- Original release (07.10.2009)
-- Change these settings to affect your background.
-- "corner_r" is the radius, in pixels, of the rounded corners. If you don't want rounded corners, use 0.
corner_r=15
-- Set the colour and transparency (alpha) of your background.
bg_colour=0x000000
bg_alpha=0.4
require 'cairo'
function rgb_to_r_g_b(colour,alpha)
return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end
function conky_draw_bg()
if conky_window==nil then return end
local w=conky_window.width
local h=conky_window.height
local cs=cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, w, h)
cr=cairo_create(cs)
cairo_move_to(cr,corner_r,0)
cairo_line_to(cr,w-corner_r,0)
cairo_curve_to(cr,w,0,w,0,w,corner_r)
cairo_line_to(cr,w,h-corner_r)
cairo_curve_to(cr,w,h,w,h,w-corner_r,h)
cairo_line_to(cr,corner_r,h)
cairo_curve_to(cr,0,h,0,h,0,h-corner_r)
cairo_line_to(cr,0,corner_r)
cairo_curve_to(cr,0,0,0,0,corner_r,0)
cairo_close_path(cr)
cairo_set_source_rgba(cr,rgb_to_r_g_b(bg_colour,bg_alpha))
cairo_fill(cr)
end
Last edited by Henry Flower (2010-04-13 04:54:08)

The error in line 121 is because of lua_draw_hook_pre command must have a function name. In your file, it would be:
lua_draw_hook_pre draw_bg
To get the transparency put the command:
own_window_transparent yes
I have tried this in an AwesomeWM, with conky 1.8.0 compiled with lua support, and without compositing.

Similar Messages

  • [SOLVED] conky-lua build fails due to toluapp package issues

    I am trying to install conky-lua from AUR on 64 bit Arch and failing miserably.
    When running the following:
    yaourt -Sy conky-lua
    I get the following error:
    /usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.2/../../../../lib/libtolua++.a(tolua_is.o): relocation R_X86_64_32S against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.2/../../../../lib/libtolua++.a: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    make[1]: *** [libcairo.la] Error 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-mark/aur-conky-lua/conky-lua/src/conky-1.7.2/lua'
    make: *** [all-recursive] Error 1
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build conky-lua package.
    I have read through what search results I can find on the topic (both here and via google) and have attempted to remedy the situation by adding build options to the toluapp build to provide for the conky-lua build. I have tried this by adding CCFLAGS = '-fPIC' to the scons call in the PKGBUILD file, I have also tried editing the config_linux.py file, which sits along side the main build file, to include the -fPIC switch also, which doesn't work either. i.e. I have this in the config_linux.py now:
    CCFLAGS = ['-O2', '-ansi', '-Wall', '-fPIC']
    Which doesn't work, it results in:
    ==> Validating source files with md5sums...
    tolua++-1.0.93.tar.bz2 ... Passed
    config_linux.py ... FAILED
    ==> ERROR: One or more files did not pass the validity check!
    Error: Makepkg was unable to build toluapp package.
    Can someone help me through a build as I have never come across scons before and maybe I am providing directives to the toluapp build incorrectly? I am still thinking in "make" terms...
    I NEED lua in conky
    Thanks in advance
    Regards,
    Kaivalagi
    Last edited by kaivalagi (2009-11-11 07:32:04)

    I was asked by email on what exactly I did to get conky-lua installed and working on 64bit Arch, so I thought I would post my reply below in case it is of help to anyone else. Cheers
    Run "yaourt -S conky-lua". Amongst other things this will try to install a dependancy which you need to mess about with, the package you need to edit is "toluapp".
    When the "toluapp" package is downloaded by yaourt answer y to the edit question and provide something like gedit or kate as the editor to use
    You'll now see the PKGBUILD file in the editor, this doesn't need editing just yet. But if you open file from the editor you'll see the directory thie PKGBUILD is in, and you want to edit the config_linux.py file you'll see there.
    You should see this line in the config_linux.py file:
    CCFLAGS = ['-O2', '-ansi', '-Wall']
    Change it so it is like this:
    CCFLAGS = ['-O2', '-ansi', '-Wall', '-fPIC']
    Now, back to the PKGBUILD file, you'll see this line:
    md5sums=('100aa6907b8108582080b37d79c0afd7' 'bab107cdd2d18d3453a2344341b77c45')
    These checksums line up with tarball and config_linux.py files, and this will stop you're edit from working if not amended because the .py file isn't what it should be, we changed it. So run md5sum against the .py file and update the second checksum in the line appropriately.
    Carry on with the package installation and conky should have lua support
    Last edited by kaivalagi (2010-01-14 08:50:55)

  • [Solved]conky-lua

    I was trying to install conky-lua when I got this error, and I don't know how to proceed from here.
    Please help.
    Last edited by Laplace_ (2009-12-29 05:15:15)

    http://dpaste.com/138484/ wrote:llua.c:29:21: error: tolua++.h: No such file or directory
    This is because toluapp installs to / instead of /usr.  Change its installation command to this:
    scons prefix="$pkgdir/usr" install
    I've made a comment on the toluapp AUR page regarding this.

  • [SOLVED]Conky Forecast problems

    I upgraded OpenOffice yesterday and for some reason everytime I run Conky, this error message shows up
    /usr/bin/conkyForecast: line 3: :/usr/lib/openoffice/basis-link/program/:/usr/lib/guake: No such file or directory
    If anyone knows how to solve that problem, any help would be appreciated.
    Last edited by uzi304 (2010-04-07 23:50:44)

    Oh right, I'm sorry.
    # Possible variables to be used:
    # Variable Arguments Description
    # acpiacadapter ACPI ac adapter state.
    # acpifan ACPI fan state
    # acpitemp ACPI temperature.
    # adt746xcpu CPU temperature from therm_adt746x
    # adt746xfan Fan speed from therm_adt746x
    # battery (num) Remaining capasity in ACPI or APM
    # battery. ACPI battery number can be
    # given as argument (default is BAT0).
    # buffers Amount of memory buffered
    # cached Amount of memory cached
    # color (color) Change drawing color to color
    # cpu CPU usage in percents
    # cpubar (height) Bar that shows CPU usage, height is
    # bar's height in pixels
    # downspeed net Download speed in kilobytes
    # downspeedf net Download speed in kilobytes with one
    # decimal
    # exec shell command Executes a shell command and displays
    # the output in torsmo. warning: this
    # takes a lot more resources than other
    # variables. I'd recommend coding wanted
    # behaviour in C and posting a patch :-).
    # execi interval, shell Same as exec but with specific interval.
    # command Interval can't be less than
    # update_interval in configuration.
    # fs_bar (height), (fs) Bar that shows how much space is used on
    # a file system. height is the height in
    # pixels. fs is any file on that file
    # system.
    # fs_free (fs) Free space on a file system available
    # for users.
    # fs_free_perc (fs) Free percentage of space on a file
    # system available for users.
    # fs_size (fs) File system size
    # fs_used (fs) File system used space
    # hr (height) Horizontal line, height is the height in
    # pixels
    # i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
    # may be omitted if you have only one I2C
    # device. type is either in (or vol)
    # meaning voltage, fan meaning fan or temp
    # meaning temperature. n is number of the
    # sensor. See /sys/bus/i2c/devices/ on
    # your local computer.
    # kernel Kernel version
    # loadavg (1), (2), (3) System load average, 1 is for past 1
    # minute, 2 for past 5 minutes and 3 for
    # past 15 minutes.
    # machine Machine, i686 for example
    # mails Mail count in mail spool. You can use
    # program like fetchmail to get mails from
    # some server using your favourite
    # protocol. See also new_mails.
    # mem Amount of memory in use
    # membar (height) Bar that shows amount of memory in use
    # memmax Total amount of memory
    # memperc Percentage of memory in use
    # new_mails Unread mail count in mail spool.
    # nodename Hostname
    # outlinecolor (color) Change outline color
    # pre_exec shell command Executes a shell command one time before
    # torsmo displays anything and puts output
    # as text.
    # processes Total processes (sleeping and running)
    # running_processes Running processes (not sleeping),
    # requires Linux 2.6
    # shadecolor (color) Change shading color
    # stippled_hr (space), Stippled (dashed) horizontal line
    # (height)
    # swapbar (height) Bar that shows amount of swap in use
    # swap Amount of swap in use
    # swapmax Total amount of swap
    # swapperc Percentage of swap in use
    # sysname System name, Linux for example
    # time (format) Local time, see man strftime to get more
    # information about format
    # totaldown net Total download, overflows at 4 GB on
    # Linux with 32-bit arch and there doesn't
    # seem to be a way to know how many times
    # it has already done that before torsmo
    # has started.
    # totalup net Total upload, this one too, may overflow
    # updates Number of updates (for debugging)
    # upspeed net Upload speed in kilobytes
    # upspeedf net Upload speed in kilobytes with one
    # decimal
    # uptime Uptime
    # uptime_short Uptime in a shorter format
    # seti_prog Seti@home current progress
    # seti_progbar (height) Seti@home current progress bar
    # seti_credit Seti@hoome total user credit
    # Use Xft?
    use_xft yes
    xftfont DejaVu Sans:size=8
    xftalpha 0.8
    text_buffer_size 2048
    # Update interval in seconds
    update_interval 1
    # This is the number of times Conky will update before quitting.
    # Set to zero to run forever.
    total_run_times 0
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_transparent yes
    own_window_type override
    #own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    # Minimum size of text area
    minimum_size 180 0
    #maximum_width 200
    # Draw shades?
    draw_shades no
    # Draw outlines?
    draw_outline no
    # Draw borders around text
    draw_borders no
    # Stippled borders?
    stippled_borders 0
    # border margins
    border_margin 5
    # border width
    border_width 1
    # Default colors and also border colors
    default_color white
    #default_shade_color black
    #default_outline_color white
    own_window_colour white
    # Text alignment, other possible values are commented
    #alignment top_left
    alignment top_right
    #alignment bottom_left
    #alignment bottom_right
    # Gap between borders of screen and text
    # same thing as passing -x at command line
    gap_x 35
    gap_y 50
    # Subtract file system buffers from used memory?
    no_buffers yes
    # set to yes if you want all text to be in uppercase
    uppercase no
    # number of cpu samples to average
    # set to 1 to disable averaging
    cpu_avg_samples 2
    # number of net samples to average
    # set to 1 to disable averaging
    net_avg_samples 2
    # Force UTF8? note that UTF8 support required XFT
    override_utf8_locale yes
    # Add spaces to keep things from moving about? This only affects certain objects.
    use_spacer none
    TEXT
    SYSTEM ${hr 2}
    ${voffset 2}${font OpenLogos:size=16}B${font} Machine:${alignr}${kernel}
    ${font StyleBats:size=16}A${font} CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
    ${font StyleBats:size=16}A${font} CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
    ${font StyleBats:size=16}g${font} RAM: $memperc% ${alignr}${membar 8,60}
    ${font StyleBats:size=16}j${font} SWAP: $swapperc% ${alignr}${swapbar 8,60}
    ${font Webdings:size=16}~${font} Battery: ${battery_percent BAT1}% ${alignr}${battery_bar 8,60 BAT1}
    ${font StyleBats:size=16}q${font} Uptime: ${alignr}${uptime}
    DATE ${hr 2}
    ${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
    ${alignc}${time %A %d %Y}
    HD ${hr 2}
    ${voffset 4}${font Pie charts for maps:size=14}7${font} ${voffset -5}Root:
    ${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
    ${font Pie charts for maps:size=14}7${font} ${voffset -5}Home:
    ${voffset 4}${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
    NETWORK ${hr 2}
    ${if_existing /proc/net/route wlan0}
    ${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed wlan0} ${alignr}${upspeedgraph wlan0 8,60 3465A4 729FCF}
    ${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed wlan0} ${alignr}${downspeedgraph wlan0 8,60 3465A4 729FCF}
    ${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup wlan0}
    ${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown wlan0}
    ${voffset 4}${font PizzaDude Bullets:size=14}Z${font} Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
    ${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local Ip: ${alignr}${addr wlan0}
    ${voffset 4}${font PizzaDude Bullets:size=14}b${font} Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
    ${else}${if_existing /proc/net/route eth0}
    ${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 C22F2F DA3F3F}
    ${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 C22F2F DA3F3F}
    ${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup eth0}
    ${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown eth0}
    ${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local Ip: ${alignr}${addr eth0}
    ${voffset 4}${font PizzaDude Bullets:size=14}b${font} Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
    ${endif}${else}${if_existing /proc/net/route eth1}
    ${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 C22F2F DA3F3F}
    ${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 C22F2F DA3F3F}
    ${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup eth1}
    ${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown eth1}
    ${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local Ip: ${alignr}${addr eth1}
    ${voffset 4}${font PizzaDude Bullets:size=14}b${font} Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
    ${endif}${else}
    ${font PizzaDude Bullets:size=14}4${font} Network Unavailable
    ${endif}
    WEATHER ${hr 2}
    ${if_existing /proc/net/route wlan0}
    ${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=USNJ0392 --datatype=WF}${font}
    ${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=USNJ0392 --datatype=HT --imperial}${font}
    ${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=USNJ0392 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=USNJ0392 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=USNJ0392 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=USNJ0392 --datatype=DW --startday=4 --shortweekday}
    ${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=USNJ0392 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
    ${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=USNJ0392 --datatype=HT --imperial --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=USNJ0392 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=USNJ0392 --datatype=HT --imperial --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=USNJ0392 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=USNJ0392 --datatype=HT --imperial --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=USNJ0392 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=USNJ0392 --datatype=HT --imperial --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=USNJ0392 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
    ${else}${if_existing /proc/net/route eth0}
    ${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=??? --datatype=WF}${font}
    ${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=??? --datatype=HT}${font}
    ${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=4 --shortweekday}
    ${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=??? --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
    ${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
    ${endif}${else}${if_existing /proc/net/route eth1}
    ${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=??? --datatype=WF}${font}
    ${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=??? --datatype=HT}${font}
    ${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=4 --shortweekday}
    ${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=??? --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
    ${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
    ${endif}${else}
    ${font PizzaDude Bullets:size=14}4${font} Weather Unavailable
    ${endif}

  • [solved] Conky docking problem.

    Sorry for my poor English. I hope you can understand what I say.
    I want to make my conky stay at bottom like a panel. So I try this in my .conkyrc:
    own_window yes
    own_window_transparent no
    own_window_type dock
    alignment bottom_middle
    But the problem is that after setting own_window_type to dock, alignment seems to invalid and conky always stay at top_left. Can anyone help?
    Last edited by RichSelian (2009-08-20 00:50:16)

    own_window yes
    own_window_transparent yes
    own_window_type desktop
    own_window_hints undecorate,above,sticky,skip_taskbar,skip_pager
    The "above" in the own_windows_hints sets it above all other windows.
    When you make conky a dock in OB, you have to configure OB's dock feature to put it where you want it. You likely had OB's dock in the rc.xml set to the top_left.
    The margin shift idea should likely work the best IMO.

  • [SOLVED] conky gap problem

    Hello, in my conky window there is a huge gap at the bottom for some reason, I am trying to make it align in middle_right, but it's always above the middle line due to the gap.
    ~/.conkyrc
    use_xft yes
    xftfont DejaVu Sans:size=8
    update_interval 1
    total_run_times 0
    double_buffer yes
    text_buffer_size 512
    own_window yes
    own_window_type desktop
    own_window_transparent yes
    draw_shades yes
    default_color white
    alignment middle_right
    gap_x 12
    gap_y 0
    no_buffers no
    net_avg_samples 2
    TEXT
    System ${hr 2}
    ${voffset 4}${font OpenLogos:size=16}u${font} Kernel: ${alignr}${kernel}
    ${font FnT_BasicShapes1:size=12}p${font} CPU_1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
    ${font FnT_BasicShapes1:size=12}p${font} CPU_2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
    ${font StyleBats:size=16}D${font} RAM: ${memperc}% ${alignr}${membar 8,60}
    ${font StyleBats:size=16}Q${font} Uptime: ${alignr}${uptime}
    Date ${hr 2}
    ${voffset -8}${alignc 58}${font Arial Black:size=24}${time %I:%M %P}${font}
    ${voffset 4}${alignc}${time %A %d, %B}
    ${font RsbillsDng:size=14}O${font}${font DejaVu Sans Mono:size=8}${execpi 3600 DJS=`date +%_d`; cal -m | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color FCAF3E}'"$DJS"'${color0}'" "/}${font}
    Space ${hr 2}
    ${voffset 4}${font StyleBats:size=16}A${font} System: ${fs_used_perc /}% ${alignr}${fs_bar 8,60 /}
    ${font StyleBats:size=16}A${font} Stuff: ${fs_used_perc /home/Stuff}% ${alignr}${fs_bar 8,60 /home/Stuff}${voffset 4}
    Network ${hr 2}
    ${voffset 4}${font PizzaDude Bullets:size=12}O${font} Up: ${upspeed eth0} ${alignr}${upspeedgraph eth0 8,60 F57900 FCAF3E}
    ${font PizzaDude Bullets:size=12}U${font} Down: ${downspeed eth0} ${alignr}${downspeedgraph eth0 8,60 F57900 FCAF3E}
    ${font PizzaDude Bullets:size=12}N${font} Upload: ${alignr}${totalup eth0}
    ${font PizzaDude Bullets:size=12}T${font} Download: ${alignr}${totaldown eth0}
    ${font PizzaDude Bullets:size=12}a${font} Local IP: ${alignr}${addr eth0}
    ${font PizzaDude Bullets:size=12}b${font} Public IP: ${alignr}${execi 3600 wget -qO- http://riivo.eu/php/ip.php}${voffset 8}
    Notifications ${hr 2}
    ${voffset -6}${font Martin Vogel's Symbols:size=19}B${font} New e-mails: ${alignr} ${execi 120 conkyEmail -m IMAP -s imap.gmail.com -u xxxxxxxxxxxx -p xxxxxxxxxx -e}
    ${font PizzaDude Bullets:size=14}B${font} Packages: ${alignr} ${execi 10800 /home/kaizoku/.conky/pmupdate.sh}${voffset 4}
    Weather ${hr 2}
    ${alignc 55}Now:
    ${execpi 240 conkyForecast -l ASXX0075 -t /home/kaizoku/.conky/conkyForecast.template}
    Currency ${hr 2}
    ${execpi 3600 /home/kaizoku/.conky/currency.sh}
    Last edited by kaizoku (2009-11-18 06:17:42)

    Rede wrote:
    Please post the contents of /home/kaizoku/.conky/currency.sh
    As I think that is where you will find the problem
    /home/kaizoku/.conky/currency.sh
    #!/bin/bash
    data=`wget -qO- http://rss.timegenie.com/forex.txt | grep "AUD\|JPY\|USD\|VND" | cut -d '|' -f 3`
    i=0
    for item in $data
    do
    cur[$i]=$item
    ((++i))
    done
    eur=`echo "${cur[0]} 1" | awk '{print $2 / $1}'`
    jpy=`echo "${cur[0]} ${cur[1]}" | awk '{print $2 / $1}'`
    usd=`echo "${cur[0]} ${cur[2]}" | awk '{print $2 / $1}'`
    vnd=`echo "${cur[0]} ${cur[3]}" | awk '{print $2 / $1}'`
    echo "\${font Tahoma:size=14}€\${font} EUR: \${alignr}$eur"
    echo "\${font Tahoma:size=14}¥\${font} YEN: \${alignr}$jpy"
    echo "\${font Tahoma:size=14}\$\$\${font} USD: \${alignr}$usd"
    echo "\${font Tahoma:size=14}₫\${font} VND: \${alignr}$vnd"
    sand_man wrote:
    ${voffset 4}${font OpenLogos:size=16}u${font} Kernel: ${alignr}${kernel}
    *cough* Let me guess...Someone on the Ubuntu forums said you should ask the guys on the Arch forums, right?
    Anyway, this sentence I don't understand very well.
    I am trying to make it align in middle_right, but it's always above the middle line due to the gap.
    Well I posted here because it seems to have more support on conky
    Anyways I meant like due to the gap on the bottom, it doesn't vertically align properly; it looks like bottom part has more gap than top part. I am trying to align it middle vertically.
    Last edited by kaizoku (2009-11-18 06:01:00)

  • Conky-lua problem

    I used this as a lua script guide for conky (semi-relvent)
    error message I can't resolve with my current lua knowledge or though research/script reading.
    Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
    conky config
    # Conky, a system monitor, based on torsmo
    # Any original torsmo code is licensed under the BSD license
    # All code written since the fork of torsmo is licensed under the GPL
    # Please see COPYING for details
    # Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
    # Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
    # All rights reserved.
    # This program is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # (at your option) any later version.
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU General Public License for more details.
    # You should have received a copy of the GNU General Public License
    # along with this program. If not, see <http://www.gnu.org/licenses/>.
    # - Conky settings - #
    update_interval .5
    total_run_times 0
    net_avg_samples 1
    cpu_avg_samples 1
    imlib_cache_size 0
    double_buffer yes
    no_buffers yes
    # - Text settings - #
    use_xft yes
    xftfont Ubuntu:size=9
    override_utf8_locale yes
    text_buffer_size 2048
    # - Window specifications - #
    own_window_class Conky
    own_window yes
    own_window_type override
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    #own_window_argb_visual yes
    #own_window_argb_value 100
    alignment bottom_right
    alignment tr
    gap_x -2
    gap_y 180
    minimum_size 350 300
    default_bar_size 100 8
    draw_shades no
    default_color efefef
    default_shade_color 1d1d1d
    background no
    border_width 1
    default_color white
    default_outline_color white
    default_shade_color white
    draw_borders no
    draw_graph_borders yes
    draw_outline no
    out_to_console no
    out_to_stderr no
    extra_newline no
    own_window yes
    own_window_class Conky
    own_window_type desktop
    stippled_borders 0
    update_interval 1.0
    uppercase no
    use_spacer none
    show_graph_scale no
    show_graph_range no
    lua_load ./conky_outline.lua
    lua_draw_hook_post main
    TEXT
    $alignc CPU
    #${scroll 16 $nodename - $sysname $kernel on $machine | }
    #$hr
    #${color grey}Uptime:$color $uptime
    #${color grey}Frequency (in MHz):$color $freq
    #${color grey}Frequency (in GHz):$color $freq_g
    #${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
    #${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
    #${color grey}CPU Usage:$color ${cpu cpu0}% ${cpugauge 0}
    #${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
    #$hr
    #${color grey}File systems:
    # / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
    #${color grey}Networking:
    #Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0}
    #$hr
    #${color grey}Name PID CPU% MEM%
    #${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
    #${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
    #${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
    #${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
    the lua script giving the errors
    --[[line_width=5
    top_left_x=20
    top_left_y=20
    rec_width=50
    rec_height=50
    red=1
    green=0
    blue=0
    alpha=1 ]]
    --draw it
    require 'cario'
    line_width=5
    top_left_x=20
    top_left_y=20
    rec_width=50
    rec_height=50
    red=1
    green=0
    blue=0
    alpha=1
    function conky_main()
    if value == nil then value = 0 end
    pct = value/pt['max']
    if conky_window == nil then return end
    --local updates = conky_parse('${updates}')
    -- update_num = tonumber(updates)
    --if updates_num>5 then
    cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
    cr = cairo_create(cs)
    --local updates=tonumber(conky_parse('${updates}')
    cairo_set_line_width (cr,line_width)
    cairo_rectangle (cr,top_left_x,top_left_y,rec_width,rec_height)
    cairo_set_source_rgba (cr,red,green,blue,alpha)
    --end-- if updates>5
    cairo_destroy(cr)
    cairo_surface_destroy(cs)
    cr=nil
    end-- end main function
    ra
    backgroud for anybody that cares.
    Ive been trying to learn enough about lua and conky enough to make my own lua script for conky for flexabilty reasons. I want to be able to draw the background with lua which is what im trying to do here as a proof of concept.

    runny6play wrote:
    I tried it. It had no effect. also I changed lua_draw_hook_post main to lua_draw_hook_post conky_main
    and this is what i got. though i think its just annother error for the setting i just changed because its incorrect.
    Conky: llua_load: /home/alec/conky_outline.lua:11: module 'cario' not found:
    no field package.preload['cario']
    no file './cario.lua'
    no file '/usr/share/lua/5.1/cario.lua'
    no file '/usr/share/lua/5.1/cario/init.lua'
    no file '/usr/lib/lua/5.1/cario.lua'
    no file '/usr/lib/lua/5.1/cario/init.lua'
    no file '/usr/lib/conky/libcario.so'
    no file './cario.so'
    no file '/usr/lib/lua/5.1/cario.so'
    no file '/usr/lib/lua/5.1/loadall.so'
    Conky: desktop window (15d) is root window
    Conky: window type - desktop
    Conky: drawing to created window (0x1200001)
    Conky: drawing to double buffer
    Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
    Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
    Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
    Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
    Shouldn't that be "Cairo" and not "Cario"?

  • [SOLVED] Question about conky-lua-arch.

    I've managed to get conky-lua-arch up and working except for one minor issue. When I launch it, it automatically displays on the far right side of my 2nd monitor. This leads me to believe its alignment is pre-configured to run on the right side of the screen, which is fine, but how do I get it to be on the right side of my "primary" monitor instead? I've looked thru /usr/share/conky-lua-arch/clock-rings.lua but could not find an alignment or position parameter. I also could not find any other conky-lua-arch config files to look at. Any tips or suggestions are appreciated, thanks.
    EDIT: The config file was located elsewhere. Solved.
    Last edited by GunnDawg (2015-05-22 08:53:10)

    Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

  • [SOLVED] Attempting to build conky-lua

    Trying to get conky-1.9.0 to work with lua, got all the flags set so it does, but anytime I attempt to run make on it, It constantly gives me this error.
    Making all in src
    make[1]: Entering directory `/home/multimoon/Documents/conky-1.9.0/src'
    make  all-am
    make[2]: Entering directory `/home/multimoon/Documents/conky-1.9.0/src'
    make[2]: Leaving directory `/home/multimoon/Documents/conky-1.9.0/src'
    make[1]: Leaving directory `/home/multimoon/Documents/conky-1.9.0/src'
    Making all in doc
    make[1]: Entering directory `/home/multimoon/Documents/conky-1.9.0/doc'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/home/multimoon/Documents/conky-1.9.0/doc'
    Making all in lua
    make[1]: Entering directory `/home/multimoon/Documents/conky-1.9.0/lua'
    Makefile:678: *** missing separator.  Stop.
    make[1]: Leaving directory `/home/multimoon/Documents/conky-1.9.0/lua'
    make: *** [all-recursive] Error 1
    I'm decent with linux, rather new to Archlinux, so If anyone can give me a hand, I would appreciate it.
    Last edited by Multimoon (2012-10-13 02:38:51)

    Output for pacman -Ql conky-lua:
       conky-lua /etc/conky/conky.conf
       conky-lua /etc/conky/conky_no_x11.conf
       conky-lua /usr/
       conky-lua /usr/bin/
       conky-lua /usr/bin/conky
       conky-lua /usr/lib/
       conky-lua /usr/lib/conky/
       conky-lua /usr/lib/conky/libcairo.a
       conky-lua /usr/lib/conky/libcairo.la
       conky-lua /usr/lib/conky/libcairo.so
       conky-lua /usr/lib/conky/libcairo.so.0
       conky-lua /usr/lib/conky/libcairo.so.0.0.0
       conky-lua /usr/lib/conky/libimlib2.a
       conky-lua /usr/lib/conky/libimlib2.la
       conky-lua /usr/lib/conky/libimlib2.so
       conky-lua /usr/lib/conky/libimlib2.so.0
       conky-lua /usr/lib/conky/libimlib2.so.0.0.0
       conky-lua /usr/share/
       conky-lua /usr/share/licenses/
       conky-lua /usr/share/licenses/conky/
       conky-lua /usr/share/licenses/conky/LICENSE
       conky-lua /usr/share/man/
       conky-lua /usr/share/man/man1/
       conky-lua /usr/share/man/man1/conky.1.gz
       conky-lua /usr/share/vim/
       conky-lua /usr/share/vim/vimfiles/
       conky-lua /usr/share/vim/vimfiles/ftdetect/
       conky-lua /usr/share/vim/vimfiles/ftdetect/conkyrc.vim
       conky-lua /usr/share/vim/vimfiles/syntax/
       conky-lua /usr/share/vim/vimfiles/syntax/conkyrc.vim
    Then for find:
    /usr/lib/libcairo.so
    /usr/lib/conky/libcairo.so
    Last edited by Multimoon (2012-10-11 20:19:04)

  • Can't Install conky-lua

    I can't seems to get conky-lua install nor build. This is the error I got.
    gcc: error: /tmp/packerbuild-1000/conky-lua/conky-lua/src/conky-1.9.0/lua/.libs/libcairo.so: No such file or directory
    make[2]: *** [libcairo.la] Error 1
    make[2]: Leaving directory `/tmp/packerbuild-1000/conky-lua/conky-lua/src/conky-1.9.0/lua'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/tmp/packerbuild-1000/conky-lua/conky-lua/src/conky-1.9.0/lua'
    make: *** [all-recursive] Error 1
    ==> ERROR: A failure occurred in build().
        Aborting...
    The build failed.
    Using PKGBUILD from AUR. Tried both way, using AUR helper packer -S conky-lua and download PKGBUILD and makepkg it still give me the same error. Anyone would be kind enough to tell me what did I do wrong?

    Joxy wrote:
    Actually, you did install conky, it just installed with a warning.
    As far as I know, you can safely ignore that warning.
    What is this warning anyway?
    conky needs to get its directory permission fixed. Please submit a bug report.
    Someone had same problem  with nitrogen and conky and reported a bug (cant find link right now). Should I report a bug also?
    The warning is just what it says. Permissions for the directory /man/man1 in the package differs on the one in your system. Permissions should be set right in the PKGBUILD. You may try to contact the contributors of the PKGBUILDs (conky, nitrogen,..) and tell them that -> bugreport.

  • TS1717 I got this message every time i connect my iphone to itunes.. said 'iTunes was unable to load provider data from Sync Services. Reconnect or try again later.' so please help me to solve out this problem..

    I got this message every time i connect my iphone to itunes.. said 'iTunes was unable to load provider data from Sync Services. Reconnect or try again later.' so please help me to solve out this problem..

    In the course of your troubleshooting to date, have you also worked through the following document?
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert

  • Need to solve serious security problem with Oracle Reports URL

    As mentioned repeatedly on this forum, Oracle Reports allows serious security breaches that allow users to see reports that they did not generate -- it's easy to guess a legal URL by changing the getjobid parameter.
    I've reviewed the JavaDocs to part of the rwrun.jar file and reviewed some of the example report plugins. This shows promise in helping to solve this security problem but critical pieces are missing.
    1) The javadocs are accurate for only 10g (9.0.4) but not correct for 10g (10.1.2+), which we are currently using. I need access to the updated version of this javadoc.
    2) Even with the updated version of the JavaDoc, I haven't found a class from which to inherit that would give me the opportunity to generate random jobid values, which then would effectively prevent users from guessing other jobid values, and thereby gaining access to other's reports (which in our cases, may contain sensitive information.
    3) We have found that we can send the parameter=value of EXPIRATION=1 which helps protect such information, but this requires that every program which invokes a report be modified to add this parameter. It would be far better for the report server to be configured to use a java class we write that inherits from some rwrun.jar class that would by default, add the EXPIRATION=1 parameter.

    Hi,
    Thanks for our replies. I will ask to an administrator about this security problem, now I know it depends of a security parameter.
    But I would know if it could be possible to hide the technical name of the query in the url. It could improve the security level of our reports in a first time in this way.
    Thanks a lot,
    JW.

  • HT1145 Dear Ms Apple....My wi fi shows Not configured..please suggest me a solve out this problem soon..

    Dear Ms Apple....My wi fi shows Not configured..please suggest me a solve out this problem soon..

    Ms Apple is away from the desk but maybe I can help.  If you open system preferences you'll see icons.  Click on the one that says "Network".  You should see somthing like this
    Make sure that Wifi is turned on (gree light).  This is a box in the upper right that says "Turn Wifi On".  Click that box.  Now your radio is on.  To connect to a wifi network, select the icon in the upper menu bar that I've circled.
    You can chose a network to join from the listed networks.  You can also turn on wifi from that top line menu button but I think everyone be familar with system preferences.  You'll go there a lot in your mac life.

  • Conky-lua errors

    I am receiving the following error after installing conky-lua from AUR:
    Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
    Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
    Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
    Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
    Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
    Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
    Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
    Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
    Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
    Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
    Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
    Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
    Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
    Here is what my conky looks like:
    Conky error
    And here are the text files:
    conkyrc-blue
    background yes
    update_interval 1
    cpu_avg_samples 2
    net_avg_samples 2
    temperature_unit celsius
    double_buffer yes
    no_buffers yes
    text_buffer_size 2048
    gap_x 10
    gap_y 240
    minimum_size 210 450
    maximum_width 210
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorate,below,sticky,skip_taskbar,skip_pager
    border_inner_margin 0
    border_outer_margin 0
    alignment tr
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders no
    override_utf8_locale yes
    use_xft yes
    xftfont Dejavu Sans:size=8
    xftalpha 0.5
    uppercase no
    default_color 1994D1
    color1 DDDDDD
    color2 AAAAAA
    color3 888888
    color4 666666
    lua_load /home/terry/.conky/conky_grey.lua
    lua_draw_hook_post main
    TEXT
    ${voffset 35}
    ${goto 95}${color4}${font Dejavu Sans:size=22}${time %e}${color1}${offset -50}${font Dejavu Sans:size=10}${time %A}
    ${goto 85}${color2}${voffset -2}${font Dejavu Sans:size=9}${time %b}${voffset -2} ${color3}${font Dejavu Sans:size=12}${time %Y}${font}
    ${voffset 80}
    ${goto 90}${font Dejavu Sans:size=7,weight:bold}${color}CPU$
    ${goto 90}${font Dejavu Sans:size=7,weight:normal}${color1}${top name 1}${alignr}${top cpu 1}%
    ${goto 90}${font Dejavu Sans:size=7,weight:normal}${color2}${top name 2}${alignr}${top cpu 2}%
    ${goto 90}${font Dejavu Sans:size=7,weight:normal}${color3}${top name 3}${alignr}${top cpu 3}%
    ${goto 90}${cpugraph 10,100 666666 666666}
    ${goto 90}${voffset -10}${font Dejavu Sans:size=7,weight:normal}${color}${threads} process
    ${voffset 20}
    ${goto 90}${font Dejavu Sans:size=7,weight:bold}${color}MEM - ${mem}
    ${goto 90}${font Dejavu Sans:size=7,weight:normal}${color1}${top_mem name 1}${alignr}${top_mem mem 1}%
    ${goto 90}${font Dejavu Sans:size=7,weight:normal}${color2}${top_mem name 2}${alignr}${top_mem mem 2}%
    ${goto 90}${font Dejavu Sans:size=7,weight:normal}${color3}${top_mem name 3}${alignr}${top_mem mem 3}%
    ${voffset 15}
    ${goto 90}${font Dejavu Sans:size=7,weight:bold}${color}DISKS
    ${goto 90}${diskiograph 30,100 666666 666666}${voffset -30}
    ${goto 90}${font Dejavu Sans:size=7,weight:normal}${color}used: ${fs_used /home/terry} /home/terry
    ${goto 90}${font Dejavu Sans:size=7,weight:normal}${color}used: ${fs_used /} /
    ${voffset 10}
    ${goto 70}${font Dejavu Sans:size=18,weight:bold}${color3}NET${alignr}${color2}${font Dejavu Sans:size=7,weight:bold}${color}${if_up wlan0}wifi ${addr wlan0}${endif}
    ${goto 90}${font Dejavu Sans:size=7,weight:normal}${color1}Up: ${upspeed wlan0}${goto 90}${font}${alignr}${color3}${upspeedgraph wlan0 8,50}
    ${goto 90}${font Dejavu Sans:size=7,weight:normal}${color1}Down: ${downspeed wlan0}${goto 90}${font}${alignr}${color3}${downspeedgraph wlan0 8,40}
    ${goto 90}${font Dejavu Sans:size=7,weight:normal}${color1}Total Up: ${totalup wlan0}
    ${goto 90}${font Dejavu Sans:size=7,weight:normal}${color1}Total Down: ${totaldown wlan0}
    conky_grey.lua
    ==============================================================================
    -- conky_grey.lua
    -- author : SLK
    -- version : v2011011001
    -- license : Distributed under the terms of GNU GPL version 2 or later
    --==============================================================================
    require 'cairo'
    -- clock DATA
    -- HOURS
    clock_h = {
    name='time', arg='%H', max_value=12,
    x=110, y=80,
    graph_radius=53,
    graph_thickness=3,
    graph_unit_angle=30, graph_unit_thickness=30,
    graph_bg_colour=0xffffff, graph_bg_alpha=0.0,
    graph_fg_colour=0xFFFFFF, graph_fg_alpha=0.3,
    txt_radius=34,
    txt_weight=1, txt_size=10.0,
    txt_fg_colour=0xFFFFFF, txt_fg_alpha=0.6,
    graduation_radius=53,
    graduation_thickness=6, graduation_mark_thickness=2,
    graduation_unit_angle=30,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    -- MINUTES
    clock_m = {
    name='time', arg='%M', max_value=60,
    x=110, y=80,
    graph_radius=57,
    graph_thickness=2,
    graph_unit_angle=6, graph_unit_thickness=6,
    graph_bg_colour=0xffffff, graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF, graph_fg_alpha=0.3,
    txt_radius=70,
    txt_weight=0, txt_size=9.0,
    txt_fg_colour=0xFFFFFF, txt_fg_alpha=0.6,
    graduation_radius=57,
    graduation_thickness=0, graduation_mark_thickness=2,
    graduation_unit_angle=30,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    -- SECONDS
    clock_s = {
    name='time', arg='%S', max_value=60,
    x=110, y=80,
    graph_radius=50,
    graph_thickness=2,
    graph_unit_angle=6, graph_unit_thickness=2,
    graph_bg_colour=0xffffff, graph_bg_alpha=0.0,
    graph_fg_colour=0xFFFFFF, graph_fg_alpha=0.2,
    txt_radius=40,
    txt_weight=0, txt_size=12.0,
    txt_fg_colour=0xFFFFFF, txt_fg_alpha=0.3,
    graduation_radius=0,
    graduation_thickness=0, graduation_mark_thickness=0,
    graduation_unit_angle=0,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.0,
    -- gauge DATA
    gauge = {
    name='cpu', arg='cpu0', max_value=100,
    x=85, y=200,
    graph_radius=24,
    graph_thickness=5,
    graph_start_angle=180,
    graph_unit_angle=2.7, graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff, graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF, graph_fg_alpha=0.5,
    hand_fg_colour=0xEF5A29, hand_fg_alpha=0.0,
    txt_radius=34,
    txt_weight=0, txt_size=8.0,
    txt_fg_colour=0xFFFFFF, txt_fg_alpha=0.3,
    graduation_radius=28,
    graduation_thickness=0, graduation_mark_thickness=1,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='',
    caption_weight=1, caption_size=8.0,
    caption_fg_colour=0xFFFFFF, caption_fg_alpha=0.3,
    name='cpu', arg='cpu1', max_value=100,
    x=85, y=200,
    graph_radius=18,
    graph_thickness=5,
    graph_start_angle=180,
    graph_unit_angle=2.7, graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff, graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF, graph_fg_alpha=0.5,
    hand_fg_colour=0xEF5A29, hand_fg_alpha=0.0,
    txt_radius=10,
    txt_weight=0, txt_size=8.0,
    txt_fg_colour=0xFFFFFF, txt_fg_alpha=0.3,
    graduation_radius=28,
    graduation_thickness=0, graduation_mark_thickness=1,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='',
    caption_weight=1, caption_size=8.0,
    caption_fg_colour=0xFFFFFF, caption_fg_alpha=0.3,
    name='memperc', arg='', max_value=100,
    x=85, y=300,
    graph_radius=24,
    graph_thickness=5,
    graph_start_angle=180,
    graph_unit_angle=2.7, graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff, graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF, graph_fg_alpha=0.5,
    hand_fg_colour=0xEF5A29, hand_fg_alpha=0.0,
    txt_radius=10,
    txt_weight=0, txt_size=8.0,
    txt_fg_colour=0xFFFFFF, txt_fg_alpha=0.3,
    graduation_radius=23,
    graduation_thickness=8, graduation_mark_thickness=2,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.5,
    caption='',
    caption_weight=1, caption_size=8.0,
    caption_fg_colour=0xFFFFFF, caption_fg_alpha=0.3,
    name='fs_used_perc', arg='/', max_value=100,
    x=85, y=380,
    graph_radius=24,
    graph_thickness=5,
    graph_start_angle=180,
    graph_unit_angle=2.7, graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff, graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF, graph_fg_alpha=0.5,
    hand_fg_colour=0xEF5A29, hand_fg_alpha=0.0,
    txt_radius=34,
    txt_weight=0, txt_size=8.0,
    txt_fg_colour=0xFFFFFF, txt_fg_alpha=0.5,
    graduation_radius=28,
    graduation_thickness=0, graduation_mark_thickness=1,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='/',
    caption_weight=1, caption_size=8.0,
    caption_fg_colour=0xFFFFFF, caption_fg_alpha=0.5,
    name='fs_used_perc', arg='/home/terry', max_value=100,
    x=85, y=380,
    graph_radius=18,
    graph_thickness=5,
    graph_start_angle=180,
    graph_unit_angle=2.7, graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff, graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF, graph_fg_alpha=0.5,
    hand_fg_colour=0xEF5A29, hand_fg_alpha=0.0,
    txt_radius=10,
    txt_weight=0, txt_size=8.0,
    txt_fg_colour=0xFFFFFF, txt_fg_alpha=0.5,
    graduation_radius=28,
    graduation_thickness=0, graduation_mark_thickness=1,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='/data',
    caption_weight=1, caption_size=8.0,
    caption_fg_colour=0xFFFFFF, caption_fg_alpha=0.5,
    -- rgb_to_r_g_b
    -- converts color in hexa to decimal
    function rgb_to_r_g_b(colour, alpha)
    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
    end
    -- angle_to_position
    -- convert degree to rad and rotate (0 degree is top/north)
    function angle_to_position(start_angle, current_angle)
    local pos = current_angle + start_angle
    return ( ( pos * (2 * math.pi / 360) ) - (math.pi / 2) )
    end
    -- draw_clock_ring
    -- displays clock
    function draw_clock_ring(display, data, value)
    local max_value = data['max_value']
    local x, y = data['x'], data['y']
    local graph_radius = data['graph_radius']
    local graph_thickness, graph_unit_thickness = data['graph_thickness'], data['graph_unit_thickness']
    local graph_unit_angle = data['graph_unit_angle']
    local graph_bg_colour, graph_bg_alpha = data['graph_bg_colour'], data['graph_bg_alpha']
    local graph_fg_colour, graph_fg_alpha = data['graph_fg_colour'], data['graph_fg_alpha']
    -- background ring
    cairo_arc(display, x, y, graph_radius, 0, 2 * math.pi)
    cairo_set_source_rgba(display, rgb_to_r_g_b(graph_bg_colour, graph_bg_alpha))
    cairo_set_line_width(display, graph_thickness)
    cairo_stroke(display)
    -- arc of value
    local val = (value % max_value)
    local i = 1
    while i <= val do
    cairo_arc(display, x, y, graph_radius,( ((graph_unit_angle * i) - graph_unit_thickness)*(2*math.pi/360) )-(math.pi/2),((graph_unit_angle * i) * (2*math.pi/360))-(math.pi/2))
    cairo_set_source_rgba(display,rgb_to_r_g_b(graph_fg_colour,graph_fg_alpha))
    cairo_stroke(display)
    i = i + 1
    end
    local angle = (graph_unit_angle * i) - graph_unit_thickness
    -- graduations marks
    local graduation_radius = data['graduation_radius']
    local graduation_thickness, graduation_mark_thickness = data['graduation_thickness'], data['graduation_mark_thickness']
    local graduation_unit_angle = data['graduation_unit_angle']
    local graduation_fg_colour, graduation_fg_alpha = data['graduation_fg_colour'], data['graduation_fg_alpha']
    if graduation_radius > 0 and graduation_thickness > 0 and graduation_unit_angle > 0 then
    local nb_graduation = 360 / graduation_unit_angle
    local i = 1
    while i <= nb_graduation do
    cairo_set_line_width(display, graduation_thickness)
    cairo_arc(display, x, y, graduation_radius, (((graduation_unit_angle * i)-(graduation_mark_thickness/2))*(2*math.pi/360))-(math.pi/2),(((graduation_unit_angle * i)+(graduation_mark_thickness/2))*(2*math.pi/360))-(math.pi/2))
    cairo_set_source_rgba(display,rgb_to_r_g_b(graduation_fg_colour,graduation_fg_alpha))
    cairo_stroke(display)
    cairo_set_line_width(display, graph_thickness)
    i = i + 1
    end
    end
    -- text
    local txt_radius = data['txt_radius']
    local txt_weight, txt_size = data['txt_weight'], data['txt_size']
    local txt_fg_colour, txt_fg_alpha = data['txt_fg_colour'], data['txt_fg_alpha']
    local movex = txt_radius * (math.cos((angle * 2 * math.pi / 360)-(math.pi/2)))
    local movey = txt_radius * (math.sin((angle * 2 * math.pi / 360)-(math.pi/2)))
    cairo_select_font_face (display, "ubuntu", CAIRO_FONT_SLANT_NORMAL, txt_weight);
    cairo_set_font_size (display, txt_size);
    cairo_set_source_rgba (display, rgb_to_r_g_b(txt_fg_colour, txt_fg_alpha));
    cairo_move_to (display, x + movex - (txt_size / 2), y + movey + 3);
    cairo_show_text (display, value);
    cairo_stroke (display);
    end
    -- draw_gauge_ring
    -- displays gauges
    function draw_gauge_ring(display, data, value)
    local max_value = data['max_value']
    local x, y = data['x'], data['y']
    local graph_radius = data['graph_radius']
    local graph_thickness, graph_unit_thickness = data['graph_thickness'], data['graph_unit_thickness']
    local graph_start_angle = data['graph_start_angle']
    local graph_unit_angle = data['graph_unit_angle']
    local graph_bg_colour, graph_bg_alpha = data['graph_bg_colour'], data['graph_bg_alpha']
    local graph_fg_colour, graph_fg_alpha = data['graph_fg_colour'], data['graph_fg_alpha']
    local hand_fg_colour, hand_fg_alpha = data['hand_fg_colour'], data['hand_fg_alpha']
    local graph_end_angle = (max_value * graph_unit_angle) % 360
    -- background ring
    cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, 0), angle_to_position(graph_start_angle, graph_end_angle))
    cairo_set_source_rgba(display, rgb_to_r_g_b(graph_bg_colour, graph_bg_alpha))
    cairo_set_line_width(display, graph_thickness)
    cairo_stroke(display)
    -- arc of value
    local val = value % (max_value + 1)
    local start_arc = 0
    local stop_arc = 0
    local i = 1
    while i <= val do
    start_arc = (graph_unit_angle * i) - graph_unit_thickness
    stop_arc = (graph_unit_angle * i)
    cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
    cairo_set_source_rgba(display, rgb_to_r_g_b(graph_fg_colour, graph_fg_alpha))
    cairo_stroke(display)
    i = i + 1
    end
    local angle = start_arc
    -- hand
    start_arc = (graph_unit_angle * val) - (graph_unit_thickness * 2)
    stop_arc = (graph_unit_angle * val)
    cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
    cairo_set_source_rgba(display, rgb_to_r_g_b(hand_fg_colour, hand_fg_alpha))
    cairo_stroke(display)
    -- graduations marks
    local graduation_radius = data['graduation_radius']
    local graduation_thickness, graduation_mark_thickness = data['graduation_thickness'], data['graduation_mark_thickness']
    local graduation_unit_angle = data['graduation_unit_angle']
    local graduation_fg_colour, graduation_fg_alpha = data['graduation_fg_colour'], data['graduation_fg_alpha']
    if graduation_radius > 0 and graduation_thickness > 0 and graduation_unit_angle > 0 then
    local nb_graduation = graph_end_angle / graduation_unit_angle
    local i = 0
    while i < nb_graduation do
    cairo_set_line_width(display, graduation_thickness)
    start_arc = (graduation_unit_angle * i) - (graduation_mark_thickness / 2)
    stop_arc = (graduation_unit_angle * i) + (graduation_mark_thickness / 2)
    cairo_arc(display, x, y, graduation_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
    cairo_set_source_rgba(display,rgb_to_r_g_b(graduation_fg_colour,graduation_fg_alpha))
    cairo_stroke(display)
    cairo_set_line_width(display, graph_thickness)
    i = i + 1
    end
    end
    -- text
    local txt_radius = data['txt_radius']
    local txt_weight, txt_size = data['txt_weight'], data['txt_size']
    local txt_fg_colour, txt_fg_alpha = data['txt_fg_colour'], data['txt_fg_alpha']
    local movex = txt_radius * math.cos(angle_to_position(graph_start_angle, angle))
    local movey = txt_radius * math.sin(angle_to_position(graph_start_angle, angle))
    cairo_select_font_face (display, "ubuntu", CAIRO_FONT_SLANT_NORMAL, txt_weight)
    cairo_set_font_size (display, txt_size)
    cairo_set_source_rgba (display, rgb_to_r_g_b(txt_fg_colour, txt_fg_alpha))
    cairo_move_to (display, x + movex - (txt_size / 2), y + movey + 3)
    cairo_show_text (display, value)
    cairo_stroke (display)
    -- caption
    local caption = data['caption']
    local caption_weight, caption_size = data['caption_weight'], data['caption_size']
    local caption_fg_colour, caption_fg_alpha = data['caption_fg_colour'], data['caption_fg_alpha']
    local tox = graph_radius * (math.cos((graph_start_angle * 2 * math.pi / 360)-(math.pi/2)))
    local toy = graph_radius * (math.sin((graph_start_angle * 2 * math.pi / 360)-(math.pi/2)))
    cairo_select_font_face (display, "ubuntu", CAIRO_FONT_SLANT_NORMAL, caption_weight);
    cairo_set_font_size (display, caption_size)
    cairo_set_source_rgba (display, rgb_to_r_g_b(caption_fg_colour, caption_fg_alpha))
    cairo_move_to (display, x + tox + 5, y + toy + 1)
    -- bad hack but not enough time !
    if graph_start_angle < 105 then
    cairo_move_to (display, x + tox - 30, y + toy + 1)
    end
    cairo_show_text (display, caption)
    cairo_stroke (display)
    end
    -- go_clock_rings
    -- loads data and displays clock
    function go_clock_rings(display)
    local function load_clock_rings(display, data)
    local str, value = '', 0
    str = string.format('${%s %s}',data['name'], data['arg'])
    str = conky_parse(str)
    value = tonumber(str)
    draw_clock_ring(display, data, value)
    end
    for i in pairs(clock_h) do
    load_clock_rings(display, clock_h[i])
    end
    for i in pairs(clock_m) do
    load_clock_rings(display, clock_m[i])
    end
    for i in pairs(clock_s) do
    load_clock_rings(display, clock_s[i])
    end
    end
    -- go_gauge_rings
    -- loads data and displays gauges
    function go_gauge_rings(display)
    local function load_gauge_rings(display, data)
    local str, value = '', 0
    str = string.format('${%s %s}',data['name'], data['arg'])
    str = conky_parse(str)
    value = tonumber(str)
    draw_gauge_ring(display, data, value)
    end
    for i in pairs(gauge) do
    load_gauge_rings(display, gauge[i])
    end
    end
    -- MAIN
    function conky_main()
    if conky_window == nil then
    return
    end
    local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
    local display = cairo_create(cs)
    local updates = conky_parse('${updates}')
    update_num = tonumber(updates)
    if update_num > 5 then
    go_clock_rings(display)
    go_gauge_rings(display)
    end
    end

    Sorry, I wanted to put code tags, but I was unaware of the command. I am running conky-lua-nv 1.8.0-1 from the AUR. There also seems to be some issue with the drawing of the rings, as it shows percents but not the graphical rings that go with it. I suspect it has something to do with the lua file. Anyone see any issue?

  • Conky lua

    while trying to run a conky lua script i get this out put
    no field package.preload['cairo']
    no file './cairo.lua'
    no file '/usr/share/lua/5.1/cairo.lua'
    no file '/usr/share/lua/5.1/cairo/init.lua'
    no file '/usr/lib/lua/5.1/cairo.lua'
    no file '/usr/lib/lua/5.1/cairo/init.lua'
    no file './cairo.so'
    no file '/usr/lib/lua/5.1/cairo.so'
    no file '/usr/lib/lua/5.1/loadall.so'
    i have installed conky-lua-nv  and all dependices are installed, what am i missing to get this running i have tried googling the answer but nothing helped.
    here is conky -v  output
    Conky 1.9.0 compiled Sat Aug 18 20:07:34 EDT 2012 for Linux 3.4.9-1-ARCH (x86_64)
    Compiled in features:
    System config file: /etc/conky/conky.conf
    Package library path: /usr/lib/conky
    X11:
    * Xdamage extension
    * XDBE (double buffer extension)
    * Xft
    * ARGB visual
    Music detection:
    * MPD
    * MOC
    General:
    * math
    * hddtemp
    * portmon
    * Curl
    * RSS
    * wireless
    * support for IBM/Lenovo notebooks
    * nvidia
    * config-output
    * Imlib2
    * apcupsd
    * iostats
    * ncurses
    * Lua
    Lua bindings:
    * Cairo
    * Imlib2
    edit
    nothing appears to be in the folder even resembling cairo
    Last edited by xcabal (2012-08-19 00:22:05)

    xcabal wrote:
    while trying to run a conky lua script i get this out put
    no field package.preload['cairo']
    no file './cairo.lua'
    no file '/usr/share/lua/5.1/cairo.lua'
    no file '/usr/share/lua/5.1/cairo/init.lua'
    no file '/usr/lib/lua/5.1/cairo.lua'
    no file '/usr/lib/lua/5.1/cairo/init.lua'
    no file './cairo.so'
    no file '/usr/lib/lua/5.1/cairo.so'
    no file '/usr/lib/lua/5.1/loadall.so'
    i have installed conky-lua-nv  and all dependices are installed, what am i missing to get this running i have tried googling the answer but nothing helped.
    here is conky -v  output
    Conky 1.9.0 compiled Sat Aug 18 20:07:34 EDT 2012 for Linux 3.4.9-1-ARCH (x86_64)
    Compiled in features:
    System config file: /etc/conky/conky.conf
    Package library path: /usr/lib/conky
    X11:
    * Xdamage extension
    * XDBE (double buffer extension)
    * Xft
    * ARGB visual
    Music detection:
    * MPD
    * MOC
    General:
    * math
    * hddtemp
    * portmon
    * Curl
    * RSS
    * wireless
    * support for IBM/Lenovo notebooks
    * nvidia
    * config-output
    * Imlib2
    * apcupsd
    * iostats
    * ncurses
    * Lua
    Lua bindings:
    * Cairo
    * Imlib2
    edit
    nothing appears to be in the folder even resembling cairo
    Did you check the AUR, or the Wiki?  Go check the AUR package for Conky-lua and see if any of the comments on there are helpful, please.

Maybe you are looking for

  • How do I search for a word within a web page

    I would like to be able to do a search for a pecific within the page currenly viewed in the browser. Is there a way to do that in Firefox?

  • Sales unit F2 not found

    Dear all, I can't create SO with sales unit(SU) F2, because in list sales unit (SU) not found. but in table T006 the F2 is there. we have error message "Sales unit F2 is not defined for item 000010" Would you like help me please thanks and regrads im

  • Remove a project.....

    I am seriously confused about iDVD in one respect. Let me try to explain this as best as possible: I edit and move a movie from iMovie to iDvd. I then arrange the way I want to have this look on the final burned DVD. Music...theme.... text....buttons

  • UTA for SSAS project

    I have UTA for Datawarehouse and Mart. I'm looking to have UTA done for Cube and would want to compare the results in Mart (SQL queries) and Cube (MDX queries). Have anyone tried doing this? If yes, pls throw some light. Thanks! DS

  • Copying Outlook Contacts to Mac Address Book

    I've searched through the forums and whilst this topic is raised quite a few times it hasn't really been answered. I have got 3500+ contacts on my work PC in Outlook. I have installed Outlook for Mac 2011 on my new imac and I have the full contacts c