Manjaro 17.0.5 Dicas Básicas para usar o Conky

2017

.


Dicas Básicas para usar o Conky

.

No Manjaro, eu posso por minha conta e risco usar este tutorial na íntegra.

.

Manjaro, como fazer para instalar o Conky?

.

sudo pacman -S conky

.

Tem o arquivo chamado .conkyrc file e a totalidade do conky vem de apenas um arquivo. Por padrão é chamado de .conkry e posso encontrar ele em-

.

~/.conkyrc

.

Que é o mesmo que-

.

/home//.conkyrc

.

Substituo com o nome que vem primeiro quando abro o terminal, exemplo-

.

[eu@pc ~]$

.

Então ficaria-

.

/home/eu/.conkyrc

.

Todo arquivo que tem um ponto no início dele é um arquivo escondido. Ele está lá, mas não aparece. Para poder ver ele eu tenho que apertar as teclas Ctrl+H.

.

O arquivo .conkry é um código. e todo código no Manjaro Linux pode ser editado se eu quiser e souber como fazer.

.

Instalando o Conky-Manager-

.

yaourt -S conky-manager

.

yaourt -S conky-lua

.

Caso de algo dar errado-

.

yaourt -S conky-manager-bzr

.

sudo pacman -S conky-manager

.

Exemplo-

.

$ sudo pacman -S conky-manager
[sudo] senha para eu:
atenção: conky-manager-2.4-2 está atualizado — reinstalando
resolvendo dependências…

.

cap-meu-conky-eu-para-wordpress-blog-semanickzaine

.

Eu posso ver as dicas básicas do Conky para o Manjaro 17.0.5 (downgrade) em-

.

https://wiki.manjaro.org/index.php?title=Basic_Tips_for_conky&oldid=12082”

.

Até breve.

.

Espero que este artigo tenha sido útil para você. Ele é bem útil para mim.

.

😀

.

Tutorial Conky no Teu Desktop

2017

Titulo do Artigo: Linux-Como-Instalar-e-configurar-o-Conky.txt

.

Como Instalar e configurar um belo Conky para o meu Desktop Linux?

.

Vou pesquisar…

.

Por minha conta e risco, Instalo e executo os comandos abaixo:

.

sudo apt-get install conky-all curl hddtemp lm-sensors -y

.

cap-terminal1

.

sudo chmod u+s /usr/sbin/hddtemp

cat-terminal2

sudo sensors-detect

(confirmo com Y ou S de yes ou sim tudo que for perguntado.)
.

 

Uso estes comandos abaixo:

 

sudo add-apt-repository ppa:teejee2008/ppa

sudo apt-get update

sudo apt-get install conky-manager

sudo apt-get update && sudo apt upgrade -y

 

.

Vou Usar este código de .conkry abaixo copiando ele e colando num editor de texto e salvando ele com o nome de ” .conkry_meu2″ ou algo parecido:

 

 

# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type override
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 182 0
maximum_width 182

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 1

# Default colors and also border colors
default_color white
#default_shade_color black
#default_outline_color white
own_window_colour white

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 30
gap_y 49

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none

TEXT
SYSTEM ${hr 2}
${goto 6}${voffset 6}${font OpenLogos:size=22}u${font}${goto 36}${voffset -18}${pre_exec cat /etc/issue.net} $machine
${goto 36}Kernel: ${kernel}
${hr 2}

