Vivaldi: Difference between revisions

Klinger (talk | contribs)
Axka (talk | contribs)
m Clean up + link to Adding programs to PATH
Tags: Mobile edit Mobile web edit Visual edit
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:


== 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 plasma 6 ==
== Get it working with KDE Plasma 6 ==
Currently, vivaldi crash at startup on plasma6 due to improper packaging<ref>https://github.com/NixOS/nixpkgs/pull/292148
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 to this is to override the default package attributes by adding the following to your <code>environment.systemPackages</code> :<syntaxhighlight lang="nixos">
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
(vivaldi.overrideAttrs (oldAttrs: {
      (oldAttrs: {
  dontWrapQtApps = false;
        dontWrapQtApps = false;
  dontPatchELF = true;
        dontPatchELF = true;
  nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [pkgs.kdePackages.wrapQtAppsHook];
        nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [pkgs.kdePackages.wrapQtAppsHook];
}))
      }))
</syntaxhighlight>
</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].
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">
(vivaldi.override {
  commandLineArgs = "--password-store=kwallet6";
})
</syntaxhighlight>
[[Category:Applications]]
[[Category:Applications]]
[[Category:Web Browser]]
[[Category:Web Browser]]