#2449·conky

[Bug]: Alpha transparency is not being applied

Author: RainouttCreated Sep 8, 2026Updated Sep 8, 2026
Labelsbugtriage

What happened?

When I add SOME alpha transparency to own_window_colour background becomes completely transparent, it works as completely black when own_window_colour = '000000' but when is at own_window_colour = '000000E6' (10% transparency) is completely transparent. changing own_window_type = 'desktop' doesnt change this behavior. Im using xfce4 with compositor on.

own_window_colour = '000000' Image

own_window_colour = '000000E6' Image

Version

1.24.2

Which OS/distro are you seeing the problem on?

Arch Linux

Conky config

lua
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
Conky, a system monitor, based on torsmo

Any original torsmo code is licensed under the BSD license

All code written since the fork of torsmo is licensed under the GPL

Please see COPYING for details

Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
Copyright (c) 2005-2012 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
]]

conky.config = {

    --Various settings

        background = true,
        cpu_avg_samples = 1,
        diskio_avg_samples = 10,
        double_buffer = true,
        if_up_strictness = 'address',
        net_avg_samples = 2,
        no_buffers = true,
        temperature_unit = 'celsius',
        update_interval = 2,
	update_interval_on_battery = 10,
        imlib_cache_size = 0,
        out_to_console = false,
        out_to_stderr = false,
        out_to_x11 = true,
        out_to_wayland = false,
        extra_newline = false,
        own_window = true,
        stippled_borders = 0,
        uppercase = false,
        use_spacer = 'none',
    
    -- Placement

        alignment = 'middle_right',
        gap_x = 15, -- Sin desfase horizontal (centrado perfecto)
        gap_y = 0, -- Sin desfase vertical (centrado perfecto)
        minimum_width = 250,
        maximum_width = 250,
    
    
    --Graphical

        border_inner_margin = 15,     -- Aumentado un poco para que el texto respire dentro del cuadro
        border_outer_margin = 0,
        draw_borders = false,
        draw_graph_borders = false,
        draw_shades = false,
        draw_outline = false,
        show_graph_scale = false,
        show_graph_range = false,
        
        -- Configuración para fondo negro translúcido:
        own_window = true,
        own_window_type = 'normal',        
        own_window_colour = '000000E6',       
        own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
   

    -- Text

        -- text
        font = 'Inter:size=11',
        
        format_human_readable = true,
        use_xft = true,
        max_text_width = 0,
        short_units = true,
        xftalpha = 1,
    
    -- Colors
        
        default_color = 'white',
        default_outline_color = 'white',
        default_shade_color = 'white',
    
        -- md blue (200)
        color1 = 'b3e5fc',                                         -- title color
        
        -- md light blue (200 -> light)
        color2 = 'e6ffff',                                         -- subtitle color
        
        -- md blue (200)
        color3 = '90caf9',                                         -- text color
        
        -- md dark blue (200 -> dark)
        color4 = 'ffe0b2'                                         -- accent color
        
}

conky.text = [[
${font Inter:size=36}${color1}${alignc}${time %H:%M}
${alignc}${voffset -36}${font}${color3}Fecha: ${alignc}${color}${time %a, %d de %B %Y}
${voffset 4}${alignc}${color3}Temperatura en Com. Riv.: ${color}${execi 900 "curl -s 'wttr.in/Comodoro_Rivadavia?format=%t' | cut -c 2-5"}
#CPU
#------------+

${font}${color1}PROCESADOR ${hr 2}
${voffset 2}${font}${color3}Nombre: $color$alignr${execi 6000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //' | sed 's/(R)//g' | uniq | cut -c 1-23}
${voffset 2}${color3}Temperatura: $color${execi 5 sensors | grep Package | cut -c 17-18}°C$alignr${color3}Uso: $color${cpu}%

#------------+
#MEMORY
#------------+
${font}${color1}MEMORIA ${hr 2}
${voffset 2}${font}${color3}Usado: ${color}${mem} ($memperc%)${color3}${alignr}Libre: ${color}${memeasyfree}
${color4}${membar}
${voffset 2}${color3}Zram: $alignr $color ${execi 20 zramctl --raw --noheadings --output DATA,DISKSIZE | awk '{print $1 " / " $2}'}

#Espacio
#------------+
${font}${color1}ESPACIO ${hr 2}
${voffset 2}${font}${color3}Usado: ${color}${fs_used /} (${fs_used_perc /}%)${color3}${alignr}Libre: ${color}${fs_free /}
${color4}${fs_bar /}

#------------+
#NETWORK
#------------+
${font}${color1}RED ${hr 2}
${voffset 2}${font}${color3}${addr wlp0s12f0}${alignr}${font}${color}${if_existing /sys/class/net/wlp0s12f0/operstate up}EN LINEA${else}DESCONECTADO${endif}
${color3}Bajada: ${color}${downspeed wlp0s12f0}/s   ${color3}${alignr} Total: ${color}${totaldown wlp0s12f0}
${color3}Subida: ${color}${upspeed wlp0s12f0}/s      ${color3}${alignr} Total: ${color}${totalup wlp0s12f0}
]]

Stack trace

gdb

Relevant log output

bash
julian@Chromebook ~ [SIGINT]> killall conky && conky -c ~/.conky/conky.conf
[2026-09-08 01:32:40.041] [info ] [src/output/x11.cc:700] window type - normal
[2026-09-08 01:32:40.043] [info ] [src/output/x11.cc:814] drawing to created window 0x1c00001
[2026-09-08 01:32:40.061] [info ] [src/lua/x11-settings.cc:67] drawing to double buffer
[2026-09-08 01:32:40.062] [error] [src/lua/setting.cc:76] unknown setting 'out_to_x11'
[2026-09-08 01:32:40.076] [info ] [src/conky.cc:2496] forked to background, pid is 12682

julian@Chromebook ~> [2026-09-08 01:32:40.185] [info ] [src/conky.cc:1898] 'XFCE' x11 session running