Sticky post
Projeto
Sunday, October 16, 2005 4:20:02 PM
Usarei este blog para armazenar o conteúdo dos meus empenhos em evangelização tecnológica.
Algumas entradas estão em segunda pessoa (meio que em segunda, usando pronomes de tratamento), outras em terceira pessoa.
This blog is for Tech Evangelism!
Algumas entradas estão em segunda pessoa (meio que em segunda, usando pronomes de tratamento), outras em terceira pessoa.
This blog is for Tech Evangelism!
Opening Dolphin from Firefox and other gtk applications (on Ubuntu)
Saturday, August 7, 2010 6:17:22 AM
I have tested only on Ubuntu, but this might apply to some other distros.
Some people follow this: https://help.ubuntu.com/community/DefaultFileManager
but it makes nautilus useless. That's bad!
Instead of changing the way nautilus works, you just want to get rid of it - and let other people use it if they want.
As sudo:
1 - Open the files:
and
2 - Replace the contents of the MimeType of the dolphin.desktop with the one from nautilus-folder-handler.desktop (replace the entire line).
3 - Run
Here it worked out of the box... if it doesn't work for you, don't worry.
1 - Open
2 - Locate each occurrence of kd4-dolphin.desktop and place it before any other option.
For instance:
should be:
As a bonus, each user can have a mimeinfo.cache on
It's on a per user basis, it won't be smart enough to detect if you're running KDE or not. But you are
.
For instance, you can make a script to make copies of the mimeinfo.cache file locally and execute scripts when starting your desktop environment to make a symbolic link to the right mimeinfo.cache.
At least for a per user basis, you can leave one safe system default (GNOME) and one for you.
Note: Firefox uses x-directoroy/gnome-default-handler instead of x-directory/normal, as one would expect.
Note 2: The MimeType change is required.
Some people follow this: https://help.ubuntu.com/community/DefaultFileManager
but it makes nautilus useless. That's bad!
Instead of changing the way nautilus works, you just want to get rid of it - and let other people use it if they want.
As sudo:
1 - Open the files:
/usr/share/applications/nautilus-folder-handler.desktop
and
/usr/share/applications/kde4/dolphin.desktop
2 - Replace the contents of the MimeType of the dolphin.desktop with the one from nautilus-folder-handler.desktop (replace the entire line).
3 - Run
update-desktop-database -v
Here it worked out of the box... if it doesn't work for you, don't worry.
1 - Open
/usr/share/applications/mimeinfo.cache
2 - Locate each occurrence of kd4-dolphin.desktop and place it before any other option.
For instance:
x-directory/gnome-default-handler=nautilus-folder-handler.desktop;kde4-dolphin.desktop;
should be:
x-directory/gnome-default-handler=kde4-dolphin.desktop;nautilus-folder-handler.desktop;
As a bonus, each user can have a mimeinfo.cache on
$HOME/local/share/applicationsand specify it's own order. No logout required.
It's on a per user basis, it won't be smart enough to detect if you're running KDE or not. But you are
.For instance, you can make a script to make copies of the mimeinfo.cache file locally and execute scripts when starting your desktop environment to make a symbolic link to the right mimeinfo.cache.
At least for a per user basis, you can leave one safe system default (GNOME) and one for you.
Note: Firefox uses x-directoroy/gnome-default-handler instead of x-directory/normal, as one would expect.
Note 2: The MimeType change is required.
History...
Sunday, April 20, 2008 5:12:05 AM
$ history|awk '{a[$2]++ } END{for(x in a){print a[x] " " x}}'|sort -rn|head
1187[1] cd
667 cvs[2]
607 ls
579 export[3]
379 l[4]
311 cat[5]
309 top
255 fg[6]
245 git
213 emacs[8]
1 - Yeah... I got 11172 lines in my history.
2 - I don't like CVS, but I update the Mozilla source code often.
3 - 529 from them is for exporting a variable used to choose what Mozilla tree to build.
4 - Alias to 'ls -CF'.
5 - One of my main text editors.
6 - Its main use is to put emacs in the foreground right after releasing its terminal[7]: http://www.gnu.org/software/bash/manual/bashref.html#Job-Control-Basics
7 - Yeah, I run emacs in a terminal.
8 - Usually I only have to run it twice[9] each time I turn my computer on.
9 - There are some commands I run exactly once when I turn my computer on and they got around 107 entries.
1187[1] cd
667 cvs[2]
607 ls
579 export[3]
379 l[4]
311 cat[5]
309 top
255 fg[6]
245 git
213 emacs[8]
1 - Yeah... I got 11172 lines in my history.
2 - I don't like CVS, but I update the Mozilla source code often.
3 - 529 from them is for exporting a variable used to choose what Mozilla tree to build.
4 - Alias to 'ls -CF'.
5 - One of my main text editors.
6 - Its main use is to put emacs in the foreground right after releasing its terminal[7]: http://www.gnu.org/software/bash/manual/bashref.html#Job-Control-Basics
7 - Yeah, I run emacs in a terminal.
8 - Usually I only have to run it twice[9] each time I turn my computer on.
9 - There are some commands I run exactly once when I turn my computer on and they got around 107 entries.
Novos ícones no SeaMonkey
Saturday, December 8, 2007 6:20:47 PM
O SeaMonkey, antiga Suíte Mozilla, além de ter um visual novo ganhou agora ícones novos, na sua versão em desenvolvimento.
Segue um screenshot:

