Skip to content

Commit b8a77ea

Browse files
committed
Add terminal icons to Desktop
1 parent b7ad6cf commit b8a77ea

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lab_environments/AWS/snops_jumphost_setup.sh

+7
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ apt-get -y install xrdp
2121
apt-get -y install mate-core mate-desktop-environment mate-notification-daemon
2222
sed -i.bak "/fi/a mate-session " /etc/xrdp/startwm.sh
2323

24+
# Desktop icons
25+
sh -c 'echo "[Desktop Entry]\nVersion=1.0\nName=Terminal\nComment=Open Terminal\nExec=mate-terminal\nIcon=utilities-terminal\nType=Application\nCategories=System;GTK;Utility;TerminalEmulator;\n" > /home/ubuntu/Desktop/Terminal.desktop'
26+
chmod +x /home/ubuntu/Desktop/Terminal.desktop
27+
28+
sh -c 'echo "[Desktop Entry]\nVersion=1.0\nName=Root Terminal\nComment=Open Terminal\nExec=sudo mate-terminal\nIcon=utilities-terminal\nType=Application\nCategories=System;GTK;Utility;TerminalEmulator;\n" > /home/ubuntu/Desktop/RootTerminal.desktop'
29+
chmod +x /home/ubuntu/Desktop/RootTerminal.desktop
30+
2431
#Install Chrome setup and add the desktop icon
2532
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
2633
sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'

0 commit comments

Comments
 (0)