Conky personalizado

Instalar um Conky objetivo e pratico sem muitas imagens gráficas, evitando a perda de tempo para configurar, baixá-lo no diretório, já usei o gerenciador de Conky gráfico que não é uma das melhores experiência.

Sempre comento que beleza em determinados aplicativos não servem de nada.

A pesquisa foi o fator determinante para realizar o procedimento corretamente, gerando um resultado satisfatório evitando que fosse um padrão.


Conky personalizado
Conky do primeiro código
Para iniciar o procedimento evite de logar no modo root😱

O Conky jamais poderá funcionar ao iniciar⇉


Abra o Gedite e digite Gedit ~/conkyrc, salve como Conkyrc no diretorio Home.



Antes disso a opção de dois códigos para usar 😱

## I don't take full credit for this config!  I found it on the net and mofified to my own liking.
##
background no
font sans:size=8
#xftfont sans:size=10
use_xft yes
xftalpha 0.9
update_interval 3.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 600
maximum_width 225
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color green
alignment top_right
gap_x 20
gap_y 20
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
uppercase no # set to yes if you want all text to be in uppercase
temperature_unit celcius

TEXT
${image $HOME/.Conky/Pukin/logo1.png -p 0,5 -s 55x55} ${alignc 72}${font Neuropolitical:pixelsize=30}${alignr}${color tan2}Manjaro
${color tan2}${font Neuropolitical:size=8:bold}TIME ${color slategrey} ${hr 2} ${color white}${font}
${color white}${font Neuropolitical:pixelsize=46}${time %H:%M}${font}
${alignc -24}${color  white}${font Neuropolitical:pixelsize=10}${time %a %d %b %Y}${font}
${color tan2}${font Neuropolitical:size=8:bold}SYSTEM ${color slategrey} ${hr 2} ${color white}${font}
 Hostname: $alignr$nodename
 Kernel: $alignr$kernel
 Uptime: $alignr$uptime
 Battery: ${battery_percent BAT1}% ${alignr}${battery_bar 6, 140 BAT1}

${color tan2}${font Neuropolitical:size=8:bold}PROCESSOR ${color slateGray} ${hr 2} ${color white}${font}
 CPU: ${alignr}${freq} MHz
 Processes: ${alignr}$processes ($running_processes running)
 CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 6,140}
 CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 6,140}
 CPU3: ${cpu cpu3}% ${alignr}${cpubar cpu3 6,140}
 CPU4: ${cpu cpu4}% ${alignr}${cpubar cpu4 6,140}
 CPU Temp:${alignr}${hwmon temp 1}°C

${color tan2}${font Neuropolitical:size=8:bold}MEMORY ${color SlateGray} ${hr 2} ${color white}${font}
 Ram: ${memperc}% ${alignr}${membar 5,140}
 Swap: ${swapperc}% ${alignr}${swapbar 5,140}

${color tan2}${font Neuropolitical:size=8:bold}PROCESSES ${color SlateGray} ${hr 2} ${color white}${font}
 NAME: $alignr   PID   CPU  MEM ${font sans:pixelsize=9}
   ${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}

${font Neuropolitical:bold:size=8}${color tan2}FILESYSTEM ${color slategrey} ${hr 2} ${color white}${font}
 Root: ${alignr}${fs_used_perc /}%  ${fs_bar 6, 140}
${font sans:pixelsize=7.85}${alignc 48}Size: ${fs_used /} / ${fs_size}${font}
 Data: ${alignr}${fs_used_perc /run/media/james/Storage}%  ${fs_bar 6, 140 /run/media/james/Storage}
${font sans:pixelsize=7.85}${alignc 48}Size: ${fs_used /media/New Volume} / ${fs_size /media/New Volume}${font}
 Removable:
  Cruiser: ${fs_used_perc /media/D092-94A9}% ${fs_bar 6, 60 /media/D092-94A9} ${font sans:pixelsize=7.85}${alignr}${fs_used /media/D092-94A9} / ${fs_size /media/D092-94A9}${font}
  Xternal: ${fs_used_perc /media/Elements}% ${fs_bar  6, 60 /media/Elements} ${font sans:pixelsize=7.85}${alignr}${fs_used /media/Elements} / ${fs_size /media/Elements}${font}

