[GIS.lab] customize client - add new launcher to the panel

Ivan Mincik ivan.mincik at gmail.com
Tue Sep 29 09:24:53 PDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Martin,

On 29.09.2015 18:00, Martin Landa wrote:
> Hi all,
> 
> within my client customization I want to add a new launcher to the 
> menu panel. I added new item to 
> `/etc/xdg/xdg-xubuntu/xfce4/panel/default.xml`:
> 
> <property name="plugin-19" type="string" value="launcher"> 
> <property name="items" type="array"> <value type="string"
> value="grass.desktop"/> </property> </property>
> 

To get an idea how panel launchers are added and removed look in
'system/roles/client-desktop/templates/desktop/panel/default.xml' file
in GIS.lab source code. You will find there one launcher included only
if GISLAB_SUITE == 'lab'.

It seems that you need to add 'plugin-19' to 'plugin-ids' array and it
should work.


> Client image contains in `~/.config/xfce4/panel` related
> directories, eg. `launcher-9` for GIS.lab desktop. I didn't find
> anything in `/opt/gislab/system/accounts/skel/.config`. How are
> they generated?

I think, they are generated by XFCE.



- -- 
Ivan Minčík
ivan.mincik at gmail.com  GPG: 0x79529A1E
http://imincik.github.io/0x79529A1E.key
ivan.mincik at gista.sk     GPG: 0xD714B02C
http://imincik.github.io/0xD714B02C.key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJWCrtRAAoJEPfdLsR5Upoe6P8H/0i9V/Jvk7xt1VVJq++YxjIF
mS6x9ADEVgTT3s9LuKN/ynUP78pjAyXMTQaZ38gNO6CsfysaXCOJiHtOVV8pIUTK
DUEvLhYgfT69cWB8IzN/+4JL//Gp3rlwAH6IatOoVtZcHwXIzSRZQIDwF3Nb/ZFj
F8xtY+E3kko0JAPQoXl6nRiW/sVh6nUFg/n4RNG+BmibuWBO9QzGglyteqRAyufm
ZSCgI5V+8MjyWxOKlWA0mhhfOeJ+IvkSowE8dFVGsbUzTHSjs2ceFs/hiewb3YI4
Z1KP+u9z9pZopsN7pQN+Mnlf6m6EyE9mhdQwasx5lN+Ne3NuKe1FWz1N3s24jGQ=
=AwFC
-----END PGP SIGNATURE-----


More information about the GIS.lab mailing list