LinHES Forums
http://forum.linhes.org/

xterm is too big ::{SOLVED}::
http://forum.linhes.org/viewtopic.php?f=21&t=21781
Page 1 of 1

Author:  mattbatt [ Sat Oct 16, 2010 12:15 pm ]
Post subject:  xterm is too big ::{SOLVED}::

Okay I have searched but I must be all out of google foo.
I just upgraded to an hd screen (yay!) now the xterm window is too big. More spacifically the font is like 48 px. I can get about 24 lines on the window. This makes it nice an easy to read but since I don't have a scroll wheel I can't read anything more than 23 rows high.
Also is there a way to have copy and paste in xterm?
Or alternatively what terminal program do you use and how do I install it?

Thanks
MattBatt

Author:  tjc [ Sat Oct 16, 2010 3:08 pm ]
Post subject: 

Why not just change the font size? If you're starting the xterm using Alt-x, then the command to edit is here: /etc/X11/fluxbox/keys

In that file you'll find a line that looks something like this:
Code:
Mod1 x :ExecCommand xterm -fn '*18*'

Change the 18 or whatever number you find there to something smaller.

You might also need to edit: /home/mythtv/.fluxbox/keys in the same way.

Author:  mattbatt [ Sat Oct 16, 2010 6:39 pm ]
Post subject: 

thanks thats what i needed to know!
How about copy and paste?

Author:  tjc [ Sat Oct 16, 2010 8:31 pm ]
Post subject: 

Dunno, I generally use the mouse surrogate rubber doohickey on my wireless keyboard. http://ep.yimg.com/ca/I/directron_2125_655789198

Author:  mattbatt [ Sat Oct 16, 2010 10:45 pm ]
Post subject: 

HA! that's almost the same keyboard that I have (Chicony kb-9820) I'm used to using putty on my windows machine and right click just pastes into the terminal.
OK so the file on my system is /usr/share/fluxbox/keys
In that file the line is
Code:
 Mod1 x :ExecComand tvterm.sh

That's curious. So for the first time ever since I've been using linux (about 6 years) i typed xterm into an xterm window!!!!!!
Redundancy Department of Redundancy
What I got was an xterm window with smaller fonts.
But if you open the script( /usr/LH/bin/tvterm.sh) you find a bunch of "if then" arguments like
Code:
 if [ $width -ge 1920 ] ; then
fontsize=24

so I can just do a little sudo nano action and fix the first problem.
Thanks for pointing me in the right Direction.

Author:  alien [ Sun Oct 17, 2010 2:37 am ]
Post subject: 

In an xterm, just select the text to copy. Mouse middle button or Shift-Ins to paste. Shift-PgUp/PgDn to scroll up/down.

As for changing the default settings, you can put them in a ~/.Xresources (should be read when the xserver starts) or ~/.Xdefaults (read when you start the application, so takes affect immediately). For example, I have the following .Xresources:
Code:
XTerm*SaveLines:        30000
XTerm*ScrollBar:        true
XTerm*charClass:        33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48
XTerm*VT100*font:       7x13
XTerm*toolBar:          false
#XTerm*VT100*boldFont:   10x20bold
#XTerm*VT100*boldFont:   7x13bold
XTerm*scrollKey:        true
XTerm*scrollTtyOutput:  false
XTerm*rightScrollBar:   true
man xterm to see all the settings. Note that if a wrapper script is used to call xterm, it may override these settings (i.e. If you use this, you probably want to call xterm directly)

Author:  mattbatt [ Sun Oct 17, 2010 8:24 pm ]
Post subject: 

thanks I will be playing with this stuff. I knew there was an answer.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/