Idea: programmatically storing and restoring PDF note workspaces - lmmx/devnotes GitHub Wiki
RE: dotfiles/bashrc/bashrc_functions_pdf
Inspired by the way Chrome extensions like OneTab sweep away tabs to restorable/minimal representations
Background:
- Currently when my laptop crashes it's because textbooks and a bunch of papers are open and I'm trying to deal with large datasets or memory-intensive programs, which become the straw that freezes the GUI camel's back.
- Rather than viewing them in browser, started viewing offline (brings beneficial features such as automatic update upon cropping in evince and non-duplication) and there able to automate their management.
- Potential to organise workspaces by task, to facilitate 'task switching' (with less in-memory storage it arguably also makes each task more efficient
- i.e. multitasking is not problematic in itself, but only with compartmentalisation to avoid snowballing complexity and associated performance forfeits
Unix StackExchange: Retrieve names of all open PDF files in evince
- When you initialise with
findnotes
etc., could keep- list of evince process ID (
pid
) numbers associated with file ID (surname16
) which connects both PDF and .md
- list of evince process ID (
- Could then provide a 'tidy away' function that sweeps notes away along with PDFs (send
Ctrl
+S
signal to editr instances before forcibly closing... or ideally have some hook into the Shiny app itself)- the notes would be restore-able, in the sense that a research project etc. has certain components that are loaded and considered at once, but then task may switch to some other project and leaving all these processes in memory leaves computer more liable to freezing up