Saturday 23 October 2010, 10:16
Why is it that all my KDE-related postings seem to be about disabling annoying user interface misfeatures?
Today's has to do with the Ctrl-Shift-Underscore (Ctrl-Shift-_) key combination. This is used for "undo" in EMACS-derived text editors, including JOE. In recent KDE versions, Konsole has started trapping this key combination for "reduce font size." So you're merrily editing away, you try to use the undo command, and suddenly your font has become smaller. To make matters worse, it is a known bug that the key combination Ctrl-Shift-+, which is supposed to be "enlarge font size," doesn't work. So not only can you not undo editing changes anymore, but you can't undo the font size change either. Solution below.
Saturday 4 September 2010, 18:45
There are many things I like about the JED text editor, and for a number of years it has been my preferred editor for working on C code. However, it has a number of misfeatures that make it unacceptable for other tasks for which I need a text editor, so I have generally been using JED only for C code, and JOE for most other things (including, notably, English-language writing of both fiction and nonfiction in LaTeX and flat text). Just recently I had occasion to try to edit some C code on my laptop, which had a fresh default installation of JED, and it was a horrible experience, and I realized that I had, years ago, made a number of customizations to JED that I'd long since forgotten about.
For my own future reference, and anyone who might be facing a similar situation, here are some notes on changes I made. I decided while I was at it to try to not only bring the laptop's installation up to the desktop's standard so I could use it for C, but also fix as many as possible of the issues keeping me from using JED for other things on both installations, so that I could at least consider adopting it as my general editor instead of mostly using JOE. It remains to be seen whether JED will be able to serve as my all-purpose editor, but so far I've been liking it once I sorted out these issues.
Sunday 16 May 2010, 08:31
This is for my own future reference, since it was hard to find in the documentation and I'll probably need it again in the future.
The things you can create that collect together commonly-used sets of printer options, to be used with the slash modifier to the printer name on the command line, are called instances. Global instances are set up in /etc/cups/lpoptions and per-user instances in ~/.cups/lpoptions. Per-user settings (including choice of a default instance to use instead of the per-printer default) will override the global ones. Beware the lpoptions command, which likes to store your selections permanently in your per-user config file so that subsequent global changes will not be visible to you. Some per-user default settings also appear to silently override per-job settings given on the command line.
Monday 29 March 2010, 15:25
A standard sheet of laser-printer paper of the usual thickness, either US "letter" size or international "A4" size, weighs 4.5 grams. That means 100 sheets weighs almost exactly one pound.
Wednesday 31 March 2010, 15:20
(First posted in January 2003) From time to time I want spellings for the names of the letters in the Latin alphabet. Some, like "aitch" are fairly well known; others aren't. These are not standardized, and if you look around the Web you can find multiple choices for some of them. Often, the spellings people list aren't really suitable because, for instance, they may consist of just using the letter itself (no good if the point is to disambiguate between letters that look similar). Here's a list I've compiled from several sources that meets my needs and might be helpful to you, too.