from xdg.DesktopEntry import DesktopEntry

Publicado por Perfil removido em 07/01/2009

[ Hits: 6.003 ]

 


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

Exibindo nome da música no aMSN no Kurumin

Testando seu firewall com scan remoto via internet

Mplayer: [format] Sample format big-endian MPEG-2 not yet supported

Instalando a impressora matricial LX-300 (e outras do mesmo tipo), no Linux, com KDE

Bootsplash em kernel "não oficial" 2.6.X no Slackware

Leitura recomendada

O comando "cal"

Como instalar o Google Cloud CLI no Ubuntu/Debian

Liberando conexão (Limewire)

Montando celular Android no Debian 8 - KDE

Notebook HP: tela preta (desligada) após o GRUB, placa AMD! [Resolvido]

  

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