I have an old config file which I have converted to lua style.
It runs but with the black background instead of being transparent.
I have an Nvidia GPU but it is running the nouvea driver, do I need a nv version of conky or not.
I think I have tried them all so maybe it is the conky file as well.
Anyone have some insight?
System:
Kernel: 5.10.15-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64
root=UUID=dfe410d5-9b33-47dc-8f72-368ec466dae0 ro quiet apparmor=1
security=apparmor udev.log_priority=3
Desktop: KDE Plasma 5.20.5 tk: Qt 5.15.2 wm: kwin_x11 dm: SDDM
Distro: Manjaro Linux
Machine:
Type: Desktop Mobo: Gigabyte model: GA-78LMT-USB3 R2 v: sex serial: <filter>
BIOS: Award v: F1 date: 11/08/2017
CPU:
Info: 8-Core model: AMD FX-8350 bits: 64 type: MCP arch: Bulldozer
family: 15 (21) model-id: 2 stepping: N/A microcode: 6000852 L2 cache: 2 MiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 64449
Speed: 2171 MHz min/max: 1400/4000 MHz boost: enabled Core speeds (MHz):
1: 2171 2: 1492 3: 2717 4: 1409 5: 1408 6: 3277 7: 1439 8: 1417
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP:
disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] vendor: Gigabyte
driver: nouveau v: kernel bus ID: 01:00.0 chip ID: 10de:1c03 class ID: 0300
Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver:
loaded: nouveau unloaded: modesetting alternate: fbdev,nv,vesa
display ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 506x285mm (19.9x11.2")
s-diag: 581mm (22.9")
Monitor-1: DVI-D-1 res: 1920x1080 hz: 60 dpi: 102
size: 480x270mm (18.9x10.6") diag: 551mm (21.7")
OpenGL: renderer: NV136 v: 4.3 Mesa 20.3.4 direct render: Yes
Audio:
Device-1: AMD SBx00 Azalia vendor: Gigabyte driver: snd_hda_intel v: kernel
bus ID: 00:14.2 chip ID: 1002:4383 class ID: 0403
Device-2: NVIDIA GP106 High Definition Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:10f1
class ID: 0403
Sound Server: ALSA v: k5.10.15-1-MANJARO
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Gigabyte driver: r8169 v: kernel port: ce00 bus ID: 03:00.0
chip ID: 10ec:8168 class ID: 0200
IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:
Local Storage: total: 2.94 TiB used: 71.21 GiB (2.4%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: TeamGroup model: T253LE240G
size: 223.57 GiB block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
rotation: SSD serial: <filter> rev: 61.2 scheme: MBR
ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 830 Series
size: 476.94 GiB block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
rotation: SSD serial: <filter> rev: 3B1Q scheme: MBR
ID-3: /dev/sdc maj-min: 8:32 vendor: Toshiba model: DT01ACA200
size: 1.82 TiB block size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s
rotation: 7200 rpm serial: <filter> rev: ABB0 scheme: MBR
ID-4: /dev/sdd maj-min: 8:48 vendor: SanDisk model: SSD PLUS 480GB
size: 447.13 GiB block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
rotation: SSD serial: <filter> rev: 04RL scheme: MBR
Partition:
ID-1: / raw size: 109.76 GiB size: 107.53 GiB (97.97%)
used: 11.96 GiB (11.1%) fs: ext4 dev: /dev/sdd1 maj-min: 8:49
ID-2: /home raw size: 335.37 GiB size: 329.11 GiB (98.13%)
used: 59.25 GiB (18.0%) fs: ext4 dev: /dev/sdd5 maj-min: 8:53
Swap:
Kernel: swappiness: 60 (default) cache pressure: 100 (default)
ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sdd2 maj-min: 8:50
Sensors:
System Temperatures: cpu: 23.0 C mobo: N/A gpu: nouveau temp: 45.0 C
Fan Speeds (RPM): N/A gpu: nouveau fan: 0
Info:
Processes: 251 Uptime: 3h 57m wakeups: 0 Memory: 15.62 GiB
used: 2.19 GiB (14.0%) Init: systemd v: 247 Compilers: gcc: 10.2.0 Packages:
pacman: 1349 lib: 408 flatpak: 0 Shell: Bash v: 5.1.0 running in: yakuake
inxi: 3.3.01
conky.config = {
-- Conky settings
-- background yes
update_interval = 1,
-- Window specifications #
alignment = 'top_right',
gap_x = 40,
-- gap_y with clock is 40 without clock is -98 to balance clock image if removed later
gap_y = 0,
double_buffer = true,
minimum_width = 268, minimum_height = 795,
maximum_width = 268,
own_window = true,
own_window_transparent = true,
own_window_argb_visual = true,
own_window_class = 'conky',
own_window_type = 'normal',
-- other options are: override/normal/desktop/panel
own_window_hints = 'undecorated,skip_taskbar,sticky,below',
-- Text settings #
use_xft = true,
xftalpha = 0,
font = 'Droid Sans:size=8',
text_buffer_size = 256,
override_utf8_locale = true,
-- Useful shortenings #
short_units = true,
pad_percents = 2,
top_name_width = 7,
-- Color scheme #
default_color = '#336699',
color1 = '#336699',
color2 = '#000000',
color3 = '#FFFFFF',
color4 = '#336699',
color5 = '#666666',
color6 = '#CB6565',
color7 = '#DDDDDD',
color9 = '#FF7300',
};
conky.text = [[
${voffset 12}${font Droid Sans Mono :size=28}${alignc}${color3}${time %H:%M}${color}${font}
${font Droid Sans :size=12}${alignc}${color orange}${time %A, %d}${font}${color3}
${font DejaVu Sans Mono :size=11}${execpi 60 DJS="`date +%_d`"; cal |
sed s/"\(^\|[^0-9]\)$DJS"'\b'/'\1${color orange}'"$DJS"'$color3'/ |
sed s/^/'${offset 45}'/}${font Droid Sans :size=9}
##############
# - SYSTEM - #
##############
${voffset 10}${goto 30}${color3}SYSTEM
${goto 30}Hostname: ${goto 150}${nodename}
#${goto 30}System: ${goto 150}${execi 1800 cat /etc/issue| sed -e 's*GNU/Linux**' | sed -e 's/\\[l|n|r]//g'}\
${goto 30}Architecture: ${goto 150}$machine
${goto 30}Kernel: ${goto 150}${execi 1000 uname -r | sed -e 's/-generic//'}
${goto 30}Uptime: ${goto 150}${uptime}
${goto 30}Load Average: ${goto 150}$loadavg\
##############
# - CPU - #
##############
${voffset 10}
${goto 30}CPU
${goto 30}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //' | sed -e 's/(TM)//' | sed -e 's/(R)//' | sed -e 's/CPU//' | sed -e 's/@/:/' | sed -e 's/\ \ //' | sed -e 's/[0-9].[0-9][0-9]GHz//' | uniq} ${color orange}${freq_g dyn}${color3} Ghz
${goto 30}Temp ${color orange}${hwmon 0 temp 1}°C${color3}
${if_existing /sys/devices/system/cpu/cpu0}${goto 30}Core 1: ${cpu cpu0}% ${goto 150}${color FFFFFF}${cpubar cpu0 8,70}${color3}${endif}
${if_existing /sys/devices/system/cpu/cpu1}${goto 30}Core 2: ${cpu cpu1}% ${goto 150}${color FFFFFF}${cpubar cpu1 8,70}${color3}${endif}
${if_existing /sys/devices/system/cpu/cpu2}${goto 30}Core 3: ${cpu cpu2}% ${goto 150}${color FFFFFF}${cpubar cpu2 8,70}${color3}${endif}
${if_existing /sys/devices/system/cpu/cpu3}${goto 30}Core 4: ${cpu cpu3}% ${goto 150}${color FFFFFF}${cpubar cpu3 8,70}${color3}${endif}
${if_existing /sys/devices/system/cpu/cpu4}${goto 30}Core 5: ${cpu cpu4}% ${goto 150}${color FFFFFF}${cpubar cpu4 8,70}${color3}${endif}
${if_existing /sys/devices/system/cpu/cpu5}${goto 30}Core 6: ${cpu cpu5}% ${goto 150}${color FFFFFF}${cpubar cpu5 8,70}${color3}${endif}
${if_existing /sys/devices/system/cpu/cpu6}${goto 30}Core 7: ${cpu cpu6}% ${goto 150}${color FFFFFF}${cpubar cpu6 8,70}${color3}${endif}
${if_existing /sys/devices/system/cpu/cpu7}${goto 30}Core 8: ${cpu cpu7}% ${goto 150}${color FFFFFF}${cpubar cpu7 8,70}${color3}${endif}
\
##############\
# - MEMORY - #\
##############\
${voffset 10}\
# |--MEM
${goto 30}${color3}MEMORY
${goto 30}$memperc% ${goto 150}${membar 8,70}
${goto 30}Used: $mem ${goto 150}Total: $memmax
\
##############
# - SYSTEM - #
##############
${goto 30}SYSTEM USAGE
${goto 30}PROCESS${goto 150}CPU${goto 195}RAM
${goto 30}${top name 1} ${goto 150}${top cpu 1}${goto 190}${top mem 1}
${goto 30}${top name 2} ${goto 150}${top cpu 2}${goto 190}${top mem 2}
${goto 30}${top name 3} ${goto 150}${top cpu 3}${goto 190}${top mem 3}
##########
# - HD - #
##########
${goto 30}${color3}HDD
# |--HD default
${goto 30}/ ${goto 80}${fs_used_perc /}%${goto 150}${fs_bar 8,70 /}
${goto 30}Used: ${fs_used /} ${goto 150}Free: ${fs_free /}
${goto 30}/home ${goto 80}${fs_used_perc /home}%${goto 150}${fs_bar 8,70 /home}
${goto 30}Used: ${goto 80}${fs_used /home} ${goto 150}Free: ${fs_free /home}
${color3}
###############
# - NETWORK - #
###############
${if_existing /sys/class/net/enp3s0} \
${if_existing /sys/class/net/enp3s0/operstate up} \
${goto 30}${color3}WIRED NETWORK
${goto 30}Up:${totalup enp3s0}${goto 150}Down:${totaldown enp3s0}
${goto 30}Upload: ${upspeed enp3s0} ${goto 150}${upspeedgraph enp3s0 8,70}
${goto 30}Download: ${downspeed enp3s0} ${goto 150}${downspeedgraph enp3s0 8,70}
${goto 30}IP for enp3s0: ${goto 150}${color orange}${addr enp3s0}${color3}
${else} \
${goto 30}${color3}WIRED NETWORK
${goto 30}***********************************
${alignc}NOT CONNECTED
${goto 30}***********************************${color}
${endif} \
${endif}
${if_existing /sys/class/net/wlp4s0} \
${if_existing /sys/class/net/wlp4s0/operstate up} \
${goto 30}${color3}WIRELESS NETWORK
${goto 30}${color orange}${wireless_essid enp3s0}${color3}${goto
150}${wireless_link_qual_perc enp3s0}%
${goto 30}Up:${totalup enp3s0}${goto 150}Down:${totaldown enp3s0}
${goto 30}Upload: ${upspeed enp3s0} ${goto 150}${upspeedgraph enp3s0 8,70}
${goto 30}Download: ${downspeed enp3s0} ${goto 150}${downspeedgraph enp3s0 8,70}
${goto 30}IP for wlp4s0: ${goto 150}${color orange}${addr wlp4s0}${color3}
${else} \
${goto 30}${color3}WIRELESS NETWORK
${goto 30}***********************************
${alignc}NOT CONNECTED
${goto 30}***********************************${color}
${endif}
${endif}
]];