Jump to content

Ubuntu conky autostart problem


SystemCrash86

Recommended Posts

Hey Guys, I have started using Ubuntu 13.04 more and I am having trouble using a program called conky to personalise my screen. I have windows 7 and a program called rainmeter which I used and had no problems. However in Ubuntu and using rainmeters equivalent conky I am having an issue getting the widget to start on boot and am not sure what to do. I have two more widgets on my desktop and they load when my computer does so I am really stuck as to why this one doesn't.

In the screenshot the "CPU/RAM/SWAP" and "MY COMPUTER" widget are the ones that load on boot and the lsd chain Red Queen is the one i am having the issues with as it wont load on boot. I am also having an issue trying to move the text "machine" (at the top) to one side so the word can be seen better.

The config file that i am working from for the "Red Queen" widget is as follows:

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#
# RED QUEEN v.2.0
#	by The Helmsman (http://thehelmsman.deviantart.com/)
# 
# Preview:
# http://www.frozenmodule.com/fk/ca/Desktop_logged_out.jpg
# http://www.frozenmodule.com/fk/ca/Desktop_logged_in2.jpg
#
# Wallpaper:
# http://www.frozenmodule.com/fk/ca/Red_Queen_Wallpaper.jpg
#
# Conky:
# http://www.frozenmodule.com/fk/ca/conky_redqueen.zip
#
# FOREWORD:
#	The original idea came out from the Resident Evil movie
# 	When initial wallpaper was created, the next decision was
#	to enhance the desktop look and feel with some widgets
#	After a small research of widgets available for Ubuntu
#	I came up with decision to use Conky and stumble upon
#	post of Georgi Karavasilev on how to set up Conky on Ubuntu
#	(http://www.omgubuntu.co.uk/2012/04/smarten-up-your-desktop-with-this-conky-wallpaper-combo)
#	Then, when I was reading comments to his post, I found a nice desktop 
#	sample of Conky on John Murray's computer which was heavily based on
#	VinDSL work (http://ubuntuforums.org/showthread.php?t=1771033)
#	This is how the first version of conkyrc came out
#	Later, during next attempts to improve look-and-feel of
#	the whole Red Queen Theme, I tried to enhance it with
#	hexagonal grid and found a brilliant usage of it by
#	Carley166 (http://charley166.deviantart.com/art/conky-conf-265502178)
#	This is how the current version was borned
#	During my work on using hexagonal grid as a placeholder of
#	conky monitoring I decided to use best of both conkyrc from
#	John Murray and Carley166
#
# HOW TO INSTALL:
# 1. Unpack zip file to your home directory, you'll get new folder called conky_redqueen
# 2. Create .fonts directory in your home folder
#		For example, your hole folder is: /home/redqueen
#		Run following command to create .fonts folder in it:
#			mkdir .fonts
# 3. Install Conky by running following commands:
#		apt-get install conky-all
# 4. Optional: if you have Ubuntu 12.04, you need to update Conky by running following command
# 		sudo add-apt-repository ppa:vincent-c/conky
#		sudo apt-get update
# More information can be found here: http://ubuntuforums.org/showthread.php?t=1771033
# 5. Copy all fonts from conky_redqueen/.fonts folder to .fonts folder inside your home directory
# 6. Reload fonts by running following command inside your .fonts folder:
#		fc-cache -fv
# 7. Setup wallpaper from conky_redqueen/wallpaper as a desktop background of your Ubuntu
# 8. Run conky by executing following command inside your home directory:
#		conky -c conky_redqueen/conkyrc
#
# HOW TO STOP:
# 1. Locate conky process by running following command:
#		ps -A | grep conky
# You should get something like:
# 		8987 pts/0    00:02:27 conky
# 2. Stop process by executing following command:
#		kill 8987
#	
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#
# ¡ BluePrint ! 
#
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# Tested on following platforms:
#
#	Ubuntu 12.04 'Precise Pangoline'
#	Screen Resolution:
#		1920x1080x24 (wallpaper)
#		1600x1200x24 (virtual machine - WMware player)

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Prerequisites (required)
#
#  conky-all 1.8.0 or 1.8.1
#  UTF-8 Compatible Text Editor (SublimeText2 preferable)

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Installed fonts (required)
#
#  ConkyWeather  (Stanko Metodiev - included in Conky distro)
#  ConkyWindNESW (Stanko Metodiev - included in Conky distro)
#  Cut Outs for 3D FX (Fonts & Things)
#  Droid Font Family (Google Android SDK)
#  KR A Round (Kat's Fun Fonts)
#  Moon Phases (Curtis Clark)
#  OpenLogos (Icoma)
#  PizzaDude Bullets (Jakob Fischer)
#  Radio Space (Iconian Fonts)
#  StyleBats (Vinterstille)
#  Ubuntu Font Family (Canonical Ltd)
#  Ubuntu Title Bold (Paulo Silva - not included in link below)
#  Weather (Jonathan Macagba)
#  Zekton (Ray Larabie)
# 
## Tips n' Tricks from Mr. Peachy, djyoung4, and 42dorian (Thanks!)
## Most necessary fonts can be downloaded here: http://ompldr.org/vOHdoag
## Unzip the fonts into your font folder, for example: /home/username/.fonts
## Run this command in a terminal (rebuilds font cache file): sudo fc-cache -fv

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Use XFT? Required to Force UTF8 (see below)
#
use_xft yes
xftfont Zekton:size=9
xftalpha 0.1

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Force UTF8? Requires XFT (see above)
## Displays degree symbol, instead of °, etc.
#
override_utf8_locale yes

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## This buffer is used for text, single lines, output from $exec, and other variables.
## Increasing the text buffer size (too high) will drastically reduce Conky's performance.
## Decreasing the size (too low) will truncate content and cause strange display output.
## Standard text buffer size is 256 bytes (cannot be less). Adjust YOUR buffer wisely!
#
text_buffer_size 2048

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Daemonize Conky, aka 'fork to background'.
#
background yes

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Update interval in seconds.
#
update_interval 1.5

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## The number of times Conky will update before quitting.
## Zero makes Conky run forever.
#
total_run_times 0

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Create own window instead of using desktop?
#
own_window yes
own_window_type normal
own_window_class Conky
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Force images to redraw when they change.
#
imlib_cache_size 0

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Use double buffering? Reduces flicker.
#
double_buffer yes

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Draw shades?
#
draw_shades no

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Draw outlines?
#
draw_outline no

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Draw borders around text?
#
draw_borders no

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Draw borders around graphs?
#
draw_graph_borders no

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Print text to stdout?
## Print text in console?
#
out_to_ncurses no
out_to_console no

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Text alignment.
#
alignment top_left

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Minimum size of the text area.
## Syntax: minimum_size [width] [height]
#
minimum_size 280 0

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Maximum width of the text area.
## Syntax: maximum_width [width]
#
#maximum_width 240

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Gap between text and screen borders.
#
gap_x 1050
gap_y 1300

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Shorten MiB/GiB to M/G in stats.
#
short_units yes

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Pad % symbol spacing after numbers.
#
pad_percents 0

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Pad spacing between text and borders.
#
border_inner_margin 4

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Limit the length of names in "Top Processes".
#
top_name_width 10

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Subtract file system -/+buffers/cache from used memory?
## Set to yes, to produce meaningful physical memory stats.
#
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 1

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Number of net samples to average.
## Set to 1 to disable averaging.
#
net_avg_samples 1

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Add spaces to keep things from moving around?
## Only affects certain objects.
#
use_spacer right

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#	BAR SIZE
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
default_bar_size 30 8

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#	COLORS
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
default_color EDE7F7
default_shade_color 000000
color0 FF4663
color1 EDE7F7
color2 E2163D

