[Tag search]

Firefox mouse copy and paste in Twitter

Wednesday 27 November 2013, 12:41

PROBLEM: Since just before the Twitter IPO, when they changed their site code, mouse copy-and-paste no longer works on Twitter's Web site viewed in Firefox. Where before one could highlight text with the mouse and then middle-button click to paste it somewhere, now that either causes the former contents of the clipboard to be pasted, or the string "witter.com". Copy and paste still works if and only if once uses explicit "copy" and "paste" commands with the keyboard or menu bar, but that is much less convenient, and is annoying to discover on the fly. Observed in several versions of Firefox under Linux; similar problems have been reported with other browser and other operating systems. Problem is specific to Twitter.

SOLUTION: In "about:config," set "dom.event.clipboardevents.enabled" to "false." Explanation below the cut.

Removing things from Firefox's location bar NO REALLY

Sunday 21 July 2013, 06:40

The Firefox GUI becomes more annoying with each "upgrade." I don't know if they're taking bribes from Chrome, or if they took advice from the same "professional" UI designer who broke GIMP, or what, but it's really become a problem. For those who haven't given up on Firefox yet, however, and for my own future reference, here's something useful I managed to figure out after a lot of hair-tearing.

You start typing a partial URL into the location bar, and the drop-down list of suggestions appears. But there's a URL on that list that should not be there. Maybe it's something embarassing you don't want other users of your browser to see; maybe it's merely a site other than the one you want to be the match for the few characters you typed, and yet for some reason it keeps coming up as the preferred suggestion.

Disabling Ctrl-Shift-Underscore font resize in Konsole

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.

Fixing the JED dealbreakers

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.

Bonobo Conspiracy's Quick Guide to Where CUPS Stores Its Ready-Made Printer Configurations

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.

How much does a sheet of paper weigh?

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.

Letter names

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.