Which terminal

If none of the more specific forums is the right place to ask

Which terminal

Postby pawRoot » 2018-01-12 07:33

I am looking for a terminal (available in repos) that will allow me to easily customize things like color schemes through config files.

Any ideas? :D
User avatar
pawRoot
 
Posts: 515
Joined: 2016-12-28 18:26
Location: Poland

Re: Which terminal

Postby Wheelerof4te » 2018-01-12 09:45

I've heard that Terminator is good for multitasking, but any terminal will do. Just try them out and stick with what suits you best.
User avatar
Wheelerof4te
 
Posts: 1134
Joined: 2015-08-30 20:14

Re: Which terminal

Postby kopper » 2018-01-12 10:33

I don't know what you mean by "easy". If you're looking for options, urxvt (rxvt with Unicode support) gives a lot of freedom on how to make it look and act like. There are tons of other options, but I tried and stayed. I think it works nicely with i3, is lightweight and after initial shock, comfortable to configure. Like everything, more configuration means steeper learning curve. But it can teach you a lot.

You can use .Xresources in your home folder for configuration. Just add the following for .xinitrc to load the configuration when starting X. I know you have i3 so I assume you also have a line for it already.
Code: Select all
xrdb ~/.Xresource
exec i3
...

But like Wheelerof4te said, try everything and pick the one you like.
Debian 9.5 Stable with i3
Secure your stuff: Securing Debian Manual
Don't break your stuff: Source List Management DontBreakDebian
kopper
 
Posts: 124
Joined: 2016-09-30 14:30

Re: Which terminal

Postby wizard10000 » 2018-01-12 11:17

I've used terminator for years. Highly recommended.
we see things not as they are, but as we are.
-- anais nin
User avatar
wizard10000
 
Posts: 1292
Joined: 2011-05-09 20:02
Location: everywhere i go, there i am!

Re: Which terminal

Postby bw123 » 2018-01-12 14:30

I think all the DE terminals set color schemes and other stuff pretty easy, Konsole is the KDE terminal. I use it some, but it seem to use a LOT more memory than xterm. I like xterm, have dabbled with the others mentioned over the years and they are good too, but I would not say easy to setup.
User avatar
bw123
 
Posts: 3278
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Which terminal

Postby None1975 » 2018-01-12 14:47

pawRoot wrote:I am looking for a terminal (available in repos) that will allow me to easily customize things like color schemes through config files.Any ideas? :D

If you want lightweight terminal emulator, use stterm. Attention. St is configured at compile-time by editing some of its source files, namely config.h...If you want simpler solution (but slightly heaver), you can use rxvt. I use rxvt-unicode-256color, as a daemon. Just add this line to your
Code: Select all
.xsessionrc
-
Code: Select all
urxvtd -q -f -o &
. It start daemon. Then you can launch client- urxvtc. If you are interested, here my configuration for
Code: Select all
.xresources

Code: Select all
! =====================================================================
! XTerm stuff
! =====================================================================
! Default and menu font
XTerm*font:  -*-terminus-medium-*-*-*-14-*-*-*-*-*-*-*
! "Unreadable": Leave it actually unreadable.
!XTerm*font1: -*-terminus-bold-r-*-*-20-*-*-*-*-*-*-*
! "Tiny"
XTerm*font2: -*-terminus-medium-*-*-*-12-*-*-*-*-*-*-*
! "Small"
XTerm*font3: -*-terminus-bold-*-*-*-14-*-*-*-*-*-*-*
! "Medium"
XTerm*font4: -*-terminus-bold-*-*-*-17-*-*-*-*-*-*-*
! "Large"
XTerm*font5: -*-terminus-bold-*-*-*-28-*-*-*-*-*-*-*
! "Huge"
XTerm*font6: -*-terminus-bold-*-*-*-32-*-*-*-*-*-*-*


! VT Font Menu: Unreadable
xterm*faceSize1: 8
! VT font menu: Tiny
xterm*faceSize2: 10
! VT font menu: Medium
xterm*faceSize3: 12
! VT font menu: Large
xterm*faceSize4: 16
! VT font menu: Huge
xterm*faceSize5: 22

xterm*VT100.Translations: #override \
    Ctrl <Key> minus: smaller-vt-font() \n\
    Ctrl <Key> plus: larger-vt-font() \n\
    Ctrl <Key> 0: set-vt-font(d)



! Only select text
xterm*highlightSelection: true
! Remove trailing spaces
! font settings --------------------------------------------------------------

Xft.autohint: true
Xft.antialias: true
Xft.hinting: true
Xft.hintstyle: hintslight
!Xft.dpi: 96
Xft.rgba: rgb
Xft.lcdfilter: lcddefault


xterm*trimSelection: true

! Lines of output that you can scroll back over
xterm*saveLines: 4096
! Turn the scrollbar on, and put it on the right
xterm*scrollBar: false
xterm*rightScrollBar: false

! Do not scroll when there is new input e.g. tail -f /var/syslog
xterm*scrollTtyOutput: false

xterm*foreground: rgb:a8/a8/a8
xterm*background: rgb:00/00/00

xterm*color0: rgb:00/00/00
xterm*color1: rgb:a8/00/00
xterm*color2: rgb:00/a8/00
xterm*color3: rgb:a8/54/00
xterm*color4: rgb:00/00/a8
xterm*color5: rgb:a8/00/a8
xterm*color6: rgb:00/a8/a8
xterm*color7: rgb:a8/a8/a8
xterm*color8: rgb:54/54/54
xterm*color9: rgb:fc/54/54
xterm*color10: rgb:54/fc/54
xterm*color11: rgb:fc/fc/54
xterm*color12: rgb:54/54/fc
xterm*color13: rgb:fc/54/fc
xterm*color14: rgb:54/fc/fc
xterm*color15: rgb:fc/fc/fc




! urxvt -------------------------------------------

URxvt.font:            xft:Terminus:size=12:autohint=false:antialias=true:hinting=true:style=regular
URxvt.boldFont:        xft:Terminus:size=12:bold:autohint=true:antialias=true:hinting=true:style=regular
URxvt.italicFont:      xft:Terminus:italic:size=12:autohint=true:style=regular
URxvt.boldItalicFont:  xft:Terminus:bold:italic:size=12:autohint=true:style=regul

! Window size and position
!URxvt*geometry: 60x22+50+100
! Window size, let the Window Manager position it
URxvt.geometry: 80x28

URxvt.scrollstyle: plain
URxvt.scrollBar: true
URxvt.scrollBar_right: true

! scrollback buffer lines - 65535 is max (64 is default)
URxvt.saveLines:16384


! Clickble URLs
URxvt.perl-ext-common: default,matcher
URxvt.url-launcher: /usr/bin/chromium
URxvt.matcher.button: 3

! Colors taken from http://ezyang.scripts.mit.edu/blog/2010/01/rxvt-unicode-for-gnome-terminal-refugees/
URxvt*background: black
URxvt*foreground: white
! black
URxvt*color0  : #2E3436
URxvt*color8  : #555753
! red
URxvt*color1  : #CC0000
URxvt*color9  : #EF2929
! green
URxvt*color2  : #4E9A06
URxvt*color10 : #8AE234
! yellow
URxvt*color3  : #C4A000
URxvt*color11 : #FCE94F
! blue
URxvt*color4  : #3465A4
URxvt*color12 : #729FCF
! magenta
URxvt*color5  : #75507B
URxvt*color13 : #AD7FA8
! cyan
URxvt*color6  : #06989A
URxvt*color14 : #34E2E2
! white
URxvt*color7  : #D3D7CF
URxvt*color15 : #EEEEEC
OS: Debian 9.4 / WM: Xmonad
Debian Wiki | DontBreakDebian, My config files in github
Linux User #607425
User avatar
None1975
 
Posts: 627
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Which terminal

Postby pawRoot » 2018-01-12 16:02

I decided to go with xterm for now, but i have a question, i remember changing xterm colors in the past already once through .Xresources, but after some time the changes were gone.

Why is that and how can i make this permanent?

Oh and can i set it up to copy and paste using SHIFT+ctrl+C & SHIFT+ctrl+V ?

Cheers all
User avatar
pawRoot
 
Posts: 515
Joined: 2016-12-28 18:26
Location: Poland

Re: Which terminal

Postby bw123 » 2018-01-12 16:24

pawRoot wrote:I decided to go with xterm for now, but i have a question


I think that's a good place to start. xterm has a long history, and is very well-documented and tested in all kinds of situations.

The faq is long, and the author/maintainer sometimes gives so much information that it is hard to find a specific answer. There are sometimes several ways to do the same thing.

