Welcome!
Forum users

Current releases
--MX-23 release info here
--Migration information to MX-23 here
--antiX-23.1 (Arditi del Popolo) release info here

Important information
--If in starting your system it boots to an unwanted Desktop, right click desktop, then select leave and logout. At the
login screen there is a session chooser at the top of the screen.

News
-- MX Linux on social media: here
-- New Forum Features, Marking Solved and Referencing a User: here

Conky Helps and Stuff

Post Reply
Message
Author
User avatar
KoO
Posts: 491
Joined: Fri Feb 10, 2017 1:21 am

Conky Helps and Stuff

#1 Post by KoO »

Sorry for the double post and posting in the wrong forum..(Would it be possible to clean up the screenshots post)
@male
In principle, this is a weather rss-fed. For more days I can only recommend,
download the archive 1_accuweather. Teo explains the necessary steps wonderfully and it contains the pictures of 2015 and the new ones of 2016.
Depending on taste, it contains 10 or 11 different weather conkys. All in the Conky_Version 1.10
It is no problem to reset the syntax to 1.9. I'd be happy to help.
I never use conky manager to me it is pretty useless .I always use a text editor.
I don't see a need to go back to 1.9 their is not much deference anyway..
Trouble I was having was with the 2p type code and so on.All need is the p codes.

@male and everyone else Thanks for your help
Main : MX 19.1-AHS (i3) 5.4.13-1~mx19+1, Asus B450-i AMD 5 3600 , 32gb Hyper-X 3200 , GTX970 . :linuxlove:
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)

male

Re: Conky Helps and Stuff

#2 Post by male »

Conky-Manager or not, conky1.9 or conky1.10, it's always a matter of taste in the eye of the beholder.
The "simple user" who liked to create with conky1.9 and the thousands of beautiful Conky creations will have problems with conky1.10 unless he is willing to sniff the syntax of Lua. ;)

I'm glad you solved their 2p code problem (and about your thread). :happy:

User avatar
KoO
Posts: 491
Joined: Fri Feb 10, 2017 1:21 am

Re: Conky Helps and Stuff

#3 Post by KoO »

@male
I agree with you each to their own..All the conky's I use were v1.9 converted to 1.10>

If anyone would like to try and convert their conky to 1.10> in MX linux /usr/share/doc/conky-all are the files to convert to 1.10> convert.lua etc

Just place your .conkyrc file the folder and run the command below a new file will be created (conkyrc) without dot) this is your new conky 1.10> It will not over write your 1.9 .conkyrc file.
Then just place a . dot like your old conkrc and try to run the file hopefully all will be well..

lua ./convert.lua .conkyrc conkyrc


The last Post
Last edited by KoO on Thu Apr 26, 2018 4:03 am, edited 1 time in total.
Main : MX 19.1-AHS (i3) 5.4.13-1~mx19+1, Asus B450-i AMD 5 3600 , 32gb Hyper-X 3200 , GTX970 . :linuxlove:
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)

User avatar
asqwerth
Developer
Posts: 7180
Joined: Sun May 27, 2007 5:37 am

Re: Conky Helps and Stuff

#4 Post by asqwerth »

If you just run conky 1.10++ without Conky Manager, it will be able to read and recognise old syntax conkies in general. So no conversion is usually needed from either syntax. I use a combination of old and new-syntax conkies interchangeably on most of my distros running conky 1.10++ except for MX17, which is the only one using CM by default.

It is only CM that cannot read new syntax conkies in their user interface. The developer does not appear interested in learning enough about lua syntax to enable CM to detect it. I'm guessing nothing will change unless a third party pushes some fix to him for his consideration.

https://github.com/teejee2008/conky-manager/issues/2


On the other hand, CM is useful not because of its editing capabilities (since it just opens up the conky in your default text editor) but because the graphical interface is a good way to (ahem) "manage" your whole list of conkies and you can run more than 1 conky at a time easily just by ticking your selected conkies. Yes, you can run more than one conky simultaneously without CM but you will need to start conky via some script and then manually edit it every time you want to change the conky scripts you are running.


In MX17, the intention was to make conkies easier for newcomers to run and modify without the intimidating impression that one had to be a geek knowing how to manually edit scripts. Hence CM and the default collection of conkies chosen and modded to work nicely from the graphical tools (CM, and MX-Conky for colour changes). The idea is that a suitable conky should not have too many variables that require manual editing of text files before they will work.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
Eadwine Rose
Administrator
Posts: 11836
Joined: Wed Jul 12, 2006 2:10 am

