Skip to content

Commit

Permalink
Replace firefox snap with firefox-esr from mozilla ppa
Browse files Browse the repository at this point in the history
Firefox running in snap does not run under vncserver due to some
cgroup issue I don't have time to look into right now.

Relaces to #28
  • Loading branch information
AaronJackson committed Jan 23, 2024
1 parent 7724f4e commit b08e076
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions modules/base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,13 @@ sudo ./aws/install
# Add terminal shortcut to desktop for easy access
mkdir -p ~/Desktop
ln -s /usr/share/applications/mate-terminal.desktop ~/Desktop/

# Replace firefox snap with debian package if it's installed
# snap packages have some issues with VNC because of cgroup
if [ -f /snap/bin/firefox ] ; then
# On Ubuntu 22.04+, deb `firefox` package is transitional package
# and results in the snap package installation.
sudo snap remove firefox
sudo add-apt-repository -y ppa:mozillateam/ppa
sudo apt install -y -q firefox-esr
fi

0 comments on commit b08e076

Please sign in to comment.