sexta-feira, 31 de maio de 2013

Tutorial Conky-color para Sabayon


Este tutorial vai te mostrar como instalar e configurar o Conky-color, que é um programa para configurar  o Conky, deixando-o mais bonito e com mais funções, fazendo isso de forma rápida e fácil!

 A principal vantagem do conky-color é configurar o conky com poucas linhas, sem ficar pesquisando códigos de configuração e desvendar linhas de comando complicadas.


Primeiro vamos baixar e instalar o Conky:
$ sudo equo i conky

Agora vamos baixar o Conky-color do site gnome-look.org no link abaixo:


http://gnome-look.org/content/download.php?content=92328&id=1&tan=1951017&PHPSESSID=afa62aebe3f1120cf8308f8eee13e0f6


Depois :

$ tar -xvzf 92328-conky_colors-5.0b1.tar.gz


Agora vamos instalar as bibliotecas, para funcionar os sensores :

$ sudo equo i hddtemp lm_sensors conky-all

Agora vamos mandar detectar os sensores, no comando abaixo responda YES para TODAS as perguntas inclusive as que o default é NO

$ sudo sensors-detect
 Reinicie sua sessão do Sabayon e abra um terminal, novamente vamos para o home onde descompactamos o Conky color:
cd ~
vamos agora entrar na pasta criada; cd conky_colors/ para instalar digite dentro da pasta
make
make install
Agora vamos as configurações:

para configurar basta usar ./conky-colors + as opções desejadas, 
dentro da pasta conky_colors então para ver todas as opções digite;

./conky-colors --help
Estas são as opções:
./conky-colors

    options:
    --lang= - Set default language:
     bulgarian OR bg
     deutsch OR de
     english OR en*
     estonian OR et
     italian OR it
     polish OR pl
     portuguese OR pt
     russian OR ru
     spanish OR es
    --theme=
 - Set default theme color
     gnome-brave
     gnome-carbonite
     gnome-human*
     gnome-noble
     gnome-tribute
     gnome-wine
     gnome-wise
     shiki-brave
     shiki-human
     shiki-noble
     shiki-wine
     shiki-wise
     shiki-dust
     dust
     custom
      These options work only with --theme=custom option
      --default-color=
      --color0=
      --color1=
      --color2=
    --dark - Set Dark Brightness(Don't work with skiki-colors/shikidust/dust/custom themes)'
    --alldark - Set Dark Brightness for all(Don't work with any theme)'
    --alllight - Set light Brightness for all(Don't work with any theme)'
    --cpu= - Set number of cpu cores
    --cputemp - Enable CPU temperature
    --swap - Enable SWAP
    --battery - Enable battery
    --updates - Show updates of Debian/Ubuntu
    --proc= - Enable top processes widget and set the number of processes to show [Max = 10]
    --clock= - Enable/disable clock widget and set type
    --nodata - disable Data widget
    --calendar - Enable calendar
     -m - Set monday as first day in the week in calendar
    --nvidia - Enable nvidia gpu widget
    --todo - Enable ToDo widget
    --hd= - Enable HD widget
    --hdtemp1= - Enable HD temperature [Ex: --hdtemp1=sda]
    --hdtemp2= - Enable HD temperature [Ex: --hdtemp2=sdb]
    --hdtemp3= - Enable HD temperature [Ex: --hdtemp3=sdc]
    --hdtemp4= - Enable HD temperature [Ex: --hdtemp4=sdd]
    --photo - Enable Photo widget
    --photord - Enable Photo widget in random mode
    --mpd - Enable MPD widget
    --rhythmbox= - Enable Rhythmbox widget
    --banshee= - Enable Banshee widget
    --exaile= - Enable Banshee widget
    --pidgin - Enable Pidgin widget
     --limit= - [default: 5] Set a limit to the number of buddies displayed
    --gmail - Enable gmail notify
     --user= - Type your username
     --passwd=
 - Type your password
    --network - Enable network widget
     --eth= - Change ethernet device [Default=0]
     --wlan= - Change wireless device [Default=0]
     --ppp= - Change 3g modem device [Default=0]
    --unit=- Force output temperature either in Celius or Fahrenheit
    --bbcweather= - Enable weather widget and set your AreaID[Ex: --bbcweather=3849]
    --weather= - Enable weather widget and set your AreaID[Ex: --weather=BRXX0043]
    --weatherplus - Give a plus to the weather widget
    --side= - Set the side of conky in your screem
    Choose your Distro Logo:
     --ubuntu
     --fedora
     --opensuse
     --debian
     --arch
     --gentoo
     --pardus
     --xfce
     --gnome

(*)default values
Sabendo disso vamos ao exemplo:

Se eu quiser ver um calendário,o logo do Gentoo, o relógio, ver a 
atividade do meu processador que tem 6 núcleos e em português.

./conky-colors --lang=pt --theme=blue --cpu=6 --cputemp --swap --hd=default   --proc=5  --clock=default --calendar --network --gentoo
make install
conky
Já conseguimos ver o Conky funcionando.

Eu uso esta configuração, que  inclusive já deixei em um arquivo txt para copiar e colar no terminal:

./conky-colors --lang=pt --theme=blue --cpu=6 --cputemp --swap --hd=default   --proc=5  --clock=default --calendar --network --gentoo
Vejam a foto de como ficou o meu abaixo:
O ideal é fazer que o Conky arranque junto com o sistema. Para fazer isso crie um arquivo, com o editor de texto de sua preferência, no seu home com o seguinte conteúdo:
#!/bin/bash
sleep 30
conky &
Salve com o nome conky_saba Abra um terminal e digite:
$ sudo chmod 755 conky_saba
NO XFCE vá em  Configurações > Sessão e Inicialização > inicio automático de aplicativo click em adicionar lá cocloque nome “conky” clique em navegar e aponte para o arquivo que você criou.
Pronto! Toda vez que iniciar o Sabayon, depois de 30 segundos vai iniciar o Conkycomo você configurou. Download do wallpaper : http://www.filebox.com/ok5dw1ft7cta Adaptação feita por mim do ubuntudicas.com.br/

2 comentários:

  1. Cara, valeu mesmo, estava tendo problemas ao compilar o conky-colors pelo layman!

    ResponderExcluir
  2. outro link para baixar o conky color por favor. Esse ja era!

    ResponderExcluir