${color tan2}${font Neuropolitical:size=8:bold}NETWORK ${color slateGray} ${hr 2} ${color white}${font}
 SSID: $alignr ${wireless_essid wlp0s29u1u7}
 WiFi Signal: ${alignr}${wireless_link_bar 6, 140 wlp0s29u1u7}
 Local IP: ${alignr}${addr wlp0s29u1u7}
 Public IP: ${alignr}${exec wget -q -O - checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'}

${color tan2}${font Neuropolitical:size=8:bold}NVIDIA ${color slateGray} ${hr 2} ${color white}${font}
${alignr}${font Neuropolitical:pixelsize=8.5}${color tan2}${exec inxi -G | grep -i "card" | tail -c+26}${color white}${font}
GPU Clock: ${alignr}${exec nvidia-settings -q GPU2DClockFreqs -t}MHz${color}
Video RAM: ${alignr}${exec nvidia-settings -q VideoRam -t} KiB
Driver Version: ${alignr}${exec nvidia-settings -q NvidiaDriverVersion -t}
Resolution:${alignr}${exec inxi -G | grep "Resolution" | tail -c+84}
#Resolution: ${alignr}${exec nvidia-settings -q FrontEndResolution -t}
#Refresh: ${alignr}${exec nvidia-settings -q RefreshRate3 -t}
OpenGL: ${alignr}${exec nvidia-settings -q OpenGLVersion -t | head -c6}
Xorg: ${alignr}${exec cat /var/log/Xorg.0.log | grep "X.Org X Server " | tail -c+16}${font}



Segue aqui o segundo código 😁


# Conky, a system monitor, based on torsmo

alignment middle_right
background no
use_xft yes
font Dejavu Sans:size=8
xftalpha 0
update_interval 2.0
total_run_times 0
own_window yes
own_window_transparent no
own_window_type desktop
own_window_argb_visual yes
own_window_argb_value 120
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 200
maximum_width 200
draw_shades no
draw_outline yes
draw_borders no
draw_graph_borders no
default_color 999999
default_shade_color black
default_outline_color black
alignment top_right
gap_x 8
gap_y 124
no_buffers yes
cpu_avg_samples 2
text_buffer_size 1024
override_utf8_locale no
uppercase no
double_buffer yes

TEXT
S I S T E M A
$hr
Sistema: $sysname $kernel
${color grey}Tempo escedido:$color $uptime
Hora: ${time %H:%M:%S}  Data: ${time %e/%b/13}
C P U$alignr ${cpu cpu0}%
$hr
Procesador: ${alignr}${freq_g}GHz / 2.28GHz
${color green}${cpubar 4 cpu0}${color grey}
${color green}${cpubar 4 cpu1}${color grey}
${color green}${cpubar 4 cpu2}${color grey}
${color green}${cpubar 4 cpu3}${color grey}
T O P   C P U
$hr
Proceso$alignr CPU% MEM%
${top name 1}$alignr${top cpu 1}   ${top mem 1}
${top name 2}$alignr${top cpu 2}   ${top mem 2}
${top name 3}$alignr${top cpu 3}   ${top mem 3}

R A M$alignr $memperc%    
$hr
Memoria: ${alignr}${mem} / ${memmax}
${color green}${membar 4}${color grey}

T O P   R A M
$hr
Proceso $alignr CPU% MEM%
${top_mem name 1}$alignr${top_mem cpu 1}   ${top_mem mem 1}
${top_mem name 2}$alignr${top_mem cpu 2}   ${top_mem mem 2}
${top_mem name 3}$alignr${top_mem cpu 3}   ${top_mem mem 3}

A R M A Z E N A M E N T O
$hr
Raiz: ${alignr}$color${fs_used /} / ${fs_size /}
${color green}${fs_bar 4 /}${color grey}
Home: ${alignr}$color${fs_used /home} / ${fs_size /home}
${color green}${fs_bar 4 /home}${color grey}
4760CE7366471CEB: ${alignr}$color${fs_used /run/media/celsopassos/4760CE7366471CEB} / ${fs_size /run/media/celsopassos/4760CE7366471CEB}
${color green}${fs_bar 4 /run/media/celsopassos/4760CE7366471CEB}${color grey}
R E D E S${alignr}${downspeed wlp1s0}
$hr
Entrada/Saida ${alignr}${totaldown wlp1s0} / ${totalup wlp1s0}




Para Iniciar vá em Todas as configurações, Abra Sessão e Inicialização


Conky personalizado
Edite a comando do Conky





Localize Conky clique em editar😱



Cole esse código e encerre a sessão


sh -c 'sleep 45;sh -c "conky"'


45 é referente aos segundos que o Conky será iniciado quando o Sistema for iniciado.



Conky personalizado
Realize a alteração




Forúm Manjaro