[这个问题类似于另一个问题(对于Ubuntu vs Lubuntu),在这个问题上除了寻找其他Firefox主题外没有其他答案-过去这对我没有用。无论如何,我认为这个问题足够不同。至少我希望如此。]
我在Lubuntu中选择的Widget主题是Industrial。我的理解是小部件主题决定了各种程序中滚动条的外观。
这是工业主题下滚动条的外观。
[注释应显示为Scrollbar而不是Toolbar;)]
如您所见,滚动条很宽,两端都有装饰的拇指和箭头。
下面的图像显示了Pcmanfm(在左侧),反映了滚动条的工业类型。右侧的Firefox 47.0则没有。它的滚动条太窄了,无法舒适使用,并且顶部和底部没有箭头。
我读过Canonical为Firefox打上了烙印,所以我认为也许是问题所在。我进入Firefox about:config并删除了我能说Canonical的所有内容。尽管如此,我还是得到了狭窄的滚动条。
因此,我想做的是获取Firefox滚动条以反映我选择的Widget主题。
在有人问之前,是的,我尝试了名为New Scrollbars(又名NoiaScrollbars)的Firefox插件。我可以用这种方式加宽滚动条,但不能在顶部和底部添加箭头,也无法获得修饰的拇指。IOW,就我的口味而言,它看起来太难看了。
Firefox 47 uses gtk3. PCManFM, the default version supplied with Lubuntu, uses gtk2. The industrial theme covers only gtk2. See /usr/share/themes/Industrial
. There's no gtk-3.0 folder in there.
If you want Firefox to be themed decently, find a gtk3 theme!
You can increase the width of the scrollbar area (in some themes) by playing with the theme's gtk-widgets.css
. Look for something like: -GtkRange-slider-width:
and change the value to something you like.
That same file may also have something like:
-GtkScrollbar-has-backward-stepper: false;
-GtkScrollbar-has-forward-stepper: false;
You can try changing those values to true
(if the theme supports steppers (the up and down arrows at the top and bottom of the scrollbar)). Many themes seem to be dropping them.
After saving the file, close and restart Firefox.
(我没有将Firefox主题或扩展名用于滚动条,因此在此无济于事。修饰拇指的效果也一样。对不起!)
您所看到的与Canonical的修改AFAIK没有任何关系。
+++++++++++++
要了解应用程序是使用gtk2还是gtk3,请尝试:
ldd /usr/bin/app_name | grep gtk
当然,这假定可执行文件在中/usr/bin
。如果不确定,请先通过确定which app_name
。
libgtk-x11-2.0
在响应中。libgtk-3
在响应中。本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句