Calibre: Difference between revisions

Railwhale (talk | contribs)
m change see also Wikipedia link to use shorthand
Fyrk (talk | contribs)
Fix Wikipedia link
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[https://calibre-ebook.com/ Calibre] is program to view, edit, convert and print ebooks.
[https://calibre-ebook.com/ Calibre] is program to view, edit, convert, and print ebooks.


== Installation ==
== Installation ==


Calibre is available in [[nixpkgs]] as {{nixos:package|calibre}}.
Calibre is available in [[nixpkgs]] as {{nixos:package|calibre}}.
=== Testing ===
You can test Calibre without installing it by using a nix shell.
==== Flakes ====
If you have [[flakes]] enabled, you can run this command to enter a temporary shell with Calibre available:
<syntaxhighlight lang="bash">
nix shell nixpkgs#calibre
</syntaxhighlight>
==== Non-flakes ====
Without flakes, use this command to open a temporary shell with Calibre available:
<syntaxhighlight lang="bash">
nix-shell -p calibre
</syntaxhighlight>


=== NixOS ===
=== NixOS ===
Line 53: Line 33:


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
services.udisks2.enable = true;
services.udisks2 = {
    enable = true;
    mountOnMedia = true;
};
</syntaxhighlight>
</syntaxhighlight>


=== Opening <code>.cbr</code> files ===
=== Opening <code>.cbr</code> files ===


<code>.cbr</code> files are comic book archives in the [https://wikipedia.org/wiki/RAR_(file_format) RAR] archive format.
<code>.cbr</code> files are comic book archives in the [[Wikipedia:RAR_(file_format)|RAR]] archive format.


If you want to open <code>.cbr</code> files, replace <code>calibre</code> with the following in your NixOS or Home Manager configuration:
If you want to open <code>.cbr</code> files, replace <code>calibre</code> with the following in your NixOS or Home Manager configuration:
Line 80: Line 63:


== See also ==
== See also ==
* [[Wikipedia:Calibre|Calibre on Wikipedia]]
* [[wikipedia:Calibre_(software)|Calibre on Wikipedia]]


[[Category: Applications]]
[[Category: Applications]]