Open Libreoffice Writer to the Last Edited Document

More people should be using LibreOffice. Why? Because word processing is a mature technology, as mature as the doorknob, and there is no reason to keep paying tech companies like Microsoft increasingly exorbitant protection money as if we needed or wanted them to “improve” it–all the while making it easier for them to spy on us and sell us crap we don’t want. Capitalism is a powerful driver of progress, but sometimes that progress is, as C.S. Lewis put it, called “going bad.”

This isn’t 1988. Word processing doesn’t need anything but bug fixes and refinement between now and whenever the next revolution in AI or human biology renders the whole idea moot, and well-supported open-source software is safer than commercial software specifically because it’s open. More eyes are looking at the code with more detachment. It’s also a bit like a good Credit Union, driven by the needs of the community rather than the profits of a few oligarchs. So stop paying that monthly subscription and download LibreOffice for free. Go. We’ll wait.

But when you do, you’ll naturally find there’s a learning curve. That’s where I can help. I’m starting a series to share what I’ve learned as I’ve made the transition over the last decade or so.

In this post, the Libreoffice Macro facility and how to easily use it to do something super useful with no difficulty at all: Make Libreoffice Write open the last document you edited to the last spot you were at when you closed it.

Read More

Translate 13,000 Application Strings in One Shot

In a browser, Modern computer applications contain thousands of text strings used within the user interface to populate help text, buttons, dialogs, and other controls. Localization is used to swap these text strings out for those appropriate to other languages so the application can readily adapt to users around the globe. This post isn’t about how that’s done but about a method for addressing the single greatest weakness of localization–getting all those strings translated into every language supported by the application. Generally, they’re stored in properties files of one form or another and sent out to language experts (or volunteers) for translation.

This quickly becomes a logistical nightmare nightmare, and unless each translator is very adept, and every translations is made in the context of the application, results can be mixed. It’s a lot of work and can be a great expense that many smaller developers simply can’t afford, meaning that many applications simply don’t support as many languages as they might, or support them as well as they should.

Read More

You Gotta Have Skills

Since I started seriously writing, I’ve learned there are a vast assortment of skills I might logically profit by that I just don’t have. And I’m not talking about grammar and spelling, or judging when to use active voice or how to write dialog that sounds true to life but isn’t as dull and repetitive as life—though those are all on the list.

No, I’m talking about the meta-skills, the things writers need to know these days that have nothing (or little) directly to do with writing, skills like using software to create promotional signage and book layouts, reading stories before an audience (or into a microphone for audiobooks), hawking your wares from a comic con booth or yes….begging for money.

That last might seem an odd choice for someone like me with major contest wins and a string of top market professional sales under my belt. But the sad truth is, short stories just don’t pay very much, and unless you hide all the other writers in a cupboard somewhere, it’s almost impossible to sell more than a few per year at professional rates.

So…as I work on the core skills (the prosy ones and the butt in chair, actually writing the novel ones) I started thinking a few years back, that it would be wise if I had a plan in place, should the need arise, to convince the IRS that yes, this writing thing really is a business that will one day turn a net profit after appearances and expenses.

My first step along those lines was to create Got Scifi Group, a small imprint and informal collaborative of some of my award-winning writer friends, for the purpose of producing anthologies that those of us who make appearances and don’t yet have a back list of novels can sell at a measurable profit.

Read More

And Now For Something Completely Different

So I built a couch this week–one of those Home Reserve sectionals where all the parts are made on a CNC router and you have to put them together jig-saw style. I’ve never been a fan of “flat-pack” furniture, but with advancing technology, it’s lost most of the deserved stigma it once had.

Read More

Make Your Website Shine!

Sprucing up your website for the new year? Now’s a good time to consider how it looks and works on mobile devices.

According to my stats for 2016, a quarter of my followers now arrive on mobile devices. I work hard for their patronage, and I want to ensure their experience is as pleasant as possible, but there are a huge variety of devices, resolutions, and user settings to contend with–and it all takes time away from writing. What to do?cellphone-use

Fortunately, the days of testing software out on every possible client configuration are long gone, and for the casual brochure site(1) developer, most of the heavy lifting has already been done. I use a paid Weebly account for my brochure site and a free WordPress site for my blog

Read More

The Ergonomic Treadmill Desk

In March of 2013, I switched from an extremely fatiguing standing desk to a simple, effective, DIY treadmill desk. By August, I was so pleased with this arrangement that I invested in a substantial upgrade.

