Commit 44f86de2 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis Committed by Christos Stavrakakis
Browse files

ci: Add xterm into published applications

Published applications are used by X2Go and makes it possible to
display a menu with a list of the available remote applications
for the user, which when started behaves like a locally installed
parent 95fddb49
...@@ -311,12 +311,26 @@ class SynnefoCI(object): ...@@ -311,12 +311,26 @@ class SynnefoCI(object):
echo -e "\n\n{0}" >> /etc/apt/sources.list echo -e "\n\n{0}" >> /etc/apt/sources.list
# Synnefo repo's key # Synnefo repo's key
curl | apt-key add - curl | apt-key add -
# X2GO Key # X2GO Key
apt-key adv --recv-keys --keyserver E1F958385BFE2B6E apt-key adv --recv-keys --keyserver E1F958385BFE2B6E
apt-get install x2go-keyring --yes --force-yes apt-get install x2go-keyring --yes --force-yes
apt-get update apt-get update
apt-get install x2goserver x2goserver-xsession \ apt-get install x2goserver x2goserver-xsession \
iceweasel --yes --force-yes iceweasel --yes --force-yes
# xterm published application
echo '[Desktop Entry]' > /usr/share/applications/xterm.desktop
echo 'Name=XTerm' >> /usr/share/applications/xterm.desktop
echo 'Comment=standard terminal emulator for the X window system' >> \
echo 'Exec=xterm' >> /usr/share/applications/xterm.desktop
echo 'Terminal=false' >> /usr/share/applications/xterm.desktop
echo 'Type=Application' >> /usr/share/applications/xterm.desktop
echo 'Encoding=UTF-8' >> /usr/share/applications/xterm.desktop
echo 'Icon=xterm-color_48x48' >> /usr/share/applications/xterm.desktop
echo 'Categories=System;TerminalEmulator;' >> \
""".format(self.config.get('Global', 'apt_repo')) """.format(self.config.get('Global', 'apt_repo'))
_run(cmd, False) _run(cmd, False)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment