Skip to content

Commit b3560c5

Browse files
committed
Adding some scripts to make life easier
1 parent 2f3c8f6 commit b3560c5

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

BSCP/Configurator/mate.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DISPLAY=:0 exec mate-session

BSCP/Configurator/wsl_setup.sh

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#Note: this script assumes you have Xming or similar installed and configured
2+
#If not, please install VcXsrv first. If you have chocolatey,try (in powershell): choco install Xming
3+
4+
#note, you'll need to use sudo chmod 777 <filename> to allow the provided run scripts to work
5+
6+
#set up display for xming VcXsrv
7+
echo "export DISPLAY=:0.0" >> ~/.bashrc
8+
9+
#set up dbus
10+
sudo sed -i 's$<listen>.*</listen>$<listen>tcp:host=localhost,port=0</listen>$' /etc/dbus-1/session.conf
11+
sudo sed -i 's$<listen>.*</listen>$<listen>tcp:host=localhost,port=1</listen>$' /etc/dbus-1/system.conf
12+
13+
#install Mate
14+
15+
sudo apt-add-repository ppa:ubuntu-mate-dev/ppa
16+
sudo apt-add-repository ppa:ubuntu-mate-dev/trusty-mate
17+
sudo apt-get update
18+
sudo apt-get dist-upgrade
19+
sudo apt-get install mate-desktop-environment-extras
20+
21+
sudo apt-get install unity-settings-daemon #fix for mate-settings-daemon not working
22+
#http://www.ajopaul.com/2012/05/30/ubuntu-fix-for-unable-to-start-the-settings-manager-mate-settings-daemon/
23+
24+
#install XFCE4
25+
sudo apt-get install xubuntu-desktop
26+
27+
28+
29+
#install KDE
30+
31+
#install Gnome

0 commit comments

Comments
 (0)