You are not logged in.
This is the error I am now getting:
conky: Syntax error (/home/dobbie/.conky/Grey/conkyrc:2: unexpected symbol near '#') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: llua_load: /home/dobbie/.conky/Grey/scripts/lua/imlib_clock.lua:17: module 'imlib2' not found:
no field package.preload['imlib2']
no file '/usr/share/lua/5.3/imlib2.lua'
no file '/usr/share/lua/5.3/imlib2/init.lua'
no file '/usr/lib/lua/5.3/imlib2.lua'
no file '/usr/lib/lua/5.3/imlib2/init.lua'
no file './imlib2.lua'
no file './imlib2/init.lua'
no file '/usr/lib/conky/libimlib2.so'
no file '/usr/lib/lua/5.3/imlib2.so'
no file '/usr/lib/lua/5.3/loadall.so'
no file './imlib2.so'
conky: desktop window (4b9) is root window
conky: window type - normal
conky: drawing to created window (0x2a00002)
conky: drawing to double buffer
conky: llua_do_call: function conky_imlib_clock execution failed: attempt to call a nil value
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
conky: Assuming it's in old syntax and attempting conversion.
Excuse me but that error tells me you are running conky v1.10.
Terminal please:
conky -v
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
conky: Assuming it's in old syntax and attempting conversion.
Excuse me: Terminal please:
conky -v
That error tells me you are running conky v1.10.
Shit, I forgot that I tried a different conky.
Just reinstalled 1.9
Conky 1.9.0 compiled Sun Jun 25 14:20:19 NZST 2017 for Linux 4.11.6-3-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
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
Now I am getting a seg fault
1] 25672 segmentation fault (core dumped) conky -c /home/dobbie/.conky/Grey/conkyrc
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
conky: Syntax error (/home/dobbie/.conky/Grey/conkyrc:2: unexpected symbol near '#') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
@Dobbie - that error usually shows up when conky 1.10 tries to read a conky 1.9 configuration file. You posted earlier that you installed 1.9 (from the AUR?); that still the case? Do you happen to have both 1.9 and 1.10 installed.
In a terminal, what is the output of:
conky -v
That will not only give the version, but also indicate if the conky 1.9 version from the AUR is built with imlib bindings for lua.
EDIT - ninja'd by S11.
Last edited by PackRat (2017-06-25 02:40:18)
You must unlearn what you have learned.
-- yoda
Offline
Lua file reinstate that line 23:
function fFreeImage (image)
imlib_context_set_image (image)
-- imlib_free_image ()
to
function fFreeImage (image)
imlib_context_set_image (image)
imlib_free_image ()
see if it stops the seg fault at least.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Hey PacRat version below
Conky 1.9.0 compiled Sun Jun 25 14:34:22 NZST 2017 for Linux 4.11.6-3-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:
* Audacious
* 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
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
Lua file reinstate that line 23:
function fFreeImage (image) imlib_context_set_image (image) -- imlib_free_image ()
to
function fFreeImage (image) imlib_context_set_image (image) imlib_free_image ()
see if it stops the seg fault at lease.
Done that, still a seg fault. I don't want to take over this thread so I may pull the pin on this config.
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
S11 waves at PackRat.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
OK, it's not ARCH friendly
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
OK, it's not ARCH friendly
No it's not I need a conky 1.10 guru to convert it
I tried and failed.
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
Give me a second .....
v1.10 coming up.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
I think there may be the possibility of missing packages on Arch that could be causing it as well?
Real Men Use Linux
Offline
I think there may be the possibility of missing packages on Arch that could be causing it as well?
I think you are right but there is no hint as to what they maybe in any of the errors
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
Well, meantime try this conky v1.10 version.
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/>.
--###############################################################################
--# pkill -xf "conky -c /home/sector11/.conky/Grey/conkyrc" &
background = false,
update_interval = 0.5,
cpu_avg_samples = 2,
net_avg_samples = 2,
double_buffer = true,
no_buffers = true,
text_buffer_size = 1024,
imlib_cache_size = 0,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'normal',--All options: conky,dock,desktop,normal,override,panel
own_window_transparent = true,
own_window_argb_visual = true,
own_window_argb_value = 120,--Opacity color
own_window_colour = '#ff0000',--Change color bg in this line
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
draw_shades = false,
draw_borders = false,
draw_graph_borders = false,
minimum_width = 250, minimum_height = 135,
maximum_width = 250,
alignment = 'bottom_right',
gap_x = 50,
gap_y = 80,
use_xft = true,
override_utf8_locale = true,
font = 'Roboto Condensed:size=12',
xftalpha = 1,
uppercase = false,
use_spacer = 'none',
default_color = '#616161',--D8D8D8
color1 = '#8D8D8D',
lua_load = '~/.conky/Grey/scripts/lua/imlib_clock.lua',
};
conky.text = [[
${goto 120}Buenos Aires
${voffset 10}${goto 150}${time %A}
${goto 150}${time %e}.${time %m}.${time %Y}
${lua imlib_clock grey 130 71 72}\
${voffset 10}${goto 120}${color1}${time %T}${color}]];
Hope you don't mind but it has my edit in the code under TEXT ( conky.text = [[ )
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Hope no typos there S11 ]:D
Real Men Use Linux
Offline
Shouldn't be I used "convert.lua"
25 Jun 17 @ 00:26:39 ~
$ cd /home/sector11/convert-lua
25 Jun 17 @ 00:26:47 ~/convert-lua
$ lua convert.lua conkyrc conky10rc
it comes with conky v1.10 O:)
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Thanks for the conversion S11, upgraded to Conky 1.10 and still getting seg faults.
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
something there doesn't like your machine or ARCH I guess.
Copy: /usr/share/doc/conky-***/convert.lua to a directory in ~/ ( I use ~/convert.lua )and make it executable.
CD to the directory (you must be in it)
copy the conky to the directory
$ lua convery.lua conkyfile
will overwrite 'conkyfile' with v1.10 code
or create a new file
$ lua convery.lua conkyfile newfilename
I didn't do it with this convert for you but (this is just me) I strip out all commands are are commented out since they will not get converted and if you ever remove the " -- " thinking it will work: You get an "OOPS!"
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
something there doesn't like your machine or ARCH I guess.
Copy: /usr/share/doc/conky-***/convert.lua to a directory in ~/ ( I use ~/convert.lua )and make it executable.
CD to the directory (you must be in it)
copy the conky to the directory$ lua convery.lus conkyfile
will overwrite 'conkyfile' with v1.10 code
or create a new file
$ lua convery.lus conkyfile newfilename
I didn't do it with this convert for you but (this is just me) I strip out all commands are are commented out since they will not get converted and if you ever remove the " -- " thinking it will work: You get an "OOPS!"
Just did all those things.....the seg fault continues to plague me. I give up for now.
Thank you all for your help.
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline