-
Notifications
You must be signed in to change notification settings - Fork 0
Package and Extension files
This is the guide for setting up and managing Package and Extension files reinstall_setup tool has an ability to automatically fill out contents of package and extension files based on the current system setup.
You can automatically fill out the contents of dnf-packages.txt
file based on your currently installed user packages. You can simply do that by navigating to 'Custom DNF Packages' menu and selecting "Update DNF package list"
Generated file is in a format @repo_name package_name
. This way we can verify exstance of the repository before attempting to install the package.
@rpmfusion-nonfree-steam steam
@sublime-text sublime-text
@updates darktable
@updates gimp
You can manually edit the file dnf-packages.txt
with any text editor of your choice, You can also use the built-in menu option 'Edit DNF list file', but you need to follow the format mentioned above. You can manually check information about a package by using dnf repoquery --qf "@%{repoid} %{name}" <package_name>
$ dnf repoquery --qf "@%{repoid} %{name}" htop
@fedora htop
You can automatically fill out the contents of flatpak-packages.txt
file based on your system current installed packages. You can simply do that by navigating to 'Custom Flatpak Packages' menu and selecting "Update Flatpak Package List"
The generated file is in the typical Flatpak unique identifier format org.Example.app
.You can manually edit the file flatpak-packages.txt
with any text editor of your choice, You can also use the built-in menu option 'Edit DNF list file', but you need to follow the format mentioned above.
com.discordapp.Discord
com.slack.Slack
com.spotify.Client
fr.natron.Natron
org.signal.Signal
org.videolan.VLC
To manually check identifier of flatpak package, you can also use Flathub.org Simply search for the package in question and check provided link:
Example:
Spotify app: https://flathub.org/apps/com.spotify.Client
is com.spotify.Client
You can automatically fill out the contents of gnome-extensions.txt
file based on your system current installed extensions. You can simply do that by navigating to 'Gnome Extensions' menu and selecting "Update Extension list"
Generated file is in a gnome extension UUID format <extension-identifier>@<author-identifier>
. You can manually edit the file gnome-extensions.txt
with any text editor of your choice, You can also use the built-in menu option 'Edit extension list file', but you need to follow the format mentioned above.
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
freon@UshakovVasilii_Github.yahoo.com
[email protected]
UUID for installed extensions can be obtained with the command:
gnome-extensions list
or by listing folders:
ls ~/.local/share/gnome-shell/extensions/ #User-specific extensions
ls /usr/share/gnome-shell/extensions/ #System-wide extensions
If you don't know UUID of your extension,and don't have it installed and would like to find it out manually, one way is to download the extension in question, unzip and check its metadata.json
file.
Example:
For https://extensions.gnome.org/extension/6/applications-menu/
, the metadata.json
file:
{
"_generated": "Generated by SweetTooth, do not edit",
"description": "Add a category-based menu for apps.\nThis extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME's GitLab instance instead.",
"extension-id": "apps-menu",
"gettext-domain": "gnome-shell-extension-apps-menu",
"name": "Apps Menu",
"original-authors": [
"[email protected]",
"[email protected]"
],
"settings-schema": "org.gnome.shell.extensions.apps-menu",
"shell-version": [
"46"
],
"url": "https://gitlab.gnome.org/GNOME/gnome-shell-extensions",
"UUID": "[email protected]",
"version": 59
}
extracting UUID from file above is [email protected]