Blog

  • Emacs Doc View Mode

                <ul>
    <li><a href="http://www.emacswiki.org/emacs/DocViewMode">http://www.EmacsWiki.org/emacs/DocViewMode</a></li>
    <li><a href="https://www.gnu.org/software/emacs/manual/html_node/emacs/Document-View.html">https://www.gnu.org/software/emacs/manual/html_node/emacs/Document-View.html</a></li>
    <li><a href="https://tsdh.wordpress.com/2007/08/22/view-documents-pdfpostscriptdvi-inside-emacs/#comment-4351">https://tsdh.wordpress.com/2007/08/22/view-documents-pdfpostscriptdvi-inside-emacs/#comment-4351</a> – asked the developer to rectify things on the resp. EmacsWiki page quoted above</li>
    

Ever since I noticed, that in new Emacsen you are able (resp. you should be able) to view e.g. PDFs within Emacs buffers, I wondered why this does not work “on certain platforms”. Today I finally searched for “emacs docview”, found the right document (see above), and solved the issue.

Emacs needs “gs” for converting PDFs to a series of PNGs, but of course it needs to find “gs” on its PATH. “On certain platforms”, $HOME/.profile (or so / etc.) does not get read, so would I manipulate PATH within $HOME/.emacs? No, I don’t like that. An alternative approach:

M-x customize-group RET doc-view RET

And set “Doc View Ghostscript Program” individually. Where is “gs”? Maybe “type -a gs“?!?

Now I enjoy viewing PDFs inside Emacs on even more platforms.

  • Synology DiskStation DS713+ – isn’t this THE favourite 2-bay NAS around? INTEL Atom D2700 Dual Core 2.13 GHz

    • https://www.synology.com/en-global/products/DS713+
    • with 2 Western Digital WD20EFRX disks: around EUR 620
    • with 2 Western Digital WD30EFRX disks: around EUR 660 – this is my new “super / professional NAS team”
    • with 2 Western Digital WD40EFRX disks: around EUR 760
    • I am quite a little away from even needing 1TB, …
    • but 2TB seem to be on the safe side, …
    • but then the gap between 2TB and 3TB isn’t really huge,
    • whereas the gap between 3TB and 4TB weighs quite a little

    On 2015-03-20 we had reached the end of the 2015 CeBIT week – it was clear enough, Synology would not present a DS715+. They also only recently flooded the market with a DS215j, so there would not be a DS215+. Time to finally get a DS713+. Got it and started deploying to it all the software and data and scripts, I already have on my older and tinier DiskStations.

    But the DS713+ is Docker ready and quite capable to run a Hibiscus-Server and my Perl banking scripts, and still do a lot of other stuff.

    I had thought about a DS71X+ since the beginning of February, when I first noticed, that Synology also has an Intel (64bit) 2-bay “+”-model, even ready to get extended by an 8-bay extension frame – I assume this is their most powerful 2-bay DiskStation – maybe not most energy efficient – but I do need a machine, that can stand the constant bank data exchange and processing on a machine, that does not suffer at all from that task resp. bundle of tasks.

  • my GKrellMs are now running within a VNC server on a VM

    My GKrellMs are really nice graphical utilities. They even remember their positions for their next start, if you tell them to do that. But if you have like 5 of them, it’s still a hassle to get them all started – even if you have a script to achieve that task. It’s nicer, if you can simply “dive” into some environment, where they are already available for you. VNC is the basis for that kind of thing. The VNC server is a “virtual” X Window Server – “but” it’s really there and running and available at your demand – and you would attach to it through a VNC viewer.

    I like this set-up a lot.

    VNC vs screen saver AKA screen locker

    I only look at my GKrellMs once in a while – there is no need to touch that environment, so of course that looks like a kind of inactivity, and that asks for a screen saver operation. And yes, even my VNC environment had a “screen saver” AKA “screen locker” running initially.

    This is the KDE desktop’s section, where you configure that:

    • Hardware / Display and Monitor / Screen Locker

    Now the screen saver does not start any longer after a period of inactivity within my VNC environment.

    VNC viewer within a web browser

    Isn’t there a “VNC viewer within a web browser“, that makes a separate VNC viewer application (by itself) redundant? Yes, there is.

    My VNC server has its log file at $HOME/.vnc/*:*.log. There is a line saying “Listening for HTTP connections on all interface(s), port …” – take that port and connect to it in your web browser! Now you only need to be able to run that Java plug-in within your browser.

    Activity of non-visible applications – power consumption

    You would wish, that non-visible applications don’t really do anything. I would wish, that my non-visible GKrellM front ends do not pull data from their back ends. I am in fact a little pessimistic, they really do behave like that.

    GKrellM + VNC = poor man’s monitoring

    Isn’t that really, what my GKrellMs being displayed in a VNC environment are?

  • running a GKrellM daemon on my AVM FRITZ!Box 7490 (again)

    On top of the GKrellMs for all my NASs I am now also running and watching GKrellM for my 7490 – it’s always good to see, that the CPUs are not busy, and how much of the “dsl” line is being used.

    I owe the binary of gkrellmd to my friend Hannes R. – he compiled it quite a while back for the 7390 – and 7390 and 7490 look binary compatible, at least upwards.

  • GKrellM helps me recognising, when AFP accesses make my NAS go wild

  • Unicode::Tussle – “Tom’s Unicode Scripts So Life is Easier” – also: Unicode enabled rewrites of Unix utilities

  • the Heirloom Project provides standard Unix utilities




    <!–

    www.bibleserver.com | 522: Connection timed out


    body{margin:0;padding:0}
    <!–[if lte IE 9]>/cdn-cgi/scripts/jquery.min.js<![endif]–>
    /cdn-cgi/scripts/zepto.min.js<!–
    /cdn-cgi/scripts/cf.common.js

    Error
    522
    Ray ID: 3a8c534be98d64c9 • 2017-10-05 00:40:12 UTC

    Connection timed out


    You

    Browser

    Working


    Frankfurt

    Cloudflare

    Working


    www.bibleserver.com

    Host

    Error

    What happened?

    The initial connection between Cloudflare’s network and the origin web server timed out. As a result, the web page can not be displayed.

    What can I do?

    If you’re a visitor of this website:

    Please try again in a few minutes.

    If you’re the owner of this website:

    Contact your hosting provider letting them know your web server is not completing requests. An Error 522 means that the request was able to connect to your web server, but that the request didn’t finish. The most likely cause is that something on your server is hogging resources. Additional troubleshooting information here.

  • “nail(1): send/receive Internet mail” – I quite like to be able to do command line e-mailing on my NAS

  • usermod(8): modify user account – Linux man page

    Rather interesting utility – I needed that thing recently, when I had to adapt account UIDs on my NFS client systems.

  • Cacti Monitoring on a Synology Diskstation