Since then, I’ve had my ups and downs. The treadmill desk was a boon. I soon learned to cope with static electricity and blisters and  to typing at a jaunt, and by the end of 2013, I was down to what I weighed on my wedding day. An injury forced me to lay off for a few months, but I eased back in and the beginning of this summer, I had run into a new problem.

My keyboard wasn’t cutting it.

If you follow any of my social media whatzits, you know I recently bought a Kinesis Advantage ergonomic keyboard.

Now, as Bryan Thomas Schmidt pointed out on Facebook, learning a new keyboard can really piss you off, but I went through some typing training and have found the Kinesis extremely compatible with continued touch typing on an ordinary QWERTY keyboard, and that it’s really those inferior layouts that annoy.

So the old execrable Microsoft keyboard went into hibernation, and the treadmill desk got a makeover:newdesk.jpg

This clean design replaces the slightly too-high, non-adjustable, hardware store wire shelf upper deck with a $30 Allsop Redmond adjustable notebook computer stand.bending.jpg

After playing with it for a few days, I found it a bit too tall at its lowest setting, so I just crushed the arms down a bit and voila.

Poplar veneer plywood, screwed to the stand, extends the new upper deck to accommodate a mouse beside the keyboard (I prefer the left). Black, non-slip shelf liner, securely attached with Scotch Poster Tape, gives both surfaces a neat appearance.

My Logitech T650 trackpad fits neatly and securely in the center of the Kinesis:DSCF5249And the mouse is easily swapped out for the Wacom tablet when it’s signature time:

wacom

And there you have it. It works great and I can type all I want, as fast as I want, without any hand pain, though I do need to make a little ramp to give the mouse a surface closer to horizontal.

I know the treadmill thing isn’t everyone’s cup of tea, but I hope these posts give you ideas that you can use in your own workspace. If they do, leave a comment and let me know about it.

Cheers!

ErgoDox Like a Kinesis

Want your ErgoDox keyboard to feel like a Kinesis? Sure you do. Read on.

This is a long how-to post. If you want to skip over the “why” and go right to the “how” jump to the last section.

In this post:

The Field:

Many aficionados of ergonomic keyboard design believe the Kinesis Advantage is the finest ergonomic keyboard ever made.

It may look weird, but I can state from firsthand experience that those oddly warped key wells and offset thumb clusters really do fit the human hand far better then any other keyboard I’ve used, and the Kinesis, remappable and available with two types of switches, a variety of key cap options, and  out-the-box QWERTY and Dvorak layouts, is a joy and revelation to type on.

It even supports a foot pedal you can use for say, a shift or control key (cool but I use a standing desk.)

But now, thanks to the rise of maker culture and the open source community, there is a new contender for the throne: ErgoDox.

Image result for ergodox

ErgoDox EZ with tenting kit and blank key caps.

ErgoDox lacks the form-fitting key wells of the Kinesis, but makes up for it with some interesting features. For a start, it’s smaller and more portable, it allows users to customize spacing between hands and the orientation and “tenting” of each hand.

Many people choose ErgoDox just for this flexibility, but in addition, it’s an open source design, so you can custom-build your own from scratch, assemble a kit sold through MassDrop, or buy factory assembled units from ErgoDox EZ. You could also take inspiration from the ErgoDox open source design and come up with something new of your own (Keyboardio is coming out with a very similar, but non ErgoDox design you might find interesting).

This is customization almost unparalleled in the history of consumer goods. You can choose from a bewildering array of keyswitch types, keycaps, and keyboard layouts. One fellow skipped ergodox_keyboard_mod_with_trackball_2_2013-04-17the ErgoDox controller and instead soldered each of his two half keyboards to wireless keyboard controllers hacked from a pair of cheap Logitech wireless keyboards and synced to a Logitech Universal USB dongle. Others have mounted their ErgoDox into a homemade housing with a trackball in the middle. To each his own, literally.

Me? I bought a commercially available unit from ErgoDox EZ. This is your standard design in a top quality ABS plastic case, with ingeniously designed tenting feet. I bought it with a blank keyboard for a couple of reasons.

First: due to economic constraints in the manufacture of keycaps, you pretty much have to choose between flat printed keycaps and sculpted blank keycaps. Sculpted keycaps have different heights for different rows, slightly more ergonomic and more like the Kinesis, but it’s not economically feasible for manufacturers to make printed sculpted keys given all the height-label combinations.

Two: I’ve been touch typing since I wrote my own typing instruction program in high school. Typing on a blank keyboard is only daunting at all because control keys vary from keyboard to keyboard. So as long as I configure my ErgoDox EZ to have the same layout as the Kinesis, typing on blanks should be fine. Typing on labels that don’t match the keys, however, would drive me batty.

