You are not logged in.
Hi.
I'm fairly new to Arch, but I've encountered an annoying issue with Conky and my compositing manager of choice; Compton.
1) I have had Conky configured exactly the way I wanted with my own custom written .conkyrc, and I set it to a specific blue hexcode, and it displayed correctly for all text and visuals (such as hr, bars, etc.)
2) I recently installed and configured Compton, and it enabled true transparency perfectly for things such as urxvt and even Conky. However, I noticed one pitfall..
My visuals in Conky, such as hr, fs bars displaying amount of space occupied for drives, CPU graph (basically anything that was visual and not text), were displaying in white instead of my specified hexcode. Text however, was displaying in the specified hexcode.
I played with it for a while to find any other strange behaviors, and I noticed it would display everything in the specified blue if the wallpaper I set with Nitrogen was a darker color (note that this did not happen before installing Compton)
Screenshot:
http://i.imgur.com/bPArUxz.png
I do not know if it's Conky or Compton making this change, but here are my configurations:
~/.config/compton.conf
# Shadow
shadow = false;
# Fading
fading = false;~/.conkyrc
background yes
use_xft yes
xftfont Terminus:size=8
xftalpha 1
update_interval 5.0
total_run_times 0
own_window yes
own_window_type normal
own_window_class conky
own_window_transparent no
own_window_argb_visual yes
own_window_argb_value 0
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 300 300
maximum_width 300
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color 1793D1
default_shade_color 1793D1
default_outline_color 1793D1
alignment middle_right
gap_x 10
gap_y 0
uppercase no
cpu_avg_samples 2
override_utf8_locale no
# OUTPUT
TEXT
SYSTEM ${hr 2}
OS: $alignr $kernel
Host:$alignr $nodename
Uptime:$alignr $uptime_short
TEMPERATURE ${hr 2}
GPU: $alignr ${hwmon 0 temp 1}${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}C
CPU Core 0: $alignr ${hwmon 1 temp 1}${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}C
CPU Core 1: $alignr ${hwmon 2 temp 1}${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}C
DISK ${hr 2}
/: ${alignr} ${fs_used_perc /}% ${fs_bar 6,150 /}
/home: ${alignr} ${fs_used_perc /home}% ${fs_bar 6,150 /home}
/Storage: ${alignr} ${fs_used_perc /mnt/Storage}% ${fs_bar 6,150 /mnt/Storage}
/WEB: ${alignr} ${fs_used_perc /mnt/WEB}% ${fs_bar 6,150 /mnt/WEB}
RESOURCES ${hr 2}
RAM:$alignr $memperc% $membar 6,150
SWAP:$alignr $swapperc% $swapbar 6,150
CPU:$alignr ${cpu cpu0}% $cpubar 6,150
${cpugraph cpu1}
PROCESSES:$processes $alignr PID CPU RAM
${hr}
${top name 1} $alignr ${top pid 1} ${top cpu 1}% ${top mem 1}%
${top name 2} $alignr ${top pid 2} ${top cpu 2}% ${top mem 2}%
${top name 3} $alignr ${top pid 3} ${top cpu 3}% ${top mem 3}%
${top name 4} $alignr ${top pid 4} ${top cpu 4}% ${top mem 4}%
${top name 5} $alignr ${top pid 5} ${top cpu 5}% ${top mem 5}%
${top name 6} $alignr ${top pid 6} ${top cpu 6}% ${top mem 6}%
${top name 7} $alignr ${top pid 7} ${top cpu 7}% ${top mem 7}%
${top name 8} $alignr ${top pid 8} ${top cpu 8}% ${top mem 8}%
${top name 9} $alignr ${top pid 9} ${top cpu 9}% ${top mem 9}%Here are the two wallpapers where Conky visuals turn to white:
http://i.imgur.com/k9KOlys.png
http://i.imgur.com/sR1RJsn.png
Any help is appreciated.
Last edited by BlueYoshi (2015-03-15 18:35:44)
Offline
Not sure if this pertains, but it's for disabling shadows around conky with compton.
Knute
Offline
Not sure if this pertains, but it's for disabling shadows around conky with compton.
Unfortunately, no. I have shadowing completely disabled already. This is some other issue, that as far as I can tell, that true transparency enabled some sort of intelligent adaptation for colors, but ironically it's doing the exact opposite of what would be the optimal.
Offline
I looked at my compton.conf file, which I made with compton-conf, and it's much longer than yours.
Have you tried excluding the conky window from compton?
shadow = false;
no-dnd-shadow = true;
no-dock-shadow = true;
clear-shadow = false;
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
shadow-opacity = 0.7;
shadow-red = 0.0;
shadow-green = 0.0;
shadow-blue = 0.0;
shadow-exclude = [ "name = 'Notification'", "class_g = 'Conky'", "class_g ?= 'Notify-osd'", "class_g = 'Cairo-clock'" ];
shadow-ignore-shaped = false;
menu-opacity = 1.0;
inactive-opacity = 0.75;
active-opacity = 1.0;
frame-opacity = 1.0;
inactive-opacity-override = false;
alpha-step = 0.25;
inactive-dim = 0.0;
blur-kern = "3x3box";
blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ];
fading = false;
fade-in-step = 0.03;
fade-out-step = 0.03;
fade-exclude = [ ];
backend = "xrender";
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 0;
vsync = "none";
dbe = false;
paint-on-overlay = true;
focus-exclude = [ "class_g = 'Cairo-clock'" ];
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];
glx-copy-from-front = false;
glx-swap-method = "undefined";
wintypes :
{
tooltip :
{
fade = true;
shadow = false;
opacity = 0.75;
focus = true;
};
};
blur-background = true;
blur-background-frame = true;
inactive-dim-fixed = true;
no-fading-openclose = true;HTH
Knute
Offline
I looked at my compton.conf file, which I made with compton-conf, and it's much longer than yours.
Have you tried excluding the conky window from compton?shadow = false; no-dnd-shadow = true; no-dock-shadow = true; clear-shadow = false; shadow-radius = 7; shadow-offset-x = -7; shadow-offset-y = -7; shadow-opacity = 0.7; shadow-red = 0.0; shadow-green = 0.0; shadow-blue = 0.0; shadow-exclude = [ "name = 'Notification'", "class_g = 'Conky'", "class_g ?= 'Notify-osd'", "class_g = 'Cairo-clock'" ]; shadow-ignore-shaped = false; menu-opacity = 1.0; inactive-opacity = 0.75; active-opacity = 1.0; frame-opacity = 1.0; inactive-opacity-override = false; alpha-step = 0.25; inactive-dim = 0.0; blur-kern = "3x3box"; blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ]; fading = false; fade-in-step = 0.03; fade-out-step = 0.03; fade-exclude = [ ]; backend = "xrender"; mark-wmwin-focused = true; mark-ovredir-focused = true; detect-rounded-corners = true; detect-client-opacity = true; refresh-rate = 0; vsync = "none"; dbe = false; paint-on-overlay = true; focus-exclude = [ "class_g = 'Cairo-clock'" ]; detect-transient = true; detect-client-leader = true; invert-color-include = [ ]; glx-copy-from-front = false; glx-swap-method = "undefined"; wintypes : { tooltip : { fade = true; shadow = false; opacity = 0.75; focus = true; }; }; blur-background = true; blur-background-frame = true; inactive-dim-fixed = true; no-fading-openclose = true;HTH
I realize I can set it to ignore Conky, but I still wish to have true transparency with Conky, without this one strange behavior.
And yes, my compton.conf is rather short, and I figure one of the many options in it would stop it from interfering with color, but I'm having trouble determining which one that would be.
Thank you anyway.
Offline
No problem. I posted mine as an example. I just wanted to let you see the options available.
Good luck to you.
P.S. Just a thought, but have you considered playing with the own_window_type variable?
Also, in looking over your config, you have own_window_transparent set to no. What happens if you change that to yes?
Knute
Offline
No problem. I posted mine as an example. I just wanted to let you see the options available.
Good luck to you.
P.S. Just a thought, but have you considered playing with the own_window_type variable?
Also, in looking over your config, you have own_window_transparent set to no. What happens if you change that to yes?
At this time, I cannot recall why I set it to no, but I set it to that yesterday while I was adding some new options to get Compton to work. For the sake of trying though, I just reverted it to yes, but unfortunately it did not change anything.
Offline
Well, I figured out what it was. It's been a few months since I've touched css that I forgot about ARGB/RGBA. I had the value set to 0 or 100 on own_window_argb_value. I set it to 255 and the opacity of all the visuals became solid. Doesn't affect text, I guess.
Offline