Skip to content

Commit

Permalink
Ubuntu_22.04: Make it work on Ubuntu_24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-revay committed Jul 26, 2024
1 parent 4ae7d9a commit 4548234
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
1 change: 1 addition & 0 deletions Ubuntu_22.04/configs_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ gsettings set org.gnome.desktop.interface locate-pointer true
# todo test the keyboard settings
gsettings set org.gnome.desktop.input-sources xkb-options \
"['terminate:ctrl_alt_bksp', 'shift:both_capslock_cancel', 'caps:none']"
gsettings set org.gnome.desktop.interface cursor-size 64

# set default apps
xdg-mime default code.desktop text/markdown
Expand Down
7 changes: 6 additions & 1 deletion Ubuntu_22.04/packages_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,13 @@ fi
# TODO test the flatpaks
# TODO debloat
# TODO add snap installation script so that there is a same base on PopOS
# TODO consider removeing few `apt update`s
# Make flatpak packages install noninteractive
# consider installing all packages at once (config files would just add stuff
# to a list)
sudo apt update
sudo apt install -y linux-tools-common linux-tools-generic linux-tools-"$(uname -r)"

sudo apt update
sudo apt install -y flatpak meld kdevelop coqide gitk cmake-gui # editors, tools and IDEs

sudo apt install -y snapd
Expand Down
13 changes: 13 additions & 0 deletions Ubuntu_22.04/run_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,19 @@ exit 0
export NEEDRESTART_MODE=a
export NEEDRESTART_SUSPEND=1

sudo apt update
sudo apt install chrome-gnome-shell
# TODO move elsewhere...
mkdir -p ~/tmp
pushd ~/tmp
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub > linux_signing_key.pub
sudo install -D -o root -g root -m 644 linux_signing_key.pub /etc/apt/keyrings/linux_signing_key.pub
sudo sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/linux_signing_key.pub] http://dl.google.com/linux/chrome/deb/ stable main" \
> /etc/apt/sources.list.d/google-chrome.list'
sudo apt update
sudo apt install google-chrome-stable
popd

# Run stuff that requires user input first (if not turned off by `--noninteractive`)
. interactive_part.sh
. packages_install.sh
Expand Down

0 comments on commit 4548234

Please sign in to comment.