KDE Konsole's title bar and prompt

I spent the past hour fiddling with Konsole, trying to get it to honor my Bash prompt in the title bar (using the usual ESC char tricks you can find anywhere). Finally found it: In the Profile settings, under Tabs, change the tab tiles to %w (or pick "Window title set by Shell" from the drop-down Insert list to the right).

OpenSSH slow logins and DNS

There is a feature of OpenSSH, enabled by default, that causes the ssh daemon to do a name lookup for the client and confirm that it matches its IP address. This is supposed to check against some sort of IP spoof during SSH login attacks.  However on my local network which lacks a DNS, it results in lengthy delays during logins.

Read more…

MS-Windows focus-follows-mouse Registry hacks

I like the "focus follows mouse" window-focussing model from X11, because

  • I don't have to click on the window, just move the mouse and the window it's over is focussed
  • I can focus a window without bringing it to the front, which is sometimes handy. If I want it in front, I can click it.

However MS-Windows follows the old-fashioned, Macintosh/Smalltalk style of having users click on a window to focus it for the keyboard. How do you make MS-Windows behave more like X11?

Read more…

Gonna support AGIMO

Decisions at work provided inspiration on the train to work this morning....

Sung to Casino

With apologies to Philadelphia Grand Jury

Aaarrggh

Gonna support AGIMO
Tomorrow night
Gonna support AGIMO
And make it right

What could possibly go wrong?
What could possibly go wrong?
What could possibly go wrong?
What could possibly go wrong?

Gonna support AGIMO
Tomorrow night
Gonna support AGIMO
Watch out they bite

What could possibly go wrong?
What could possibly go wrong?
What could possibly go wrong?
What could possibly go wrong?

Then it hits me ... Management lunacy
Then it hits me ... CMMI Level 3
Then it hits me ... No-one knows ...... but me!

Gonna support AGIMO
Tomorrow night
Gonna support AGIMO
It's fight-or-flight

go-go-go-go-go AGIMO
to-to-to tomorrow night!
go-go-go-go-go AGIMO
to-to-to tomorrow night!

What could possibly go wrong?
What could possibly go wrong?
What could possibly go wrong?
What could possibly go wrong?

Then it hits me ... Eight weeks of "warranty"
Then it hits me ... Developers want to flee
Then it hits me ... No-one cares ...... not me!

ah-huh ok oh-no, uh-uh, no-no, won't go
oh no, uh-oh what the?

What's the hurry? We got no money
They don't care honey, so don't you worry
What's the hurry? We got no money
They don't care honey, so don't you worry

What's the hurry? We got no money
They don't care honey, so don't you worry
What's the hurry? We got no money
They don't care honey, so don't you worry

Say what?
Gonna to support AGIMO

Dos Equis (Do Ray Me parody)

This is the original version from the 1980s/1990s. It's difficult to find it online today, and definitely not, the hack-job that Homer butchered on The Simpsons...

Dos Equis, a Mexican beer

Ray, the man I buy it from

Me, a guy, I buy beer for

Far, a long way to the bar

So, I think I'll have a beer

La, lalalalalala!

Tea?

No thanks, I'll have a beer

And that brings us back to....

XMing screen size and changing multiple monitors

My work's notebook (Windows XP) is running Xming as it's X11 server, and it travels between work, home and on the train.


My work office has a docking station and a rotating second display. Typically if I start Xming with this display plugged in, Xming will adjust it's screen size to use both displays, but if I start it without the screen plugged in, it'll size to just the notebook screen. If I later add the 2nd screen (by docking the notebook), Xming won't use it without a restart. Also if I rotate the screen, only the top 1200 pixels will be used by Xming.


The solution is to specify a screen size to begin with that is as wide and tall as both of the screens. On my docked notebook the two displays are the notebook's display (1920x1200 pixels)  and 2nd display (1600x1200 pixels, which rotates to 1200x1600). So that means the combined screen width is 3520 pixels, and the tallest screen hight is 1600 pixels. Specify this to Xming when it starts:


path\to\xming.exe :0 -clipboard -multiwindow -screen 0 3520x1600


Now I can add/remove/rotate the second screen and still use all of it without restarting Xming.