Re: Conky Helps and Stuff

#5 Post by Eadwine Rose »

To be honest, I don't even run conky from the CM or anything. I use the old fashioned way still. I disable the conky on the desktop, and then run my own .conkyrc file from my /username/ folder, using

Code: Select all

conky -c /home/username/.conkyrc

And to autostart I have the following in session and startup - autostart

Code: Select all

/usr/bin/conky -p 7

Works like a peach :)
MX-23.2_x64 July 31 2023 * 6.1.0-18-amd64 ext4 Xfce 4.18.1 * 8core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 525.147.05 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
Jerry3904
Administrator
Posts: 21859
Joined: Wed Jul 19, 2006 6:13 am

Re: Conky Helps and Stuff

#6 Post by Jerry3904 »

In MX17, the intention was to make conkies easier for newcomers to run and modify without the intimidating impression that one had to be a geek knowing how to manually edit scripts.
+1
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

male

Re: Conky Helps and Stuff

#7 Post by male »

asqwerth wrote:In MX17, the intention was to make conkies easier for newcomers to run and modify without the intimidating impression that one had to be a geek knowing how to manually edit scripts.
I also agree with this statement.
It is only CM that cannot read new syntax conkies in their user interface. The developer does not appear interested in learning enough about lua syntax to enable CM to detect it. I'm guessing nothing will change unless a third party pushes some fix to him for his consideration.
The developer of the Conky Manager also wanted to provide the simple user with a tool with which he could conjure up Conky configurations on his desktop.
This also includes clocks/rings; graphs etc. pp.

If you want to know why the developer is not moving towards Conky1.10 with the Conky Manager - a simple example:

With Conky1.9 I can embellish the MX-Asq_clock_new_default with a background and round corners.
lua1.jpg
lua2.jpg
code depending on desktop, above TEXT or below TEXT

Code: Select all

...
# Output
##############################################
#--Lua--#
lua_load ~/LUA/draw-bg.lua
lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.2
#${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}
TEXT

...
This is done by this simple Lua script.


Check this out on Conky-Version1.10 and you'll find it doesn't work anymore. ;)
You do not have the required permissions to view the files attached to this post.

User avatar
KoO
Posts: 491
Joined: Fri Feb 10, 2017 1:21 am

Re: Conky Helps and Stuff

#8 Post by KoO »

I like the way MX users CM as a switcher.
Eadwine Rose I'm with you.

@male 1.9 version much nicer they still have work to do 1.10 surely they can get it to work as good as 1.9.After all 1.10 is supposed to be more lua based.
Main : MX 19.1-AHS (i3) 5.4.13-1~mx19+1, Asus B450-i AMD 5 3600 , 32gb Hyper-X 3200 , GTX970 . :linuxlove:
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)

User avatar
asqwerth
Developer
Posts: 7180
Joined: Sun May 27, 2007 5:37 am

Re: Conky Helps and Stuff

#9 Post by asqwerth »

@male, thanks for your explanation of the differences. To be honest, I haven't actually learnt how to make use of the various available lua scripts for myself.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

male

Re: Conky Helps and Stuff

#10 Post by male »

The antiX weather based on the reliable 1)Accuweather - 1_11-11-17 script from TeoBigusGeekus, with old and new images. ;)
My configuration file as an example:

Code: Select all

##pkill -xf "conky -q -c /home/male/ConkyHTCSpill/conkyrc" &
##Original von sector11 Mai 2016
##Idee von HTC Januar 2012  http://grynays.deviantart.com/art/Conky-HTC-Home-Spill-290958248

own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints skip_taskbar,skip_pager,undecorated,below   #,sticky
#own_window_colour 000000
#own_window_class Conky
#own_window_title HTCSpill
#own_window_argb_visual yes 
#own_window_argb_value 100

minimum_size 235 240
maximum_width 235

gap_x 15
gap_y 115
alignment tr

override_utf8_locale yes

use_xft yes
xftfont Liberation Mono:bold:size=8  #9
#xftfont Fantasque Sans Mono:bold:size=9
#xftfont Monofur:bold:size=9
#xftfont DejaVu Sans Mono:bold:size=9
xftalpha 1.0

draw_shades yes
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

#draw_borders yes
#stippled_borders 5
border_inner_margin 0
border_outer_margin 0
#border_width 2
#draw_graph_borders yes 

background yes

use_spacer none

no_buffers yes

imlib_cache_size 0
#imlib_cache_flush_interval 900

double_buffer yes

