Cross Platform System-wide Org-Capture

Filed in BSD, Emacs, F/OSS, GNU/Linux, Org-Mode, OS X, Unix, WindowsTags: , , , , , ,

Here’s how I leverage Emacs org-capture from wherever I am in Windows, OS X, and other Unix and Unix-like operating systems.

I use F9 as my global capture key. It will either switch to or launch Emacs and then send [Ctrl]-c c to trigger org-capture. This way, no matter what I’m working on I’m one keystroke away.


Install AutoHotKey and add the following to your autohotkey.ahk script:


; org-capture
If WinExist("ahk_class Emacs")
Send ^{c}
Send {c}
Run "runemacs.exe"
WinWaitActive, emacs
Send ^{c}
Send {c}


Save the file. Reload the script (right click on the notification icon and select “Reload This Script”). You can find the original version of this on my personal blog from 2011.

Gnu/Linux & BSD & Unix

Install autokey-gtk or autokey-qt depending on your desktop environment. In the main window create a new script and paste the following in:


import subprocess
command = 'wmctrl -l'
output = system.exec_command(command, getOutput=True)

if "emacs" in output:
    window.activate("emacs", switchDesktop=True)




Assign F9 to the hotkey. Click Save. Thanks to the autokey-users group for their help troubleshooting my typos!


There are two ways I’ve accomplished this. The first is to use Keyboard Maestro if you already have it. Create a new macro called Org-Capture that triggers on F9. Have it Activate Emacs, simulate keystroke Control-C, and simulate keystroke C.

If you don’t have Keyboard Maestro, you can use the following Applescript in Automator:


on run {input, parameters}

tell application "Emacs"
tell application "System Events"
keystroke "c" using {control down}
keystroke "c"
end tell
end tell

return input
end run


Save it as a service, and then in the Keyboard Shortcuts panel assign the service to F9.

Let me know how this works for you. Comments, suggestions, and recommendations are welcome as always.

How do I use as an RSS feed source in Emacs?

Filed in Emacs, Org-ModeTags: ,

I posed the following question on Stack Exchange’s Emacs Beta site:

How do I use as an RSS feed source in Emacs?

I’ve searched on and off for months. I haven’t found anything to even point me in the right direction to get started. I’ve opened a ticket with Feedly as well.

Context feeds my RSS reading across platforms and devices since Google Reader’s demise. I don’t relish moving off of as it works well and I bought the lifetime subscription.

I want Emacs as one of the clients, eventually becoming my primary (or only) desktop client. Today I use the Feedly web app and the OS X ReadKit app on my various desktops with iOS’ Newsify and Android’s Press on mobile. They all tie into secondary services like Evernote and Buffer with varying degrees of success.

I aspire to bring my RSS desktop workflow into Emacs:

  • storing full text articles to read later (today in Evernote, eventually in org-mode);
  • sharing interesting articles (today in Buffer, eventually in twittering-mode & perhaps others);
  • emailing full text-articles (in gnus or any Emacs email client);
  • using the article as a basis for a blog post (via org-mode’s org2blog perhaps);
  • defining todos and reminders and appointments (again in org-mode);
  • browsing the original article (today in the OS’ default browser, eventually in eww or any Emacs web client [or launching the OS’ default browser]).

NOTE: I’m not asking for the whole kit + caboodle. I’m just looking for help to get started.

NOTE2: If you have solved or want to solve the whole thing, I will not object.

Web Site Maintenance 18 Oct 2014 23:00 EDT

Filed in AdministriviaTags:

Dear Friends,

The hosting provider is performing maintenance on the servers that host this site on Saturday 18 October 2014 at 23:00:00 EDT (Sunday 19 October 2014 at 03:00:00 UTC). They expect the maintenance to last 30-40 minutes. During the maintenance the site will be down.

Please plan accordingly.

Yours Truly,

The Management

[GNU/Linux] Mint 17 & Ubuntu 14.04 Graphics Fix in OS X Parallels 9

Filed in GNU/Linux, Linux Mint, Non-Free, OS X, UbuntuTags: , , , ,

I ran into an unfortunate flaw installing Mint 17 in Parallels 9. Mint 17 is built upon Ubuntu 14.04.

Here’s what I did:

  • Complete the install
  • Install Parallels Tools
  • Reboot
  • Log in as usual; don’t panic that the display and Cinnamon interface is a bit wonky
  • From the Parallels’ Devices menu under Keyboard, select Ctrl-Alt-1 to bring you to a console
  • Log in again
  • Then execute the following:

sudo mv /etc/X11/xorg.conf.`date +%Y%m%0d` /usr/share/X11/xorg.conf.d/xorg.conf
sudo reboot

Once I logged back in the graphics and Cinnamon interface displayed fine.

Let me know how this works for you!

[Ubuntu in the wild] Mercedes-Benz uses Ubuntu | Iloveubuntu: Ubuntu blog

Filed in UbuntuTags:

30 million users are using Ubuntu for school projects, online shopping, reading novels, creating 3D objects, editing images, playing games, etc, group of Ubuntu users covering artists, field workers, PHDs, essentially, covering the whole spectrum of life.

As seen across the latest years, Ubuntu has also a built-in magnet for scientific and research communities, being adopted and used in academic and research environments all over the globe, areas shaping, testing and finally creating the future.

