Skip to content

Installation #7

Description

@ali1234

I removed the installer target because it only worked with nsplugin wrapper and that's not commonly used any more.

The way I use this currently is to copy the .desktop launchers from /usr/share/applications for each browser, and edit the launch command to run the browser with LD_PRELOAD set to the location where I built the libraries.

For automatic installation it would work something like this if not run as root:

  1. Search /usr/share/applications for browser launchers.
  2. Copy them to ~/.local/share/applications/
  3. Edit command line with sed.

If make install is run as root:

  1. Install libraries in /usr/local/lib
  2. Search /usr/share/applications/
  3. Copy to /usr/local/share/applications
  4. Edit launchers with sed.

This will avoid conflicts with distro packages and can even work if the user doesn't have root access. There is one problem though: google chrome puts it's launcher into /usr/local/share/applications

(.desktop launchers are used by Gnome (and all variants like cinnamon, MATE, etc), Unity, KDE, xfce, lxde, hildon, and probably many others.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions