From 210c93fe434022eea643e1d422aabae18043b4a3 Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Mon, 9 Dec 2024 22:44:31 +0100 Subject: [PATCH] Added caffeine to ubuntu install --- update_ubuntu.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/update_ubuntu.sh b/update_ubuntu.sh index fedb1a2..a804842 100755 --- a/update_ubuntu.sh +++ b/update_ubuntu.sh @@ -76,6 +76,14 @@ printf -- '\033[33m Setup locals\n\033[37m' sudo locale-gen "en_US.UTF-8" sudo update-locale LANG=en_US.UTF-8 +# # Install rdp +# printf -- '\033[33m Installing rdp\n\033[37m' +# if [ "$VER" == "22.04" ]; then +# sudo apt install -y xrdp +# sudo ufw allow 3389 +# ln -sf ~/code_server/xsessionrc ~/.xsessionrc +# fi + # Install python printf -- '\033[33m Installing python\n\033[37m' sudo apt install -y python3 python3-pip python3-venv python3-dev pipx @@ -129,6 +137,10 @@ make CMAKE_BUILD_TYPE=RelWithDebInfo cd build && cpack -G DEB && sudo dpkg -i nvim-linux64.deb if [ -d ~/neovim ]; then rm -rf ~/neovim; fi +# Install caffeine +printf -- '\033[33m Installing caffeine\n\033[37m' +sudo apt install -y caffeine + # Install fd printf -- '\033[33m Installing fd\n\033[37m' sudo apt install -y fd-find