So I got the Kinesis first, carefully adjusted my workspace to minimize wrist strain, and used a free typing instruction program to cure some old bad habits and train a few keys I never quite learned by touch (I’m looking at you, queball.)


Changes I made to my Kinesis layout:

Kinesis is fully remappable (and even available with Dovorak keycaps) but I’m sticking with QWERTY (which is really called Sholes) because that’s the defacto standard, I have to live on Earth, and it makes very little difference anyway as far as speed and accuracy. I also am pretty conservative when it comes with customizations, just because I’m lazy (laziness being the highest achievement of human civilization) and any customizations I make, I will sooner or later have to support.

1> That being said, there is one key that needs to be banished from any

200_s

“Mind your step, sir.”

computer keyboard before it’s fit for human use. That would be, the excrementally anachronistic caps-lock key. Now, there are those among you who will defend this old standby, and to you I say STOP YELLING at me! A computer needs caps lock key like an elevator needs an attendant to open the door for you.

We have styles! And electricity!

To the touch typist, caps-lock is nothing but a land mine you hit when you overshoot the “A” that then ruins the next few words and throws you out of the flow. Many people remap caps-lock to be an additional control key, but that’s even worse. Hit it by mistake and you’ll knock the computer into some alternate mode of operation and do no telling how much evil. No, the only safe thing is to just turn it into another shift key and be done with it.

2> Also, I’ve never seen much point in the OS key, a key that, let’s be honest, only displays a menu you are going to select from using the mouse. I do like having a delete available to the right hand, though, so done and dusted.

My Kinesis Customization


Changes I made to my ErgoDox layout:

The ErgoDox also is easily customizable–so much so this could easily be daunting. Where the Kinesis just toggles between the normal and keypad layers, ErgoDox can define multiple layers. Where Kinesis lets you easily reassign any key from its standard position to an alternate location just by hitting a few buttons, ErgoDox lets you remap the whole keyboard using a graphical editor. Heck, if you want to, you can download the firmware source code and program it to recite the Star Spangled Banner by flashing the LEDs in Morse Code.

I opted for the simple approach, using the free GUI configurator to set up a Kinesis-like  layout. Below I’ll show you how easily you can do the same, but first, here’s the layout:

ergolikekinesis

Kinesis Emulating ErgoDox layout

 

Notice, the ErgoDox has some extra keys. Two extra columns are placed above the thumb clusters, and I’ve used these to enhance media control and editing. I put the mute on the right so that I can comfortably alt-tab with my left to switch applications. Later I might consider building a firmware image from source code to use the ErgoDox’s tap-hold functionality, but for now it’s not worth the bother. I put extra delete and backspace keys on the right too since I know my error rate will be higher on this keyboard.

The additional lower left key is used to restore the OS key (which actually works and is all but essential in the version of Fedora I run on my laptop

where I plan to use ErgoDox). The lower right key is used to load layer 1 (the above is layer 0).

ErgoDox has extra keys but is doesn’t have any function keys. These are occasionally needed, so I’ve placed them on layer 1, and the numeric keypad on layer 2 (see my full config on MassDrop for details on those layers).

* If you must know, I do have a caps-lock key on layer 1, where it’s a good deal harder to hit accidentally.

ErgoDox supports layers using a stacking metaphor that frankly, is only going to confuse you when you try to use it. Instead, just remember this: the lower right key advances from the alphabet layer to the function key layer and on to the num pad layer. The lower left key, on any layer but the alpha layer, returns to the alphabet layer.

There. Simple. Now I can move back and forth between my Kinesis and my ErgoDox with the minimal possible change to the touch-typing experience–and so can you.


How to configure your ErgoDox to feel like a Kinesis (it’s easy):

These instructions are for the ErgoDox EZ but should work equally well on any ErgoDox using the Tweensy controller.

  • Download my ergodox_firmware.hex file to your computer.
  • Download the Teensy Loader app most appropriate for your operating system.  This is the tool you use to upload the keyboard layout to your ErgoDox.
  • With the ErgoDox plugged in, run the Teensy loader program.
  • Press the “Teensy reset button” with a paper clip. On the ErgoDox EZ, this is a tiny hole in the upper right of the right keypad. You can configure a key to act like pressing this button, but honestly, why?
  • Drag and drop the ‘.hex’ file onto the Teensy loader window.
  • In the Teensy loader, click the “Auto” button. You should briefly see a progress bar as the update is loaded to your keyboard.
  • I’ve seen other instructions for doing this that involve more steps (and may possibly be the result of needless complication). If you find that my instructions don’t work, please leave a comment.
  • That’s is. If for any reason the keyboard doesn’t work after this, just unplug it and plug it back in. You’re updating the keyboard layout data, not the firmware, so there is only so far it an go wrong.

