Custom scrollbar arrows position
A quick tip so that I don’t have to dig it out every time I need it (as I did yesterday for the tenth time, I think).
If you want to customize the displayed arrows in Gtk and GNOME applications, put this in ~/.gtkrc-2.0:
style "scrollbar-arrows" {
GtkScrollbar::has-backward-stepper = 0 # top - up arrow
GtkScrollbar::has-forward-stepper = 1 # bottom - down arrow
GtkScrollbar::has-secondary-backward-stepper = 1 # bottom - up arrow
GtkScrollbar::has-secondary-forward-stepper = 0 # top - down arrow
}
class "GtkScrollbar" style "scrollbar-arrows"
This configuration will give you a NeXT-like behaviour, with both scrollbar arrows on the same side, on the bottom-right corner of the scrolled pane.
Unfortunately, this works with everything but Firefox (and other XUL applications like Thunderbird, I suppose).
http://cheeaun.phoenity.com/weblog/2004/08/scrollbar-tweaks.html has the solution for Firefox/Mozilla/XUL.
Thank you René, great tip.