4. Edit Launch Script¶
Here we will look at the script that actually launches MATLAB ~/ondemand/dev/bc_my_center_matlab/template/script.sh.erb.
By now you should have selected your prefered window manager. Examples of using XFCE, Mate, and Fluxbox:
Invoking MATLAB without a Window Manager¶
Use XFCE for the Window Manager¶
XFCE is OSC’s prefered desktop environment for launching VNC applications. The code for starting XFCE in the background looks like this (see highlighted lines 1-20):
Use Mate for the Window Manager¶
The code for starting Mate in the background looks like this (see highlighted lines 1-4):
Note
According to the developers the correct pronunciation of Mate is “mah-tay” like the drink, and not matey like pirates, or mate like a friend.
Use Fluxbox for the Window Manager¶
Warning
Fluxbox has been replaced by XFCE as OSC’s prefered window manager / desktop environment.
The code for starting Fluxbox in the background looks like this (see highlighted lines 1-36):