I had some trouble with Emacs opening html files in the wrong browser recently. Thanks to this post on stackoverflow made by Pierre-Antoine I realized why that other browser kept opening html files. It’s because somewhere deep down in the many lines of e-lisp a script called ‘sensible-browser’ is being called. Among other things, it checks the user environment variable BROWSER to see what is it set to. I’ve been tweaking org-jekyll for my purposes. Headings in my org-mode journal (usually) contain a timestamp in brackets and org-jekyll wasn’t set up to handle that (which resulted in bad file names and post titles). I used a regexp to solve this. (more on Emacs and regular expressions here): I also set it up so that the org properties ‘excerpt’ and ‘tags’ are now carried over to YAML, like so: I must say it was pretty easy to get a nice set up going using Jekyll Bootstrap and and org-jekyll, and I’m already quite happy with the result. Posts are now looking okay but it’s still not 100% convenient to add a new post. I am thinking of modifying org-jekyll so that the ‘on’ property is not required if there exists a timestamp in the title. I am also thinking of making it possible to have the tags from emacs transfer over to YAML and Jekyll. Another small annoyance is that posting does not seem to work directly from the org capture buffer. This might be understandably hard to and the pay off not that great. Yet Another potential annoyance is that Jekyll seems to be (notoriously?) poor at detecting file changes and therefore local server restarts are often required to review posts before they are pushed to the Github servers. Or rather, how to configure org-publish so that ‘./static/coffee.jpg’ in org becomes ‘/static/coffee.jpg’ in HTML. Tried watching some flash video in fullscreen on a secondary monitor on X.org but found that flash kept leaving fullscreen mode as soon as I tried to do something on the primary monitor. I found out how to solve it from this page: Ubunturoot – Fullscreen Flash Video With Dual Monitors Workarounds. There are several possible solutions mentioned, one involves editing the flashplayer binary file with a hex editor. I used Maximize Flash for Chrome to solve it for now. Update: Okay, I’ve tested the hack of libflashplayer.so which prevents the fullscreen flash from exiting and it works for me in Chromium. It seems I had two versions of the file installed: /opt/google/chromium/plugins/libflashplayer.so /usr/lib/flashplugin-installer/libflashplayer.so To find out which one chromium is using you can move all of the files, start chromium and see if flash works or not. So far: Editing the libflashplayer.so did solve the problem with fullscreen mode exiting as soon as I would try to do something on the other screen. Still having problems with the full screen mode taking the wrong size (resolution) and/or proportions. Strangely, using the display settings to ‘move’ the external monitor to the left (from the right) of my laptop monitor makes things better. I am now wondering if there is a way to configure which display is the ‘primary’. Perhaps using xrandr. Appearantly flash looks for point +0+0 and calculates the fullscreen size from that monitor. If you have an extended display to the right, you are in trouble. This explains how one person solved it: http://ubuntuforums.org/showthread.php?t=887675&p=12095552#post12095552 Someone suggested trying google’s ‘pepper’ flash player which comes with chrome. So I installed chrome from: http://www.chromium.org/getting-involved/dev-channel Here’s how to use it with Chromium: http://www.webupd8.org/2012/09/how-to-make-chromium-use-flash-player.html Update: I tried installing chrome but unfortunately ‘pepper flash’ was running too slow on my system. On top of that, it also has the same ‘feature’ of the adobe flash player which means that it will exit fullscreen mode as soon as there is activity on the other monitor. And unfortunately I don’t know how to get rid of this behavior. Currently I can get a ‘fullscreen’ window on the screen to my right with the size of my left screen. This because flash seems to read the resolution from the screen that contains coordinate +0,+0. So if I ‘virtually’ rearrange the screens, putting my external screen to the left, I can run true fullscreen. Source.

whatsapp button