LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

gresource

GNOME GResource bundle inspector

TLDR

List resources in file
$ gresource list [file.gresource]
copy
Extract resource
$ gresource extract [file.gresource] [/path/to/resource]
copy
Show resource sections
$ gresource sections [file.gresource]
copy
Get resource details
$ gresource details [file.gresource] [/path/to/resource]
copy

SYNOPSIS

gresource command [options] file [path]

DESCRIPTION

gresource inspects and extracts resources from GResource bundles. GResource is GNOME's resource bundling system that embeds files like icons, UI definitions, and data into executables.The tool can list all resources, extract individual files, and show detailed information. It works with both standalone .gresource files and ELF binaries with embedded resources.

PARAMETERS

COMMAND

Operation to perform (list, extract, sections, details).
FILE
GResource file or ELF binary with embedded resources.
PATH
Resource path within the bundle.
--section NAME
Specify resource section.
--help
Display help information.

INSTALL

sudo apt install libglib2.0-bin
copy
sudo apk add glib-dev
copy

CAVEATS

Specific to GNOME/GLib applications. Resource paths are case-sensitive. Part of glib package.

HISTORY

gresource was developed as part of GLib by the GNOME project to provide resource inspection and extraction capabilities.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid