WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] rxvt terminal configuration  (Read 4362 times)

Offline ferran

  • Full Member
  • ***
  • Posts: 159
[SOLVED] rxvt terminal configuration
« on: March 31, 2020, 06:33:35 PM »
My problems with terminals are in my dna. I'm a Terminal-man.

Well, now i tries to install the famous rxvt terminal but before i need to build a file named .Xresources as tells in this web

https://wiki.archlinux.org/index.php/X_resources


Thus I need thexorg-xrdb app, but in CorePlus 11.0 we've not this to do the installation of .Xresources.

I don't find this app anywhere. What can I do now?
« Last Edit: April 01, 2020, 09:17:24 AM by Rich »
TC CorePlus v.11.1 i686 & lots of coffe

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11630
Re: rxvt terminal configuration
« Reply #1 on: March 31, 2020, 07:57:14 PM »
Hi ferran
xrdb  is located in the  Xorg-7.7-bin.tcz  extension.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: rxvt terminal configuration
« Reply #2 on: April 01, 2020, 01:32:57 AM »
It's more bloat, but it might be easier to use gedit and gnome-terminal.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: rxvt terminal configuration
« Reply #3 on: April 01, 2020, 02:58:44 AM »
I've never needed the xrdb binary, IIRC the Xdefaults are read on X startup automatically.
The only barriers that can stop you are the ones you create yourself.

Offline ferran

  • Full Member
  • ***
  • Posts: 159
Re: rxvt terminal configuration
« Reply #4 on: April 01, 2020, 08:30:25 AM »
First I make the .Xresources file into /home/tc directory with this configuration (it's an example of the wiki archlinux webpage shows):

Code: [Select]
URxvt.bufered: true
URxvt.background: black
URxvt.foreground: white
URxvt.cursorColor: green
URxvt.underLineColor: yellow
URxvt.font:xtf:Terminus:pixelsize=14:antialias=false
URxvt.boldfont:xtf:Terminus:bold: pixelsize=14:antialias=false
URxvt.perl-ext-common: default, tabbed
URxvt.title: Terminal rxvt

After i make .xinitrc into /home/tc directory too with:

Code: [Select]
xrdb -merge ~/.Xresource

I rebooted...

The result: no changes in rxvt terminal. It show the same screen with white background and black foreground color, the same font, etc. when I downloaded the xrvt.tcz extension. No one change.

By the way: When I downloaded the gnome-terminal.tcz can't be opened when i clicked on desktop icon. By the moment it don't worry me this.

Note: i'm using CorePlus v.11.0 with kernel tinycore-5.4.3 since Mars, 13 2020.

TC CorePlus v.11.1 i686 & lots of coffe

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1511
Re: rxvt terminal configuration
« Reply #5 on: April 01, 2020, 08:42:14 AM »
ferran, I use rxvt with several custom settings and it works perfectly.
I have my settings in ~/.Xdefaults, not ~/.Xresources.

Try creating ~/.Xdefaults with the settings you want.
That file is parsed each time a terminal opens, so you don't have to reboot--just close the terminal then open a new one to see if your settings are working.
« Last Edit: April 01, 2020, 08:45:01 AM by GNUser »

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1511
Re: rxvt terminal configuration
« Reply #6 on: April 01, 2020, 08:43:26 AM »
For reference, here's my ~/.Xdefaults:
Code: [Select]
URxvt*scrollBar: true
URxvt*transparent: false
URxvt*title: Terminal
URxvt*foreground: white
URxvt*background: #300A24
URxvt*font: xft:Luxi Mono:pixelsize=14
URxvt*cursorColor: green
URxvt*fading: 30
URxvt*shading: 50
URxvt*color12: DodgerBlue1
URxvt*saveLines: 5000
URxvt*scrollTtyOutput: false
URxvt*scrollTtyKeypress: true
fltk*scheme: gtk+
Xft.dpi: 96.0

Offline ferran

  • Full Member
  • ***
  • Posts: 159
Re: rxvt terminal configuration
« Reply #7 on: April 01, 2020, 09:04:36 AM »
GNUser it works fine  ;D

This problem its SOLVED


TC CorePlus v.11.1 i686 & lots of coffe

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11630
Re: [SOLVED] rxvt terminal configuration
« Reply #8 on: April 01, 2020, 09:18:00 AM »
Hi ferran
Original post marked as solved.

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1511
Re: [SOLVED] rxvt terminal configuration
« Reply #9 on: April 01, 2020, 09:29:44 AM »
Glad to hear, ferran :)

You may also like to have a pretty color command prompt. If so, just add this to ~/.ashrc
Code: [Select]
GREEN='\[\033[01;32m\]'
RED='\[\033[01;31m\]'
WHITE='\[\033[00m\]'
BLUE='\[\033[01;34m\]'
if [ $(id -u) -eq 0 ]; then
PS1='${RED}\u@\h${WHITE}:${BLUE}\w${WHITE}\# '
else
PS1='${GREEN}\u@\h${WHITE}:${BLUE}\w${WHITE}\$ '
fi
Happy hacking!

Offline ferran

  • Full Member
  • ***
  • Posts: 159
Re: [SOLVED] rxvt terminal configuration
« Reply #10 on: April 01, 2020, 09:42:06 AM »
I love it GNUser  ;D

By the way: Thank you very very much to all team of Tiny Core Forum. I was lost without help !

TC CorePlus v.11.1 i686 & lots of coffe

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: [SOLVED] rxvt terminal configuration
« Reply #11 on: April 01, 2020, 01:06:25 PM »
rxvt is best, welcome to the club ;)

Offline ferran

  • Full Member
  • ***
  • Posts: 159
Re: [SOLVED] rxvt terminal configuration
« Reply #12 on: April 01, 2020, 07:19:31 PM »
Thank you hiro  ;D

I would like to open a miscellanius subsection here:

1) How I could cute & paste selected shucks of a terminal paragrah or line using a 2-button mouse?

2) How I could to resize the terminal screen (f.e. 60 x 24 bytes)?




TC CorePlus v.11.1 i686 & lots of coffe

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: [SOLVED] rxvt terminal configuration
« Reply #13 on: April 01, 2020, 07:51:27 PM »
Urxvt is best with true type fonts, like Hack. There's where you'll really see the difference.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: [SOLVED] rxvt terminal configuration
« Reply #14 on: April 02, 2020, 02:43:00 AM »
sorry, i have 3-button mouse. also need it bec. of plan9. never thought of trying to emulate the buttons!
i use a window manager to resize the terminal.