Skip to content

Commit

Permalink
Mon Dec 2 05:22:03 PM +04 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
monoira committed Dec 2, 2024
1 parent 6747fac commit d10b4b5
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,29 @@ wget -qO- https://raw.githubusercontent.com/monoira/.dotfiles/main/start.sh | ba

When scripts finish, reboot your system.

## Why are you using both snap and flatpak?

### I tried to only use flatpak, but had some problems with following packages

- neovim
neovim in apt is severely outdated, PPA version is outdated and
flatpak version is TERRIBLE, buggy and overly sandboxed.

- steam
installing via flatpak or apt steam-installer didn't worked, since
it kept giving me unmet dependencies error.
Building .deb package with "dpkg -i" means it won't update.
MIGHT GET FIXED LATER. Until then, I have to use snap version.

- figma-linux
can't install via apt or flatpak.
Building .deb package with "dpkg -i" means it won't update.

I would love to only use flatpak and get away from snap,
But it is what it is.
I will re-check in the future if I can replace those packages
with non-snap versions and finally be snap-free.

## Manual tasks that can not be automated

- install OhMyZsh
Expand Down
1 change: 1 addition & 0 deletions install_scripts/_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ bash ~/.dotfiles/install_scripts/flatpak.sh

bash ~/.dotfiles/install_scripts/packages_apt.sh
bash ~/.dotfiles/install_scripts/packages_snap.sh
bash ~/.dotfiles/install_scripts/packages_flatpak.sh

# complicated automated installations
bash ~/.dotfiles/install_scripts/postgres_and_dbeaver.sh
Expand Down
4 changes: 4 additions & 0 deletions install_scripts/packages_flatpak.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash

echo "<--- installing postman... --->"
flatpak install flathub --user -y com.getpostman.Postman
2 changes: 1 addition & 1 deletion install_scripts/packages_snap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
echo "<--- installing snap packages... --->"

sudo snap install figma-linux
sudo snap install postman
sudo ln -s "$HOME/.local/share/fonts" "$HOME/snap/figma-linux/current/.local/share/"

# snaps that need --classic flag.
sudo snap install --classic nvim
Expand Down

0 comments on commit d10b4b5

Please sign in to comment.