Posted by Laudeci Oliveira | 3 comments
Conky on Ubuntu 10.04 LTS Beta 1
Well, as asked in my last post, here comes the steps used to get that conky layout.
- Download the Another conky config 0.02 (newer than mine).
- Extract the file 121331-conkypatch.tar.gz.
- Edit the conky.conf file,
- change own_window_type override to own_window_type root (For some reason override will not draw on desktop in lucid).
- change ${image ~/.conkypatch/icons/logo.png -p 18,0 -s 45×45} to ${image /usr/share/icons/gnome/32×32/places/start-here.png -p 11,7}
- Add the following line to the end:
${font Martin Vogel’s Symbols:size=14}B${font}${voffset -1}Mail: ${alignr}${font DejaVu Sans:pixelsize=10:style=Bold}${execi 10 python ~/.conkyScripts/gmail_1.py n} ${color2}mail(s)
- Save the file as .conkyrc in your home folder.
- Download the wallpaper used here.
- Download the gmail script here and save it to the ~/.conkyScripts folder (Don’t forget to set your username and password in the script).
- You can download and install these fonts too.
My conky file can be downloaded here.
Thank you Adrian patchpl for this beautifull conky config and Enrico for the Purple sensation wallpaper.
Posted by Laudeci Oliveira | 0 comments
APTonCD on Ubuntu Lucid Lynx
Depois de muito tempo sem poder adicionar funcionalidades ou retocar o que já funcionava, decidi resolver um problema no APTonCD que incomodava um grade número de usuários, O comportamento visual ao usar temas diferentes.
Para exemplificar o problema, uma breve introdução: O APTonCD utiliza um esquema de cores para destacar o status dos pacotes em sua lista.
São eles:
- Pacotes instalados com a mais nova versão;
- Pacotes não instalados, com a mais nova versão;
- Pacotes instalados com versão mais antiga;
- Pacotes não instalados com versão mais antiga;
- Pacotes “CUSTOM”, adicionados a lista utilizando o botão ‘adicionar’ ou pelo drag ‘n drop utilizando o nautilus;
- Pacotes BAD, que são os pacotes que não foram corretamente importados pelo APTonCD;
O problema mais comum era mostrar os pacotes com versões mais antigas utilizando uma cor que visualmente alertasse para um pacote antigo, o time de desenvolvimento optou pela cor utilizada no fundo de um Label (Rótulo) para demonstrar um ítem desabilitado, que não responde à eventos do mouse ou do teclado. O resultado pode ser visto na figura abaixo:
Notem a dificuldade para ler as informações dos pacotes adduser (3.110ubuntu7), adobe-flashplugin (10.0.42.34-2karnic1), etc.
Após a mudança, utilizando a cor do tema para inativo do texto e não do fundo, o resultado visual ficou bem melhor.
Junto com a mudança visual vem a utilização da versão mais nova da API do Python-apt.
Muito mais está por vir, aguardem!!!
Posted by Laudeci Oliveira | 0 comments
APTonCD and Themes.
After a long time without being able to add any new functionality or improve something already done, decided to resolve an issue that bothered a lot users, the visual behavior to using different themes.
To illustrate the problem, a brief introduction: APTonCD uses a color scheme to highlight the status of packages on it’s list.
They are:
- Installed with newer version;
- Not installed but with newer versions;
- Installed but using an old version;
- Not Installed but using an old version;
- “CUSTOM” packages, using the ‘add’ button or by draging’n droping from nautilus;
- BAD Packages, packages that was not correct loaded by APTonCD;
The most common problem was to show packages with older versions using a color that aware the user for an old package, the development team chose the insensiteve color used by themes in the background color of a Label to show an item that does not respond to events mouse or keyboard. The result can be seen in the figure below:
Notice how difficult is to see informations of adduser (3.110ubuntu7) and adobe-flashplugin (10.0.42.34-2karnic1) packages.
After change it, the theme color used is the STATE_ INSENSITIVE for text and not backgrounds. The result is much better.
Now it’s using the new Python-apt API.
There’s much more coming, fasten your sit belts!!!
Posted by Laudeci Oliveira | 0 comments
Easy GUI Window Button Switcher para Lucid (e Karm...
Para quem deseja mudar o posicionamento dos botões de modo gráfico, aqui vai a dica de um script python criado pelo autor do post original
Easy GUI Window Button Switcher for Lucid (and Karmic) users
Faça o download do script em @ http://eftimie.ro/store/window_controls.py
Clique com o botão direito no script e escolha “Propriedades”. De lá, escolha a aba “Permissões” e marque a caixa ao lado de “Permitir excutar o arquivo como programa.” (ou aproximadamente).
Agora clique duas vezes sobre o arquivo e uma janela como os da tela acima será aberta.
Fonte original: omgubuntu
Posted by Laudeci Oliveira | 7 comments
Alterando a tela de login no Ubuntu karmic
Por padrão o GDM2 ainda não possibilita uma interface para alteração da tela de login. Porém, o GDM2 Setup Team criou uma aplicação em python que executa todo o trabalho pesado.
Para instalar execute os seguintes comandos no terminal:
sudo add-apt-repository ppa:gdm2setup/gdm2setup
sudo apt-get update
sudo apt-get install python-gdm2setup
Após a instalação inicie o aplicativo em Sistema -> Administração -> Login Screen ( GDM2 Setup)
Configure as opções do login:
Configure o plano de fundo:
Configure o tema a ser utilizado:
Agora é só aproveitar o novo tema
Posted by Laudeci Oliveira | 3 comments
Happy Birthday
OgMaciel is a person who I really admire in the community, his efforts, his ideas and the motivation he gives to the beginning ones.
I leave a pseudo source code here trying to express a little of my admiration and what I really desire for his anniversary and the days that will still comming.
import human
from life import Life
import Wishes
class BirthDay:
def __init__(self):
self.life = Life()
self.OgMaciel = human.Person()
self.OgMaciel.good_person = True
def Congratulations(self):
current_life = life.get_current_life(self.OgMaciel)
self.OgMaciel.apply(Wishes.health, current_life)
self.OgMaciel.apply(Wishes.success, current_life)
self.OgMaciel.apply(Wishes.happyness, current_life)
self.OgMaciel.copy_to_family(self.OgMaciel.life_attributes)
if __name__ == "__main__":
app = BirthDay()
app.Congratulations()
Happy birthday OgMaciel.






