[openbox] Openbox themes on cygwin
Mondoud
openbox at mondoud.tuxfamily.org
Fri Jul 18 08:27:28 EDT 2003
> * Mondoud (openbox at mondoud.tuxfamily.org) wrote:
>
>> I am running Openbox (v0.99.0) on cygwin and I am trying to change
>> the default theme, but I can't find how to do that...
> Hrmm,
>
> 0.99 is quite old so my recollection could be hazy, but the rc file
> (~/.openboxrc if I remember correctly) should have a line with
> styleFile: in it. Changing that should change the theme. If you are
> meaning the compiled in default, I will have to look that up to see
> what the the #define was.
I did not find any line with styleFile in my file ~/.openbox/rc
But I tried to copy/paste the theme file content into the rc file but that does not do anything, I
mean that colors are still the same. Maybe that my version (v0.99 under cygwin) does not support themes ?
In fact I just expect to have my title bar smooth... so if there is another way than dealing with
themes :) ?
Thanks, Mondoud
I put a copy of my ~/.openbox/rc, including the command I add to have a new theme :
!BEGIN of the rc file
session.screen0.slit.placement: CenterRight
session.screen0.slit.direction: Vertical
session.screen0.slit.onTop: False
session.screen0.slit.autoHide: False
session.screen0.toolbar.onTop: False
session.screen0.toolbar.autoHide: False
session.screen0.toolbar.placement: TopRight
session.screen0.toolbar.widthPercent: 40
session.screen0.workspaces: 3
session.screen0.workspaceNames: Workspace 1
session.screen0.windowPlacement: RowSmartPlacement
session.screen0.windowZones: 1
session.screen0.focusLastWindow: False
session.screen0.focusModel: SloppyFocus
session.screen0.focusNewWindows: False
session.screen0.strftimeFormat: %I:%M %p
session.screen0.rowPlacementDirection: LeftToRight
session.screen0.fullMaximization: False
session.screen0.colPlacementDirection: TopToBottom
session.screen0.edgeSnapThreshold: 10
session.colorsPerChannel: 4
session.doubleClickInterval: 250
session.menuFile: /usr/X11R6/share/openbox/menu
session.imageDither: True
session.cacheLife: 5
session.cacheMax: 200
session.titlebarLayout: ILMC
session.autoRaise: True
session.autoRaiseDelay: 400
session.opaqueMove: True
! END of the original rc file
! BEGIN of the file I added to the rc file (to have a theme)
toolbar: raised gradient vertical
toolbar.colorTo: rgb:5a/69/bd
toolbar.color: rgb:45/50/8b
toolbar.button: parentrelative
toolbar.button.picColor: rgb:41/40/41
toolbar.label: parentrelative
toolbar.label.textColor: rgb:f8/f6/e7
toolbar.windowLabel: raised gradient vertical
toolbar.windowLabel.colorTo: rgb:e6/e6/e6
toolbar.windowLabel.color: rgb:c5/c2/c5
toolbar.windowLabel.picColor: black
toolbar.windowLabel.textColor: black
toolbar.clock: parentrelative
toolbar.clock.textColor: rgb:f8/f6/e7
toolbar.justify: center
menu.title: raised gradient vertical
menu.title.colorTo: rgb:5a/69/bd
menu.title.color: rgb:45/50/8b
menu.title.textColor: rgb:f8/f6/e7
menu.title.justify: center
menu.frame: flat solid
menu.frame.color: rgb:e6/e6/e6
menu.frame.textColor: rgb:0/0/0
menu.frame.disableColor: rgb:4/4/4
menu.frame.justify: left
menu.bullet.position: left
menu.hilite: raised gradient vertical
menu.hilite.colorTo: rgb:5a/69/bd
menu.hilite.color: rgb:45/50/8b
menu.hilite.textColor: rgb:f8/f6/e7
window.title.focus: raised gradient vertical
window.title.focus.colorTo: rgb:5a/69/bd
window.title.focus.color: rgb:45/50/8b
window.title.textColor: rgb:f8/f6/e7
window.title.unfocus: raised gradient vertical
window.title.unfocus.colorTo: rgb:e6/e6/e6
window.title.unfocus.color: rgb:c5/c2/c5
window.label.focus: parentrelative
window.label.focus.textColor: rgb:f8/f6/e7
window.label.unfocus: parentrelative
window.label.unfocus.textColor: rgb:9c/99/9c
window.button.focus: parentrelative
window.button.focus.picColor: rgb:41/40/41
window.button.unfocus: parentrelative
window.button.unfocus.picColor: rgb:9c/99/9c
window.handle.focus: flat solid
window.handle.focus.color: rgb:f8/f6/e7
window.handle.unfocus: flat solid
window.handle.unfocus.color: rgb:e6/e6/e6
window.grip.focus: raised gradient vertical
window.grip.focus.colorTo: rgb:5a/69/bd
window.grip.focus.color: rgb:45/50/8b
window.grip.unfocus: raised gradient vertical
window.grip.unfocus.colorTo: rgb:e6/e6/e6
window.grip.unfocus.color: rgb:c5/c2/c5
window.justify: left
window.frame.unfocusColor: rgb:41/44/6a
window.frame.focusColor: rgb:41/44/6a
*button.pressed: flat solid
*button.pressed.color: rgb:c5/c2/c5
! borderColor: rgb:7c/7e/7f
borderColor: rgb:41/44/6a
bevelWidth: 1
borderWidth: 1
handleWidth: 4
frameWidth: 1
*.font: -schumacher-clean-medium-r-normal-*-*-120-*-*-c-*-iso646.1991-irv
*.xft.font: Arial
*.xft.size: 10
menu*xft.size: 10
menu.title.xft.flags: bold
# rootCommand: bsetbg -solid "#4a559c"
rootCommand: bsetbg -f ~/.openbox/themes/backgrounds/bluecurve3.jpg
menu.arrow.mask: fieron-bullet.xbm
toolbar.button.left.mask: fieron-bulletl.xbm
toolbar.button.right.mask: fieron-bullet.xbm
window.button.max.mask: max.xbm
window.button.icon.mask: icon.xbm
window.button.stick.mask: stick.xbm
window.button.close.mask: close.xbm
! END of the theme commands, and of the rc file
More information about the openbox
mailing list