Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: ferran 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 (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?
-
Hi ferran
xrdb is located in the Xorg-7.7-bin.tcz extension.
-
It's more bloat, but it might be easier to use gedit and gnome-terminal.
-
I've never needed the xrdb binary, IIRC the Xdefaults are read on X startup automatically.
-
First I make the .Xresources file into /home/tc directory with this configuration (it's an example of the wiki archlinux webpage shows):
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:
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.
-
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.
-
For reference, here's my ~/.Xdefaults:
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
-
GNUser it works fine ;D
This problem its SOLVED
-
Hi ferran
Original post marked as solved.
-
Glad to hear, ferran :)
You may also like to have a pretty color command prompt. If so, just add this to ~/.ashrc
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!
-
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 !
-
rxvt is best, welcome to the club ;)
-
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)?
-
Urxvt is best with true type fonts, like Hack. There's where you'll really see the difference.
-
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.
-
2-button mice emulate the middle button by pressing both left and right. You may need to configure X for a two-button mouse (X setup in the config panel if using TinyX has an option IIRC, Xorg does its own thing).
-
Yes. Yesterday I saw in the TC FAQs the solution about the Copy&Paste with 2 buttons: to copy a text you have to highlight the text selected with the left button and to paste: you have to use both buttons at the same time (you have to be precise in pressing both at the same time or you'll not success).
In the case of 3 buttons, paste with the middle button.
-
Urxvt is best with true type fonts, like Hack. There's where you'll really see the difference.
Hack font turned out to be the cherry on top for rxvt. The terminal looks amazing with this font.
@andyj, I see you are the maintainer of both packages (rxvt and Hack-font), so thank you not only for the tip but also for maintaining these two great packages :)