Skip to content

Removing Ratpoison’s Borders

April 21, 2010

This is a simple issue, but one that wasn’t immediately evident to me. When using Firefox in ratpoison, I noticed that there was a 1px border surrounding the window. This is annoying, especially when trying to scroll with the mouse — it’s always easiest to fling the mouse to the far edge of the screen, so I’m not scrolling frames or text boxes (or flash). But the 1px border is essentially dead space, so I then have to move back a little, wasting time. (I suppose this relates to Fitts’s law).

It’s not hard to fix, but the commands changed at one point, and I was still using the old commands. This is what I had in my .ratpoisonrc (which wasn’t working):
[bash]
defborder 0
defpadding 0 0 0 0
defbarpadding 0 0
[/bash]
That should be replaced by this:
[bash]
set border 0
set padding 0 0 0 0
set barpadding 0 0
[/bash]

From → linux

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.