Конфиг:Xresources: различия между версиями

Материал из Linux Wiki
Перейти к навигацииПерейти к поиску
(убрал часть конфига про urxvt)
Строка 132: Строка 132:
XTerm*background:  #000000
XTerm*background:  #000000
XTerm*foreground:  #7f7f7f
XTerm*foreground:  #7f7f7f
<!-- перенести в отдельную статью-->
 
!yeahconsole settings
! We trigger it
yeahconsole*toggleKey: Win+grave
yeahconsole*keyFull: Alt+F12
! It appears like
yeahconsole*aniDelay: 30
! The term looks like
yeahconsole*xOffset: 187
yeahconsole*screenWidth: 650
yeahconsole*consoleHeight: 15
yeahconsole*handleWidth: 1
yeahconsole*handleColor: rgb:8/8/7
yeahconsole*handleColor.unfocus: rgb:4/4/38
! Its content looks like
yeahconsole*background: black
yeahconsole*foreground: grey70
!yeahconsole*font: -*-terminus-medium-*-*-*-12-*-*-*-*-*-*-*
!yeahconsole*font: -*-terminus-medium-*-*-*-*-*-100-100-*-*-iso10646-1
!yeahconsole*faceName: Terminus:pixelsize=10:antialias=true:hinting=true
! Its behaviour is
yeahconsole*restart: 1
! misc term features
yeahconsole*loginShell: true
yeahconsole*savelines: 10000
yeahconsole*toolBar: false
yeahconsole*term: urxvt


</source>
</source>
Строка 166: Строка 140:
== См. также ==
== См. также ==


[[urxvt]]
* [[urxvt]]
 
* [[yeahconsole]]

Версия 11:18, 17 октября 2008

Файл пользовательских ресурсов X-сервера

Расположение
~/.Xdefaults или ~/.Xresources, зависит от дистрибутива

для применения "на ходу" необходимо выполнить команду

xrdb -load ~/.Xdefaults


! Шрифт в иксовых приложениях Xaw, Tcl/Tk итп
!*Font: -*-terminus-medium-r-*-*-*-120-*-*-*-*-iso10646-1
*Font: -xos4-terminus-medium-r-normal-*-12-120-72-72-c-60-iso10646-1

! внешний вид виджетов Xaw 
!*background:  #F1F3F1
*background: #D4D0C8
*foreground:  #000000
*Text.background: #FFFFFF
*Command.borderWidth: 1
*Command.foreground: #000000
*Command.background: #fffafa
*Toggle.foreground: #000000
*Toggle.background: #FFFAFA
*MenuButton.foreground: #000000
!*MenuButton.background: #FFFAFA
*SimpleMenu.background: #FFFFE7
*SimpleMenu.borderColor: #316BC6
*SmeBSB.foreground:  #003457
*Tree.background:  #FFFFFF
*Porthole.background:  #FFFFFF
*MenuButton.cornerRoundPercent: 12
*MenuButton.shapeStyle: roundedRectangle
*Command.cornerRoundPercent: 12
*Command.shapeStyle: roundedRectangle
*cornerRoundPercent: 12
*shapeStyle: roundedRectangle

! настраиваем "стандартную" 16-ти цветную палитру (раскрашиваем терминал)
!for all terminals
*color0:      #000000
*color1:      #9e1828
*color2:      #aece92
*color3:      #968a38
*color4:      #414171
*color5:      #963c59
*color6:      #418179
*color7:      #bebebe
*color8:      #666666
*color9:      #cf6171
*color10:     #c5f779
*color11:     #fff796
*color12:     #4186be
*color13:     #cf9ebe
*color14:     #71bebe
*color15:     #ffffff

! настройка внешнего вида отдельных приложений

!xcalc
xcalc*geometry: 200x275
xcalc.ti.bevel.background: #111111
xcalc.ti.bevel.screen.background: #000000
xcalc.ti.bevel.screen.DEG.background: #000000
xcalc.ti.bevel.screen.DEG.foreground: LightSeaGreen
xcalc.ti.bevel.screen.GRAD.background: #000000
xcalc.ti.bevel.screen.GRAD.foreground: LightSeaGreen
xcalc.ti.bevel.screen.RAD.background: #000000
xcalc.ti.bevel.screen.RAD.foreground: LightSeaGreen
xcalc.ti.bevel.screen.INV.background: #000000
xcalc.ti.bevel.screen.INV.foreground: Red
xcalc.ti.bevel.screen.LCD.background: #000000
xcalc.ti.bevel.screen.LCD.foreground: LightSeaGreen
xcalc.ti.bevel.screen.LCD.shadowWidth: 0
xcalc.ti.bevel.screen.M.background: #000000
xcalc.ti.bevel.screen.M.foreground: LightSeaGreen
xcalc.ti.bevel.screen.P.background: #000000
xcalc.ti.bevel.screen.P.foreground: Yellow
xcalc.ti.Command.foreground: White
xcalc.ti.Command.background: #777777
xcalc.ti.button5.background: Orange3
xcalc.ti.button19.background: #611161
xcalc.ti.button18.background: #611161
xcalc.ti.button20.background: #611111
xcalc.ti.button25.background: #722222
xcalc.ti.button30.background: #833333
xcalc.ti.button35.background: #944444
xcalc.ti.button40.background: #a55555
xcalc.ti.button22.background: #222262
xcalc.ti.button23.background: #222262
xcalc.ti.button24.background: #222272
xcalc.ti.button27.background: #333373
xcalc.ti.button28.background: #333373
xcalc.ti.button29.background: #333373
xcalc.ti.button32.background: #444484
xcalc.ti.button33.background: #444484
xcalc.ti.button34.background: #444484
xcalc.ti.button37.background: #555595
xcalc.ti.button38.background: #555595
xcalc.ti.button39.background: #555595
XCalc*Cursor:                 hand2
XCalc*ShapeStyle:             rectangle

!xmessage
!.xmessage.form.okay.background: #777777
!.xmessage.form.okay.foreground: snow
xmessage*defaultButton: okay
Xmessage.form.message.Scroll:  WhenNeeded

!xfontsel
!XFontSel*sampleText.background: TEXTBG
XFontSel*menu*showUnselectable: false
XFontSel*MenuButton.shadowWidth: 0
XFontsel*Toggle*ToggleStyle: check
XFontsel*MenuButton*Justify:    left
XFontsel*MenuButton*MenuButtonStyle: select
.xfontsel.pane.commandBox.quitButton.background: #777777
.xfontsel.pane.commandBox.quitButton.foreground: snow
.xfontsel.pane.commandBox.ownButton.background: orange3
.xfontsel.pane.commandBox.ownButton.foreground: snow
.xfontsel.pane.commandBox.countLabel.background: snow
.xfontsel.pane.viewPort.sampleText.background: #777777
.xfontsel.pane.viewPort.sampleText.foreground: snow
.xfontsel.pane.fieldBox.MenuButton.borderWidth: 1
.xfontsel.pane.fieldBox.MenuButton.internalHeight: 1
.xfontsel.pane.fieldBox.MenuButton.internalWidth: 2
.xfontsel.pane.fieldBox.MenuButton.shapeStyle: rectangle

!xterm
XTerm*background:  #000000
XTerm*foreground:  #7f7f7f

См. также