Basically, I want a viewer which has a night mode or a dark mode so that I can change a pdf with a white background and black text to a dark background and light coloured text.

  • 4
    qpdfview (lubuntu 18.10 & up standard viewer) allows you to change colors of background, paper-color & presentation backgrounds to any of a huge list (30+) of selections. – guiverc Apr 2 at 4:40
  • 3
    Which pdf file viewers have you researched? Both okular and qpdfview can invert colors unless the pdf file is composed of images. – DK Bose Apr 2 at 4:40
  • I used search terms "dark mode","pdf viewer", "night mode" coudn't get any result. qpdfview.Till now I was using default docuement viewer. Thanks, qpdfview have the feature that I was asking for. – UbuntuLover Apr 2 at 5:04

This method is only for text only documents. Otherwise the image colors will be inverted.

You can install Evince document viewer from this link and open it.Then goto the options on the top right corner as seen in the picture.

enter image description here

Then select Inverted colors. This will help you to read white text on a black background.

  • 1
    Thanks I already had Evince document viewer installed but didn't know that inverted colors can do this. – UbuntuLover Apr 2 at 7:36
  • 1
    @UbuntuLover You are welcome, yes it comes pre-installed. – Nuwan Thisara Apr 2 at 7:41
  • Is there a keyboard shortcut for bookmark in Evince? – UbuntuLover Apr 2 at 7:44
  • 1
    @UbuntuLover Actually could not find it here... help.gnome.org/users/evince/stable/shortcuts.html.en – Nuwan Thisara Apr 2 at 7:50
  • In my Document Viewer (3.30.1) the option is called 'Night Mode'. – muclux Apr 2 at 8:11

Atril from MATE DE also has Inverted Colors mode (accessible with Ctrl+I):

Inverted Colors mode in Atril

You can install Atril with sudo apt-get install atril.


I recommend you to go for Okular, one of the best readers for Linux platform. It is free of cost and provides features such as

  1. Night view mode
  2. Annotate and Markup tools
  3. Text extraction from PDF file
  4. Border trimming, and lot more.

If you're using Compiz WM with "Color filter" plugin installed, you can enable any of several nightmode filters for any windows.


I found all these answer are usefull then finally found this

xcalib -i -a

This inverts all the screen , everywhere. So no need to find if a particular software have this feature or not. I can set a hotkey and now whenever I want dark mode I just need to press the Hotkey, works even for browser.


sudo apt-get install xcalib

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.