如何在 Ubuntu 13.10 中自动启动 Kupfer?

如何在 Ubuntu 13.10 中自动启动 Kupfer?

我建造了铜金矿从 Ubuntu 13.10 上的源代码安装到./local。在首选项中,我检查了Start automatically on login

库普弗偏好

不过,Kupfer 不会自动启动。

桌面文件~/.local/share/applications/kupfer.desktop如下所示:

[Desktop Entry]
Version=1.0
Name=Kupfer
Name[cs]=Kupfer
Name[da]=Kupfer
Name[de]=Kupfer
Name[el]=Kupfer
Name[es]=Kupfer
Name[eu]=Kupfer
Name[fr]=Kupfer
Name[gl]=Kupfer
Name[hu]=Kupfer
Name[it]=Kupfer
Name[ko]=쿠퍼
Name[nb]=Kupfer
Name[nl]=Kupfer
Name[pl]=Kupfer
Name[pt]=Kupfer
Name[pt_BR]=Kupfer
Name[ru]=Kupfer
Name[sl]=Kupfer
Name[sv]=Kupfer
Name[tr]=Kupfer
Name[zh_CN]=Kupfer
GenericName=Application Launcher
GenericName[ca]=Llançador d'aplicació
GenericName[cs]=Spouštěč aplikací
GenericName[da]=Programopstarter
GenericName[de]=Anwendungsstarter
GenericName[el]=Εκκινητής εφαρμογής
GenericName[es]=Lanzador de aplicaciones
GenericName[eu]=Aplikazioen abiarazlea
GenericName[fr]=Lanceur d'applications
GenericName[gl]=Iniciador de aplicativos
GenericName[hu]=Alkalmazásindító
GenericName[it]=Lanciatore di applicazioni
GenericName[ko]=응용 프로그램 실행 아이콘
GenericName[nb]=Programstarter
GenericName[nl]=Programmastarter
GenericName[pl]=Aktywator programów
GenericName[pt]=Lançador de Aplicações
GenericName[pt_BR]=Lançador de aplicativos
GenericName[ru]=Средство запуска приложений
GenericName[sl]=Zaganjalnik programov
GenericName[sv]=Programstartare
GenericName[tr]=Uygulama Çalıştırıcı
GenericName[zh_CN]=程序启动器
Comment=Convenient command and access tool for applications and documents
Comment[cs]=Nástroj pro pohodlné provádění příkazů a přístup k aplikacím a dokumentům
Comment[da]=Nemt kommando- og adgangsværktøj til programmer og dokumenter
Comment[de]=Praktisches Befehls- und Zugriffswerkzeug für Anwendungen und Dokumente
Comment[el]=Βολικό εργαλείο εντολών και πρόσβασης για εφαρμογές και έγγραφα
Comment[es]=Herramienta para acceso y manejo de aplicaciones y documentos
Comment[eu]=Komando eta atzipen tresna egokia aplikazio eta dokumentuentzat
Comment[fr]=Outil pratique pour accéder à des documents et lancer des applications
Comment[gl]=Ferramenta cómoda para controlar e acceder a aplicativos e documentos
Comment[hu]=Kényelmes parancs és hozzáférési eszköz az alkalmazásokhoz és dokumentumokhoz
Comment[it]=Comodo comando e strumento di accesso per applicazioni e documenti
Comment[ko]=편리하게 응용프로그램이나 문서에 접근하고 명령을 내릴 수 있는 도구
Comment[nb]=Praktiskt kommandoverktøy for programmer og dokumenter 
Comment[nl]=Handige opdracht- en toegangshulp voor programma's en documenten
Comment[pl]=Wygodne narzędzie do uruchamiania programów i otwierania dokumentów
Comment[pt]=Ferramenta conveniente para acesso e gestão de aplicações e documentos
Comment[pt_BR]=Uma conveniente ferramenta de comando e acesso para aplicativos e documentos
Comment[ru]=Удобный инструмент для быстрого доступа к программам и документам
Comment[sl]=Prikladno orodje za izvajanje ukazov in dostopa do programov in dokumentov
Comment[sv]=Praktiskt kommandoprogram för åtkomst av program och dokument
Comment[zh_CN]=方便的命令和操作程序或文档的工具
Icon=kupfer
Exec=python /home/user/.local/share/kupfer/kupfer.py %F
Type=Application
Categories=Utility;
StartupNotify=true
X-UserData=$CONFIG/kupfer;$DATA/kupfer;$CACHE/kupfer
Terminal=false

答案1

在仪表板中搜索“启动应用程序”并单击该程序。然后单击添加并在命令部分输入python /home/user/.local/share/kupfer/kupfer.py,根据桌面文件,这是启动 Kupfer 的命令。

也可以看看这里这里了解更多信息。

相关内容