-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
26 lines (20 loc) · 879 Bytes
/
setup.py
File metadata and controls
26 lines (20 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# python setup for chrome remote desktop
import os
import time
def install():
commands = ["sudo apt-get update -y",
"sudo apt-get install fonts-liberation libu2f-udev xdg-utils -y",
"wget https://dl.google.com/linux/direct/chrome-remote-desktop_current_amd64.deb && sudo apt-get install --assume-yes ./chrome-remote-desktop_current_amd64.deb",
"sudo apt install --assume-yes xfce4 desktop-base dbus-x11 xscreensaver",
"sudo apt install xfce4-terminal -y",
"wget -O firefox.tar.bz2 'https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US'",
"tar xjf firefox.tar.bz2 -C ~/",
"sudo apt-get install geany -y",
"sudo apt-get install vim-gtk3 -y",
"sudo apt install iputils-ping -y"
]
for i in range(len(commands)):
time.sleep(2)
os.system(commands[i])
print("VNC is Running...")
install()