This guide explains how to enhance writerdeckOS when running inside VMware.
It includes system setup, shared folder configuration, useful terminal applications, productivity tools, and custom scripts.
- ๐ ๏ธ 1. Update System & Install VMware Tools
- ๐ 2. Mount VMware Shared Folder
- ๐ 3. Install Spell Checker (Aspell)
- ๐ 4. Add Share Aliases
- ๐งฎ 5. Install Calculator (Qalc)
- ๐ณ 6. Directory Tree Viewer
- โ๏ธ 7. Install Another Editor (micro)
- ๐ 8. Text Based Calendar (calcurse)
- ๐ฆ๏ธ 9. Weather in Terminal (wttrin)
- ๐ 10. Dictionary Tools
- ๐ 11. Wikit (Wikipedia CLI)
- ๐ธ๏ธ 12. Text Mode Web Browser (w3m)
- ๐งฉ 13. Tmux โ Multi Panel Terminal
- ๐ 14. Python Scripts (bin folder)
- ๐ข 15. Add Word Count to Tmux Status Bar
- ๐ก Extra Tip โ install_apps.sh
- ๐ง Fixing AutoโLogin in writerdeckOS (VMware)
- Recommended Setup
sudo apt update
sudo apt install open-vm-tools open-vm-tools-desktop
sudo rebootManual Mount
sudo mkdir -p /mnt/hgfs
sudo vmhgfs-fuse .host:/ /mnt/hgfs -o allow_otherCheck it:
ls /mnt/hgfsAuto mount at Boot
Edit fstab: (Controls how drives and partitions are mounted at boot. Edit with care.)
sudo nano /etc/fstabAdd:
# mount automatically
.host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 0sudo apt install aspell aspell-enRun it:
aspell check filenameAdd Spell Alias
Edit profile: (This file loads your environment settings, aliases, and shell behaviour.)
nano /home/author/.profileAdd:
# Alias โ Spell checker
alias spell='aspell check'
export ASPELL_CONF="lang en_GB"Reload:
source ~/.profileUse:
spell filenameEdit profile:
nano /home/author/.profileAdd:
# Alias โ Share folder
toshare() {
cp -v "$1" /mnt/hgfs/shared
}
fromshare() {
cp -v /mnt/hgfs/shared/"$1" .
}Usage:
toshare filename
fromshare filenamesudo apt install qalcExamples:
qalc "5 km to miles"
qalc 100 GBP to EUR
qalc "32 F to C"
qalcExit history mode with Ctrl + C.
sudo apt install treeUse:
treesudo apt install microUse:
microNote that other editors are already installed, including joe and nano.
sudo apt install calcurseUse:
calcursesudo apt install curlExamples:
curl wttr.in
curl wttr.in/New+York
curl wttr.in/moonsudo apt install dict dictd dict-wnUsage:
dict word
dict computer
dict retroWordNet (Synonyms)
sudo apt install wordnetUsage:
wn word -synsv
wn word -grepv
wn word -synsv | lessInstalled via npm
sudo apt install nodejs npm
sudo npm install -g wikitExamples:
wikit linux
wikit united kingdom
wikit londonsudo apt install w3m w3m-imgExamples:
w3m https://en.wikipedia.org/wiki/writer
w3m https://www.thesaurus.com/browse/writerTmux comes preinstalled
- New window: Ctrl + B, then c
- Horizontal split: Ctrl + B, then %
- Vertical split: Ctrl + B, then "
- Move panels: Ctrl + B + Arrow keys
- Close panel: Ctrl + B, then x
Scripts included in the repository:
- countapp โ word counter with daily goal bar
- menu โ info + tools reference
- menu_ex โ execute commands from menu
Copy scripts to writerdeckOS
Place them in:
~/bin
Convert CRLF โ LF
sed -i 's/\r$//' countapp
sed -i 's/\r$//' menu
sed -i 's/\r$//' menu_exMake Executable
chmod +x ~/bin/countapp
chmod +x ~/bin/menu
chmod +x ~/bin/menu_exAdd to PATH
sudo nano /home/author/.profileAdd:
# Path for MyApp
export PATH="$HOME/bin:$PATH"Reload:
source ~/.profileRun:
countapp filename
menu
menu_exTest quiet mode:
countapp blog4.txt --quietEdit tmux config: (Configuration file for tmux. Set key bindings, colours, status bar, and layout rules.)
sudo nano ~/.tmux.confAdd at top:
# Add MyApp path
set-environment -g PATH "/home/author/bin:/home/author/.local/bin:$PATH"Modify status-right:
set -g status-right "Battery: #(cat /sys/class/power_supply/BAT0/capacity)% | #(tmux capture-pane -p | grep -o \"$HOME/[^ ]*\" | xargs -I{} countapp {} --quiet) Words"Reload:
tmux source-file ~/.tmux.confNow saving a file in tilde updates the word count in the top right corner.
A simple script (included in bin/) that installs apps and mounts VMware shared folders.
Copy it to:
~/bin/install_apps.sh
Make executable:
chmod +x install_apps.shDry run:
./install_apps.sh --dry-runReal install:
sudo ./install_apps.shIf writerdeckOS stops autoโlogging into the author account, the autologin configuration may be missing or corrupted.
You can restore it by recreating the systemd override file.
- Check if the autologin file exists
cat /etc/systemd/system/getty@tty1.service.d/autologin.confIf the file is missing or empty, continue with the steps below.
- Recreate the autologin directory
sudo mkdir -p /etc/systemd/system/getty@tty1.service.d- Create the autologin configuration file Real install:
sudo nano /etc/systemd/system/getty@tty1.service.d/autologin.confPaste the following content:
[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin author --noclear %I $TERMSave and exit.
- Reload systemd
sudo systemctl daemon-reload- Restart the getty service
sudo systemctl restart getty@tty1.service- Reboot writerdeckOS
sudo reboot