Displays Debian control information, devscript details and details of the files that would be installed (names, sizes and locations). Files within the package can be viewed within the package or externally.
deb-gview accepts package locations on the command line to support the 'open' command in various file managers, one window for each package. Packages do not need to be installed to be viewed - allowing the user to view package files built for any architecture.
Version 0.2.0 has been ported from the deprecated GnomeVFS to the replacement GIO and GVfs.
.changes files are also supported - deb-gview opens a new window for each package referenced in the .changes file. Individual package files or a set of packages referenced in a .changes file can be viewed from local and remote filesystems.
Original name: dpkg-view. Changed to avoid a conflict with the dpkg- namespace. See Debian bug #381221.
deb-gview is designed for Debian developers, Debian applicants / sponsorees and the simply curious.
By default, File|Open displays the list of packages in the apt cache:/var/cache/apt/archives/
deb-gview also loads .deb files directly from the command line. This can be used with file managers like Nautilus to open .deb files from a file viewer window. This is not enabled automatically, yet. e.g. to enable this in Nautilus, right click a .deb file, select Open and select "Debian Package Viewer" from the list. Nautilus will now use deb-gview to open .deb files in future.
deb-gview uses a dot-file in your home directory (~/.deb-gview/preview) to specify which applications should be used to preview files from the package. You are free to edit this file, deb-gview will not modify it, although the defaults will be replaced if the file is deleted.
The first matching pattern will be used, so put the most general wildcards (like *) at the end of this file.
The first group is a deb-gview default setting to determine which application to use for viewers that need a terminal. You may want to change this to gnome-terminal or konsole from the rather limited xterm default.
Subsequent group names need to be unique but have no other meaning to deb-gview.
pattern=./usr/share/man/man*/*
Glob-style pattern to match the location of the file in the package (not the filesystem - note the "./" prefix).
viewer=man
The program to call to view the file content (which must exist in your system PATH).
use_terminal=true
whether to start the viewer in a terminal, TRUE or FALSE.
binary_file
whether the viewer the content as a binary file, TRUE or FALSE.
file_suffix=
if the viewer needs a specific suffix, specify it here. Note that deb-gview does not insist that the suffix of the temporary file matches the suffix of the file within the package, it is up to you to ensure that the suffix is suitable for the viewer you want to use. Leave blank for no suffix.
deb-gview is a Debian native project, hosted at Alioth under the original name, dpkg-view. Please use the new name, deb-gview for all discussion of this project.
Alioth hosts the deb-gview CVS repository, deb-gview file releases and Trackers.
Todo
Regular expressions may be needed to isolate the package name and version from debian/control to make the title bar more useful.
Bugs
deb-gview is a Debian native package. Bugs should be reported to the Debian bug tracking system for deb-gview.
Downloading deb-gview
Current release: 0.2.4.
Debian GNU/Linux, deb-gview is in the unstable distribution.
Debian GNU/Linux, deb-gview is also in the testing distribution.
Ubuntu
deb-gview 0.1.2 is in Ubuntu Gutsy, newer versions in Ubuntu Hardy.