Linux/Ubuntu Debian

xfce 데스크탑 글꼴 배경색 투명화

smores 2014. 5. 13. 03:59

데스크탑의 커스터마이즈를 조금 하는 경우 XFCE 역시 상당히 괜찮게 느껴지기 시작했다. 여전히 유니티는 싫고, KDE 역시 마음에 들지 않는 상황에서 XFCE와 LXDE 쪽으로 많이 기울고 있는 중...





http://forum.xfce.org/viewtopic.php?id=2672



If you're using the icon view, and would like to change how the text looks,

you have three things you can change: the opacity (transparency) of the
rounded text background, the color of the rounded text background, and the
color of the text itself.

You'd want to add something like this to your ~/.gtkrc-2.0 file:

style "xfdesktop-icon-view" {
    XfdesktopIconView::label-alpha = 75

    base[NORMAL] = "#00ff00"
    base[SELECTED] = "#5050ff"
    base[ACTIVE] = "#0000ff"

    fg[NORMAL] = "#ff0000"
    fg[SELECTED] = "#ff0000"
    fg[ACTIVE] = "#ff0000"
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"

The first entry sets the opacity of the rounded text background.  The allowed
values are from 0 (totally transparent) to 255 (totally opaque).

The second three entries set the color of the rounded text background.
* NORMAL sets the color for the regular, unselected state.
* SELECTED sets the color for when the icon is selected, and the desktop has
  keyboard/mouse focus.
* ACTIVE sets the color for when the icon is selected, but the desktop does
  not have keyboard/mouse focus.

The final three entries set the color of the label text.  See above for the
differences between NORMAL, SELECTED, and ACTIVE.


다음은 본인이 현재 사용하고 있는 세팅이다. 바탕화면이 밝거나 어둡거나 왠만하면 적당히 보이는 수준으로 배경을 완전히 투명으로 하지 않고 타협하는 선에서 정착할 듯...


style "xfdesktop-icon-view" {

    XfdesktopIconView::label-alpha = 30

    base[NORMAL] = "#000000"

    base[SELECTED] = "#777777"

    base[ACTIVE] = "#777777"

    fg[NORMAL] = "#ffffff"

    fg[SELECTED] = "#ffffff"

    fg[ACTIVE] = "#ffffff"

}

widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"