You are not logged in.
Hi
I am trying to get Conky with same look as Bunsenlabs on Debian, could anyone post Conky config for me please (default one)?
Tried to find it on Google but couldnt find it.
Thanks
Offline
Hi
I am trying to get Conky with same look as Bunsenlabs on Debian, could anyone post Conky config for me please (default one)?
Tried to find it on Google but couldnt find it.
Thanks
This one?
# For commands above TEXT check:
# [url]http://conky.sourceforge.net/config_settings.html[/url]
#
# For commands available below TEXT check:
# [url]http://conky.sourceforge.net/variables.html[/url]
# Bunsen Labs Conky help threads
# [url]http://crunchbang.org/forums/viewtopic.php?pid=371424#p371424[/url]
# beta tested by: smacz
# Enjoy! :)
# pkill -xf "conky -c $HOME/.config/conky/Classic.conkyrc" &
##############################################
# Settings
##############################################
background yes
use_xft yes
xftfont Sans-serif:size=11
#xftfont Liberation Sans:size=11
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type normal #desktop
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
own_window_class Conky
own_window_title Bunsen Labs Classic CrunchBang Conky
double_buffer yes
minimum_size 200 200
maximum_width 240
draw_shades no
default_shade_color 000000
draw_borders no
draw_graph_borders no
default_color 656667 # Waldorf original colour
#default_color 7a7a7a # Flame & Bunsen Grey
#default_color 929292 # Labs Grey
#default_color C0C0C0 # Silver
draw_outline no
default_outline_color 828282
alignment top_right
gap_x 20
gap_y 45
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
##############################################
# Output
##############################################
TEXT
S Y S T E M I N F O
${hr}
Host:$alignr$nodename
Uptime:$alignr$uptime
RAM:$alignr$mem/$memmax
Swap usage:$alignr$swap/$swapmax
Disk usage:$alignr${fs_used /}/${fs_size /}
CPU usage:$alignr${cpu cpu0}%
S H O R T C U T K E Y S
${hr}
Alt+F2$alignr Run Dialog
Alt+F3$alignr Alt Menu
Super+Space$alignr Main Menu
Super+Tab$alignr Client Menu
Super+t$alignr Terminal
Super+f$alignr File Manager
Super+e$alignr Editor
Super+m$alignr Media Player
Super+w$alignr Web Browser
Super+h$alignr Task Manager
Super+l$alignr Lock Screen
Super+v$alignr Volume Control
Super+x$alignr Logout
PrtSc$alignr Screenshot
== MOD Edit ==
Please use code tags:
[code]
code here
[/code]
Last edited by nobody4 (2017-01-16 23:58:47)
# For commands above TEXT check:
# http://conky.sourceforge.net/config_settings.html
#
# For all command available below text check:
# http://conky.sourceforge.net/variables.html
# NOTE: You can add other commands with the "exec" options
# and LUA
# beta tested by: smacz
# Enjoy! :)
# pkill -xf "conky -c $HOME/conky-BL/bl-right.conky" &
### Begin Window Settings ##################################################
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
own_window_colour 000000
own_window_class Conky
own_window_title Bunsen Labs Default Right Conky
### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type normal
# own_window_argb_visual yes # Options: yes or no
### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
# own_window_argb_value 50
minimum_size 180 0 # w|h
maximum_width 180
gap_x 10 ### left &right
gap_y 60 ### up & down
alignment tr
#################################################### End Window Settings ###
### Font Settings ##########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
#xftfont Monofur:bold:size=11
xftfont Liberation Mono:bold:size=9
# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes
uppercase no
###################################################### End Font Settings ###
### Color Settings #########################################################
draw_shades no ##yes
default_shade_color 000000
draw_outline no ## amplifies text if yes
default_outline_color 000000
default_color 808080 #BunsenFlame Grey
color0 B0E0E6 # PowderBlue
color1 545454 # Bunseb Dark Grey
color2 D8BFD8 # Thistle
color3 9ACD32 # YellowGreen
color4 FFA07A # LightSalmon
#color5 FFDEAD # NavajoWhite
color5 C0C0C0 # Silver
color6 00BFFF # DeepSkyBlue
color7 5F9EA0 # CadetBlue
color8 BDB76B # DarkKhaki
color9 CD5C5C # IndianRed
##################################################### End Color Settings ###
### Borders Section ########################################################
draw_borders no
# Stippled borders?
stippled_borders 5
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 2
# graph borders
draw_graph_borders yes #no
#default_graph_size 15 40
##################################################### End Borders Secton ###
### Miscellaneous Section ##################################################
# Boolean value, if true, Conky will be forked to background when started.
background yes
# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none
# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
text_buffer_size 6144
# Subtract (file system) buffers from used memory?
no_buffers yes
# change GiB to G and MiB to M
short_units yes
# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2
# Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
# $image lots. Set to 0 to disable the image cache.
imlib_cache_size 0
# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes
# Maximum size of user text buffer, i.e. layout below TEXT line in config file
# (default is 16384 bytes)
# max_user_text 16384
# Desired output unit of all objects displaying a temperature. Parameters are
# either "fahrenheit" or "celsius". The default unit is degree Celsius.
# temperature_unit Fahrenheit
############################################## End Miscellaneous Section ###
update_interval 1
TEXT
${alignc}S Y S T E M I N F O
${hr}
Host:${alignr}${nodename}
Uptime:${alignr}${uptime}
${goto 60}Used${alignr}Size
Root${goto 60}${fs_used /}${alignr}${fs_size /}
Home${goto 60}${fs_used /home}${alignr}${fs_size /home}
/M/5${goto 60}${fs_used /media/5}${alignr}${fs_size /media/5}
${goto 60}MEM${alignr}MAX
RAM${goto 60}${mem}${alignr}${memmax}
Swap${goto 60}${swap}${alignr}${swapmax}
CPU:${goto 60}N° Used${alignr}GHz
Avg${goto 60}0 ${if_match ${cpu cpu0}<10}${color1}00${color}${cpu cpu0}\
${else}${if_match ${cpu cpu0}<100}${color1}0${color}${cpu cpu0}\
${else}${cpu cpu0}${endif}${endif}%${alignr}${freq_g}
${alignc}S H O R T C U T K E Y S
${hr}
[Alt] + F2${alignr}Run Dialog
[Alt] + F3${alignr}Alt Menu
[S] + Space${alignr}Main Menu
[S] + Tab${alignr}Client Menu
[S] + t${alignr}Terminal
[S] + f${alignr}File Manager
[S] + e${alignr}Editor
[S] + m${alignr}Media Player
[S] + w${alignr}Web Browser
[S] + h${alignr}Task Manager
[S] + l${alignr}Lock Screen
[S] + v${alignr}Volume Control
[S] + x${alignr}Logout
[PrtSc]${alignr}Screenshot
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
I think he means this one
Yep that one, thanks
Shouldn't it be enough to just paste it to .conkyrc ? After running Conky it doesn't look too good
Offline
Yes, if you paste that to ~/.conkyrc it should be just fine.
On second though ... What desktop are you running? Some things change there.
### Color Settings #############
draw_shades yes <<<< --- change to no
default_shade_color 000000draw_outline no # amplifies text if yes
default_outline_color 000000
to start with.
IF you have a conky that works well in your Debian setup, copy just what is below TEXT from the Bunsen conky to that conky and run it.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Yes, if you paste that to ~/.conkyrc it should be just fine.
I made a .conkyrc file in /home, so it's the same i guess
But it looks very weird
Offline
Offline
Ok i did it and it looks better, but still far from Bunsen config.
I thought it's gonna be a metter of copying cfg file
http://i.imgur.com/gspoanN.png
I am on Debian stretch , Gnome 3.22
Last edited by pawel2k (2017-01-17 00:52:58)
Offline
Do you have a working conky you can post?
With that black background it looks like conky is reading the root wallpaper.
Just a sec ...
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Do you have a working conky you can post?
Do you mean default config or what ?
If yes, i don't know how to access it
Offline
(I am searching the Debian Forums as well)
Question: Do you have "conky-all" inastalled?
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Sector11 wrote:Do you have a working conky you can post?
Do you mean default config or what ?
If yes, i don't know how to access it
Actually I meant another conky you could run ... try this.
Save this as ~/test.conky
## pkill -xf "conky -c /media/5/Conky/test.conky" &
## ---------- Begin Window Settings
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints skip_taskbar,skip_pager
own_window_colour 000000
own_window_class Conky
own_window_title Sector11's Test Conky
## ARGB can be used for real transparencyown_window_hints
## own_window_argb_visual yes ## Options: yes or no
## Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
## own_window_argb_value 80
#minimum_size 250 0
#maximum_width 250
minimum_size 300 0
maximum_width 300
gap_x 90 ## l|r
gap_y 90 ## u|d
alignment tl
## ---------- End Window Settings
## ---------- Font Settings
## Force UTF8? requires XFT
override_utf8_locale yes
## Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont Liberation Mono:bold:size=11
## Alpha of Xft font. Must be a value at or between 1 and 0
xftalpha 1.0
## --------- End Font Settings
## --------- Color Settings
draw_shades no
default_shade_color 000000
draw_outline no
default_outline_color 000000
default_color DCDCDC #Gainsboro
color0 98FB98 #PaleGreen
color1 778899 #LightSlateGray
color2 FFD700 #Gold
color3 B0E0E6 #PowderBlue
color4 F4A460 #SandyBrown
color5 DEB887 #BurlyWood
color6 00BFFF #DeepSkyBlue
color7 5F9EA0 #CadetBlue
color8 FFA500 #Orange
color9 FF4500 #OrangeRed
## ---------- End Color Settings
## ---------- Begin Borders Section
draw_borders no
## Stippled borders?
stippled_borders 5
## border margins
border_inner_margin 5
border_outer_margin 0
## border width
border_width 2
## graph borders
draw_graph_borders yes ## no
## default_graph_size 15 40
## ---------- End Borders Secton
## ---------- Begin Miscellaneous Section
## Boolean value, if true, Conky will be forked to background when started.
background no ## yes
## Adds spaces around certain objects to stop them from moving other things
## around, this only helps if you are using a mono font
## Options: right, left or none
use_spacer none
## Default and Minimum size is 256 - needs more for single commands that
## "call" a lot of text IE: bash scripts
text_buffer_size 3072
## Subtract (file slystem) buffers from used memory?
no_buffers yes
## change GiB to G and MiB to M
short_units yes
## Like it says, ot pads the decimals on % values
## doesn't seem to work since v1.7.1
pad_percents 2
# Imlib2 image cache size, in bytes. Defaults to 4MiB. Increase this value if
# you use $image lots. Set to 0 to disable the image cache.
imlib_cache_size 0
# Interval (in seconds) to flush Imlib2 cache.
#imlib_cache_flush_interval 900
## default_bar_size 0 10
## Use the Xdbe extension? (eliminates flicker)
## It is highly reco${color}mmended to use own window with this one
## so double buffer won't be so big.
double_buffer yes
## Maximum size of user text buffer, i.e. layout below TEXT line in config file
## default is 16384 bytes)
##max_user_text 16384
## Desired output unit of all objects displaying a temperature. Parameters are
## either "fahrenheit" or "celsius". The default unit is degree Celsius.
## temperature_unit Fahrenheit
top_name_width 8
## ---------- End Miscellaneous Section
update_interval 1
TEXT
${time %T}${alignr}${time %x}
${voffset -15}${alignc}${color6}UTC:${color} ${utime %H:%M} ${color6}${execi 1 /media/5/Conky/scripts/swatch.sh}${color}
${alignc}${color2}Boot:${color} ${pre_exec who -b | cut -c23-} ${color2}Up:${color} ${exec w | awk '/ up /{gsub(/,$/,"",$3);print $3}'}
${color0}CPU Total${color} ${if_match ${cpu cpu0}<10}··${cpu cpu0}\
${else}${if_match ${cpu cpu0}<100}·${cpu cpu0}\
${else}${color9}${cpu cpu0}${endif}${endif}${color}%\
${alignr}${color0}Test Conky${color} v${conky_version}
${alignc}${color9}${swapbar 0,30}${color} ↓ test code ↓ ${color9}${swapbar 0,30}${color}
${color9}${swapbar 0}${color}
This is just a test conky
${color9}${swapbar 0}${color}
${alignc}${color9}${swapbar 0,15}${color} ↑ between lines ↑ ${color9}${swapbar 0,15}${color}
Now start it with:
conky -c ~/test.conky
it will open in a "window" so you can close (stop) it like any other app.
Let's hope it looks like mine, if not we'll tweak it until it works.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
It looks similiar, although fonts are much bolder.
Also after resizing the window, i have some strange artifacts in it, even if i restart Conky
And yes i have Conky-all installed.
Last edited by pawel2k (2017-01-17 01:32:11)
Offline
OK we are getting somewhere.
but my question:
Are you running conky-all? and what version? If you don't know please post:
conky -v
Also in the "test.conky"
change:
own_window_type normal --- to
own_window_type desktop
I forgot to do that ... then rerun it.
If you have to resize the window you probably do not have "Liberation Mono" font installed.
Change that to a mono font you do have.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Sector11 wrote:I think he means this one
Yep that one, thanks
Shouldn't it be enough to just paste it to .conkyrc ? After running Conky it doesn't look too good
http://i.imgur.com/hqokAcxm.png
http://i.imgur.com/hqokAcx.png
How did you center the calendar?
Conky 1.10.6
I changed the fonts line to:
xftfont Overpass Regular:size=11
Offline
How did you center the calendar?
It is centered by default
Offline
How did you center the calendar?
Spacing is built in to the actual command line for the calendar with a ${goto xxx} and the line must start with a matching ${goto xxx} ...
Here's the time and calendar section of my default conky you asked about:
${font LED_mono:size=27}${goto 40}${color1}88:88:88${goto 40}${color5}${time %T}${color}${font}
${alignc}${swapbar 0,100}
${goto 40}${execpi 900 ncal -bh -m `date +%m` -A-1 -B1 | sed ':a;N;$!ba;s/\n/\n${goto 40}/g'}
${goto 82}${color6}${time %b %Y}${color}
${goto 40}${if_match "${time %a}" == "Sun"}${color6}Su${color} Mo Tu We Th Fr Sa${else}\
${if_match "${time %a}" == "Mon"}Su ${color6}Mo${color} Tu We Th Fr Sa${else}\
${if_match "${time %a}" == "Tue"}Su Mo ${color6}Tu${color} We Th Fr Sa${else}\
${if_match "${time %a}" == "Wed"}Su Mo Tu ${color6}We${color} Th Fr Sa${else}\
${if_match "${time %a}" == "Thu"}Su Mo Tu We ${color6}Th${color} Fr Sa${else}\
${if_match "${time %a}" == "Fri"}Su Mo Tu We Th ${color6}Fr${color} Sa${else}\
Su Mo Tu We Th Fr ${color6}Sa${color}${endif}${endif}${endif}${endif}${endif}${endif}
${goto 40}${execpi 900 LAR=`date +%-d`; ncal -bh | sed '2d' | sed -e '1d' -e 's/\<'$LAR'\>/${color6}&${color}/' | sed ':a;N;$!ba;s/\n/\n${goto 40}/g'}${color}
${goto 40}${execpi 900 ncal -bh -m `date +%m` -A1 -B-1 | sed ':a;N;$!ba;s/\n/\n${goto 40}/g'}
Check out: Conky - Calendars / Clocks / Time - a ton of tricks in there.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Oh i thought he was talking about my screenshot
Offline
Conky 1.10.6
I changed the fonts line to:
xftfont Overpass Regular:size=11
http://i.imgur.com/MA0LIxkm.png
http://i.imgur.com/MA0LIxk.png
OK that's part of the problem "v1.10" ... that's LUA based. back in a minute....
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline