Skip to content

Latest commit

 

History

History
105 lines (84 loc) · 2.8 KB

install.md

File metadata and controls

105 lines (84 loc) · 2.8 KB

Hint: You can use "Edit > Paste" in VMWare to paste commands until the shared clipboard is operational.

1) Ubuntu and Xmonad

Reference

a) Install Server Version of Ubuntu

Install most barebone server version.

Tested with Ubuntu 22.04 LTS

Important: Ensure you allocate enough virtual machine memory, so that a decent amount of swap space is allocated.

b) Install Xmonad and Xmobar

sudo apt-get update
sudo apt-get install xterm xorg xinit xmonad xmobar

We need to disable super keys to allow xmonad shortcuts to work.

Install

sudo apt-get install gconf2

and run gconftool-2 --set "/apps/compiz-1/plugins/unityshell/screen0/options/show_launcher" --type string ""

Now restart the OS so the settings are loaded.

2) Configuration

a) Download Repo Content

mkdir ~/Downloads
cd ~/Downloads
wget https://github.com/simlu/xmonad/archive/master.zip
sudo apt-get install unzip
unzip master.zip
rm master.zip

b) Copy Configs

Ensure dotglob is enabled by running

shopt -s dotglob

It should now be safe to copy the configurations:

cp -a ~/Downloads/xmonad-master/config/. ~/

Details on what the different files are for can be found here.

Some files need to be merged after copying them. So we need to run for all prepend files, e.g.

cat ~/.bashrc >> ~/.bashrc-prepend
mv --force ~/.bashrc-prepend ~/.bashrc

c) Start Xmonad

You should be good to start xmonad now using startx.

3) VMware Tools or VirtualBox Guest Additions

  • Instuctions for VMware Tools here
  • Instructions for VirtualBox Guest Additions here
  • If you are using physical hardware you can skip this step

4) Install Chrome

a) Enable all Mouse Buttons

To allow for mouse button 4 and 5 to operate, please edit the vmware VM *.vmx file and append

mouse.vusb.enable = "TRUE"
mouse.vusb.useBasicMouse = "FALSE"
usb.generic.allowHID = "TRUE"

b) Install

Instructions here. Feel free to install another browser like Firefox instead.

5) Configure XMonad Autostart

Reference

Copy skeleton .profile file into home.

cp /etc/skel/.profile ~/.profile

Append the following to ~/.profile:

# start xmonad on login
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
 . startx
 logout
fi

Recompile xmonad

xmonad --recompile && xmonad --restart

and restart

sudo reboot -h now

6) Install other Programs

Install instructions for some selected programs can be found here.