Minor fix for a Konfabulator widget

The “one-liner” widget for Konfabulator hasn’t been working for me recently (I am currently using Konfabulator 2.0.1 and Tiger). I knew that it writes a file to the /tmp directory but I don’t see it there now, so I figured that’d be part of the problem. It seems it was. Here’s what I did; use this info at your own risk!

Steps for fix:
1. Close the one-liner widget.
2. Show the contents of the widget (control-click it in the Finder)
3. Edit one-liner.kon. Line 115 reads as follows:

var user_folder=system.temporaryFolder+"/one-liner"+user_id;

This uses system variables to generate the path where OL will write its file. I simply commented it out and added this line, essentially hard-coding the path.

user_folder="/tmp/501/one-liner";

4. Save the file, close it.
5. Relaunch the widget.
6. Cheer, pump your fist in the air.

Update:
This may break after a restart or logout because /tmp/501 is removed at those times. Simply readd it (along with the one-liner subdirectory). I’ll try putting it in my home dir.

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

Leave a Reply

You must be logged in to post a comment.