LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-21-2016, 08:26 AM   #1
ColJohnHannibalSmith
LQ Newbie
 
Registered: Mar 2011
Location: Harlingen, Texas
Distribution: Ubuntu 14.04.3 LTS Trusty Tahr x64
Posts: 25

Rep: Reputation: 8
Conky won't run in Debian 8 Jessie (Gnome 3)


I can't get conky to run in Jessie. If I use my .conkyrc from Ubuntu 14.04 it doesn't clear the old text and the display becomes blurry. If I convert the rc to Lua conky complains about the -- characters used for comments, which have replaced the # symbols from before. The instructions to build conky from source are vague && incomprehensible.

.conkyrc (Lua Style)

Code:
conky.config = {
-- UBUNTU-CONKY
-- A comprehensive conky script, configured for use on
-- Ubuntu / Debian Gnome, without the need for any external scripts.

-- Based on conky-jc and the default .conkyrc.
-- INCLUDES:
-- - tail of /var/log/messages (TRY USING TAIL VARIABLE INSTEAD OF SHELL TAIL)
-- - netstat connections to your computer

-- -- Pengo (conky@pengo.us)


-- GENERAL STUFF
	double_buffer = true,
	use_spacer = 'left',
	update_interval = 2.0,
-- background = yes
-- out_to_console = no
-- total_run_times = 0
-- ${execi 30 wmctrl -a conky}


-- WINDOW STUFF
	own_window = true,
	own_window_type = normal,--override
	own_window_transparent = true,
	own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
-- own_window_hints skip_taskbar,skip_pager
-- own_window skip_taskbar

-- COLOR STUFF
	own_window_colour = 'black',
	default_color = 'white',
	default_shade_color = 'black',
	default_outline_color = 'black',


-- TEXT AREA STUFF
-- minimum_size 250 5 (Minimum size of text area)
	minimum_width = 320, minimum_height = 5,


-- BORDER STUFF
	draw_outline = false,
	draw_borders = false,
	draw_shades = false,
	stippled_borders = 3,
	border_width = 10,


-- FONT STUFF
	use_xft = true,
	font = 'Bitstream Vera Sans Mono:size=8',
	xftalpha = 0.8,
	uppercase = false,


-- TEXT ALIGNMENT STUFF
-- alignment top_left
	alignment = 'top_right',
-- alignment bottom_left
-- alignment bottom_right
	gap_x = 10,--Horizontal Gap between borders of screen and text
	gap_y = 10,--Vertical Gap between borders of screen and text


-- TEXT TO BE DISPLAYED IN CONKY WINDOW

};

