-
Notifications
You must be signed in to change notification settings - Fork 25
/
de-budgie.sh
50 lines (47 loc) · 1.34 KB
/
de-budgie.sh
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/bin/bash
#Get the necessary components
apt-get update
apt-get install udisks2 -y
echo " " > /var/lib/dpkg/info/udisks2.postinst
apt-mark hold udisks2
apt-get install sudo -y ; dpkg-reconfigure tzdata
apt-get install budgie-desktop gnome-session-flashback gnome-terminal -y
apt-get install tigervnc-standalone-server dbus-x11 -y
apt-get --fix-broken install
apt-get clean
#Setup the necessary files
mkdir -p ~/.vnc
echo "#!/bin/bash
export PULSE_SERVER=127.0.0.1
xrdb $HOME/.Xresources
metacity
budgie-panel
gnome-flashback" > ~/.vnc/xstartup
echo "#!/bin/sh
export DISPLAY=:1
export PULSE_SERVER=127.0.0.1
rm -rf /run/dbus/dbus.pid
metacity &
budgie-panel &
gnome-flashback &" > /usr/local/bin/vncstart
echo "vncserver -geometry 1600x900 -name remote-desktop :1" > /usr/local/bin/vnc-start
echo "vncserver -kill :*" > /usr/local/bin/vnc-stop
chmod +x ~/.vnc/xstartup
chmod +x /usr/local/bin/*
clear
echo ""
echo "Installing Browser,.."
echo ""
apt install firefox-esr -y
wget https://raw.githubusercontent.com/wahasa/Debian/main/libreofficefix.sh ; chmod +x libreofficefix.sh ; ./libreofficefix.sh
clear
echo ""
echo "In Termux"
echo "Start Vnc Server, run vncstart"
echo "Stop Vnc Server, run vncstop"
echo ""
echo "In Linux"
echo "Start Vnc, run vncstart"
echo "Exit Vnc, run ctrl+c"
echo ""
rm de-budgie.sh