Gimp 2.6 Toolbox is always in the way

The biggest frustration with Gimp 2.6 has been that pesky toolbox window always in the way over what I’m working on. Turns out it’s easy to make it act sanely. Try this: Go to Edit; Preferences; click Window Management; and under Window Manager Hints, change “Hint for the Toolbox” from “Utility Window” to “Normal Window.” Then click OK.

I would have thought this would be called “Always On Top” (Gnome has an Always On Top setting, but it doesn’t help here) or something useful. “Utility Window” doesn’t explain that it’s an “Always in your way” window… someone needs to find better words!

Posted in Linux | Tagged | Comments Off

If you like i18n, you’ll love this

Here’s a fun little perl script. Inspired by the opaqueness of the acronym “i18n” to mean “internationalization” (i-followed by 18 letters followed by n). Feel free to adjust ‘3‘ below to larger or smaller values of three as you wish.

while (<>) {
    $_ =~ s/\b(\w)(\w+)(\w)\b/length($2)>3 ? $1 . length($2) . $3 : "$1$2$3"/gse;
    print;
}
1;

This leads to such hilarity (?) as the following, taken from here.

GNU G5L P4C L5E
V5n 2, June 1991

C7t (C) 1989, 1991 Free S6e F8n, Inc.
51 F6n St, Fifth Floor, B4n, MA 02110, USA

E6e is p7d to copy and d8e v6m c4s of this l5e d6t, but c6g it is not a5d.

P6e

The l6s for most s6e are d6d to take away your f5m to share and c4e it. By c6t, the GNU G5l P4c L5e is i6d to g7e your f5m to share and c4e free s6e–to make sure the s6e is free for all its users. This G5l P4c L5e a5s to most of the Free S6e F8n’s s6e and to any other p5m whose a5s c4t to using it. (Some other Free S6e F8n s6e is c5d by the GNU L5y G5l P4c L5e i5d.) You can apply it to your p6s, too.

p.s., Note to the FSF: Chill out, it’s a parody (and merely the textual equivalent of a JPEG picture).

p.p.s., The ‘i18n’ notation apparently came from DEC around the late 1970s ( see the Wikipedia article)

p.p.p.s., I hope some of you will take the GPL to heart in your quest for c7t and s6e p4t reform — what some call i10l p6y.

Posted in Geek Humor | Tagged | Leave a comment

Mounting LVM volumes from Ubuntu LiveCD

sudo -i
apt-get install lvm2
modprobe dm-mod
vgchange -a y

Also try –

pvdisplay
Displays physical volumes
vgdisplay
Displays volume groups
lvdisplay
Displays logical volumes

and: man lvm

Posted in System Admin | Tagged , , , | Comments Off

Say No to Photo ID

If you present your credit card and the merchant won’t accept it unless you produce photo identification, that merchant is breaking Mastercard and Visa rules. You should report such merchants to your card issuer:

MasterCard

This form (MasterCard site) (NOTE: Form broken as of 2008-10) lets you report a merchant who refused to accept your MasterCard for invalid reasons:

  • In order to make a MasterCard purchase, the merchant/retailer required a minimum or maximum amount.
  • The merchant/retailer is adding a charge for using your MasterCard card.
  • The merchant/retailer required identification.
  • A merchant/retailer displaying the MasterCard decal in their window refused to accept my MasterCard card.

Visa

From the Rules for Visa Merchants (VISA Site; PDF)

Q: When should you ask a cardholder for an official government ID? Although Visa rules do not preclude merchants from asking for cardholder ID, merchants cannot make an ID a condition of acceptance. Therefore, merchants cannot refuse to complete a purchase transaction because a cardholder refuses to provide ID. Visa believes merchants should not ask for ID as part of their regular card acceptance procedures. Laws in several states also make it illegal for merchants to write a cardholder’s personal information, such as an address or phone number, on a sales receipt…

According to the Visa FAQ, if you have been denied use of your VISA card for any invalid reason, or if you suspect any other type of merchant fraud, contact your card issuer. The issuer’s name and telephone number is printed on your card.

Posted in Personal Safety | Leave a comment

Emacs soft word wrapping

If you’re frustrated with Emacs’ default behavior of displaying \ characters when wrapping long lines, try this:

M-x longlines-mode
M-x longlines-show-hard-newlines

This only changes the way your file is displayed — it does not insert or remove anything from the file’s contents.  At the end of a line beyond 70 characters, if there is a reasonable word-break, then a | will be displayed (in red, if you have colors) and then the remainder of the line will wrap to the following line.

Posted in Linux | Leave a comment

What’s Up

Up… up is the direction exactly opposite the net gravitational influence at a point in space — relative to the observer.

Posted in Uncategorized | Comments Off

The Hispanic-i-zation of English?

(A letter to J. D. Hayworth)

Here in Phoenix, the traffic reporters have started speaking strangely. Instead of reporting an accident on U.S. 60, they say it’s on “the” 60. Huh? You get your kicks on Route 66, not “the” 66. And people have picked that up and now say they are on “the” 101 instead of Route 101… I guess now I live a the corner of “the” Hayden and “the” McDowell in “the” Scottsdale? Wacky.

At first I thought this was all, like, dude, you know, umm, like, some Valley Girl Speak, gag me with a spoon. But now I wonder if it’s not the subtle Hispanicization of English.

Instead of “Here comes Immigration” we have to say “la” Migra… “Here comes *the* Immigration.” What’s next?

Yours sincerely,
“the” William

Posted in Uncategorized | Comments Off

Say No to Photo ID

If you present your credit card and the merchant won’t accept it unless you produce photo identification, that merchant is breaking Mastercard and Visa rules. You should report such merchants to your card issuer:

MasterCard

This form (MasterCard site) lets you report a merchant who refused to accept your MasterCard for invalid reasons:

  • In order to make a MasterCard purchase, the merchant/retailer required a minimum or maximum amount.
  • The merchant/retailer is adding a charge for using your MasterCard card.
  • The merchant/retailer required identification.
  • A merchant/retailer displaying the MasterCard decal in their window refused to accept my MasterCard card.

Visa

From the Rules for Visa Merchants (VISA Site; PDF)

Q: When should you ask a cardholder for an official government ID? Although Visa rules do not preclude merchants from asking for cardholder ID, merchants cannot make an ID a condition of acceptance. Therefore, merchants cannot refuse to complete a purchase transaction because a cardholder refuses to provide ID. Visa believes merchants should not ask for ID as part of their regular card acceptance procedures. Laws in several states also make it illegal for merchants to write a cardholder’s personal information, such as an address or phone number, on a sales receipt…

According to the Visa FAQ, if you have been denied use of your VISA card for any invalid reason, or if you suspect any other type of merchant fraud, contact your card issuer. The issuer’s name and telephone number is printed on your card.

Posted in Personal Safety | Comments Off