Vivaldi: Difference between revisions

create basic page for vivaldi browser, with documentation to get it working on plasma6 due to a current issue.
 
Axka (talk | contribs)
m Clean up + link to Adding programs to PATH
Tags: Mobile edit Mobile web edit Visual edit
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[https://vivaldi.com Vivaldi] is a web browser by the Norwegian company Vivaldi Technologies.
== Installation ==
== Installation ==
add <code>vivaldi</code> to your <code>environment.systemPackages</code> and rebuild your system configuration.
Simply [[Adding programs to PATH|install]] the <code>vivaldi</code> package.
 
== Get it working with KDE Plasma 6 ==
Currently Vivaldi crashes at startup on KDE Plasma 6 due to improper packaging.<ref>https://github.com/NixOS/nixpkgs/pull/292148
 
https://github.com/NixOS/nixpkgs/issues/310755</ref> A workaround for this is to override the package attributes like the following.<syntaxhighlight lang="nix">
(vivaldi.overrideAttrs (oldAttrs: {
  dontWrapQtApps = false;
  dontPatchELF = true;
  nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [pkgs.kdePackages.wrapQtAppsHook];
}))
</syntaxhighlight>
 
== Force use of password store (KWallet, GNOME Keyring) ==
To force of specific password store you will have to use flags according to [https://chromium.googlesource.com/chromium/src/+/master/docs/linux/password_storage.md chromium docs].


== Get it working with plasma 6 ==
Below is an example that modifies the package attributes. Use <code>gnome-libsecret</code> for GNOME Keyring and <code>kwallet6</code> for KDE Plasma 6<syntaxhighlight lang="nix">
Currently, vivaldi crash at startup on plasma6 due to improper packaging<ref>https://github.com/NixOS/nixpkgs/pull/292148
(vivaldi.override {
  commandLineArgs = "--password-store=kwallet6";
})


https://github.com/NixOS/nixpkgs/issues/310755</ref>, a workaround to this is to override the default package attributes by adding the following to your <code>environment.systemPackages</code> :<syntaxhighlight lang="nixos">
(vivaldi.overrideAttrs
      (oldAttrs: {
        dontWrapQtApps = false;
        dontPatchELF = true;
        nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [pkgs.kdePackages.wrapQtAppsHook];
      }))
</syntaxhighlight>
</syntaxhighlight>
[[Category:Applications]]
[[Category:Web Browser]]