conky.text = [[
$color
${color magenta}SYSTEM ${hr 2}$color
$nodename $sysname $kernel on $machine
Maximum Operating Temperature: CPU 95 C, HDD 60 C
CPU Temp: ${acpitemp} #HDD Temp: ${hddtemp} 
Load: ${loadavg}

${color yellow}Core 0: ${hr 2}$color
Freq: ${freq 1}MHz
${cpubar cpu1 10,70}
${cpugraph cpu1 000000 ffffff}

${color red}Core 1: ${hr 2}$color
Freq: ${freq 2}MHz
${cpubar cpu2 10,70}
${cpugraph cpu2 000000 ffffff}

-- ${color yellow}Core 2: ${hr 2}$color
-- Freq: ${freq 3}MHz
-- ${cpubar cpu3 10,70}
-- ${cpugraph cpu3 000000 ffffff}

-- ${color red}Core 3: ${hr 2}$color
-- Freq: ${freq 4}MHz
-- ${cpubar cpu4 10,70}
-- ${cpugraph cpu4 000000 ffffff}
NAME             PID     CPU%   MEM%
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${top name 6} ${top pid 6} ${top cpu 6} ${top mem 6}
${top name 7} ${top pid 7} ${top cpu 7} ${top mem 7}
${top name 8} ${top pid 8} ${top cpu 8} ${top mem 8}
${top name 9} ${top pid 9} ${top cpu 9} ${top mem 9}
${top name 10} ${top pid 10} ${top cpu 10} ${top mem 10}

${color yellow}MEMORY / DISK ${hr 2}$color
RAM: $memperc% ${membar 6}$color
Swap: $swapperc% ${swapbar 6}$color

${color yellow}NETWORK (${addr wlan0}) ${hr 2}$color
Down: $color${downspeed wlan0}                  Up: ${upspeed wlan0}
${downspeedgraph wlan0 25,140 000000 ff0000} ${alignr}${upspeedgraph wlan0 25,140 000000 00ff00}$color
Total: ${totaldown wlan0}                Total: ${totalup wlan0} #${alignr}

Inbound: ${tcp_portmon 1 32767 count}  Outbound: ${tcp_portmon 32768 61000 count}${alignr}  Total:${tcp_portmon 1 65535 count}


-- ${color yellow}LOGGING ${hr 2}$color
-- ${execi 30 tail -n3 /var/log/messages | fold -w50}

-- wlan0 eth0 wlan1 eth1
 
]];
Command Output
Code:
anonymous@jessie1:~$ conky
Conky: /etc/conky/conky.conf: 1: no such configuration: '--'
Conky: /etc/conky/conky.conf: 2: no such configuration: '--[['
Conky: /etc/conky/conky.conf: 3: no such configuration: 'Conky,'
Conky: /etc/conky/conky.conf: 5: no such configuration: 'Any'
Conky: /etc/conky/conky.conf: 7: no such configuration: 'All'
Conky: /etc/conky/conky.conf: 9: no such configuration: 'Please'
Conky: /etc/conky/conky.conf: 11: no such configuration: 'Copyright'
Conky: /etc/conky/conky.conf: 12: no such configuration: 'Copyright'
Conky: /etc/conky/conky.conf: 13: no such configuration: 'All'
Conky: /etc/conky/conky.conf: 15: no such configuration: 'This'
Conky: /etc/conky/conky.conf: 16: no such configuration: 'it'
Conky: /etc/conky/conky.conf: 17: no such configuration: 'the'
Conky: /etc/conky/conky.conf: 18: no such configuration: '(at'
Conky: /etc/conky/conky.conf: 20: no such configuration: 'This'
Conky: /etc/conky/conky.conf: 21: no such configuration: 'but'
Conky: /etc/conky/conky.conf: 22: no such configuration: 'MERCHANTABILITY'
Conky: /etc/conky/conky.conf: 23: no such configuration: 'GNU'
Conky: /etc/conky/conky.conf: 24: no such configuration: 'You'
Conky: /etc/conky/conky.conf: 25: no such configuration: 'along'
Conky: /etc/conky/conky.conf: 26: no such configuration: ']]'
Conky: /etc/conky/conky.conf: 28: no such configuration: 'conky.config'
Conky: /etc/conky/conky.conf: 29: config file error
Conky: /etc/conky/conky.conf: 32: config file error
Conky: /etc/conky/conky.conf: 44: no such configuration: 'minimum_height'
Conky: /etc/conky/conky.conf: 45: no such configuration: 'minimum_width'
Conky: /etc/conky/conky.conf: 46: config file error
Conky: /etc/conky/conky.conf: 53: config file error
Conky: use_spacer should have an argument of left, right, or none.  '= 'none',' seems to be some form of 'false', so defaulting to none.
Conky: /etc/conky/conky.conf: 60: no such configuration: '}'
Conky: /etc/conky/conky.conf: 62: no such configuration: 'conky.text'
Conky: /etc/conky/conky.conf: 63: no such configuration: '${scroll'
Conky: /etc/conky/conky.conf: 64: no such configuration: '$hr'
Conky: /etc/conky/conky.conf: 65: no such configuration: '${color'
Conky: /etc/conky/conky.conf: 66: no such configuration: '${color'
Conky: /etc/conky/conky.conf: 67: no such configuration: '${color'
Conky: /etc/conky/conky.conf: 68: no such configuration: '${color'
Conky: /etc/conky/conky.conf: 69: no such configuration: '${color'
Conky: /etc/conky/conky.conf: 70: no such configuration: '${color'
Conky: /etc/conky/conky.conf: 71: no such configuration: '${color'
Conky: /etc/conky/conky.conf: 72: no such configuration: '$hr'
Conky: /etc/conky/conky.conf: 73: no such configuration: '${color'
Conky: /etc/conky/conky.conf: 74: no such configuration: '/'
Conky: /etc/conky/conky.conf: 75: no such configuration: '${color'
Conky: /etc/conky/conky.conf: 76: no such configuration: 'Up:$color'
Conky: /etc/conky/conky.conf: 77: no such configuration: '$hr'
Conky: /etc/conky/conky.conf: 78: no such configuration: '${color'
Conky: /etc/conky/conky.conf: 79: no such configuration: '${color'
Conky: /etc/conky/conky.conf: 80: no such configuration: '${color'
Conky: /etc/conky/conky.conf: 81: no such configuration: '${color'
Conky: /etc/conky/conky.conf: 82: no such configuration: '${color'
Conky: /etc/conky/conky.conf: 83: no such configuration: ']]'
Conky: missing text block in configuration; exiting
anonymous@jessie1:~$
 
Old 06-22-2016, 03:50 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 18,383
Blog Entries: 12

Rep: Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618
that's conky 1.10 syntax.
it is incompatible with conky 1.9.x syntax.
what conky version are you running now?
Code:
conky --version
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] no system sounds in debian 8.3 jessie-gnome Daveb3 Debian 7 03-25-2016 03:54 PM
[SOLVED] add to startup programs in Debian Jessie Gnome gcdesroches Linux - Newbie 6 12-09-2015 03:20 AM
Gnome and Xfce on Debian Jessie Install? jogl_z_8 Linux - Newbie 3 03-25-2015 05:39 PM
[SOLVED] Conky not loading on startup debian 7 gnome Tadaen Linux - Software 5 07-09-2013 07:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration