4 ms·
Of course, we can do even better these days $ ldd /opt/sublime_text/sublime_text | wc -l 15 $ ldd /home/tmk/.local/share/umake/ide/visual-studio-co
by TorKlingberg 10y ago
Of course, we can do even better these days
$ ldd /opt/sublime_text/sublime_text | wc -l
15
$ ldd /home/tmk/.local/share/umake/ide/visual-studio-code/code | wc -l
84
And I'm not sure ldd even captures all the libraries these things load.
- JdeBP 10y agoThings are better still when one stops looking at shared libraries and starts looking at run-time remote procedure call dependencies. The GNOME editor, a "small and lightweight text editor" according to the blurb and its reviews by some clearly incurious reviewers, requires that a per-user/per-login Desktop Bus broker be running and also (on my machine) that the following Desktop Bus servers be running: at-spi-bus-launcher (which runs another Desktop Bus broker), api-spi2-registryd, dconf-service, gvfsd, gvfsd-udisks2-volume-monitor, gvfsd-afc-volume-monitor, gvfsd-goa-volume-monitor, gvfsd-gphoto2-volume-monitor, and gvfsd-mtp-volume-monitor. Normally, it behaves like WIN16 programs used to behave: invoking the editor a second time simply sends a D-BUS message to the already running first instance to tell it to open another document and then exits that second invocation. If you want to start up a true second separate instance, one way to do so is use dbus-run-session to start it up with a private Desktop Bus broker of its own. Of course, doing so starts up second instances of all of the aforementioned D-BUS servers as well. This is not "small and lightweight". * http://unix.stackexchange.com/a/323700/5132 http://unix.stackexchange.com/a/323700/5132 * http://unix.stackexchange.com/questions/201900/ http://unix.stackexchange.com/questions/201900/