from xdg.DesktopEntry import DesktopEntry

Publicado por Perfil removido em 07/01/2009

[ Hits: 5.969 ]

 


from xdg.DesktopEntry import DesktopEntry



Se você obtiver, ao chamar um programa no terminal, os erros abaixo:

/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API not stable yet
  warnings.warn("apt API not stable yet", FutureWarning)
Traceback (most recent call last):
  File "./ubuntu-tweak.py", line 68, in <module>
    launcher = TweakLauncher()
  File "./ubuntu-tweak.py", line 38, in __init__
    from MainWindow import MainWindow
  File "/usr/share/ubuntu-tweak/MainWindow.py", line 82, in <module>
    from AutoStart import AutoStart
  File "/usr/share/ubuntu-tweak/AutoStart.py", line 26, in <module>
    from xdg.DesktopEntry import DesktopEntry
ImportError: No module named xdg.DesktopEntry

Basta apenas instalar o programa "python-xdg" que tudo vai se resolver...

Nos Linux Debian based:

sudo apt-get install python-xdg

Até a próxima dica!!!!!
;-)

Outras dicas deste autor

Montando uma rede com 4 micros e uma impressora usando o Kalango Linux 3.3

Ripando DVD9 para DVD5 com DVD95

Como mudar a cor do olho no Gimp [Vídeo]

Xlib: extension "GLX" missing on display ":0.0" - Ubuntu Karmic Koala

Gerencie seu suporte e colabore com o Projeto SolBT

Leitura recomendada

Configurando o teclado no Slackware e no Zenwalk

Rodando aplicações gráficas como root no Debian e derivados

Recuperando o GRUB da forma mais rápida possível

Resolvendo de vez os erros envolvendo arquivos .save em /etc/apt/sources.list.d

Upgrade no KDE: "Call to lnusertemp failed (temporary directories full?). Check your installation"

  

Comentários

Nenhum comentário foi encontrado.



Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts