文章出處
文章列表
fedora作為linux主流發行版之一,大部分功能還是很贊的。只是在美觀性和其他一些細節上還是需要手工調整才有更加體驗。
以下解決方案,使用fedora20+gnome3環境
eclipse界面難看
eclipse中各種按鈕組件占用太多的空白空間,看起來臃腫不堪。
解決方法:
添加~/.gtkrc-2.0,內容如下:
style "gtkcompact" {
GtkButton::defaultborder={0,0,0,0}
GtkButton::defaultoutsideborder={0,0,0,0}
GtkButtonBox::childminwidth=0
GtkButtonBox::childminheigth=0
GtkButtonBox::childinternalpadx=0
GtkButtonBox::childinternalpady=0
GtkMenu::vertical-padding=1
GtkMenuBar::internalpadding=0
GtkMenuItem::horizontalpadding=4
GtkToolbar::internal-padding=0
GtkToolbar::space-size=0
GtkOptionMenu::indicatorsize=0
GtkOptionMenu::indicatorspacing=2
GtkPaned::handlesize=4
GtkRange::troughborder=0
GtkRange::stepperspacing=0
GtkScale::valuespacing=0
GtkScrolledWindow::scrollbarspacing=0
GtkExpander::expandersize=10
GtkExpander::expanderspacing=0
GtkTreeView::vertical-separator=0
GtkTreeView::horizontal-separator=0
GtkTreeView::expander-size=8
GtkTreeView::fixed-height-mode=TRUE
GtkWidget::focuspadding=1
}
class "GtkWidget" style "gtkcompact"
style "gtkcompactextra" {
xthickness=2 ythickness=2
}
class "GtkButton" style "gtkcompactextra"
class "GtkToolbar" style "gtkcompactextra"
class "GtkPaned" style "gtkcompactextra"
效果:
參考http://stackoverflow.com/questions/13684289/can-i-make-eclipse-on-ubuntu-look-more-compact/13687387#13687387
取消光標閃爍
在Gnome-terminal中打開的vim,在看代碼的時候總是在閃爍,默認要閃發10次,讓人的注意力無法集中。取消vim下的光標閃爍,不是在vimrc中配置。因為這是gnome-terminal的問題。fedora21,gnome3,這么干:
gsettings set org.gnome.desktop.interface cursor-blink false
注意,不是gvim,是vim。還有就是,gconf-editor這個東西打開后找不到/app/terminal這種路徑了,乖乖用gsetting好了。
文章列表
全站熱搜