You are not logged in.

#1 2008-11-12 23:17:44

EnvoyRising
Member
Registered: 2008-08-08
Posts: 118

DWM + Terminal = Gaps

No matter what terminal I use (tested with xterm, urxvt, sakura, and roxterm), I still get extra padding around my terminal windows on the screen edges. This happens in both monocle and tiling mode.

200811120814371440x900scm4.th.pngthpix.gif

Any help would be greatly appreciated, thanks.

Offline

#2 2008-11-12 23:23:10

abstracity
Member
From: Houston, USA
Registered: 2007-08-08
Posts: 83

Re: DWM + Terminal = Gaps

That's because those terminals respect resize hints.  Make sure static Bool resizehints = False in your config.h


Without error there can be no brilliancy. ― Emanuel Lasker

Offline

#3 2008-11-12 23:47:35

elmer_42
Member
From: /na/usa/ca
Registered: 2008-10-11
Posts: 427

Re: DWM + Terminal = Gaps

I just tried doing that, and it doesn't look too pretty with urxvt. This is what it looks like:
55666330.png


[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]

Offline

#4 2008-11-13 02:31:15

EnvoyRising
Member
Registered: 2008-08-08
Posts: 118

Re: DWM + Terminal = Gaps

abstracity: worked like a charm, thanks.
elmer_42: strange, i just tried it with urxvt and it worked fine.

Offline

#5 2008-11-13 02:46:41

cardinals_fan
Member
From: /dev/null
Registered: 2008-02-03
Posts: 248

Re: DWM + Terminal = Gaps

Works grandly with urxvt for me.


Segmentation fault (core dumped)

Offline

#6 2008-11-13 09:29:49

ArchGh0ul
Member
Registered: 2008-10-23
Posts: 96

Re: DWM + Terminal = Gaps

I use Ratpoison but the idea is the same...
Gaps appear because the terminal size is set according to the font height..not in pixels
You can just adjust the fontFace size OR do what I did and set the background color of the terminal to the same color as the desktop background ( I assume you don't have an image as a background since you're using a tiling window manager)

Last edited by ArchGh0ul (2008-11-13 09:30:15)

Offline

#7 2008-11-13 10:13:42

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: DWM + Terminal = Gaps

ArchGh0ul wrote:

I use Ratpoison but the idea is the same...
Gaps appear because the terminal size is set according to the font height..not in pixels
You can just adjust the fontFace size OR do what I did and set the background color of the terminal to the same color as the desktop background ( I assume you don't have an image as a background since you're using a tiling window manager)

I'm using a tiling window manager with a wallpaper. Ooops, am I doing it wrong? I even have transparent terminals!


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#8 2008-11-13 10:23:54

ArchGh0ul
Member
Registered: 2008-10-23
Posts: 96

Re: DWM + Terminal = Gaps

moljac024 wrote:
ArchGh0ul wrote:

I use Ratpoison but the idea is the same...
Gaps appear because the terminal size is set according to the font height..not in pixels
You can just adjust the fontFace size OR do what I did and set the background color of the terminal to the same color as the desktop background ( I assume you don't have an image as a background since you're using a tiling window manager)

I'm using a tiling window manager with a wallpaper. Ooops, am I doing it wrong? I even have transparent terminals!

Well of course it's not wrong you can set whatever you want on your root window. but I find them useless in tiling window managers.

Offline

#9 2008-11-13 10:35:02

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: DWM + Terminal = Gaps

ArchGh0ul wrote:
moljac024 wrote:
ArchGh0ul wrote:

I use Ratpoison but the idea is the same...
Gaps appear because the terminal size is set according to the font height..not in pixels
You can just adjust the fontFace size OR do what I did and set the background color of the terminal to the same color as the desktop background ( I assume you don't have an image as a background since you're using a tiling window manager)

I'm using a tiling window manager with a wallpaper. Ooops, am I doing it wrong? I even have transparent terminals!

Well of course it's not wrong you can set whatever you want on your root window. but I find them useless in tiling window managers.

Sarcasm tags were needed in the previous post, it was a rhetorical question. Anyway, yes, the wallpaper is useless in a tiling window manager....unless you have transparent terminals!! big_smile


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#10 2008-11-13 10:52:14

b3n
Member
Registered: 2008-11-12
Posts: 20

Re: DWM + Terminal = Gaps

moljac024 wrote:

Anyway, yes, the wallpaper is useless in a tiling window manager....unless you have transparent terminals!! big_smile

Which are also useless. tongue

Offline

#11 2008-11-14 02:18:54

cardinals_fan
Member
From: /dev/null
Registered: 2008-02-03
Posts: 248

Re: DWM + Terminal = Gaps

moljac024 wrote:

Sarcasm tags were needed in the previous post, it was a rhetorical question. Anyway, yes, the wallpaper is useless in a tiling window manager....unless you have transparent terminals!! big_smile

Why?  I sometimes like to look at my desktop.  A wallpaper has no point when an app is active because you're working with the app.


Segmentation fault (core dumped)

Offline

#12 2008-11-14 17:56:34

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: DWM + Terminal = Gaps

ArchGh0ul wrote:

I use Ratpoison but the idea is the same...
Gaps appear because the terminal size is set according to the font height..not in pixels
You can just adjust the fontFace size OR do what I did and set the background color of the terminal to the same color as the desktop background ( I assume you don't have an image as a background since you're using a tiling window manager)

Hah. I do the same thing. "Bah, set it to black!".

Figuring out font sizes and paddings works fine until you switch monitors or use two at the same time. So I gave up 8)

Offline

Board footer

Powered by FluxBB