hi,
Am Samstag, 14. Mai 2016 06:44:40 CEST schrieb Dale Amon <[email protected]>:
On Sat, May 14, 2016 at 01:36:38AM +0200, Oliver Grawert wrote:
"$containername"_"$name of the .desktop file inside the
container"_0.0.desktop
lets say i created a container called "container":
phablet@ubuntu-phablet:~$ ls .cache/libertine-container/container/rootfs/
bin boot dev etc home lib media mnt opt proc root run sbin srv
sys tmp usr var
i installed the xterm package inside that container, this brought the
"debian-xterm.desktop" file with it:
phablet@ubuntu-phablet:~$ ls
.cache/libertine-container/container/rootfs/usr/share/applications/debian-xterm.desktop
.cache/libertine-container/container/rootfs/usr/share/applications/debian-xterm.desktop
libertine needs a .desktop file outside of the container to execute the
desktop file inside the container.
it identifies it by having the container name, name of the .desktop file
inside the container and the value assigned to the DISPLAY variable for
XMir in the filename (currently only 0.0 is supported to my knowledge).
so for me the three parts of the filename have to be:
1. (container name): "container"
2. (target .desktop file name): "debian-xterm"
3. (XMir DISPLAY=): "0.0"
the three bits need to be connected by underscores... this results in the
following filename:
phablet@ubuntu-phablet:~$ ls
.local/share/applications/container_debian-xterm_0.0.desktop
.local/share/applications/container_debian-xterm_0.0.desktop
while the file *name* above defines what gets executed, the file *content*
defines how it is presented to you in the unity8 "Applications" scope, for
this you set the "Name=" and "Icon=" values in it and do not touch any of
the other bits of the file content:
phablet@ubuntu-phablet:~$ cat
.local/share/applications/container_debian-xterm_0.0.desktop
[Desktop Entry]
Version=1.0
Name=xterm
Exec=/bin/true
Type=Application
StartupNotify=true
Icon=.cache/libertine-container/container/rootfs/usr/share/pixmaps/mbterm.png
Keywords=Libertine
NotShowIn=Unity;
X-Ubuntu-Touch=true
X-Ubuntu-XMir-Enable=true
i hope that clearifies the format a bit ...
ciao
oli
--
Mit Dekko von meinem Ubuntu-Gerät gesendet
--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help : https://help.launchpad.net/ListHelp