A bash script to quickly install essential Flatpak applications: Google Chrome, Obsidian, and Dropbox.
This script automates the installation of the following applications via Flatpak:
- Google Chrome - Web browser
- Obsidian - Note-taking and knowledge management application
- Dropbox - Cloud storage and file synchronization
- Flatpak must be installed on your system
- For Debian/Ubuntu:
sudo apt install flatpak - For Fedora:
sudo dnf install flatpak - For other distributions, refer to the Flatpak installation guide
- For Debian/Ubuntu:
You can download and run the script directly without cloning the repository:
# Using curl
curl -sSL https://raw.githubusercontent.com/fulhaq/initial-setup/main/setup.sh | bash
# Using wget
wget -qO- https://raw.githubusercontent.com/fulhaq/initial-setup/main/setup.sh | bashIf you prefer to review the script before running it:
# Download the script
curl -sSL https://raw.githubusercontent.com/fulhaq/initial-setup/main/setup.sh -o setup.sh
# Make it executable
chmod +x setup.sh
# Review the script (optional)
cat setup.sh
# Run the script
./setup.sh# Clone the repository
git clone https://github.com/fulhaq/initial-setup.git
cd initial-setup
# Make the script executable
chmod +x setup.sh
# Run the script
./setup.sh- Checks for Flatpak: Verifies that Flatpak is installed on your system
- Adds Flathub Remote: Automatically adds the Flathub repository if it's not already configured
- Updates Remotes: Updates Flatpak remotes to ensure you have the latest package information
- Installs Applications: Installs all three applications with automatic confirmation
After installation, you can launch the applications in several ways:
The applications will appear in your system's application menu.
# Launch Google Chrome
flatpak run com.google.Chrome
# Launch Obsidian
flatpak run md.obsidian.Obsidian
# Launch Dropbox
flatpak run com.dropbox.ClientIf you see an error that Flatpak is not installed, install it first:
- Debian/Ubuntu:
sudo apt install flatpak - Fedora:
sudo dnf install flatpak - After installation, you may need to log out and log back in for Flatpak to work properly.
If you encounter permission issues, ensure you have the necessary permissions to install Flatpak applications. Some systems may require additional setup.
If the Flathub remote cannot be added, you can manually add it:
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepoIf you need to uninstall any of the applications:
# Uninstall Google Chrome
flatpak uninstall com.google.Chrome
# Uninstall Obsidian
flatpak uninstall md.obsidian.Obsidian
# Uninstall Dropbox
flatpak uninstall com.dropbox.ClientThis script is provided as-is for personal use.