You are not logged in.
Pages: 1
Hi I would like to give the command shell a bit of padding on the left. I been trying to google it with no succes. Anybody else done this?
Offline
You won't be able to control it on the shell level itself as the shell does not transform any command output unto itself. You need terminal emulator support for this to get a consistent result. URxvt has the internal border resource which you can set in xresources/Xdefaults:
! 4px padding
URxvt*internalBorder: 4
The xterm man page suggests that all vt100-compliant emulators should support this property:
-b number
This option specifies the size of the inner border (the distance between the outer edge of the characters and the window border) in pixels.
That is the vt100 internalBorder resource. The default is “2”.
so you can also set
*internalBorder: 4
to get padding in both xterm and urxvt. I do not know whether terminator's libvte (also used in GNOME terminal and others) respects this particular X resource or has a different setting, or none at all.
Offline
I went to the places .Xresources in the menu, and added the line but seemingly with no effect. Is there a terminal I can install where the above would work?
Last edited by bobhund (2016-12-13 02:43:21)
Offline
I recommend rxvt-unicode-256color
When combined with tmux, it offers all the features of terminator (and more besides) with much greater speed and a much lower overhead.
Offline
I went to the places .Xresources in the menu, and added the line but seemingly with no effect. Is there a terminal I can install where the above would work?
that was either for xterm or urxvt, if i understood correctly.
are you using xterm or urxvt?
also, settings in .Xresources don't come into effect automatically, you have to
xrdb -merge ~/.Xresources
Offline
settings in .Xresources don't come into effect automatically, you have to
xrdb -merge ~/.Xresources
Actually, ~/.Xresources is sourced automatically in BunsenLabs as long as LightDM is used to login.
It took me ages to figure out why my ~/.Xdefaults wasn't being picked up by urxvt...
:8
Offline
Pages: 1