Siduction Forum

Siduction Forum => Software - Support => Topic started by: bellbird on 2025/07/03, 13:04:16

Title: [fixed] how to move the right side scrollbar in xterm to the left side
Post by: bellbird on 2025/07/03, 13:04:16
The issue is that I would like the scrollbar in xterm to be on the left side of the terminal rather than the right side.
The default has it on the right side.

The left side works for me because most of the text is on the left in the terminal.

The siduction installation is "shine-on-xorg".
Current kernel is: 6.15.4-1-siduction-amd64

This installation uses a ~/.Xdefaults file, but writing in the following config makes no difference with the scroll bar remaining on the right: xterm*leftScrollBar: true

The .Xdefaults file is called by xrdb from an .xsession file, and the GUI is brought up from the startx command.

My query is, how can I configure xterm to have a left side scroll bar?

EDIT: I added [fixed] to the header, hendrikL
Title: Re: how to move the right side scrollbar in xterm to the left side
Post by: hendrikL on 2025/07/03, 14:18:23
Well, I don't use xterm but if you start xterm with -sb you should have the scrollbar on the left, according to the -h output.


xterm -h
...
    -report-icons                report title/icon updates
    -report-xres                 report X resources for VT100 widget
    -rightbar                    force scrollbar right (default left)
    -/+rv                        turn on/off reverse video
    -/+rvc                       turn off/on display of reverse as color
    -/+rw                        turn on/off reverse wraparound
    -/+s                         turn on/off multiscroll
    -/+samename                  turn on/off the no-flicker option for title and icon name
    -/+sb                        turn on/off scrollbar
    -selbg color                 selection background color
...


Title: Re: how to move the right side scrollbar in xterm to the left side
Post by: hendrikL on 2025/07/03, 14:26:33
oh, sorry, I took a look to the config, remove the line  xterm*leftScrollBar: true (xterm*rightScrollBar:     true).
I think you don't need to specify the left side scrollbar, so remove it.
Only if you want it on the right side, you have to configure it!

EDIT: So I started a virtual machine with xorg.

We use termit as terminal-emulator, I don't know how to change the placement of the scrollbar.

For xterm, remove that line I mentioned above in /etc/X11/Xresources/x11-term
Title: Re: how to move the right side scrollbar in xterm to the left side
Post by: bellbird on 2025/07/03, 23:18:13
Thanks so much. Commenting out the line in /etc/X11/Xresources/x11-term achieves the aim.