You are not logged in.
A place to show off your conky calendars » with code « ... from the simple "cal | ncal" command to scripts that do it for you.
I have a {cough cough} few so I'll be adding them slowly over time, but please don't leave me alone here, if you have a unique conky calendar - or a tweaked "John Doe's calendar" pop it in here.
I posted one in the » Show us your conky thread and nore asked about it. So let's start at the beginning as I know it. The original idea was iMBeCil's running down the left side of his screen, with current month in the centre. So credit goes to him for the multi-month conky calendar and in the long run the starting of this thread. Well, IMHO the credit goes to iMBeCil and since I'm the one typing this ....
My first tweak, look at that; Minions, and my second tweak.
Anyway to continue ... the 9 month calendar as I use it. My idea is I do not need it visible all day every day so I removed "undecorated" from own_window_hints and it starts in a frame like other apps. Start it when I need it and the [x] to close it.
first tweak is here,
second tweak can be seen here, image included, and
the one nore asked about to start here: S11_9_month_cal.conky
# conky -q -c /media/5/Conky/S11_9_month_cal.conky &
# pkill -xf "conky -q -c /media/5/Conky/S11_9_month_cal.conky" &
# Original by CrunchBang user: iMBeCil
# http://crunchbang.org/forums/viewtopic.php?pid=368592#p368592
### Begin Window Settings ##################################################
own_window yes
own_window_type normal
own_window_transparent no #yes
own_window_hints skip_taskbar,skip_pager
own_window_colour 000000
own_window_class Conky
own_window_title 9 Months
# 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
### 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 - Options: yes or no
own_window_argb_visual yes
### 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 200
minimum_size 480 0 # w|h
maximum_width 480
gap_x 400 # l|r
gap_y 100 # u|d
alignment tl
#################################################### End Window Settings ###
### Font Settings ##########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont monofur:bold:size=11
# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1.0
# Force UTF8? requires XFT ###
override_utf8_locale yes
uppercase no
###################################################### End Font Settings ###
### Color Settings #########################################################
draw_shades yes ##yes
default_shade_color 000000
draw_outline no
default_outline_color 000000
default_color 778899 #LightSlateGray
color0 8FBC8F #DarkSeaGreen
color1 778899 #LightSlateGray
color2 F5F5DC #Beige
color3 87CEFA #LightSkyBlue
color4 48D1CC #MediumTurquoise
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 B0E0E6 #PowderBlue
color8 FFD700 #Gold
color9 DC143C #Crimson
##################################################### End Color Settings ###
### Borders Section ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 05
border_outer_margin 0
# border width
border_width 0
# 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
# Subtract (file system) buffers from used memory?
no_buffers yes
############################################## End Miscellaneous Section ###
update_interval 1
TEXT
${font LED_mono:size=90}${alignc}${color5}${time %T}${color}${font}
${hr}
${goto 10}${execpi 900 ncal -bh -m `date +%m` -A-4 -B4 | sed ':a;N;$!ba;s/\n/\n${goto 10}/g'}
${voffset -120}${goto 175}${execpi 900 ncal -bh -m `date +%m` -A-3 -B3 | sed ':a;N;$!ba;s/\n/\n${goto 175}/g'}
${voffset -120}${goto 335}${execpi 900 ncal -bh -m `date +%m` -A-2 -B2 | sed ':a;N;$!ba;s/\n/\n${goto 335}/g'}
${hr}
${goto 10}${execpi 900 ncal -bh -m `date +%m` -A-1 -B1 | sed ':a;N;$!ba;s/\n/\n${goto 10}/g'}
${voffset -120}${goto 170} ${color5}${time %b %Y}${color}
${goto 175}${if_match "${time %a}" == "Sun"}${color5}Su${color} Mo Tu We Th Fr Sa${else}\
${if_match "${time %a}" == "Mon"}Su ${color5}Mo${color} Tu We Th Fr Sa${else}\
${if_match "${time %a}" == "Tue"}Su Mo ${color5}Tu${color} We Th Fr Sa${else}\
${if_match "${time %a}" == "Wed"}Su Mo Tu ${color5}We${color} Th Fr Sa${else}\
${if_match "${time %a}" == "Thu"}Su Mo Tu We ${color5}Th${color} Fr Sa${else}\
${if_match "${time %a}" == "Fri"}Su Mo Tu We Th ${color5}Fr${color} Sa${else}\
Su Mo Tu We Th Fr ${color5}Sa${color}${endif}${endif}${endif}${endif}${endif}${endif}
${goto 175}${execpi 900 LAR=`date +%-d`; ncal -bh | sed '2d' | sed -e '1d' -e 's/\<'$LAR'\>/${color5}&${color}/' | sed ':a;N;$!ba;s/\n/\n${goto 175}/g'}${color}
${voffset -120}${goto 335}${execpi 900 ncal -bh -m `date +%m` -A1 -B-1 | sed ':a;N;$!ba;s/\n/\n${goto 335}/g'}
${hr}
${goto 10}${execpi 900 ncal -bh -m `date +%m` -A2 -B-2 | sed ':a;N;$!ba;s/\n/\n${goto 10}/g'}
${voffset -120}${goto 175}${execpi 900 ncal -bh -m `date +%m` -A3 -B-3 | sed ':a;N;$!ba;s/\n/\n${goto 175}/g'}
${voffset -120}${goto 335}${execpi 900 ncal -bh -m `date +%m` -A4 -B-4 | sed ':a;N;$!ba;s/\n/\n${goto 335}/g'}
${hr}
OpenBox - use your own path:
Lable: 9 Months
Command: conky -q -c /media/5/Conky/S11_9_month_cal.conky
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Thanks for sharing. I added this to my collection.
Note to anyone running this: You wil need the monofur font from here:
http://www.dafont.com/monofur.font
I extracted the 2 fonts from the .zip file and renamed the first one to monofur.ttf then placed it in my /home/user/fonts folder.
Or you can change the font in the conky to one of your choosing. I suggest comic sans or papyrus.
The meaning of life is to just be alive. It is so plain and so obvious
and so simple. And yet everybody rushes aroound in a great panic
as if it were necessary to achieve something beyond themselves.
- Alan Watts
Offline
You're welcome Temetka.
I didn't rename my monofur font, I use it as it came: monof55.ttf
But you are right, any font can be used as long as it is a mono font (spacing may vary).
xftfont fantasque sans mono:bold:size=11 looks nice: <<-old | new -->
In fact, I think I'll leave that for a while.
TEXT
${font LED_mono:size=90}${goto 15}${color1}88:88:88${goto 15}${color5}${time %T}${color}${font}
${hr}
${goto 10}${execpi 900 ncal -bh -m `date +%m` -A-4 -B4 | sed ':a;N;$!ba;s/\n/\n${goto 10}/g'}
${voffset -120}${goto 175}${execpi 900 ncal -bh -m `date +%m` -A-3 -B3 | sed ':a;N;$!ba;s/\n/\n${goto 175}/g'}
${voffset -120}${goto 335}${execpi 900 ncal -bh -m `date +%m` -A-2 -B2 | sed ':a;N;$!ba;s/\n/\n${goto 335}/g'}
${hr}
${goto 10}${execpi 900 ncal -bh -m `date +%m` -A-1 -B1 | sed ':a;N;$!ba;s/\n/\n${goto 10}/g'}
${voffset -120}${goto 170} ${color5}${time %b %Y}${color}
${goto 175}${if_match "${time %a}" == "Sun"}${color5}Su${color} Mo Tu We Th Fr Sa${else}\
${if_match "${time %a}" == "Mon"}Su ${color5}Mo${color} Tu We Th Fr Sa${else}\
${if_match "${time %a}" == "Tue"}Su Mo ${color5}Tu${color} We Th Fr Sa${else}\
${if_match "${time %a}" == "Wed"}Su Mo Tu ${color5}We${color} Th Fr Sa${else}\
${if_match "${time %a}" == "Thu"}Su Mo Tu We ${color5}Th${color} Fr Sa${else}\
${if_match "${time %a}" == "Fri"}Su Mo Tu We Th ${color5}Fr${color} Sa${else}\
Su Mo Tu We Th Fr ${color5}Sa${color}${endif}${endif}${endif}${endif}${endif}${endif}
${goto 175}${execpi 900 LAR=`date +%-d`; ncal -bh | sed '2d' | sed -e '1d' -e 's/\<'$LAR'\>/${color5}&${color}/' | sed ':a;N;$!ba;s/\n/\n${goto 175}/g'}${color}
${voffset -120}${goto 335}${execpi 900 ncal -bh -m `date +%m` -A1 -B-1 | sed ':a;N;$!ba;s/\n/\n${goto 335}/g'}
${hr}
${goto 10}${execpi 900 ncal -bh -m `date +%m` -A2 -B-2 | sed ':a;N;$!ba;s/\n/\n${goto 10}/g'}
${voffset -120}${goto 175}${execpi 900 ncal -bh -m `date +%m` -A3 -B-3 | sed ':a;N;$!ba;s/\n/\n${goto 175}/g'}
${voffset -120}${goto 335}${execpi 900 ncal -bh -m `date +%m` -A4 -B-4 | sed ':a;N;$!ba;s/\n/\n${goto 335}/g'}
${hr}
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Very good idea.
I had searched here
unsuccessfully for a user after a 12 months calendar.
El Conkystator
is there at 9 more months what possible ...12
Offline
@ Sector11,
Do you remember, there was a conky that worked with letters and numbers, which showed time such as "It is half past nine" or "It is ten to eleven" in the old #! conky threads? I've been trying to find it, but with no luck. Maybe, you have some idea?
Last edited by nobody0 (2015-11-03 19:33:25)
Offline
Thanks S11, I'll read it through later this week.
Offline
Very good idea.
I had searched here
unsuccessfully for a user after a 12 months calendar.El Conkystator http://www.en.kolobok.us/smiles/big_standart/hi.gif
is there at 9 more months what possible ...12
Wunderbar!!!!!!! I see mobilediesels horizontal/vertical calendar in there to an immediately recognized some of my work. Made my day, danke, for the link!
Any number of months is possible. 12 months would mean no "centre" month so you would have have to select a layout and then determine which month would be the current month.
x x x
x N x
x x x
12 months
x x x x
x N x x
x x x x
or
x x x
x N x
x x x
x x x
or
x x x x x x
x x N x x x
15 months:
x x x x x
x x N x x
x x x x x
11 months where N would be centred (yes it can be done) 5 months in the past and five months in the future
x x x x
x N X
x x x x
15 months would put one in the centre
x x x x x
x x N x x
x x x x x
OR if your screen is big enough 25 - it would fit on my screen (1920x1080)
x x x x x
x x x x x
x x N x x
x x x x x
x x x x x
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
"It is ten to eleven"
Word clock conky - mrpeachy had a LUA script one I think and mobilediesel came up with a bash script that does it. I have it here some place. Later tonight or tomorrow I'll start a new thread: Conky - Clocks/Time
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Thanks S11, I'll read it through later this week.
No problem.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
"It is half past nine"
http://conky.pitstop.free.fr/wiki/index … k_%28en%29
That's a BASH script but there is a link to the equivalent .conkyrc
Offline
ostrolek wrote:"It is half past nine"
http://conky.pitstop.free.fr/wiki/index … k_%28en%29
That's a BASH script but there is a link to the equivalent .conkyrc
Thanks!
I remember it in #! conky forums. I think it was in Statler times.
Offline
This thread needs to be stickied. Same with the new one you are going to create. I mention it because if it's not posted to in a while it could drop down in the list and, personally, I hate searching. It was nice on the #! forums to have the conky threads at the top of the scrips sub-forum.
On to my post.
This image:
Is a killer clock. I took a look at the scripts, but they appear to be in Russian. Can anyone translate them?
Source thread:
https://forums.mageia.org/de/viewtopic. … 523#p24444
Code: Alles auswählen
# Hintergrund
background no
# Schrift
use_xft yes
xftfont terminus:size=8
xftalpha 0.2
# Aktualisierung und Fenster von Conky
update_interval 1
total_run_times 0 #Gesamtzahl der updates bis conky beendet wird; bei 0 laeuft endlos
own_window yes #eigenes Fenster
#own_window_type desktop #Art des Fenster(normal=Standard,desktop=keine Fensterdekoration,Pager,Sticky auf allen Fenstern)
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_class Conky
own_window_argb_visual
#own_window_colour #wenn kein transparenter Hintergrund > Wahl der Hintergrundfarbe in hexadezimal(zB ffffff)
#own_window_title #manuelles setzen des Fensternamen, Standard ist <hostname> -conky
# Buffers
double_buffer yes #bei eigenem Fenster, damit X-Server-Buffer nicht zu gross und kein Flackern auftritt
no_buffers yes #damit der Arbeitsspeicher nicht überlaeuft
# Aktualisierungsfrequenz von Prozessor und Netz
cpu_avg_samples 2
net_avg_samples 2
# Rahmen
draw_shades no #Schatten um Text
draw_outline no
draw_borders no #Rahmen um Text
draw_graph_borders no #Rahmen um Graphen
border_inner_margin 0 #Rahmenabstand in Pixeln
border_outer_margin 0 #dito
stippled_borders #Abstaende gestrichelter Rahmen in Pixeln
# Farben
default_color white #Ändern der Standardfarbe bei dunklen Hintergründen
default_color black #Ändern der Standardfarbe bei hellen Hintergründen
#color0 ffffff #Beispiele
#color1 b22222
# Alignment #Ausrichtung auf dem Bildschirm
#alignment top_left #tl
#alignment top_right #tr
#alignment top_middle #tm
#alignment bottom_left #bl
#alignment bottom_right #br
#alignment bottom_middle #bm
#alignment middle_left #ml
#alignment middle_right #mr
#alignment middle_middle #mm
alignment mm
uppercase no #Grossbuchstaben
#use_spacer yes #nur mit Mono-Schriften, setzt Abstaende, damit das eine Objekt nicht das Andere verschiebt
text_buffer_size 4096 #
imlib_cache_size 0
# Fenstergrösse
minimum_size 320 320 #minimale Fenstergrösse in Pixeln
#maximum_width 220 #maximale Breite in Pixeln
gap_x 110 #Einstellung wenn conky oben
gap_y 10 #Einstellung wenn conky unten
lua_load ~/clock/scripts/clock3.lua
lua_draw_hook_pre clock
TEXT
#Ja, und arbeite hier mal mit offset oder voffset zum platzieren auf dem Desk
#${time %A}
Nr.9 wie erwähnt vom selben Autor das Prinzp Kalender-Uhr-ein paar PC Daten
KalOl.jpg
die conkyrc
Code: Alles auswählen
# main conkyrc by Boris Krinkel <olgmen>
# krinkel@rambler.ru
# --- параметры окна ---
# эти строки необходимы для нормальной работы лучше не изменять
own_window yes
own_window_class Conky
own_window_transparent yes
own_window_type desktop
own_window_argb_visual yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# следующие параметры можно изменять
# минимальный размер
minimum_size 350 0
# минимальная ширина
maximum_width 400
# --- расположение окна
# левый верхний угол экрана
#alignment top_left
# левый нижний угол экрана
#alignment bottom_left
# правый верхний угол экрана
alignment top_right
# правый нижний угол экрана
#alignment bottom_right
# расстояние между кромкой экрана и окном
# по горизонтали
gap_x 300
# по вертикали
gap_y 20
# --- графика окна ---
# если желаете выводить conky на другом фоне напишите yes
background no
# окантовка окна, бордюр
draw_borders no
# если бордюр yes
# длина штрихов бордюра, если 0, то бордюр выводится сплошной линией
stippled_borders 1
# толщина линий бордюра
border_width 1
# бордюр вокруг выводимых графиков
draw_graph_borders no
# включить тень?
draw_shades no
# окантовка вокруг текста и выводимых объектов
draw_outline no
# Добавить пробел? Только для встраиваемых объектов
use_spacer right
# --- цвет ---
# основной цвет по умолчанию
default_color 151515 #DeepSkyBlue
# цвет тени
default_shade_color black
# цвет окантовки
default_outline_color black
# дополнительные
color1 white
color2 yellow
color3 red
# --- шрифты ---
# используемые шрифты X когда Xft не используется, можно выбрать один из следующих
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Используется ли Xft?
use_xft yes
# Шриф Xft когда Xft доступен, здесь можно ввести название и размер любого шрифта
xftfont Archangelsk:size=9
# яркость шрифта при испоьзовании шрифтов Xft
xftalpha 0.5
# выводить весь текст прописными буквами
uppercase no
# использовать кодировку UTF8? ПРИМЕЧАНИЕ: требуется Xft
override_utf8_locale yes
# --- следующие данные необходимы для работы
# обновление в секундах не имеет смысла ставить больше 2
# при выводе времени в секундах необходимо значение 1 и менее
update_interval 0.5
# время работы программы до её выключения
# установите 0 для работы программы без остановки
total_run_times 0
# двойная буфферизация (требуется для flicker, может не работать)
double_buffer yes
# вычитать буферизацию файловой системы из используемой памяти?
no_buffers yes
# количество cpu
cpu_avg_samples 2
# number of net samples to average
net_avg_samples 2
imlib_cache_size 0
short_units yes
pad_percents 2
text_buffer_size 2048
imlib_cache_size 0
#--- LUA ---
lua_load ~/clock/calendar/calendar3.lua
lua_draw_hook_pre widgets
TEXT
${voffset 700}
das original Archiv
calendar.tar.gz
(10.44 KiB) 2-mal heruntergeladen
The meaning of life is to just be alive. It is so plain and so obvious
and so simple. And yet everybody rushes aroound in a great panic
as if it were necessary to achieve something beyond themselves.
- Alan Watts
Offline
What do you want to have translated it?
The Russian text is the explanation of the meaning of the parameters. Exactly how that is true in English or German for Conky configuration files.
Mir has used only logical thinking and Google Translator.
Edit: Number 9 is your clock (!)
clock3.lua.tar.gz
is not Your chosen clock
Last edited by unklar (2015-11-04 13:47:58)
Offline
Any number of months is possible. 12 months would mean no "centre" month so you would have have to select a layout and then determine which month would be the current month.
Wow!
At this mathematical deliberation I had not thought.
Offline
2-month version, built on BL-Def-Cal with 9-month twist.
### Window Settings
own_window yes
own_window_type desktop
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 Calendar
minimum_size 200 0 ### width | height
maximum_width 200
alignment tl ### tl = top left
gap_x 540 ### left | right
gap_y 100 ### up | down
### Font Settings
use_xft yes
xftfont Droid Sans Mono:bold:size=12
xftalpha 1
override_utf8_locale yes
uppercase no
### Colour Settings
draw_shades no #yes
default_shade_color 000000
draw_outline no # amplifies text if yes
default_outline_color 000000
default_color cccccc
color0 aaaaaa
color1 999999
color2 eeeeee
color3 666666
### Borders Section
draw_borders no
stippled_borders 5
border_inner_margin 5
border_outer_margin 0
border_width 2
draw_graph_borders yes
### Miscellaneous Section
background yes
use_spacer none
text_buffer_size 6144
no_buffers yes
short_units yes
pad_percents 2
imlib_cache_size 0
double_buffer yes
update_interval 1
TEXT
${font Cuprum: size=48}${color0}${goto 60}${time %H}${voffset -10}${goto 120}${font Cuprum: size=32}${color0}${time %M}${font Droid Sans Mono: size=14}${color1}${voffset 10}
${alignc}${time %A}
${alignc}${time %d.%m.%Y}
${alignc}vko ${time %V}${color1}${font}${voffset 40}
${color1}${execpi 1800 LAR=`date +%-d`; ncal -wbhM| sed -e 's/\<'$LAR'\>/${color2}&${color1}/' | sed ':a;N;$!ba;s/\n/\n/g'}
${color3}${execpi 900 ncal -bh -m `date +%m` -A1 -B-1 | sed ':a;N;$!ba;s/\n/\n/g'}${color}${font}
edit: past tense
Last edited by nore (2015-11-06 04:12:08)
Offline
Is a killer clock. I took a look at the scripts, but they appear to be in Russian. Can anyone translate them?
Look very much like Wlourf's Calendar Wheel Unfortunately one must register and be logged in to Ubuntu to get the tar.gz file.
calendar.tar.gz
(10.44 KiB) 2-mal heruntergeladen
calendar.txt reads:
# Text file format
#MMDD; N; TEXT
#MMDD = Month day
#N = 0 or 1 (1 celebrates this day as the color of the weekend)
#TEXT = Output of text (use * to transfer the words to the next line)
0101, 1, New Year's Eve
0107; 1; Christmas
0114, 0, Old New Year
0119, 0, Epiphany
0125, 0, Tatiana's Day
0207, 0, Mardi Gras
0214, 0, Valentine's Day
0220, 0, Just checking
according to an online translator ...
Yup - wlourf!
calendar3.lua starts with:
- [[
When assembling the script used data from the following scripts
Conky Widgets by londonali1010 (2009) - watches and rings
Conky vertical bar graph by iggykoopa - horizontal and vertical bars
Shadowed clock by wlourf (10 jan. 2010) - the clock with shadow
calendar wheel by Wlourf (14 jan. 2010) - Calendar
He collected all this Boris Krinkel <olgmen> krinkel@rambler.ru
To do this requires seripta CONKY version 1.7.2
To call this script in Conky, insert the following lines to the TEXT (provided that the script is stored in ~ / scripts / conky_widgets.lua):
lua_load ~ / scripts / calendar3.lua
lua_draw_hook_pre widgets
]]
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Nice one nore! Looks like it belongs on that wallpaper.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
I'm trying to get my head around adding week numbers in the two month calendar.
ncal -w
writes week numbers to the last line, but in
ncal -wb
weeks are abandoned.
I'm almost sure I've seen somewhere a bash script, that transposes the awkward vertical calendar. I went through my archives but couldn't find it.
Offline
Offline
I like your binary clock. Would you mind posting the full conky? I'd like to see how you integrated it.
Thanks.
The meaning of life is to just be alive. It is so plain and so obvious
and so simple. And yet everybody rushes aroound in a great panic
as if it were necessary to achieve something beyond themselves.
- Alan Watts
Offline