Xournalpp: Dark Theme

Created on 25 May 2019  路  5Comments  路  Source: xournalpp/xournalpp

I would like to be able to write my notes on a dark background, but then print and export them in the standard white background.

Currently, I can set the color of each page individually. However, if I choose to export the notes, I have to manually edit the background color of each page individually to white. This takes too long.
It would also be nice to be able to mass change color of the writing as well.

Potential solutions include:
1) Allow the mass selection of multiple pages to be able to change the properties in bulk from the page bar.

  • shift select multiple pages
  • control + a: Select all pages
    2) A dark theme that changes the color of the background and potentially some of the pen colors.(user defined as to what they map to between the dark theme being written on and light theme export) Yet, upon export the user can choose to export in the "light" theme option.

Notes:
2 is a better solution in the whole as it also allows pen colors to be changed between the different themes. For example, on a light theme I would use white background with black ink. However, on a dark theme, I would use a dark background, and maybe light grey ink.

  • In this solution, the theme could automatically map the light themes black ink color to the grey color. So upon export, anything written in the dark theme with grey ink, can be exported in the light theme as white background with black ink.
hard enhancement low

Most helpful comment

I agree that inverting colors would be great. In my case, I'd like to use it to take student pdf (so white background/black text), invert it only during annotation (to save my eyes), and then save it as normal white background/black text so that I can give it back to students. Thanks!

All 5 comments

I was just now looking for this. I would love this feature. Evince supports inverting PDF colors, which works great. There also seems to be a patch set for Xournal (not Xournal++) that adds this feature at https://gitlab.com/gi1242/xournal.

I fully support this request. In addition, It would be useful to have such a colored, semitransparent background ON TOP of a pdf background. I use xournalpp to read and annotate articles in pdf who are on white background. In order to avoid straining my eyes I add a green background. For the moment I produce it with a semi-transparent filled full-page highlighter. This is of course not optimal. A solution as proposed by fxkrait would be better, but again I stress that it should be allowed ON TOP of a pdf background. Thanks a lot for your work!

If this is for relieving eye-strain or taking notes in a dark setting without disrupting others there may be an option in your windowing system already:

Mac: Cmd+Alt+Ctrl+8
Windows10: 1. Hold "Win" and "+" 2. Wait 3 seconds 3. Press "ctrl" + "alt" + "i"
Windows 10,8,7: Settings->EaseOfAccess->Magnifier->gear icon->color inversion
Linux KDE - System Settings->Desktop effects->Invert (entire screen or individual windows)
Linux Compiz - CompizConfig Settings Manager->Negative. (entire screen or individual windows)
Linux X-Windows: Without the window manager you can tell X-Windows directly using xcalib:

    sudo apt-get install xcalib
    xcalib -s 0 -invert -alter
    xcalib -c    #clear.. back to normal

There is also a program called xrandr-invert-colors that is said to work better with multi-monitor setups.

I would also like to suggest handling it the same way as zathura does, which works extremely well IMO. In zathura it's possible to define the background and foreground colors and whether to invert them, all colors in the document are then mapped between those 2 values.

For example:

set recolor                     true
set recolor-lightcolor          "#182e3a"
set recolor-darkcolor           "#fffefd"

I agree that inverting colors would be great. In my case, I'd like to use it to take student pdf (so white background/black text), invert it only during annotation (to save my eyes), and then save it as normal white background/black text so that I can give it back to students. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dimkab picture dimkab  路  4Comments

frohro picture frohro  路  3Comments

aureooms picture aureooms  路  5Comments

Krzmbrzl picture Krzmbrzl  路  4Comments

andrewchenshx picture andrewchenshx  路  3Comments