I make no guarantees or warranties, of course, but it’s pretty bullet proof. If you run into any trouble, ErgoDox EZ has links to all the support info you could ever want on their site.

Let me know how it works out in the comments.

Cheers.

 


Other resources:

Ergonomics for the Win!

I got my new Kinesis Advantage LF yesterday, and after about 10 hours of touch typing training, I’m back up to about 25 wpm with some accuracy (This is the very first thing I’ve tried to type outside a typing trainer). That’s actually pretty good. Most people report taking days get back their former fluency. [Edit, back to 50 wpm in a week, using www.keybr.com to practice]
I elected to stick with the Sholes (QWERTY) layout because I cannot realistically avoid it on laptops and such, and I can’t see switching back and forth on a daily basis. So far, though, the Kinesis is almost as jarring. It uses a columnar, or matrix layout (like many newer ergonomic designs) and worse (or better), places keys in wells to better fit the natural shape of the hand.advantage-black
If you are skeptical of this design, so was I, and I knew it would be my main source of difficulty. I am already a long-time touch typist and it effectively puts many of the keys in positions as different as if I had switched to a different layout. I will say this, however: it works! What started me on this quest was the realization that I simply cannot improve my typing skills and eliminate bad habits I’ve carried for years because my hands cannot endure the quantity and velocity practice needed to get there. I say I type 50-60 wpm, but that’s only in sprints. The fact is, I never type anywhere near that fast for any length of time. My hands just can’t take it. And that encourages more breaks, more distractions, and less productive writing time.
Only recently did I remember what I knew from years ago: this is all the keyboard’s fault!
In this age of laptops and tablets, it’s easy to forget that the cheap and highly compact keyboards shipped even with with most modern desktops are not in any way engineered to fit the needs of the human body, and most so-called ergonomic keyboards are anything but–they are designed by marketers, not engineers.
The arrangement of keys (as I detailed in an earlier post) is not the main problem.  The problem is that twisting the highly complex and variable human hand to fit these awkward keyboards and then rapidly whacking our delicate tissues against unrelenting surfaces is a recipe for pain and injury.  These portable devices are marvels, but they ignore decades of research on ergonomic and reliable design.
It’s a conundrum, and as I have no plans to give up the joy and productivity I get from being able to carry an entire writer’s office in a  handbag, it’s time I upgrade my home office (where portability is not an issue) to give my poor hands a break.
And so far, so good. Though typing on this Kinesis is still a bit of a waddle, the hand orientation, key wells, and top-quality Cherry MX Red low force linear mechanical key-switches definitely do the trick. Even after hours of heavy use, my hands and wrists feel better than after typing a single email on any of my other keyboards, and any discomfort fades away in minutes.  This is hands-down the most comfortable keyboard I’ve ever typed on–even better than the extremely noisy Logitech ergo I bought years ago for work.

The Kinesis is not cheap and it’s not perfect. I’d like the key wells to be further apart and more highly tented. I’d like the home row keys to have tactile nubs (though it’s less essential than you might think owing to the key wells, and they omitted it to simplify remapping). The top row of function keys are not standard 1×1 mechanical switches but these little rubberized doodads that many people hate. That actually doesn’t bother me (how often to you use them really?) but I wish they were turned away from the fingers to make it harder to accidentally hit them while typing. I’ve turned on the embedded numeric keypad once so far, and that is a huge pet peeve of mine-functional overloads that lurk in otherwise good designs, waiting like landmines to kill your productivity at the least opportune possible moment.

In my opinion, keyboards should not have num-lock, scroll-lock, or caps-lock keys. These are land mine attempts to shoe horn in functions better served in other ways. However, I can’t complain in this case. The Kinesis has a built-in micro-controller that makes it super simple to remap keys. I turned the hated caps-lock into a more conveniently located control key and the utterly superfluous “Windows Key” into a convenient redundant backspace. I cannot eliminate the “keypad” key, but if it turns out to be a problem, I can remap all the keypad numeric keys to their proper alphabetic values. I may also eliminate the cursor arrows (which have no business being adjacent to alphabet keys where they can be inadvertently struck.

All-in-all, I’m loving the Kinesis, and cursing it surprisingly little. I’ll post an update after I’ve had time to get fully up to speed and finish integrating it into my workspace.


What do you think? Have you gone ergo? Has it helped? Have any questions about the Kinesis or what to look for before buying one? Leave a comment. I’d love to hear from you.