-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Disc Image Manager has command-line/console interface, but also requires the GTK libraries and an X server (e.g. Xvfb) in order to run, then runs in a console anyway.
This is a bit sub-optimal as these amount to around 500MB across 100 packages, all of which seems to be unused.
As a future enhancement, could a version of Disc Image Manager be made available which doesn't need the GTK/LCL dependencies?
It seems possible based on this -- https://wiki.freepascal.org/Console_Mode_Pascal#Console_mode_programming_with_Lazarus
root@35407ff2419c:/# DiscImageManager
DiscImageManager: error while loading shared libraries: libgdk-x11-2.0.so.0: cannot open shared object file: No such file or directory
root@35407ff2419c:/# apt update ; apt install -y libgtk2.0-0
# (about a hundred packages install)
root@35407ff2419c:/# DiscImageManager
(DiscImageManager:1221): Gtk-WARNING **: 17:39:49.983: cannot open display:
root@35407ff2419c:/# DiscImageManager --help
(DiscImageManager:1222): Gtk-WARNING **: 17:39:53.217: cannot open display:
root@35407ff2419c:/# DiscImageManager -?
(DiscImageManager:1223): Gtk-WARNING **: 17:39:55.287: cannot open display:
root@35407ff2419c:/# xvfb-run DiscImageManager
********************************************************************************
Disc Image Manager Console V1.49 by Gerald J Holdsworth
Linux Intel 64 bit
Ready
>exit
********************************************************************************
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels