English Ukrainian
$ alias evince="flatpak run org.gnome.Evince"
# or alias evince="org.gnome.Evince"
$ evince
$ alias evince="flatpak run org.gnome.Evince"
# або alias evince="org.gnome.Evince"
$ evince
$ evince
bash: command not found: evince
$ evince
bash: команду не знайдено: evince
$ flatpak list --app --columns=name,installation
$ flatpak list --app --columns=name,installation
$ flatpak run org.gnome.Evince
$ flatpak run org.gnome.Evince
$ flatpak-spawn --host podman --help
$ flatpak-spawn --host podman --help
$ flatpak-spawn --host sudo -S rpm-ostree status
$ flatpak-spawn --host sudo -S rpm-ostree status
$ org.gnome.Evince
$ org.gnome.Evince
$ sudo diff -yrW200 --suppress-common-lines --color=always /usr/etc /etc 2>/dev/null
$ sudo diff -yrW200 --suppress-common-lines --color=always /usr/etc /etc 2>/dev/null
``` $ sudo mkdir -p /usr/local/share/applications/ $ sudo cp /usr/share/applications/firefox.desktop /usr/local/share/applications/ $ sudo sed -i "2a\\NotShowIn=GNOME;KDE" /usr/local/share/applications/firefox.desktop $ sudo update-desktop-database /usr/local/share/applications/ ``` ``` $ sudo mkdir -p /usr/local/share/applications/ $ sudo cp /usr/share/applications/firefox.desktop /usr/local/share/applications/ $ sudo sed -i "2a\\NotShowIn=GNOME;KDE" /usr/local/share/applications/firefox.desktop $ sudo update-desktop-database /usr/local/share/applications/ ```
$ sudo ostree admin config-diff
$ sudo ostree admin config-diff
$ sudo rpm-ostree install \
https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
$ reboot
$ sudo rpm-ostree install \
https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
$ reboot
$ sudo rpm-ostree update \
--uninstall rpmfusion-free-release \
--uninstall rpmfusion-nonfree-release \
--install rpmfusion-free-release \
--install rpmfusion-nonfree-release
$ reboot
$ sudo rpm-ostree update \
--uninstall rpmfusion-free-release \
--uninstall rpmfusion-nonfree-release \
--install rpmfusion-free-release \
--install rpmfusion-nonfree-release
$ reboot
alias istoolbx='[ -f "/run/.toolboxenv" ] && grep -oP "(?<=name=\")[^\";]+" /run/.containerenv'
alias istoolbx='[ -f "/run/.toolboxenv" ] && grep -oP "(?<=name=\")[^\";]+" /run/.containerenv'
Define the `istoolbx` alias (for convenience) by executing the command mentioned above in your terminal Визначте альтернативу `istoolbx` (для зручності) за допомогою згаданої вище команди у вашому терміналі
Directly accessing Flatpak applications from the CLI Безпосередній доступ до програм Flatpak з інтерфейсу командного рядка
Enabling RPM Fusion repos Вмикання сховищ RPM Fusion
Example: ``` export PS1="\[\e[31m\]\`is_toolbox\`\]\e[m\]\[\e[32m\]\\$ \[\e[m\]\[\e[37m\]❱\[\e[m\] " ``` Приклад: ``` export PS1="\[\e[31m\]\`is_toolbox\`\]\e[m\]\[\e[32m\]\\$ \[\e[m\]\[\e[37m\]❱\[\e[m\] " ```
Finding out if you are currently in a Toolbx container Визначення того, чи перебуваєте ви у контейнері Toolbx
For Flatpak applications installed from `system` remotes, these can be found under `/var/lib/flatpak/exports/bin/` Для програм Flatpak, які встановлено з віддалених сховищ `system`, ці каталоги можна знайти у `/var/lib/flatpak/exports/bin/`
For Flatpak applications installed from `user` remotes, these can be found under `$HOME/.local/share/flatpak/exports/bin/` Для програм Flatpak, які встановлено з віддалених сховищ `user`, ці каталоги можна знайти у `$HOME/.local/share/flatpak/exports/bin/`