Ubuntu HowTo: how change kde plasma scrollbar width

Original Source Link

How can I change the scrollbar width in kde plasma 5.9.4 ubuntu 17.04. The Application Style dialog box no longer contains this setting. I’m old and they are too small.

I don’t know about 17.04, but in 18.04 you can select the Oxygen style, which has a setting for the scrollbar width. The default Breeze does not.

For gtk applications I created my own theme in ~/.themes based on an existing one in /usr/share/themes and modified gtk.css to make the scrollbar larger. This is easier with gtk-3.20 than with previous versions, you just have to increase some min-width in the Scrollbars section, and optionally the border-radius. In 3.18 and earlier you have to increase the stretch dimensions for many elements, in the same file.

Still, I wish developers would just use at least 20 pixels for a scrollbar by default, it’s not too much out of 1920 pixels and these are well spent pixels…

Tagged : /

Ubuntu HowTo: Prevent (xfce) terminal from scrolling with output

Original Source Link

I’m running Xubuntu. When I run something that produces a lot of output to the terminal (such as my code, generally….!) I find that it is not possible to “freeze” the screen, to take a look at a particular point in the run.

For example: my code is generating output, and typically (in other machines) I can move the mousewheel upwards. This in essence stops the terminal from following the latest output to the screen and you can, at your leisure, look at the output while more is generated underneath. To catch up, I’d normally tap the down arrow on the keyboard, it would jump to the latest line, and follow.

xfce4-terminal 0.6.1 does not follow this behaviour, and I’d like to know if there is a way to enable it. Apologies if this is somewhat badly described….

  1. Open Xfce Terminal preferences: Edit > Preferences…
  2. On the Scrolling section of the General tab uncheck the Scroll on output checkbox

With this option the terminal still scrolls automatically on new output, but if you scroll upwards it’ll stop scrolling automatically.

In case anyone’s interested, here’s how to do this using the command line:

grep -q ScrollingOnOutput ~/.config/xfce4/terminal/terminalrc || echo "ScrollingOnOutput=FALSE" >> ~/.config/xfce4/terminal/terminalrc && sed -i -E 's/^ScrollingOnOutput=.*/ScrollingOnOutput=FALSE/' ~/.config/xfce4/terminal/terminalrc

To do this manually in a terminal, I opened the terminalrc file with vim

$ vi ~/.config/xfce4/terminal/terminalrc

And added the following line:


Other open terminals immediately recognized the change.

Tagged : / / /