##---LUA---##
#lua_load ~/LUA/draw-bg.lua
#lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.2
update_interval 1

#${lua conky_draw_bg 10 0 0 0 0 0x000000 0.8}\
TEXT
${execi 500 bash $HOME/1_accuweather/1_accuweather -f2015}\
${image $HOME/ConkyHTCSpill/images/base2.png -p -12,30 -s 260x145}\
${image $HOME/ConkyHTCSpill/images/base2.png -p -12,180 -s 260x62}\
${image $HOME/ConkyHTCSpill/images/flip_bg.png -p 18,7 -s 100x110}\
${image $HOME/ConkyHTCSpill/images/flip_bg.png -p 118,7 -s 100x110}\


${font LED_Mono:size=60}${color1}${goto 26}${time %H}${goto 126}${time %M}${font}
${goto 28}${execpi 600 sed -n '4p' $HOME/1_accuweather/curr_cond|cut -c-13}\
${goto 135}${time %a.}${time %e.}${time %b}${color}
 ${color0}${execpi 600 sed -n '1p' $HOME/1_accuweather/aktualisiert}${color}
 Wind ${execpi 600 sed -n '5p' $HOME/1_accuweather/curr_cond}\
${alignr 5}${execpi 600 sed -n '2p' $HOME/1_accuweather/curr_cond}° \
${color2}±${execpi 600 sed -n '3p' $HOME/1_accuweather/curr_cond}°${color}
 @ ${execpi 600 sed -n '6p' $HOME/1_accuweather/curr_cond}\
${alignr 10}H ${execpi 600 sed -n '7p' $HOME/1_accuweather/curr_cond}
 ${execpi 600 sed -n '8p' $HOME/1_accuweather/curr_cond}\
${alignr 5}${color9}${execpi 600 sed -n '2p' $HOME/1_accuweather/first_days}° \
${color7}${execpi 600 sed -n '3p' $HOME/1_accuweather/first_days}°${color}
${image $HOME/1_accuweather/forecast_2015/forecast_0.png -p 55,103 -s 125x75}\
${image $HOME/1_accuweather/forecast_2015/forecast_2.png -p 5,175 -s 46x27}\
${image $HOME/1_accuweather/forecast_2015/forecast_3.png -p 51,175 -s 46x27}\
${image $HOME/1_accuweather/forecast_2015/forecast_4.png -p 97,175 -s 46x27}\
${image $HOME/1_accuweather/forecast_2015/forecast_5.png -p 143,175 -s 46x27}\
${image $HOME/1_accuweather/forecast_2015/forecast_6.png -p 188,175 -s 46x27}\
${voffset 10}${alignc}Chemnitz${voffset -8}



${goto 6}${font Liberation Mono:bold:size=8}${execpi 600 sed -n '8p' $HOME/1_accuweather/first_days}°/\
${execpi 600 sed -n '9p' $HOME/1_accuweather/first_days}°\
${goto 52}${execpi 600 sed -n '13p' $HOME/1_accuweather/first_days}°/\
${execpi 600 sed -n '14p' $HOME/1_accuweather/first_days}°\
${goto 99}${execpi 600 sed -n '18p' $HOME/1_accuweather/first_days}°/\
${execpi 600 sed -n '19p' $HOME/1_accuweather/first_days}°\
${goto 144}${execpi 600 sed -n '23p' $HOME/1_accuweather/first_days}°/\
${execpi 600 sed -n '24p' $HOME/1_accuweather/first_days}°\
${goto 190}${execpi 600 sed -n '3p' $HOME/1_accuweather/last_days}°/\
${execpi 600 sed -n '4p' $HOME/1_accuweather/last_days}° ${font}
${goto 12}${execpi 600 sed -n '6p' $HOME/1_accuweather/first_days|cut -c-3}\
${goto 58}${execpi 600 sed -n '11p' $HOME/1_accuweather/first_days|cut -c-3}\
${goto 105}${execpi 600 sed -n '16p' $HOME/1_accuweather/first_days|cut -c-3}\
${goto 150}${execpi 600 sed -n '21p' $HOME/1_accuweather/first_days|cut -c-3}\
${goto 196}${execpi 600 sed -n '1p' $HOME/1_accuweather/last_days|cut -c-3}

antixweather2.jpg
antixweather3.jpg
have fun
You do not have the required permissions to view the files attached to this post.
Last edited by male on Sun Mar 17, 2019 4:19 pm, edited 1 time in total.

Post Reply

Return to “Software / Configuration”