Fórum Ubuntu Linux - PT
17 de Abril de 2014, 15:44 *
Olá, Visitante. Faça o login ou registre-se.
Perdeu o seu e-mail de ativação?

Login com nome de usuário, senha e duração da sessão
Notícias: Sejam todos bem-vindos e fiquem atentos às regras de utilização do fórum e política de privacidade.
 
   Home   Ajuda Regras Pesquisa Login Registre-se  
Anúncios
Páginas: [1]   Ir para o fundo
  Imprimir  
Autor Tópico: Alterar gerenciador de arquivos no Ubuntu  (Lida 1746 vezes)
jkmsjq
Usuário Ubuntu
*
Deslogado Deslogado

Mensagens: 2.692


Ubuntu Member


Ver Perfil
« em: 25 de Janeiro de 2012, 16:05 »

Esse post foi alterado em relação ao original pelo fato do primeiro estar direcionado para a versão 10.04. Mesmo assim mantive a fonte da onde retirei a informação!


Para mudar o gerenciador padrão do Ubuntu edite como root o arquivo de configuração:

sudo gedit home/usuario/.local/share/applications/mimeapps.list (onde usuário é o seu como: /home/joao)

o arquivo defaults.list tem as indicações dos programas default, isto é, os programas que devem ser abertos ao se clicar para executar determinada tarefa. Exemplo:

    navegador web - firefox
    documento do openoffice - openoffice
    etc


As linhas abaixo são do defaults.list. Procure pela linha "inode/directory=pcman.desktop" e altere por qual quiser, no meu caso Nautilus: inode/directory=nautilus.desktop