${goto 6}${font StyleBats:size=16}A${font}${voffset -4}${goto 32}CPU1: ${cpu cpu0}% ${alignr}${cpubar cpu0 8,60}
${goto 6}${voffset 4}${font StyleBats:size=16}A${font}${voffset -4}${goto 32}CPU2: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${goto 6}${voffset 4}${font StyleBats:size=16}g${font}${voffset -4}${goto 32}Memory: ${mem} ${alignr}${membar 8,60}
${goto 6}${voffset 4}${font StyleBats:size=16}x${font}${voffset -4}${goto 32}Disk: ${diskio}${alignr}${diskiograph 8,60 F57900 FCAF3E}
${goto 6}${voffset 4}${font StyleBats:size=16}j${font}${voffset -4}${goto 32}Swap: $swapperc% ${alignr}${swapbar 8,60}
${goto 4.5}${voffset 2}${font Poky:size=15}y${font}${voffset -6}${goto 32}HDD temperature:${alignr}${color #FCAF3E}${exec hddtemp /dev/sda -n –unit=C} °C$color
${goto 6}${voffset 4}${font StyleBats:size=16}q${font}${voffset -4}${goto 32}Uptime: ${alignr}${uptime}
${goto 6}${voffset 4}${font StyleBats:size=16}k${font}${voffset -4}${goto 32}Processes: ${alignr}$processes ($running_processes running)
${goto 7.5}${voffset 4}${font Poky:size=15}a${font}${goto 32}${voffset -10}Highest: ${alignr 13}CPU${alignr}RAM
${goto 32}${voffset -5.5}${hr 1}
${voffset -1}${goto 32}${top name 1} ${goto 124}${top cpu 1}${alignr }${top mem 1}
${voffset -1}${goto 32}${top name 2} ${goto 124}${top cpu 2}${alignr }${top mem 2}
${voffset -1}${goto 32}${top name 3} ${goto 124}${top cpu 3}${alignr }${top mem 3}
${voffset -1}${goto 32}${top name 4} ${goto 124}${top cpu 4}${alignr }${top mem 4}

Time & Date ${hr 2}
${font Arial Black:size=26}${alignc}${time %H:%M}${font}
${alignc}${time %A, %B %d, %Y}

HDD ${hr 2}
${font Poky:size=16}y${font} ${voffset -5}File System
${voffset 4}${fs_free /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${font Poky:size=16}y${font} ${voffset -5}Home
${voffset 4}${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}

Network ${hr 2}
${if_up wlan0}
${font Poky:size=14}Y${font}${goto 32}${voffset -8}SSID: ${wireless_essid wlan0}
${goto 32}Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font VariShapes Solid:size=14}q${font}${goto 32}${voffset -6}Up: ${upspeed wlan0}${font} ${alignr}${upspeedgraph wlan0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totalup wlan0}
${voffset 4}${font VariShapes Solid:size=14}Q${font}${goto 32}${voffset -6}Down: ${downspeed wlan0}${font} ${alignr}${downspeedgraph wlan0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totaldown wlan0}
${voffset 4}${font Poky:size=13}w${font}${goto 32}${voffset -8}Local IP: ${alignr}${addr wlan0}
${goto 32}Public IP: ${alignr}${execi 3600 wget -O – http://whatismyip.org/ | tail}
# |–ETH0
${else}${if_up eth0}
${voffset -13}${font VariShapes Solid:size=14}q${font}${goto 32}${voffset -6}Up: ${upspeed eth0}${font} ${alignr}${upspeedgraph eth0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totalup eth0}
${voffset -2}${font VariShapes Solid:size=14}Q${font}${goto 32}${voffset -6}Down: ${downspeed eth0}${font} ${alignr}${downspeedgraph eth0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totaldown eth0}
${voffset -2}${font Poky:size=13}w${font}${goto 32}${voffset -4}Local IP: ${alignr}${addr eth0}
${goto 32}Public IP: ${alignr}${execi 3600 wget -O – http://whatismyip.org/ | tail}
# |–PPP0
${endif}${else}${if_up ppp0}
${voffset -13}${font VariShapes Solid:size=14}q${font}${goto 32}${voffset -6}Up: ${upspeed ppp0}${font} ${alignr}${upspeedgraph ppp0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totalup ppp0}
${voffset -2}${font VariShapes Solid:size=14}Q${font}${goto 32}${voffset -6}Down: ${downspeed ppp0}${font} ${alignr}${downspeedgraph ppp0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totaldown ppp0}
${voffset -2}${font Poky:size=13}w${font}${goto 32}${voffset -4}Local IP: ${alignr}${addr ppp0}
${endif}${else}${voffset 4}${font PizzaDude Bullets:size=12}4${font}${goto 32}Network Unavailable${endif}${endif}

 

 

.

Salvo (recorto e colo) este arquivo na pasta .conky que existe escondida na pasta home. Para ver a pasta .conky, aperto as teclas Ctrl+H.

.

Veja o arquivo:

cap-meu-conkry2-que-vou-colar-na-pasta-conky

.

Eu vou recortar este arquivo acima em azul, e vou colar na pasta .conky.

.

Depois vou atualizar o sistema com “sudo apt-get update && sudo apt full-upgrade -y”.

.

Abaixo veja a pasta .conky:

cap-veja-a-pasta-conky-em-azul

.

Abro o conky-manager que está em: menu > acessórios > conky mamager e seleciono .conky/.conkry_meu2

cap-onde-esta-o-conky-manager
.

captura-tutorial-conky-instalação-e-configuracao-conky-all

.

 

Agora instalo uns Wallpapers e o Plank com o comando abaixo:

.

sudo apt install xubuntu-community-wallpapers-xenial xubuntu-community-wallpapers plank -y

.

Instalo uns icones maneiros e uns temas legais com o comando abaixo:

.

sudo apt install elementary-icon-theme arc-icons moka-icon-theme system76-pop-icon-theme victory-icon-theme -y

.

E é assim que eu tenho um belo Desktop. Na minha humilde opinião, claro. Veja abaixo:

.

cap-um-desktop-linux-bonito

.

É isto aí pessoal! Abacou este tutorial.

.

Até Breve!

.

Mantenha-se conectado. Dicas, correções e sugestões; são muito bem-vindas!

.

😀