After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 772134 - Update FAQ
Update FAQ
Status: RESOLVED NOTABUG
Product: gnome-terminal
Classification: Core
Component: docs
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: Maintainers of Gnome user documentation
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-09-28 18:25 UTC by David Härdeman
Modified: 2017-04-30 20:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Härdeman 2016-09-28 18:25:48 UTC
The explanation in the FAQ[1] of how to move the scroll bar to the left side of the window no longer works with gnome-terminal 3.22. Please update the FAQ.

And it would also be really appreciated if someone could add to the FAQ how to provide padding for the terminal window in 3.22. There are lots of Google hits with example CSS of how to do it, but I couldn't find one example that works with 3.22.

[1]
https://wiki.gnome.org/Apps/Terminal/FAQ#How_can_I_move_the_scroll_bar_to_the_left_side_of_the_window_.28like_in_xterm.29.3F
Comment 1 Egmont Koblinger 2016-09-28 19:57:33 UTC
Does this work for you for the padding?

VteTerminal, vte-terminal {
    padding: 5px;
    -GtkWidget-cursor-aspect-ratio: 0.2;
}

"VteTerminal" was required up to 3.18, and "vte-terminal" for 3.20. (It doesn't hurt to have them both.) Or did 3.22 break it again??

Also IMHO the cursor that's wider than the default would be nice to have in the FAQ.

(I don't know yet how to update the scrollbar location, but I'm also interested. Not for a lefty scrollbar, but for a narrower one than the default. :))
Comment 2 David Härdeman 2016-09-28 20:23:55 UTC
(In reply to Egmont Koblinger from comment #1)
> Does this work for you for the padding?
> 
> VteTerminal, vte-terminal {
>     padding: 5px;
>     -GtkWidget-cursor-aspect-ratio: 0.2;
> }
> 
> "VteTerminal" was required up to 3.18, and "vte-terminal" for 3.20. (It
> doesn't hurt to have them both.) Or did 3.22 break it again??

Yeah, that worked. Thanks! I think I came across the VteTerminal suggestion but I wasn't careful enough to close all terminal windows (hint to anyone else reading: killall gnome-terminal-server).

Not sure if the -GtkWidget-cursor-aspect-ratio has any effect though....I tried a few outlandish values and I couldn't see any difference.
Comment 3 Egmont Koblinger 2016-09-28 20:37:23 UTC
A thin scrollbar that does not change its width on hover and does not have a margin; at least for Ambiance/Radiance:

terminal-window scrollbar.vertical slider {
    min-width: 5px;
}

terminal-window scrollbar.vertical {
    margin: 0px;
}
Comment 4 Egmont Koblinger 2016-09-28 20:39:11 UTC
(In reply to David Härdeman from comment #2)

> Not sure if the -GtkWidget-cursor-aspect-ratio has any effect though....I
> tried a few outlandish values and I couldn't see any difference.

This is for underline/i-beam cursor shapes only, not the default rectangle.
Comment 5 Egmont Koblinger 2016-09-28 21:11:01 UTC
Scrollbar on the left, big hammer:

* {
    -TerminalScreenContainer-window-placement: bottom-right;
    -TerminalScreenContainer-window-placement-set: true;
}

Instead of "*", the selector could be the bit more specific "terminal-window *", or the even more specific and totally counterintuitive "terminal-window overlay". Hopefully Christian knows the "right" choice.
Comment 6 Christian Persch 2016-09-29 16:47:06 UTC
You can now refer to it with 'terminal-screen-container' css name on master and next 3.2[02].x releases.
Comment 7 Christian Persch 2017-04-30 20:28:25 UTC
It's a wiki, so feel free to edit the page with the updated instructions.