Citar
[Default Applications]
application/csv=gnumeric.desktop
application/excel=gnumeric.desktop
application/msexcel=gnumeric.desktop
application/msword=abiword.desktop
application/ogg=aqualung.desktop
application/pdf=evince.desktop
application/postscript=evince.desktop
application/rtf=abiword.desktop
application/tab-separated-values=gnumeric.desktop
application/vnd.lotus-1-2-3=gnumeric.desktop
application/vnd.ms-excel=gnumeric.desktop
application/vnd.ms-word=abiword.desktop
application/vnd.rn-realmedia=smplayer.desktop
application/vnd.sun.xml.calc=gnumeric.desktop
application/vnd.sun.xml.calc.template=gnumeric.desktop
application/vnd.sun.xml.draw=ooo2-impress.desktop
application/vnd.sun.xml.draw.template=ooo2-impress.desktop
application/vnd.sun.xml.math=ooo2-math.desktop
application/vnd.sun.xml.writer=abiword.desktop
application/vnd.sun.xml.writer.template=abiword.desktop
application/vnd.sun.xml.writer.global=abiword.desktop
application/vnd.oasis.opendocument.formula=ooo2-math.desktop
application/vnd.oasis.opendocument.graphics=ooo2-draw.desktop
application/vnd.oasis.opendocument.graphics-template=ooo2-draw.desktop
application/vnd.oasis.opendocument.presentation=ooo2-impress.desktop
application/vnd.oasis.opendocument.presentation-template=ooo2-impress.desktop
application/vnd.oasis.opendocument.spreadsheet=gnumeric.desktop
application/vnd.oasis.opendocument.spreadsheet-template=gnumeric.desktop
application/vnd.oasis.opendocument.text=abiword.desktop
application/vnd.oasis.opendocument.text-template=abiword.desktop
application/vnd.oasis.opendocument.text-web=abiword.desktop
application/vnd.oasis.opendocument.text-master=abiword.desktop
application/vnd.sun.xml.impress=ooo2-impress.desktop
application/vnd.sun.xml.impress.template=ooo2-impress.desktop
application/vnd.stardivision.calc=gnumeric.desktop
application/vnd.stardivision.draw=ooo2-draw.desktop
application/vnd.stardivision.impress=ooo2-impress.desktop
application/vnd.stardivision.math=ooo2-math.desktop
application/vnd.stardivision.writer=abiword.desktop
application/mspowerpoint=ooo2-impress.desktop
application/vnd.ms-powerpoint=ooo2-impress.desktop
application/vnd.wordperfect=abiword.desktop
application/wordperfect=abiword.desktop
application/x-123=gnumeric.desktop
application/x-abiword=abiword.desktop
application/x-applix-spreadsheet=gnumeric.desktop
application/x-ar=xarchiver.desktop
application/x-arj=xarchiver.desktop
application/x-bzip-compressed-tar=xarchiver.desktop
application/x-bzip=xarchiver.desktop
application/x-cd-image=xarchiver.desktop
application/x-compressed-tar=xarchiver.desktop
application/x-compress=xarchiver.desktop
application/x-deb=gdebi.desktop
application/x-debian-package=gdebi.desktop
application/x-dos_ms_excel=gnumeric.desktop
application/x-ear=xarchiver.desktop
application/x-excel=gnumeric.desktop
application/x-extension-m4a=smplayer.desktop
application/x-extension-mp4=smplayer.desktop
application/x-flac=aqualung.desktop
application/x-glade=glade-2.desktop
application/x-gnumeric=gnumeric.desktop
application/x-gtar=xarchiver.desktop
application/x-gzip=xarchiver.desktop
application/x-gzpostscript=evince.desktop
application/xhtml+xml=firefox.desktop
application/x-jar=xarchiver.desktop
application/x-java-archive=xarchiver.desktop
application/x-lha=xarchiver.desktop
application/x-lhz=xarchiver.desktop
application/xls=gnumeric.desktop
application/x-lzop=xarchiver.desktop
application/x-matroska=smplayer.desktop
application/x-mps=gnumeric.desktop
application/x-ms-excel=gnumeric.desktop
application/x-msexcel=gnumeric.desktop
application/x-ogg=aqualung.desktop
application/x-oleo=gnumeric.desktop
application/x-perl=leafpad.desktop
application/x-planperfect=gnumeric.desktop
application/x-quattropro=gnumeric.desktop
application/x-rar-compressed=xarchiver.desktop
application/x-rar=xarchiver.desktop
application/x-rpm=xarchiver.desktop
application/x-sc=gnumeric.desktop
application/x-shockwave-flash=smplayer.desktop
application/x-sylk=gnumeric.desktop
application/x-tar=xarchiver.desktop
application/x-war=xarchiver.desktop
application/x-xbase=gnumeric.desktop
application/x-xls=gnumeric.desktop
application/x-zip-compressed=xarchiver.desktop
application/x-zip=xarchiver.desktop
application/x-zoo=xarchiver.desktop
application/zip=xarchiver.desktop
audio/mpeg=aqualung.desktop
audio/mpegurl=aqualung.desktop
audio/vnd.rn-realaudio=aqualung.desktop
audio/x-flac=aqualung.desktop
audio/x-m4a=aqualung.desktop
audio/x-mp3=aqualung.desktop
audio/x-mpeg=aqualung.desktop
audio/x-mpegurl=aqualung.desktop
audio/x-ms-asf=aqualung.desktop
audio/x-ms-asx=aqualung.desktop
audio/x-ms-wax=aqualung.desktop
audio/x-pn-aiff=aqualung.desktop
audio/x-pn-au=aqualung.desktop
audio/x-pn-realaudio-plugin=aqualung.desktop
audio/x-pn-realaudio=aqualung.desktop
audio/x-pn-wav=aqualung.desktop
audio/x-pn-windows-acm=aqualung.desktop
audio/x-real-audio=aqualung.desktop
audio/x-scpls=aqualung.desktop
audio/x-wav=aqualung.desktop
image/bmp=gpicview.desktop
image/gif=gpicview.desktop
image/jpeg=gpicview.desktop
image/jpg=gpicview.desktop
image/pjpeg=gpicview.desktop
image/png=gpicview.desktop
image/svg+xml=gpicview.desktop
image/tiff=gpicview.desktop
image/vnd.rn-realpix=smplayer.desktop
image/x-bmp=gpicview.desktop
image/x-gray=gpicview.desktop
image/x-icb=gpicview.desktop
image/x-ico=gpicview.desktop
image/x-png=gpicview.desktop
image/x-portable-anymap=gpicview.desktop
image/x-portable-bitmap=gpicview.desktop
image/x-portable-graymap=gpicview.desktop
image/x-portable-pixmap=gpicview.desktop
image/x-psd=gpicview.desktop
image/x-xbitmap=gpicview.desktop
image/x-xpixmap=gpicview.desktop
inode/directory=nautilus.desktop
misc/ultravox=totem.desktop
multipart/x-zip=xarchiver.desktop
text/abiword=abiword.desktop
text/comma-separated-values=gnumeric.desktop
text/csv=gnumeric.desktop
text/html=firefox.desktop
text/plain=leafpad.desktop
text/richtext=abiword.desktop
text/rtf=abiword.desktop
text/spreadsheet=gnumeric.desktop
text/tab-separated-values=gnumeric.desktop
text/x-comma-separated-values=gnumeric.desktop
text/x-chdr=leafpad.desktop
text/x-csrc=leafpad.desktop
text/x-dtd=leafpad.desktop
text/x-java=leafpad.desktop
text/mathml=leafpad.desktop
text/x-python=leafpad.desktop
text/x-sql=leafpad.desktop
text/xml=firefox.desktop
video/dv=smplayer.desktop
video/mp4=smplayer.desktop
video/mpeg=smplayer.desktop
video/msvideo=smplayer.desktop
video/quicktime=smplayer.desktop
video/vnd.rn-realvideo=smplayer.desktop
video/ogv=smplayer.desktop
video/x-anim=smplayer.desktop
video/x-avi=smplayer.desktop
video/x-flc=smplayer.desktop
video/x-fli=smplayer.desktop
video/x-mpeg=smplayer.desktop
video/x-ms-asf=smplayer.desktop
video/x-msvideo=smplayer.desktop
video/x-ms-wmv=smplayer.desktop
video/x-nsv=smplayer.desktop
x-directory/normal=nautilus.desktop
zz-application/zz-winassoc-xls=gnumeric.desktop

