Conky and Ghost

Add your Tips and tricks to configure and tweak your GhostBSD System here.
Post Reply
ward
Posts: 24
Joined: Mon Aug 15, 2016 9:18 pm

Conky and Ghost

Post by ward »

Hi,

Hey, I'm a graphic artist at large who is just getting back to the game. I'm up and running with 10.3 and thought I would share my conky.conf. Just install conky from OctoPkg (wrong about that:

Code: Select all

sudo pkg install conky
.

It's an awesome system monitor and I found an old version of CrunchBang Linux's config (a great linux distro which is dead now) and adapted it first to Ubuntu with Cinnamon and now Ghost with XFCE.

You'll find some commented out parts for different compositor setups.

If you are not into XMMS2 yet, I suggest you get it.

Code: Select all

# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:
# http://crunchbanglinux.org/forums/topic/2047/conky-help/
#
# Enjoy! :)
##############################################
# Settings
##############################################
background yes
use_xft yes
xftfont Liberation Sans:size=9
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
##############################################
# Compositing tips:
# Conky can play strangely when used with
# different compositors. I have found the
# following to work well, but your mileage
# may vary. Comment/uncomment to suit.
##############################################
## no compositor
own_window_type override
own_window_argb_visual no
 
## xcompmgr
#own_window_type override
#own_window_argb_visual yes
 
## cairo-compmgr
#own_window_type desktop 
#own_window_argb_visual yes
##############################################
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 200
maximum_width 240
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color 656667
default_shade_color 000000
default_outline_color 828282
alignment top_right
gap_x 12
gap_y 56
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
##############################################
#  Output
##############################################
TEXT
${color #078ba4}
S Y S T E M    I N F O
${hr}
Host:$alignr$nodename
Kernel:$alignr$kernel
Uptime:$alignr$uptime
RAM:$alignr$mem/$memmax
Swap usage:$alignr$swap/$swapmax
Disk usage:$alignr${fs_used /}/${fs_size /}
CPU usage:$alignr${cpu cpu0}%

#${color white}Filesystem ${hr 1}${color}
F I L E S Y S T E M
${hr}
Home: ${alignr}${fs_free /} / ${fs_size /}
${fs_bar 4 /}
#dos: ${alignr}${fs_free /dos} / ${fs_size /dos}
#${fs_bar 4 /dos}

#${color white}NETWORK ${hr 1}${color}
N E T W O R K
${hr}
IP: ${addr wlan0}
Down ${downspeed wlan0} k/s ${alignr}Up ${upspeed wlan0} k/s
${downspeedgraph wlan0 25,107} ${alignr}${upspeedgraph wlan0 25,107}
Total ${totaldown wlan0} ${alignr}Total ${totalup wlan0}
#

#${color white}top${hr 1}${color}
T O P
${hr}
${top name 1}${alignc}${top cpu 1}${alignr}${top pid 1}
${top name 2}${alignc}${top cpu 2}${alignr}${top pid 2}
${top name 3}${alignc}${top cpu 3}${alignr}${top pid 3}
${top name 4}${alignc}${top cpu 4}${alignr}${top pid 4}
${top name 5}${alignc}${top cpu 5}${alignr}${top pid 5}

X M M S 2
${hr}

${execi 10 xmms2 list}
Anyway, just a meandering whim of mine.

Image

Enjoy!

ward
CarolineWebb
Posts: 1
Joined: Thu Jul 20, 2017 6:37 am

Re: Conky and Ghost

Post by CarolineWebb »

It is so nice of you for sharing here old version of CrunchBang Linux's config and adapted it first to Ubuntu with Cinnamon and now Ghost with XFCE. It is very helpful to IT students who are getting personal statement writer service from experts at Personal Statement Folks.
ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm

Re: Conky and Ghost

Post by ASX »

CarolineWebb wrote:It is so nice of you for sharing here old version of CrunchBang Linux's config and adapted it first to Ubuntu with Cinnamon and now Ghost with XFCE. It is very helpful to IT students who are getting personal statement writer service from experts at Personal Statement Folks.
most likely you are the sister of this guy: viewtopic.php?f=64&t=411&p=4338#p4338
ward
Posts: 24
Joined: Mon Aug 15, 2016 9:18 pm

Re: Conky and Ghost

Post by ward »

Haha. I burned out on Conky anyway.
ward
Posts: 24
Joined: Mon Aug 15, 2016 9:18 pm

Re: Conky and Ghost

Post by ward »

Here's my latest. This one runs in it's own space on the right and your apps will maximize w/o covering it.

Code: Select all

# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:
# http://crunchbanglinux.org/forums/topic/2047/conky-help/
#
# Enjoy! :)
##############################################
# Settings
##############################################
#background yes
use_xft yes
xftfont Liberation Sans:size=9
xftalpha 1
update_interval 1.0
total_run_times 0
#own_window yes
#own_window_transparent yes 
##############################################
# Compositing tips:
# Conky can play strangely when used with
# different compositors. I have found the
# following to work well, but your mileage
# may vary. Comment/uncomment to suit.
##############################################
## no compositor
#own_window_type override
#own_window_argb_visual no
 
## xcompmgr
#own_window_type override
#own_window_argb_visual yes
 
## https://ubuntuforums.org/showthread.php?t=2070788
background yes
own_window yes
own_window_type panel
own_window_transparent yes
own_window_argb_visual yes

##############################################
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 200
maximum_width 200
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
default_color 656667
default_shade_color 000000
default_outline_color 828282
alignment top_right
gap_x 12
gap_y 25
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
##############################################
#  Output
##############################################
TEXT
${color #078ba4}
S Y S T E M    I N F O
${hr}
Host:$alignr$nodename
Kernel:$alignr$kernel
Uptime:$alignr$uptime
RAM:$alignr$mem/$memmax
Swap usage:$alignr$swap/$swapmax
Disk usage:$alignr${fs_used /}/${fs_size /}
CPU usage:$alignr${cpu cpu0}%

#${color white}Filesystem ${hr 1}${color}
F I L E S Y S T E M
${hr}
Home: ${alignr}${fs_free /} / ${fs_size /}
${fs_bar 4 /}
Q-DISK: ${alignr}${fs_free /media/wardbones/Q-DISK/} / ${fs_size /media/wardbones/Q-DISK/}
${fs_bar 4 /media/wardbones/Q-DISK/}

#${color white}NETWORK ${hr 1}${color}
N E T W O R K
${hr}
IP: ${addr wlan0}
Down ${downspeed wlan0} k/s ${alignr}Up ${upspeed wlan0} k/s
${downspeedgraph wlan0 25,107} ${alignr}${upspeedgraph wlan0 25,107}
Total ${totaldown wlan0} ${alignr}Total ${totalup wlan0}
#

#${color white}top${hr 1}${color}
T O P
${hr}
${top name 1}${alignc}${top cpu 1}${alignr}${top pid 1}
${top name 2}${alignc}${top cpu 2}${alignr}${top pid 2}
${top name 3}${alignc}${top cpu 3}${alignr}${top pid 3}
${top name 4}${alignc}${top cpu 4}${alignr}${top pid 4}
${top name 5}${alignc}${top cpu 5}${alignr}${top pid 5}

A C P I | T E M P | ${acpitemp} C
${hr} 

X M M S 2
${hr}

${execi 10 xmms2 list}
plumtreed
Posts: 68
Joined: Sat Nov 03, 2018 7:14 am
Location: Australia

Re: Conky and Ghost

Post by plumtreed »

.....just as I set up Conky from 'Software Station' your post appeared.....good to see what you have done.........gotta be honest but I haven't got it working yet but It looks like it should go OK

Conky can be touchy and I would prefer to be using 'Conky Manager'......much easier for a weekend warrior1
ward
Posts: 24
Joined: Mon Aug 15, 2016 9:18 pm

Re: Conky and Ghost

Post by ward »

The part that is tricky is this one:

Code: Select all

## https://ubuntuforums.org/showthread.php?t=2070788
background yes
own_window yes
own_window_type panel
own_window_transparent yes
own_window_argb_visual yes
If you comment all that out, it won't try to divide your desktop and is easier to run. I would start there.

Here's what this one looks like:

https://drive.google.com/open?id=1KFPQE ... BnvMOlunGj

It's pretty fun when you get the hang of it.

:D
plumtreed
Posts: 68
Joined: Sat Nov 03, 2018 7:14 am
Location: Australia

Re: Conky and Ghost

Post by plumtreed »

That looks great, i'll try your suggestion/
thorjeus
Posts: 4
Joined: Sun Oct 27, 2019 7:37 am

Re: Conky and Ghost

Post by thorjeus »

Hi,

I'm using your code to my conky.conf but got this error message:

thorjeus@ghostbsd /u/h/thorjeus> conky
conky: Syntax error (/home/thorjeus/.conkyrc:1: unexpected symbol near char(3)) while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: [string "..."]:147: attempt to index local 'settings' (a nil value)

What should i do?

Thanks & Regards.

Edited: SOLVED.
mkrude
Posts: 1
Joined: Sat Aug 07, 2021 10:10 pm

Re: Conky and Ghost

Post by mkrude »

i know this is an old thread but i just hopped over from linux/debian. im trying to set up my normal conky but cant seem to find the equivalent of [etc/xdg/autostart/conky.desktop] so i can start conky at boot. any help appreciated. thank you
Post Reply