own_window_argb_visual yes
own_window_colour 000000
own_window_argb_value 0
TEXT
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#	LOGO
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
${goto 185}${color0}${font Zekton:style=bold:size=12}${alignr}Red Queen
${goto 125}${voffset 2}${color}${font Zekton:style=bold:size=8}${alignr}${sysname}${offset 5}${pre_exec lsb_release -sd || cat /etc/*release}
${goto 147}Machine${offset 5}${voffset 0}${machine}${alignr}-${freq_g cpu0}GHz${font}

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#	TEMPERATURE
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
${goto 185}${voffset -25}${font DroidSans:bold:size=8}${color}${goto 60}TEMPERATURE: 
${goto 85}${color1}${font Zekton:style=Bold:size=9}${color2}${acpitemp}°C${color}${font}#{execi 30 sensors | grep 'Core0' | cut -c15-16}°C${color}${font}

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#	TIME
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
${voffset -7}${font DroidSans:bold:size=8}${color EDE7F7}TIME${offset 8}${color 6A6986}${voffset 20}${font}
${voffset -4}${font RadioSpace:size=30}${color EDE7F7}${if_match ${time %l}<=9}${time %H:%M:%S}${else}${if_match ${time %H}>=10}${time %H:%M:%S}${endif}${endif}${font}


#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#	CPU
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
${voffset -10}${goto 167}${voffset 6}${font StyleBats:size=9.9}k${voffset -5}${font Zekton:style=Bold:size=9}${offset 2}CPU 
${goto 172}${font Zekton:style=Bold:size=9}${color2}${cpu cpu1}%
#${font}${color} ${alignr 24}Temperature: ${color1}${font Zekton:style=Bold:size=9}${color1}${acpitemp}°C${color}${font}#{execi 30 sensors | grep 'Core0' | cut -c15-16}°C


#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#	HDD & UPTIME
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
${color1}${goto 40}${voffset 5}${font StyleBats:size=9.9}x${voffset -5}${font Zekton:style=Bold:size=9}${offset 2}HDD:
${goto 45}${font Zekton:style=Bold:size=9}${color2}${fs_used /home}
${voffset -35}${goto 110}${font StyleBats:size=10}${color1}q${voffset -5}${font Zekton:style=Bold:size=9}${offset 2}UpTime:
${goto 120}${voffset 0}${color2}${uptime_short}

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#	RAM
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
${voffset 10}${goto 80}${font StyleBats:size=10}${color1}l${voffset -5}${offset 2}${font Zekton:style=Bold:size=9}RAM${color2}
${goto 90}${font Zekton:style=Bold:size=9}${memperc}%



#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#	BACKGROUND IMAGE
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
${image ./lsd.png -p 10,0}

I got the theme from deviantart.com and tweeked it to suit my needs but there are still bits that i am havings issues with but the most important one is getting it to load on boot.

Hope someone can help

post-21318-0-08681400-1374272061_thumb.p

Link to comment
Share on other sites

own_window yes

change that to no see if that helps you

I did that and it didn't work, i changed it then i rebooted and nothing.

I have conky manager and its set to run at boot and it works for the other two widgets just not this one.

I made the script executable and place it in Startup Applications and still nothing. It still doesnt load on boot

Link to comment
Share on other sites

as an update, i also tried to use the terminal to run conky as well and it showed a few errors that i have no idea how to fix

christopher@christopher-OEM:~$ conky -c /home/christopher/conky-manager/themes/conky_redqueen/config/conkyrc
Conky: /home/christopher/conky-manager/themes/conky_redqueen/config/conkyrc: 281: no such configuration: '${goto'
Conky: /home/christopher/conky-manager/themes/conky_redqueen/config/conkyrc: 282: no such configuration: '${goto'
Conky: /home/christopher/conky-manager/themes/conky_redqueen/config/conkyrc: 283: no such configuration: '${goto'
Conky: /home/christopher/conky-manager/themes/conky_redqueen/config/conkyrc: 288: no such configuration: '${goto'
Conky: /home/christopher/conky-manager/themes/conky_redqueen/config/conkyrc: 289: no such configuration: '${goto'
Conky: /home/christopher/conky-manager/themes/conky_redqueen/config/conkyrc: 294: no such configuration: '${voffset'
Conky: /home/christopher/conky-manager/themes/conky_redqueen/config/conkyrc: 295: no such configuration: '${voffset'
Conky: /home/christopher/conky-manager/themes/conky_redqueen/config/conkyrc: 301: no such configuration: '${voffset'
Conky: /home/christopher/conky-manager/themes/conky_redqueen/config/conkyrc: 302: no such configuration: '${goto'
Conky: /home/christopher/conky-manager/themes/conky_redqueen/config/conkyrc: 309: no such configuration: '${color1}${goto'
Conky: /home/christopher/conky-manager/themes/conky_redqueen/config/conkyrc: 310: no such configuration: '${goto'
Conky: /home/christopher/conky-manager/themes/conky_redqueen/config/conkyrc: 311: no such configuration: '${voffset'
Conky: /home/christopher/conky-manager/themes/conky_redqueen/config/conkyrc: 312: no such configuration: '${goto'
Conky: /home/christopher/conky-manager/themes/conky_redqueen/config/conkyrc: 317: no such configuration: '${voffset'
Conky: /home/christopher/conky-manager/themes/conky_redqueen/config/conkyrc: 318: no such configuration: '${goto'
Conky: /home/christopher/conky-manager/themes/conky_redqueen/config/conkyrc: 323: no such configuration: '${image'
Conky: missing text block in configuration; exiting
***** Imlib2 Developer Warning ***** :
	This program is calling the Imlib call:

	imlib_context_free();

	With the parameter:

	context

	being NULL. Please fix your program.
christopher@christopher-OEM:~$ 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...