FONTE: www.vivaolinux.com.br/dica/Mudar-gerenciador-de-arquivos-padrao-no-Ubuntu
« Última modificação: 25 de Janeiro de 2012, 19:08 por jkmsjq » Registrado

LinuxUser: 548942 / Dando um tópico como resolvido
"A verdade só é agressiva a quem vive de mentiras". Autor desconhecido.
Henrique1977
Usuário Ubuntu
*
Deslogado Deslogado

Mensagens: 234


Ver Perfil
« Responder #1 em: 25 de Janeiro de 2012, 17:19 »

Caro  jkmsjq  boa  é  a  tua  dica,  mas  devo  aqui  deixar  informado  que  na  versão  11.10  não  existe  esse  arquivo  defaults.list  mas  o  arquivo  é  mimeapps.list.
Portanto  para  os  usuários  do  Ubuntu  11.10  o  caminho  correto  é:  home/usuario/.local/share/applications/mimeapps.list
Atenciosamente,  Henrique1977.
Registrado

"O Estado não é a solução, é o problema.  Ronald Reagan"
Você  que  é  iniciante  não  esqueça  de  ler  isso:  http://ubuntuforum-br.org/index.php/topic,90314.0.html
jkmsjq
Usuário Ubuntu
*
Deslogado Deslogado

Mensagens: 2.692


Ubuntu Member


Ver Perfil
« Responder #2 em: 25 de Janeiro de 2012, 18:53 »

@Henrique1977

Obrigado pela correção, já feita no post inicial! Embaraçado
Registrado

LinuxUser: 548942 / Dando um tópico como resolvido
"A verdade só é agressiva a quem vive de mentiras". Autor desconhecido.
sigur
Usuário Ubuntu
*
Deslogado Deslogado

Mensagens: 850


Ver Perfil
« Responder #3 em: 07 de Abril de 2012, 21:40 »

eis o conteúdo do meu mime
Código:
[Added Associations]
image/x-eps=evince.desktop;gv.desktop;
text/plain=leafpad.desktop;
application/x-shellscript=leafpad.desktop;
image/png=evince.desktop;

[Default Applications]
image/x-eps=evince.desktop
text/plain=leafpad.desktop
application/x-shellscript=leafpad.desktop

por que é tão  pequeno?
Outra coisa, tenho uns arquivos .mws do maple. Como fazer para que sejam abertos pelo programa, mesmo sendo arquivos de texto que se pode abrir com o leafpad?

Qual a diferença entre o added e o default? Ou melhor, no added eu posso colocar as extensões que eu quiser? Mas como saber como declarar?
Registrado
Páginas: [1]   Ir para o topo
  Imprimir  
 
Ir para:  

Powered by MySQL Powered by PHP Tema desenvolvido por FaBMak e n3t0
Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines
© 2014 Canonical Ltd. Ubuntu e Canonical são marcas registradas da Canonical Ltd.
XHTML 1.0 válido! CSS válido!