You are not logged in.

#1 2010-02-27 11:31:33

orphius1970
Member
From: Modesto (HELL) California
Registered: 2009-02-27
Posts: 151

[solved] Urxvt Won't Maximize

As the header says. I put the needed geometry in my xdefaults. When I open urxvt it always has a gap on right and bottom.
I am unsure if maybe one of my settings is overriding it or if I am missing a setting: Here is my rxvt xdefaults entry:

URxvt.buffered:  true
URxvt*saveLines:12000
!urxvt*geometry:           120x35
urxvt*geometry:         165x49
urxvt*loginShell:         false
urxvt*termName:           rxvt-256color

URxvt*foreground:White
URxvt*background:black
URxvt*transparent:true
URxvt.colorBD:  white
URxvt.colorIT:  green
urxvt*fading:             20
!darken=(0 to 100) lighten=(-1 to -100)
urxvt*shading:            40
!tint background with this color
urxvt*tintColor:          black
!enable pseudo-transparency (requires depth: 24 (see above))
urxvt*inheritPixmap:      true
urxvt*depth:             32
!transparent=0000 opaque=ffff
!urxvt*background: rgba:0000/1111/1133/eeef
urxvt*background: rgba:0000/0000/0000/deef

URxvt*font: xft:Bitstream Vera Sans Mono:pixelsize=16:autohint=true:antialias=false
URxvt.italicFont:        xft:Bitstream Vera Sans Mono:italic:autohint=true:antialias=false
URxvt.boldItalicFont:    xft:Bitstream Vera Sans Mono:bold:italic:autohint=true:antialias=false

URxvt*scrollBar:true
URxvt*scrollBar_right:true
URxvt*scrollstyle:rxvt
urxvt*scrollTtyKeypress:  true
!jump to bottom (prompt) when tty gets new lines
urxvt*scrollWithBuffer:   true
!jump to bottom (prompt) on tty output
urxvt*scrollTtyOutput:    true
urxvt*scrollColor:    #dc74d1
urxvt*secondaryScroll:    true
urxvt*cursorBlink: true
URxvt.meta:             ignore
URxvt.utmpInhibit:      true

!! BEGIN urlLauncher settings !!
urxvt*perl-lib:           /usr/lib/urxvt/perl/
urxvt*perl-ext-common:    default,matcher,tabbed
urxvt*urlLauncher:        /usr/bin/firefox
urxvt*matcher.button:     1
!! END urlLauncher settings !!

URxvt.cursorColor:  #dc74d1
URxvt.pointerColor: #dc74d1
URxvt.color1:       #dc74d1

any help would be appreciated. Also, my desktop is KDE

Last edited by orphius1970 (2010-02-27 14:13:07)


AMD Phenomx3, 4gb ram, Nvidia Gforce 9400gt,
MSI K9N2 Diamond Motherboard, Arch x86_64

Offline

#2 2010-02-27 12:50:22

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [solved] Urxvt Won't Maximize

afaik you can't really fix this, the gap on the right is probably for your scrollbar:

URxvt*scrollBar_right:true

the gap on the bottom is because the window height is a multiplication of your character height, so if you have for instance 10px tall characters and 999px of vertical space available, you will always have a 9px gap on the bottom since the last 9px can't be filled.

you can try adding:

URxvt.internalBorder: 0

to see if that gives you a little bit of extra coverage

Last edited by litemotiv (2010-02-27 12:50:45)


ᶘ ᵒᴥᵒᶅ

Offline

#3 2010-02-27 14:05:33

orphius1970
Member
From: Modesto (HELL) California
Registered: 2009-02-27
Posts: 151

Re: [solved] Urxvt Won't Maximize

sorry, i wasn't clear. I meant on the outside of the rxvt window there is a gap. The window will not enlarge to cover the whole desktop area.
I set the geometry and it will always size to small.


AMD Phenomx3, 4gb ram, Nvidia Gforce 9400gt,
MSI K9N2 Diamond Motherboard, Arch x86_64

Offline

#4 2010-02-27 14:10:07

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: [solved] Urxvt Won't Maximize

Urxvt can not render half a character.  So it requests a size that is an even multiple of your font.  This will always be slightly smaller than the actual screen size.  This makes a gap.  You can override the behavior, but urxvt bugs out.

If it really gets on your nerves, switch to a nice VTE based terminal.

Last edited by keenerd (2010-02-27 14:12:18)

Offline

#5 2010-02-27 14:12:40

orphius1970
Member
From: Modesto (HELL) California
Registered: 2009-02-27
Posts: 151

Re: [solved] Urxvt Won't Maximize

I solved it! I set the geometry to a few points over the size of my screen and now it
sizes to the edges. Wierd but it worked.


AMD Phenomx3, 4gb ram, Nvidia Gforce 9400gt,
MSI K9N2 Diamond Motherboard, Arch x86_64

Offline

#6 2010-02-27 14:35:56

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [solved] Urxvt Won't Maximize

orphius1970 wrote:

I solved it! I set the geometry to a few points over the size of my screen and now it
sizes to the edges. Wierd but it worked.

this probably means you will only be able to use your terminal full screen now?


ᶘ ᵒᴥᵒᶅ

Offline

#7 2010-02-27 15:03:34

orphius1970
Member
From: Modesto (HELL) California
Registered: 2009-02-27
Posts: 151

Re: [solved] Urxvt Won't Maximize

fullscreen no. Just maximized. I can override it from commandline if needed

Last edited by orphius1970 (2010-02-27 15:03:47)


AMD Phenomx3, 4gb ram, Nvidia Gforce 9400gt,
MSI K9N2 Diamond Motherboard, Arch x86_64

Offline

Board footer

Powered by FluxBB