Skip to content

Latest commit

 

History

History
109 lines (87 loc) · 2.73 KB

File metadata and controls

109 lines (87 loc) · 2.73 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 ("minimized").

Tested with Ubuntu 24.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

c) Install emojis

sudo apt install fonts-noto-color-emoji

Now restart the OS so the settings are loaded.

2) Configuration

a) Download Repo Content

mkdir ~/Downloads
cd ~/Downloads
sudo apt-get install unzip wget
wget https://github.com/simlu/xmonad/archive/master.zip
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) Set Timezone

sudo dpkg-reconfigure tzdata
# 2 (America) -> 153 (Vancouver)

d) 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.