I'm a new emacs user (spacemacs, really, switched from Vim), and I'm having difficulty configuring emacs on my HiDPI display. Basically, I'm suffering from this bug. The problem is that, while I can scale the font size on emacs fine, graphics and images don't scale. That's most apparent in inline images, say, in org mode, EIN, or anything that displays an image. Is there a way to just make all images twice as big, by default?


I'm far from being an expert on this, but would setting this variable help?

(setq org-image-actual-width SIZE_IN_PIXELS)
| improve this answer | |
  • My version of org-mode doesn't have this variable, what does it do? Regardless, this wouldn't help outside Org mode. – Gilles 'SO- stop being evil' Apr 30 '17 at 18:46
  • Setting that variable doesn't seem to have any effect. – Jonathan May 1 '17 at 2:12
  • 1
    The variable is org-image-actual-width, not org-mode-actual-width. I submitted an edit. – Jason Blevins Nov 27 '17 at 2:03
  • I'd suggest trying this with emacs-26, which has a number of improvements in scaling support (although inline images might not be one of them). – rpluim Jul 26 '18 at 12:04

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.