Ubuntu Pastebin

Paste from rickspencer3 at Fri, 20 Mar 2015 19:58:11 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#!/bin/bash

DISP="$1"
if [ -z $DISP ]
then
  DISP=":4"
fi

export DISPLAY=$DISP
MIR_SOCKET=$XDG_RUNTIME_DIR/mir_socket Xmir ${DISPLAY} --desktop_file_hint=/usr/share/applications/chromium.desktop &
sleep 1
#DISPLAY=$DISP metacity &
DISPLAY=$DISP icewm &
sleep 0.5
DISPLAY=$DISP chromium-browser
Download as text