Skip to content

Instantly share code, notes, and snippets.

@BuddhiLW
Last active July 16, 2024 19:55
Show Gist options
  • Save BuddhiLW/5f43e75c81a56106d04cea6bbce0a238 to your computer and use it in GitHub Desktop.
Save BuddhiLW/5f43e75c81a56106d04cea6bbce0a238 to your computer and use it in GitHub Desktop.
Install xwinwrap from source
#!/usr/bin/bash
if [ -z "$DOTFILES" ]; then
TMP=$(mktemp -d)
DELETE_TMP=true
else
TMP="$DOTFILES/gitthings/"
DELETE_TMP=false
fi
mkdir -p $TMP
cd $TMP
sudo apt-get install xorg-dev build-essential libx11-dev x11proto-xext-dev libxrender-dev libxext-dev
git clone https://github.com/mmhobi7/xwinwrap.git
cd xwinwrap
make
sudo make install
make clean
if $DELETE_TMP; then
rm -rf $TMP
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment