LinuxCommandLibrary

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.

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

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community