emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Juan Manuel Macías" <maciaschain@posteo.net>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: [off-topic] E-readers and Org-Mode
Date: Mon, 24 Oct 2022 11:50:50 +0000	[thread overview]
Message-ID: <87ilk9v3s5.fsf@posteo.net> (raw)
In-Reply-To: <87y1t5r93e.fsf@ucl.ac.uk> (Eric Fraga's message of "Mon, 24 Oct 2022 07:09:42 +0000")

Hi, Eric,

Fraga, Eric writes:

> Putting aside the org mode aspect for the moment, I highly recommend the
> reMarkable [1] tablet for reading PDF documents.  I have owned one for
> several years now and use it all the time (in particular for reading 300
> pages theses on the train...).  I do not use org mode on it, however.
>
> For Emacs, some people have hacked the reMarkable.  I have not tried any
> of the hacks but the Parabola initiative [2] seems the most advanced.
>
> HTH,
> eric
>
> Footnotes:
> [1]  https://remarkable.com/
>
> [2]  http://www.davisr.me/projects/parabola-rm/,

Thanks a lot for the pointers. I didn't know about it, but something
like reMarkable is what I'm looking for, a device that serves as a
substitute for printed paper in A4 and reading on a desktop screen. The
Parabola hack looks pretty cool (that's supposed to be equivalent to
being able to use Emacs with pdf-tools package). I have seen that the
Wi-Fi does not work (it is not essential for me) but the OTG does. I
will investigate about it... In that device line I had also seen the
Onyx Boox Note. But recently I read that this brand has a sad history of
violating the Linux kernel GPL license.

N.B.: I have to say that I have never used an e-ink device. The
''closest'' thing is this hack I wrote, for use especially on my old
Thinkpad in high light environments. It uses Picom compositor and
Redshift. And, after messing around with the parameters a lot, I found
these that I'm quite satisfied with. It also helps to apply a monochrome
theme in Emacs. Of course, it is nothing more than a simulation to try
to reduce the light emission as much as possible:

#+begin_src emacs-lisp

(setq picom-command "picom --backend glx --glx-fshader-win \"uniform sampler2D tex; uniform float opacity; void main() { vec4 color = texture2D(tex, gl_TexCoord[0].xy); gl_FragColor = vec4(vec3(0.2126 * color.r + 0.7152 * color.g + 0.0722 * color.b) * opacity, color.a * opacity); }\"")

(setq redshift-command "redshift -l 40.5914000:-4.1474000 -b 0.9:0.9 -t 4000k:4000k -g 0.5:0.5:0.8")

(defun my-poor-man-eink-toggle ()
  (interactive)
  (when (equal (process-status "picom") 'run)
    (kill-process "picom"))
  (if (and (not (equal (process-status "picom-g") 'run))
	   (not (equal (process-status "redshifg-g") 'run)))
      (progn
	(shell-command "killall picom") 
	(shell-command "killall redshift-gtk")
	(shell-command "redshift -x")
	(start-process-shell-command "redshift-g" nil redshift-command)
	(start-process-shell-command "picom-g" nil picom-command))
    (kill-process "picom-g")
    (kill-process "redshift-g")
    (shell-command "redshift -x")
    (start-process-shell-command "redshift" nil "redshift-gtk -c ~/.redshift.conf")))
#+end_src



  reply	other threads:[~2022-10-24 12:08 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-23 15:16 [off-topic] E-readers and Org-Mode Juan Manuel Macías
2022-10-24  7:09 ` Fraga, Eric
2022-10-24 11:50   ` Juan Manuel Macías [this message]
2022-10-24 15:30     ` Fraga, Eric
2022-10-24 16:42 ` Jeffrey DeLeo
2022-10-24 17:16   ` Fraga, Eric
2022-10-24 18:34     ` Juan Manuel Macías
2022-10-25  7:57       ` Fraga, Eric
2022-10-25 12:55         ` Juan Manuel Macías
2022-10-25 13:59           ` Fraga, Eric
2022-10-26 13:31           ` L.C. Karssen
2022-10-26 14:00             ` Quiliro Ordóñez
2022-10-26 16:27             ` Fraga, Eric
2022-10-29  9:03       ` Juan Manuel Macías
2022-10-25 11:06   ` Eduardo Suarez-Santana
2022-10-25 14:03     ` Fraga, Eric
2022-10-25 14:37 ` Max Nikulin
2022-10-25 15:21   ` Fraga, Eric
2022-10-25 16:59     ` Ken Mankoff
2022-10-27 17:20       ` Max Nikulin
2022-10-27 17:53         ` Juan Manuel Macías
2022-10-28  4:40           ` Ihor Radchenko
2022-10-29 12:54           ` Max Nikulin
2022-10-31 12:18             ` Juan Manuel Macías
  -- strict thread matches above, loose matches on Subject: below --
2022-10-23 16:29 Ypo
2022-10-24  7:12 Pedro Andres Aranda Gutierrez
2022-10-24 14:11 ` Juan Manuel Macías
2022-10-25 14:44 Payas Relekar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ilk9v3s5.fsf@posteo.net \
    --to=maciaschain@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).