The 500 INTELLIGENT DRIVE is a research-oriented vehicle created by Mercedes-Benz, vehicle through which Mercedes-Benz became in August 2013 the first automobile manufacturer demonstrating the actuality of the autonomous driving in both rural and urban traffic.

via [Ubuntu in the wild] Mercedes-Benz uses Ubuntu | Iloveubuntu: Ubuntu blog.

French National Police Switch 37,000 Desktop PCs to Linux | Wired Enterprise |

Filed in GNU/Linux, UbuntuTags: ,

France’s National Gendarmerie — a national law enforcement agency — is now running 37,000 desktop PCs with a custom version of the Linux operating system, and by summer of next year, the agency plans to move all 72,000 of its desktop machines to the open source OS.

Linux is now the primary means of running computer servers inside the data centers that drive the web’s biggest services, from Google to Amazon to Facebook, but it has struggled to replace Microsoft Windows on the desktop. The news from the Gendarmerie could be a sign that this is changing.

The agency claims the total cost of ownership of Linux and open source applications is about 40 percent less than proprietary software from Microsoft, according to an article published on the European Union’s Interoperability Solutions for Public Administrations website.

To make the switch less abrupt, the Gendarmerie first moved to cross-platform open source applications such as OpenOffice, Firefox, and Thunderbird. That allowed employees to keep using Windows while they got used to the new applications. Only then did the agency move them onto a Linux OS running these same applications.

via French National Police Switch 37,000 Desktop PCs to Linux | Wired Enterprise |

Ubuntu user replaces proprietary OS with Ubuntu on mother’s computer, the result: “she loves it” | Iloveubuntu: Ubuntu blog

Filed in UbuntuTags:

Anecdotal but awesome:

The Ubuntu-passionate user Suicidalparrot shared on reddit an interesting personal happening, namely, installing Ubuntu 13.04 on the computer of the user’s mother, shifting the mother’s machine from the proprietary Windows 7 to the agile, solid-as-a-rock Ubuntu 13.04: “just took Windows 7 off of my 62 year old mother’s laptop, and made it brand new with Ubuntu 13.04″.

The result: “she loves it, especially since it went from a barely usable hunk of junk to running like a brand new machine”, third-party testimony once again proving how Ubuntu can transform computing lives from issue-full, sluggish to fast, brand new-like experiences, Ubuntu OS having the capacity to destroy misconceptions and faultily-spread myths, latter such as “only proprietary software can deliver performance, only with proprietary OSes one can enjoy the latest goodies on the web, professional worflows demand proprietary applications, etc”.

via Ubuntu user replaces proprietary OS with Ubuntu on mother’s computer, the result: “she loves it” | Iloveubuntu: Ubuntu blog.

While I love the big stories like the French Gendarmerie installing Ubuntu on 37K hosts, these intimate stories make my day.

GNU 30th anniversary – GNU Project – Free Software Foundation

Filed in GNU Project

Thirty years ago this month, the GNU system announcement sparked a conversation that has grown into the global free software movement. Now we invite you to join the GNU community in celebrating this important occasion, and creating a future where GNU is stronger than ever.

Get started by taking action with GNU-a-Day, signing up for updates or exploring the celebration events around the world.

via GNU 30th anniversary – GNU Project – Free Software Foundation.

Head over and check it out. Consider a donation or purchase some stuff if you’re so inclined.

Recently announced Evernote app registered on launchpad as Reminders App, to feature sync, edit/read notes, image upload and reminders | Iloveubuntu: Ubuntu blog

Filed in UbuntuTags:

Recently, the developers announced the upcoming (at that moment) work on creating an open-source Evernote application designed in mind with Ubuntu Touch.

Essentially, the developers launched a call for participation towards interested Ubuntu-passionate third-party developers, Ubuntu developers-third party developers mix to create a powerful Evernote app following the successful path and approach of Ubuntu Touch Core Apps project.

Hours ago, the developers registered the Ubuntu Reminders app project on launchpad, adding, as its description, “a reminders app that syncs with Evernote to read and edit notes, upload pictures and get reminders”, therefore, the actual development has been started.

It seems that Reminders App will present itself as an app that “syncs”, “upload pictures” and “get reminders”, essentially, a relevant bundle of functionalities necessary for a handy Evernote-wise experience.

via Recently announced Evernote app registered on launchpad as Reminders App, to feature sync, edit/read notes, image upload and reminders | Iloveubuntu: Ubuntu blog.

Command Line Kung Fu: Episode #170: Fearless Forensic File Fu

Filed in BSD, GNU/Linux, UnixTags: , , ,

Fellow forensicator Craig was in a bit of a quandary. He had a forensic image in “split raw” format– a complete forensic image broken up into small pieces. Unfortunately for him, the pieces were named “fileaa”, “fileab”, “fileac”, and so on while his preferred tool wanted the files to be named “file.001″, “file.002″, “file.003″, etc. Craig wanted to know if there was an easy way to rename the files, using either Linux or the Windows shell.

via Command Line Kung Fu: Episode #170: Fearless Forensic File Fu.

This is a fantastic web series to help infosec professional specifically but all users’ command line skills.