I don't use ctrl- for copying or paste myself I prefer the selection and shift-ins or middle mouse btn to paste. Select/middle mouse, very quick. If you want to paste with the ctrl- keys I think a clipboard with 'synchronise with selesction' is going to be what you want. There is a light one called qlipper that I like on fluxbox.

http://en.wikipedia.org/wiki/X_Window_selection

http://invisible-island.net/xterm/xterm ... t_problems
User avatar
bw123
 
Posts: 3278
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Which terminal

Postby pawRoot » 2018-01-12 16:54

Same thing happened again, all my color settings gone, only fonts are normal.
How can i make this permanent? i cant find out.
User avatar
pawRoot
 
Posts: 515
Joined: 2016-12-28 18:26
Location: Poland

Re: Which terminal

Postby Head_on_a_Stick » 2018-01-12 17:14

pawRoot wrote:all my color settings gone, only fonts are normal

You should post your ~/.Xresources file here.

That file is only read in certain circumstances though so you should state which desktop environment (or window manager) you are using and also the display manager, if any.

Use this command to see what resources are actually loaded in your desktop:
Code: Select all
appres

https://packages.debian.org/stretch/x11-utils

Note that if ~/.Xresources is changed then this command must be used to make xterm aware of the differences:
Code: Select all
xrdb -merge ~/.Xresources

I prefer to delete ~/.Xresources and instead use ~/.Xdefaults because that file does not have to be loaded explicitly during desktop startup and xterm (and urxvt) checks it when it starts so any changes are effected immediately.
User avatar
Head_on_a_Stick
 
Posts: 7900
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Which terminal

Postby pawRoot » 2018-01-12 17:34

Code: Select all
! special
*.foreground:   #e7dfca
*.background:   #020202
*.cursorColor:  #e7dfca

! black
*.color0:       #040403
*.color8:       #a4d2d1

! red
*.color1:       #141310
*.color9:       #b6a87d

! green
*.color2:       #272520
*.color10:      #dbbdbd

! yellow
*.color3:       #403d36
*.color11:      #7eab83

! blue
*.color4:       #615d52
*.color12:      #e1b3dd

! magenta
*.color5:       #888374
*.color13:      #8ccd93

! cyan
*.color6:       #b6af9c
*.color14:      #64b86e

! white
*.color7:       #e9e2d0
*.color15:      #ccb871

xterm*loginshell: true

xterm*charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48

xterm*faceName: Noto Mono Regular
xterm*faceSize: 11

xterm*selectToClipboard: true


I will try to use Xdefaults instead, thanks.
Last edited by pawRoot on 2018-01-12 17:46, edited 1 time in total.
User avatar
pawRoot
 
Posts: 515
Joined: 2016-12-28 18:26
Location: Poland

Re: Which terminal

Postby Head_on_a_Stick » 2018-01-12 17:36

pawRoot wrote:I will try to use Xdefaults instead, thanks.

If you want to use ~/.Xdefaults then make sure that ~/.Xresources is deleted because xterm will only check ~/.Xdefaults if there are no X resources already loaded.
User avatar
Head_on_a_Stick
 
Posts: 7900
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Which terminal

Postby pawRoot » 2018-01-12 17:39

Ok i will, thanks.

One more thing though, i found this a minute ago:

XTerm*VT100.Translations: #override \
Shift Ctrl<Key>V: insert-selection(CLIPBOARD) \n\
Shift Ctrl<Key>V: insert-selection(PRIMARY) \n\
Shift<Btn1Down>: select-start() \n\
Shift<Btn1Motion>: select-extend() \n\
Shift<Btn1Up>: select-end(CLIPBOARD) \n\


But if i add it to .Xdefaults, i get an error "warning backslash-newline at...."
User avatar
pawRoot
 
Posts: 515
Joined: 2016-12-28 18:26
Location: Poland

Re: Which terminal

Postby Head_on_a_Stick » 2018-01-12 17:42

pawRoot wrote:i get an error "warning backslash-newline at...."

Post both the file and the error in full.

I am too tired to play guessing games with you :roll:

EDIT: please also use code tags for posting file content, quote tags are almost unreadable.
User avatar
Head_on_a_Stick
 
Posts: 7900
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Which terminal

Postby pawRoot » 2018-01-12 17:45

I wanted to post full error, but i don't know how to copy text from Xterm :lol:
User avatar
pawRoot
 
Posts: 515
Joined: 2016-12-28 18:26
Location: Poland

Next

Return to General Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable