Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
urxvt-unicode behaves badly when resized in awesome wm
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
logical_guy
Apprentice
Apprentice


Joined: 18 Sep 2007
Posts: 268

PostPosted: Thu Apr 18, 2013 7:43 am    Post subject: urxvt-unicode behaves badly when resized in awesome wm Reply with quote

Hi,

I've been struggling to find a decent lightweight terminal for a while, actually. I used to happily use aterm, but was losing a fair bit of information because it did not handle unicode chars. I then switched to lxterminal and now urxvt-unicode, but the trouble I'm having is that whenever the windows get resized by the wm the terminal either goes completely blank or loses some lines or does something or the other similar in a completely random way. I think it's time to get a new terminal app that is lightweight and at the same time does not exhibit these kinds of random behaviour.

First of all, anyone else experiencing similar behaviour?

Next, were you able to fix it, and how?

Thirdly, please suggest alternatives :D

Fourthly, thanks!
Back to top
View user's profile Send private message
amospalla
n00b
n00b


Joined: 08 Mar 2013
Posts: 26

PostPosted: Thu Apr 18, 2013 8:27 am    Post subject: Reply with quote

I am using rxvt-unicode, and it resizes and readjusts quite well when resizing.

What is the content of your .Xdefaults or .Xresources file ?
What USE are set for urxvt?
Back to top
View user's profile Send private message
logical_guy
Apprentice
Apprentice


Joined: 18 Sep 2007
Posts: 268

PostPosted: Thu Apr 18, 2013 8:31 am    Post subject: Reply with quote

Code:
$ cat .Xdefaults
URxvt*loginShell:true
URxvt*transparent:true
URxvt*shading:40
URxvt*color0:#000000
URxvt*color8:#555555
! red
URxvt*color1:#aa0000
URxvt*color9:#ff5555
! green
URxvt*color2:#00aa00
URxvt*color10:#55ff55
! yellow
URxvt*color3:#aa5500
URxvt*color11:#ffff55
! blue
URxvt*color4:#0000aa
!URxvt*color12:#5555ff
URxvt*color12:#ddb0ff
!URxvt*color12:#5555ff
! magenta
URxvt*color5:#aa00aa
URxvt*color13:#ff55ff
! cyan
URxvt*color6:#00aaaa
URxvt*color14:#55ffff
! white
URxvt*color7:#aaaaaa
URxvt*color15:#ffffff
URxvt*background:#000000
URxvt*foreground:#f9f9dd
URxvt*scrollBar:true
URxvt*scrollBar_right:true
URxvt*transpscrollbar:true
URxvt*saveLines:32767
URxvt*font:*-*-fixed-medium-r-normal--*-130-*-*-*-*-iso8859-1
URxvt*boldFont:*-*-fixed-bold-r-normal--*-*-130-*-*-*-*-iso8859-1

!-*- Perl extensions -*-
URxvt.perl-ext-common:default,clipboard,matcher,keyboard-select
URxvt.keysym.M-u:     perl:url-select:select_next
URxvt.url-launcher:   /usr/bin/firefox
URxvt.underlineURLs:  True
URxvt.matcher.button: 1
URxvt.keysym.M-Escape:perl:keyboard-select:activate
URxvt.keysym.M-c:     perl:clipboard:copy
URxvt.keysym.M-v:     perl:clipboard:paste
URxvt.keysym.M-C-v:   perl:clipboard:paste_escaped
!URxvt.copyCommand:   xsel -ib
!URxvt.pasteCommand:  xsel -ob

! disable printing with PrtSc.
URxvt.print-pipe: "cat > /dev/null"


Also:

Code:
$ equery uses rxvt-unicode
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for x11-terms/rxvt-unicode-9.16:
 U I
 + + 256-color            : Enable 256 color support
 - - alt-font-width       : Calculate the font width using a different method
 - - blink                : Enable blinking text
 - - buffer-on-clear      : Store visible output to history buffer when clearing the screen
                            with ctrl-l. Read
                            https://bbs.archlinux.org/viewtopic.php?id=129302
 + + fading-colors        : Enable colors fading when off focus
 + + focused-urgency      : Enable the urgent flag when a terminal window is focused
 + + font-styles          : Enable support for bold and italic fonts
 - - iso14755             : Enable ISO-14755 support
 + + mousewheel           : Enable scrolling via mouse wheel or buttons 4 and 5
 + + perl                 : Enable perl script support. You can still disable this at runtime
                            with -pe ""
 + + pixbuf               : Enable transparency support using gtk's pixbuf
 - - secondary-wheel      : Support for wheel scrolling on secondary screens (like mutt). Read
                            http://lists.schmorp.de/pipermail/rxvt-unicode/2011q4/001491.html
 + + startup-notification : Enable application startup event feedback mechanism
 + + unicode3             : Use 21 instead of 16 bits to represent unicode characters
 - - vanilla              : Do not add extra patches which change default behaviour; DO NOT
                            USE THIS ON A GLOBAL SCALE as the severity of the meaning changes
                            drastically
 + + wcwidth              : Enable wide char width support
 + + xft                  : Build with support for XFT font renderer (x11-libs/libXft)
Back to top
View user's profile Send private message
amospalla
n00b
n00b


Joined: 08 Mar 2013
Posts: 26

PostPosted: Thu Apr 18, 2013 8:50 am    Post subject: Reply with quote

I tested your Xdefaults, and terminal resizes correctly with some command output on it (some cat or ls -l).

May it be related to character encoding ?
Back to top
View user's profile Send private message
logical_guy
Apprentice
Apprentice


Joined: 18 Sep 2007
Posts: 268

PostPosted: Thu Apr 18, 2013 9:14 am    Post subject: Reply with quote

Yes, maybe. It doesn't happen everytime, but only every now and again. I will watch out for it and update this space when it happens again.
Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1816

PostPosted: Wed Jul 10, 2013 8:57 pm    Post subject: Reply with quote

Just curious as to whether or not you're still having problems with this. I've been having problems with rxvt-unicode not properly changing line wrapping on resize. On rare occasions I'll have a window open where it does in fact resize correctly, but almost all the time it does not, and I know this worked correctly for years:

https://forums.gentoo.org/viewtopic-t-964078-highlight-.html

Extremely annoying, and I have no idea when/why this broke.

Tom
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum