i edited the location but still no changesasqwerth wrote: Tue Dec 12, 2023 1:28 amOpen the conky config file itself and search for "lua". There is a line in the conky config where it mentions a file path for where the lua file must be saved.dotw wrote: Tue Dec 12, 2023 12:59 ami did not do anything, it was already at this placeasqwerth wrote: Sun Dec 10, 2023 11:52 am As I understand it, you have sorted out the transparency issue but are wondering why the conky doesn't look exactly like the pic in the pling page.
That is because as downloaded, the conky comes with some scripts. 2 questions for you:
1. did you save the lua script in the same place as set out in the conky config file?
Copy the lua file in "this place" (wherever you put extracted the conky zip file) and paste the lua file into the same spot mentioned in the conky config file. This lua script generates the circular bargraph.
Alternatively, edit the lua file location in that line of the conky config file to point to your actual location of the lua script.
Similarly, search conky config file for "bg". This is the small circular background behind the 3 circular bargraphs. Note the file location of this image as listed in the conky config file. Then copy the bg picture file that is in the extracted zip file and paste it in the file location mentioned in the conky config file. Or edit the file location in the conky config.
conky theme not showing transparent background [Solved]
Re: conky theme not showing transparent background [Solved]
You do not have the required permissions to view the files attached to this post.
Re: conky theme not showing transparent background
Next time, please copy and paste the conky config text AS TEXT, enclosed within the "[ code ]" and "[ /code ]" tags (without the spaces I added before and after the word "code" to prevent the formatting from triggering). Images are not searchable nor can you copy text from images.
However I can spot the mistake this round: you should not have the "~" in front of all your file paths.
It's either:
$HOME/.conky/bla bla bla
or
/home/dotw/.conky/bla bla bla
Potentially,
~/.conky/bla bla bla
might work also if your scripts/images are found in the same main folder as the conky config, but you will have to test this yourself.
ADDED: you need to change the file location of the weather-v2.0-sh script as well.
However I can spot the mistake this round: you should not have the "~" in front of all your file paths.
It's either:
$HOME/.conky/bla bla bla
or
/home/dotw/.conky/bla bla bla
Potentially,
~/.conky/bla bla bla
might work also if your scripts/images are found in the same main folder as the conky config, but you will have to test this yourself.
ADDED: you need to change the file location of the weather-v2.0-sh script as well.
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
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
Re: conky theme not showing transparent background
asqwerth wrote: Tue Dec 12, 2023 3:59 am Next time, please copy and paste the conky config text AS TEXT, enclosed within the "[ code ]" and "[ /code ]" tags (without the spaces I added before and after the word "code" to prevent the formatting from triggering). Images are not searchable nor can you copy text from images.
However I can spot the mistake this round: you should not have the "~" in front of all your file paths.
It's either:
$HOME/.conky/bla bla bla
or
/home/dotw/.conky/bla bla bla
Potentially,
~/.conky/bla bla bla
might work also if your scripts/images are found in the same main folder as the conky config, but you will have to test this yourself.
ADDED: you need to change the file location of the weather-v2.0-sh script as well.
Code: Select all
conky.config = {
--==============================================================================
-- Created : 2022/Jul/17
-- This theme is for conky version 1.10.8 or newer
--
-- MEROPE
-- ( A part of Taurus Conky themes pack )
--
-- author : Closebox73
-- version : 2.9
-- variant : Celcius
-- license : Distributed under the terms of GPLv3
-- notes : Created on 1366x768 Monitor
--==============================================================================
-- Size and Position settings --
alignment = 'top_right',
gap_x = 20,
gap_y = 50,
maximum_width = 400,
minimum_height = 600,
minimum_width = 400,
-- Text settings --
use_xft = true,
override_utf8_locale = true,
font = 'Roboto:light:size=9',
-- Color Settings --
default_color = 'FFFFFF',
default_outline_color = 'white',
default_shade_color = 'white',
color1 = 'FFFFFF',
-- Window Settings --
background = false,
border_width = 1,
draw_borders = false,
draw_graph_borders = false,
draw_outline = false,
draw_shades = false,
own_window = true,
own_window_colour = '000000',
own_window_class = 'Conky',
draw_blended = false,
own_window_argb_visual = true,
own_window_argb_value = 0,
own_window_type = 'desktop',
own_window_transparent = false,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
stippled_borders = 0,
-- Others --
cpu_avg_samples = 2,
net_avg_samples = 2,
double_buffer = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
update_interval = 1,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false,
lua_load = '/home/dotw/.conky/Merope/scripts/rings-v1.2.1.lua',
lua_draw_hook_pre = 'ring_stats',
}
conky.text = [[
${execi 300 /home/dotw/.conky/Merope/scripts/weather-v2.0.sh}\
${image /home/dotw/.conky/Merope/res/bg.png -s 70x70 -p 330,350}\
${image /home/dotw/.conky/Merope/res/bg.png -s 70x70 -p 330,430}\
${image /home/dotw/.conky/Merope/res/bg.png -p 330,510}\
${alignr}${voffset 0}${color}${font Beckman:size=45}${time %Y}${font}
${alignr}${voffset 0}${color}${font Beckman:size=45}${time %A}${font}
${alignr}${voffset 0}${color}${font Beckman:size=45}${time %d}${execi 300 /home/dotw/.conky/Merope/scripts/number}${font}
${alignr}${voffset 0}${color}${font Beckman:size=45}${time %B}${font}
${alignr}${voffset 0}${color}${font Beckman:size=45}${time %I:%M%^p}${font}
${alignr 6}${voffset 46}${color}${font Beckman:size=9}CPU${font}
${alignr 6}${voffset -5}${color}${font Beckman:size=9}${cpu cpu0}%${font}
${alignr 6}${voffset 49}${color}${font Beckman:size=9}RAM${font}
${alignr 6}${voffset -5}${color}${font Beckman:size=9}${memperc}%${font}
${alignr 6}${voffset 50}${color}${font Roboto:bold:size=9}${execi 120 cat /.cache/weather.json | jq '.main.temp' | awk '{printf "%.0f\n",$1}'}°C${font}
${alignc -164}${voffset 0}${font feather:size=30}${execi 5 /home/dotw/.conky/Merope/scripts/weather-text-icon}${font}
]]
You do not have the required permissions to view the files attached to this post.
Re: conky theme not showing transparent background
I finally tested the conky.
I note that the bg image shows up as opaque white because the conky creator used the [draw_blended=false,] line as he is using GNOME desktop (see his pling page). It's not a line I've used before.
Once I changed that line to true in the conky config, the bg images become translucent and you can see the circular bargraphs (which are also white) overlaid on the bg images. The lua script that creates the circular graphs should work if you got its file location correct in your conky config.
The weather script works for me once I entered my own location code (city_id) and api key into the script. This assumes that you got the file locations of the weather script and the weather-text-icon script correct in your conky config. Don't change the file location of json file. That is a file generated by the weather script in that location in ~/.cache.
Any conky where there are image files overlaid over the conky text may require you to tweak the x and y positioning of the images in the conky config, as a lot depends on your screen resolution.
Final tip: cut and paste the 3 lines relating the bg images to the end of the conky text (but before the "]]" close brackets). Don't leave any empty lines at the spots where you cut and where you paste the 3 lines.
Like I said, the more moving parts to a conky, the more tweaking you have to do to get it to work and display properly.
I note that the bg image shows up as opaque white because the conky creator used the [draw_blended=false,] line as he is using GNOME desktop (see his pling page). It's not a line I've used before.
Once I changed that line to true in the conky config, the bg images become translucent and you can see the circular bargraphs (which are also white) overlaid on the bg images. The lua script that creates the circular graphs should work if you got its file location correct in your conky config.
The weather script works for me once I entered my own location code (city_id) and api key into the script. This assumes that you got the file locations of the weather script and the weather-text-icon script correct in your conky config. Don't change the file location of json file. That is a file generated by the weather script in that location in ~/.cache.
Any conky where there are image files overlaid over the conky text may require you to tweak the x and y positioning of the images in the conky config, as a lot depends on your screen resolution.
Final tip: cut and paste the 3 lines relating the bg images to the end of the conky text (but before the "]]" close brackets). Don't leave any empty lines at the spots where you cut and where you paste the 3 lines.
Like I said, the more moving parts to a conky, the more tweaking you have to do to get it to work and display properly.
You do not have the required permissions to view the files attached to this post.
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
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
Re: conky theme not showing transparent background
following this tip made it look a bit more whiteish. but by making draw blended true, i was able to achieve this result. the weather thing wont work. i guess i will just delete the weather segmentasqwerth wrote: Wed Dec 13, 2023 5:30 am Final tip: cut and paste the 3 lines relating the bg images to the end of the conky text (but before the "]]" close brackets). Don't leave any empty lines at the spots where you cut and where you paste the 3 lines.
You do not have the required permissions to view the files attached to this post.
Re: conky theme not showing transparent background
Check whether the following 2 packages are installed on your system:
jq
curl
They are needed for the weather to work. You will notice that the second last line in the conky config runs a command that includes "jq" in it. I believe that whenever I install a new release of MX, I have to install jq (for my various conkies that use openweathermap data to display weather) as it doesn't come preinstalled with MX.
jq
curl
They are needed for the weather to work. You will notice that the second last line in the conky config runs a command that includes "jq" in it. I believe that whenever I install a new release of MX, I have to install jq (for my various conkies that use openweathermap data to display weather) as it doesn't come preinstalled with MX.
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
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
Re: conky theme not showing transparent background
@dotw In case "not showing transparent background" was not the only problem, it'll be good if you edit the title and add others, like "weather feature doesn't work" or so ...
Btw. I guess that day showing a bit weird (also here) like THURSD A Y is because that font ( Beckman )is not present ootb, you need to download from somewhere or just change the font in script to an existing one.
Btw. I guess that day showing a bit weird (also here) like THURSD A Y is because that font ( Beckman )is not present ootb, you need to download from somewhere or just change the font in script to an existing one.