Segue um link para a imagem em tamanho real:
http://files.myopera.com/Asrail/albums/30670/newsmicons.png
Segue um screenshot:

Segue um link para a imagem em tamanho real:
http://files.myopera.com/Asrail/albums/30670/newsmicons.png
Falta do que fazer
Friday, October 12, 2007 10:09:41 PM
Só pra mostrar um snippet de Ruby, nascido do #ruby-br da Freenode, ao tentar explicar o que são blocos de código a um carinha...
irb(main):001:0> def fibonacci(fim, &bloco)
irb(main):002:1> ini = 0
irb(main):003:1> inc = 1
irb(main):004:1> while ini <= fim
irb(main):005:2> bloco.call ini
irb(main):006:2> ini += inc
irb(main):007:2> bloco.call inc if inc <= fim
irb(main):008:2> inc += ini
irb(main):009:2> end
irb(main):010:1> end
=> nil
irb(main):011:0> fibonacci(100){|n| puts n}
0
1
1
2
3
5
8
13
21
34
55
89
=> nil
irb(main):012:0>
Importando perfil do Thunderbird no SeaMonkey (vale pra Firefox)
Thursday, August 23, 2007 1:43:01 PM
1 - a) Abra o gerenciador de perfis do SeaMonkey
b) alternativamente, se não tiver senhas salvas, etc., quiser
apenas manter os favoritos, pode pular para o passo 4.
2 - crie um perfil
3 - feche o gerenciador
4 - localize a pasta onde ficam os perfis do Thunderbird
5 - entre na pasta do perfil que queira usar
6 - copie tudo
7 - vá para a pasta onde ficam os perfis do SeaMonkey
8 - entre na pasta correspondente ao perfil recém-criado
9 - entre na pasta "########.slt" (onde '###' são letras e números
aleatórios)
10 - cole tudo (se perguntar, mande sobrescrever tudo)
11 - apague o arquivo "chrome.rdf" na pasta "chrome"
12 - abra o arquivo "prefs.js" em um editor de texto
(OpenOffice/BrOffice.org, por exemplo)
13 - use a função de Localizar e Substituir do teu editor (Control+F é
um atalho no OpenOffice/BrOffice.org)
14 - em "localizar", coloque o caminho completo para o perfil antigo:
- no windows é algo como "C:\Documents and
Settings\[Usuário]\Application
Data\Thunderbird\Profiles\########.[nome dele]"
- no Linux é como
"/home/[Usuário]/.mozilla-thunderbird/#######.[nome dele]")
15 - em "substituir", coloque o caminho completo para o perfil novo
16 - Use o perfil que criou no SeaMonkey
b) alternativamente, se não tiver senhas salvas, etc., quiser
apenas manter os favoritos, pode pular para o passo 4.
2 - crie um perfil
3 - feche o gerenciador
4 - localize a pasta onde ficam os perfis do Thunderbird
5 - entre na pasta do perfil que queira usar
6 - copie tudo
7 - vá para a pasta onde ficam os perfis do SeaMonkey
8 - entre na pasta correspondente ao perfil recém-criado
9 - entre na pasta "########.slt" (onde '###' são letras e números
aleatórios)
10 - cole tudo (se perguntar, mande sobrescrever tudo)
11 - apague o arquivo "chrome.rdf" na pasta "chrome"
12 - abra o arquivo "prefs.js" em um editor de texto
(OpenOffice/BrOffice.org, por exemplo)
13 - use a função de Localizar e Substituir do teu editor (Control+F é
um atalho no OpenOffice/BrOffice.org)
14 - em "localizar", coloque o caminho completo para o perfil antigo:
- no windows é algo como "C:\Documents and
Settings\[Usuário]\Application
Data\Thunderbird\Profiles\########.[nome dele]"
- no Linux é como
"/home/[Usuário]/.mozilla-thunderbird/#######.[nome dele]")
15 - em "substituir", coloque o caminho completo para o perfil novo
16 - Use o perfil que criou no SeaMonkey
Nova casa para o SeaMonkey-BR
Sunday, August 5, 2007 1:51:07 AM
Após já ter se hospedado no Mozdev, posteriormente no mozilla.org.br, agora o projeto SeaMonkey-BR vive na mozilla.org:
SeaMonkey em Português do Brasil
Aproveitando... a 1.1.4 saiu ontem e já temos a versão portuga, inclusive sendo uma das primeiras listadas no site oficial
.
SeaMonkey em Português do Brasil
Aproveitando... a 1.1.4 saiu ontem e já temos a versão portuga, inclusive sendo uma das primeiras listadas no site oficial
.The future of Thunderbird (Firefox Corporation)
Thursday, July 26, 2007 4:12:58 AM
http://gemal.dk/blog/2007/07/25/thunderbird_moves_out/
http://scott-macgregor.org/blog/?p=4
http://weblogs.mozillazine.org/ben/archives/018322.html
http://robert.accettura.com/archives/2007/07/25/the-future-of-thunderbird/
http://weblogs.mozillazine.org/mitchell/archives/2007/07/email_futures.html
http://home.kairo.at/blog/2007-07/separating_mail_from_browser_again
http://weblogs.mozillazine.org/gerv/archives/2007/07/thunderbird_thoughts.html
http://www.allpeers.com/blog/2007/07/27/mozilla-firefox-thunderbird-and-the-hybrid-hypothesis/
http://www.melez.com/mykzilla/2007/07/its-not-just-about-thunderbird.html
http://weblogs.mozillazine.org/gerv/archives/2007/07/thunderbird_thoughts.html
http://weblogs.mozillazine.org/mitchell/archives/2007/07/thunderbird_and_the_mozilla_mi.html
http://weblogs.mozillazine.org/mitchell/archives/2007/07/thunderbird_features_discussio.html
http://standblog.org/blog/post/2007/07/28/Seven-things-that-makes-Firefox-and-Thunderbird-different-animals
http://glazman.org/weblog/dotclear/index.php?2007/07/28/3720-nitot-email-interop
http://scott-macgregor.org/blog/?p=5
http://weblogs.mozillazine.org/asa/archives/2007/07/thunderbirds_no.html
http://weblogs.mozillazine.org/rumblingedge/archives/2007/07/thunderbird_future.html
http://blog.mozilla.com/axel/2007/07/30/mail-matters/
http://blog.mozilla.com/bienvenu/2007/07/30/recent-thunderbird-discussions/
http://scott-macgregor.org/blog/?p=4
http://weblogs.mozillazine.org/ben/archives/018322.html
http://robert.accettura.com/archives/2007/07/25/the-future-of-thunderbird/
http://weblogs.mozillazine.org/mitchell/archives/2007/07/email_futures.html
http://home.kairo.at/blog/2007-07/separating_mail_from_browser_again
http://weblogs.mozillazine.org/gerv/archives/2007/07/thunderbird_thoughts.html
http://www.allpeers.com/blog/2007/07/27/mozilla-firefox-thunderbird-and-the-hybrid-hypothesis/
http://www.melez.com/mykzilla/2007/07/its-not-just-about-thunderbird.html
http://weblogs.mozillazine.org/gerv/archives/2007/07/thunderbird_thoughts.html
http://weblogs.mozillazine.org/mitchell/archives/2007/07/thunderbird_and_the_mozilla_mi.html
http://weblogs.mozillazine.org/mitchell/archives/2007/07/thunderbird_features_discussio.html
http://standblog.org/blog/post/2007/07/28/Seven-things-that-makes-Firefox-and-Thunderbird-different-animals
http://glazman.org/weblog/dotclear/index.php?2007/07/28/3720-nitot-email-interop
http://scott-macgregor.org/blog/?p=5
http://weblogs.mozillazine.org/asa/archives/2007/07/thunderbirds_no.html
http://weblogs.mozillazine.org/rumblingedge/archives/2007/07/thunderbird_future.html
http://blog.mozilla.com/axel/2007/07/30/mail-matters/
http://blog.mozilla.com/bienvenu/2007/07/30/recent-thunderbird-discussions/
Segundo...
Tuesday, July 10, 2007 6:38:02 PM
http://www.dicas-l.com.br/
Quem não viaja ganha um livro =(.
É algo que deva me fazer preencher uns quatro dias, como se tivesse num congresso de entretenimento digital na Espanha...
Obrigado a todos os que votaram em mim, fiquei feliz de estar bem colocado, apesar de não ser o primeiro.
Quem não viaja ganha um livro =(.
É algo que deva me fazer preencher uns quatro dias, como se tivesse num congresso de entretenimento digital na Espanha...
Obrigado a todos os que votaram em mim, fiquei feliz de estar bem colocado, apesar de não ser o primeiro.
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
| ||||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | 31 | ||
Tags
Blogs
-
Leandro Mercês
Blog do Leandro Mercês, relacionado a Mozilla, Web, padrões web...








