我想创建一个 Unity 镜头,我遵循以下示例:http://developer.ubuntu.com/2012/04/how-to-create-a-wikipedia-unity-lens-for-ubuntu/
我用 :
quickly create unity-lens wikipedia
当我尝试时:
quickly install
我有这个错误:
morgan@morgan-laptop:~/wikipedia$ sudo quickly install
Traceback (most recent call last):
File "/usr/share/quickly/templates/unity-lens/install.py", line 62, in <module>
os.mkdir('/usr/share/unity/lenses/%s' % lens_name)
OSError: [Errno 2] No such file or directory: '/usr/share/unity/lenses/wikipedia'
ERREUR: la commande install a échoué
Annulation
因此,我创建了一个目录(感谢:https://bugs.launchpad.net/singlet/+bug/1100114):
mkdir /usr/share/unity/lenses
当我再次尝试安装时:
quickly install
我有这个错误:
Congrats, your new lens has been installed.
compizconfig - Info: Backend : gsettings
compizconfig - Info: Integration : true
compizconfig - Info: Profile : unity
WARN 2014-04-22 14:45:00 unity.glib.dbus.server GLibDBusServer.cpp:579 Can't register object 'org.gnome.Shell' yet as we don't have a connection, waiting for it...
ERROR 2014-04-22 14:45:00 unity.debug.interface DebugDBusInterface.cpp:196 Unable to load entry point in libxpathselect: libxpathselect.so.1.4: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
ERROR 2014-04-22 14:45:00 unityinit <unknown>:0 unable to create file '/home/morgan/.cache/dconf/user': Permission non accordée. dconf will not work properly.
ERROR 2014-04-22 14:45:00 unityinit <unknown>:0 unable to create file '/home/morgan/.cache/dconf/user': Permission non accordée. dconf will not work properly.
ERROR 2014-04-22 14:45:00 unityinit <unknown>:0 unable to create file '/home/morgan/.cache/dconf/user': Permission non accordée. dconf will not work properly.
ERROR 2014-04-22 14:45:00 unity.launcher.entry.remote.model LauncherEntryRemoteModel.cpp:50 Unable to connect to session bus: Impossible de se connecter : Connexion refusée
CRIT 2014-04-22 14:45:00 unity <unknown>:0 Unable to get org.ayatana.bamf matcher: Impossible de se connecter : Connexion refusée
Trace/breakpoint trap (core dumped)
创建 Unity 镜头的新方法是什么?