忍者ブログ

[PR]

2025年01月30日 ()
×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。

blackbox: my style 080804

2008年08月04日 (X)

source

!Menu Style
menu.frame.appearance: raised gradient vertical
menu.frame.color1: rgb:f/0/0
menu.frame.color2: rgb:5/0/0
menu.frame.borderWidth: 1
menu.frame.borderColor: rgb:f/0/0
menu.frame.foregroundColor: rgb:0/0/0
menu.frame.textColor: rgb:0/0/0
menu.frame.disabledColor: rgb:9/0/0
!menu.frame.font: Bitstream Vera Sans-10:style=Normal
menu.frame.alignment: left
menu.frame.marginWidth: 1

menu.title.appearance: raised gradient vertical
menu.title.color1: rgb:f/0/0
menu.title.color2: rgb:5/0/0
menu.title.borderWidth: 0
menu.title.borderColor: rgb:0/0/0
menu.title.foregroundColor: rgb:0/0/0
menu.title.textColor: rgb:0/0/0
!menu.title.font: Bitstream Vera Sans-10:style=Normal
menu.title.alignment: right
menu.title.marginWidth: 1

menu.active.appearance: raised gradient vertical
menu.active.color1: rgb:5/0/0
menu.active.color2: rgb:f/0/0
menu.active.borderWidth: 0
menu.active.borderColor: rgb:0/0/0
menu.active.foregroundColor: rgb:0/0/0
menu.active.textColor: rgb:0/0/0

!Slit Style
slit.appearance: raised gradient vertical
slit.color1: rgb:f/0/0
slit.color2: rgb:5/0/0
!slit.borderWidth: 20
slit.borderWidth: 0
slit.borderColor: rgb:0/0/0
slit.marginWidth: 1

!Toolbar Style
toolbar.appearance: flat gradient vertical
toolbar.color1: rgb:f/0/0
toolbar.color2: rgb:5/0/0
toolbar.borderWidth: 0
toolbar.borderColor: rgb:0/0/0
toolbar.alignment: center
!toolbar.font: Bitstream Vera Sans-10:style=Bold
toolbar.marginWidth: 0

toolbar.label.appearance: sunken gradient vertical
toolbar.label.color1: rgb:f/0/0
toolbar.label.color2: rgb:5/0/0
toolbar.label.borderWidth: 0
toolbar.label.borderColor: rgb:f/0/0
toolbar.label.marginWidth: 1
toolbar.label.textColor: rgb:0/0/0

toolbar.windowLabel.appearance: sunken gradient vertical
toolbar.windowLabel.color1: rgb:f/0/0
toolbar.windowLabel.color2: rgb:5/0/0
toolbar.windowLabel.borderWidth: 0
toolbar.windowLabel.borderColor: rgb:f/0/0
toolbar.windowLabel.textColor: rgb:0/0/0

toolbar.clock.appearance: sunken gradient vertical
toolbar.clock.color1: rgb:f/0/0
toolbar.clock.color2: rgb:5/0/0
toolbar.clock.borderWidth: 0
toolbar.clock.borderColor: rgb:f/0/0
toolbar.clock.textColor: rgb:0/0/0

toolbar.button.appearance: sunken gradient vertical
toolbar.button.color1: rgb:f/0/0
toolbar.button.color2: rgb:5/0/0/
toolbar.button.borderWidth: 0
toolbar.button.borderColor: rgb:f/0/0
toolbar.button.foregroundColor: rgb:0/0/0
toolbar.button.marginWidth: 0

toolbar.button.pressed.appearance: raised gradient vertical
toolbar.button.pressed.color1: rgb:5/0/0
toolbar.button.pressed.color2: rgb:f/0/0
toolbar.button.pressed.borderWidth: 0
toolbar.button.pressed.borderColor: rgb:f/0/0

!Window Style
window.title.focus.appearance: flat gradient vertical
window.title.focus.color1: rgb:f/0/0
window.title.focus.color2: rgb:5/0/0
window.title.focus.borderWidth: 0
window.title.focus.borderColor: rgb:c/c/c

window.title.unfocus.appearance: flat gradient vertical
window.title.unfocus.color1: rgb:5/0/0
window.title.unfocus.color2: rgb:f/0/0
window.title.unfocus.borderWidth: 0
window.title.unfocus.borderColor: rgb:a/a/a

window.label.focus.appearance: sunken gradient vertical
window.label.focus.color1: rgb:f/0/0
window.label.focus.color2: rgb:5/0/0
window.label.focus.borderWidth: 0
window.label.focus.borderColor: rgb:a/a/a
window.label.focus.textColor: rgb:0/0/0

window.label.unfocus.appearance: sunken gradient vertical
window.label.unfocus.color1: rgb:3/0/0
window.label.unfocus.color2: rgb:a/0/0
window.label.unfocus.borderWidth: 0
window.label.unfocus.borderColor: rgb:a/a/a
window.label.unfocus.textColor: rgb:f/0/0

window.button.focus.appearance: sunken gradient vertical
window.button.focus.color1: rgb:f/0/0
window.button.focus.color2: rgb:5/0/0
window.button.focus.borderWidth: 0
window.button.focus.borderColor: rgb:a/a/a
window.button.focus.foregroundColor: rgb:0/0/0

window.button.unfocus.appearance: sunken gradient vertical
window.button.unfocus.color1: rgb:3/0/0
window.button.unfocus.color2: rgb:a/0/0
window.button.unfocus.borderWidth: 0
window.button.unfocus.borderColor: rgb:a/a/a
window.button.unfocus.foregroundColor: rgb:f/0/0

window.button.pressed.appearance: flat gradient vertical
window.button.pressed.color1: rgb:5/0/0
window.button.pressed.color2: rgb:f/0/0
window.button.pressed.borderWidth: 0
window.button.pressed.borderColor: rgb:0/0/0

window.handle.focus.appearance: raised gradient vertical
window.handle.focus.color1: rgb:f/0/0
window.handle.focus.color2: rgb:6/0/0
window.handle.focus.borderWidth: 0
window.handle.focus.borderColor: rgb:a/a/a

window.handle.unfocus.appearance: raised gradient vertical
window.handle.unfocus.color1: rgb:6/0/0
window.handle.unfocus.color2: rgb:f/0/0
window.handle.unfocus.borderWidth: 0
window.handle.unfocus.borderColor: rgb:a/a/a

window.grip.focus.appearance: sunken gradient vertical
window.grip.focus.color1: rgb:f/0/0
window.grip.focus.color2: rgb:6/0/0
window.grip.focus.borderWidth: 0
window.grip.focus.borderColor: rgb:a/a/a

window.grip.unfocus.appearance: sunken gradient vertical
window.grip.unfocus.color1: rgb:6/0/0
window.grip.unfocus.color2: rgb:f/0/0
window.grip.unfocus.borderWidth: 0
window.grip.unfocus.borderColor: rgb:a/a/a

window.frame.focus.borderColor: rgb:f/0/0
window.frame.unfocus.borderColor: rgb:6/0/0
window.frame.borderWidth: 1
!window.font: Bitstream Vera Sans-10:style=Normal
window.alignment: center
window.label.marginWidth: 0
window.title.marginWidth: 0
window.button.marginWidth: 0
window.handleHeight: 3

!rootCommand: bsetroot -gradient verticalgradient -from rgb:a/0/0 -to rgb:0/0/0
rootCommand: bsetroot -solid rgb:0/0/0

~/.blackbox/mystyle

style_080804.txt

screenshot

PR

blackbox: my menu 080804

2008年08月04日 (X)

source

#default menu file : /usr/local/share/blackbox/menu
[begin] (Blackbox)
[encoding] {UTF-8}
    [submenu] (system)
        [exec] (xterm) {xterm}
        [exec] (urxvt) {urxvt}
#       [exec] (kterm) {kterm}
#       [exec] (kterm16c) {kterm16c}
    [end]
    [submenu] (editor)
        [exec] (gvim) {gvim}
        [exec] (gedit) {gedit}
        [exec] (leafpad) {leafpad}
    [end]
    [submenu] (www)
        [exec] (firefox) {firefox}
        [exec] (opera) {opera}
    [end]
#   [submenu] (audio)
#       [exec] (beep-media-player) {beep-media-player}
#       [exec] (streamtuner) {streamtuner}
#   [end]
    [submenu] (office)
        [exec] (openoffice.org) {openoffice.org}
        [exec] (gcalctool) {gcalctool}
    [end]
    [submenu] (graphic)
        [exec] (gthumb) {gthumb}
        [exec] (gqview) {gqview}
        [exec] (acroread) {acroread}
        [exec] (gimp) {gimp}
    [end]
    [submenu] (Xutil)
        [exec] (xcalc) {xcalc}
        [exec] (xmag) {xmag}
        [exec] (xkill) {xkill}
        [exec] (xman) {xman}
        [exec] (xfontsel) {xfontsel}
        [exec] (xload) {xload}
    [end]
    [submenu] (styles...) {styles}
        [stylesdir] (/usr/local/share/blackbox/styles)
        [stylesdir] (~/.blackbox)
    [end]

    [workspaces] (workspaces)
    [config] (configure)
    [reconfig] (reconfigure)
    [restart] (restart)
    [exit] (exit)
    [endencoding]
[end]

~/.blackbox/mymenu

menu_080804.txt

my blackboxrc 080804

2008年08月04日 (X)

source

session.screen0.slit.placement: TopRight
session.screen0.slit.direction: Horizontal
session.screen0.slit.onTop: True
session.screen0.slit.autoHide:  False
session.screen0.toolbar.onTop:  False
session.screen0.toolbar.autoHide:   False
session.screen0.toolbar.placement:  BottomCenter
session.screen0.toolbar.widthPercent:   100
session.screen0.enableToolbar:  False
session.screen0.workspaces: 4
session.screen0.workspaceNames: workspace1,workspace2,workspace 3,workspace 4
session.screen0.strftimeFormat: %I:%M %p
session.edgeSnapThreshold:  0
session.styleFile:  ~/.blackbox/mystyle
session.menuFile:   ~/.blackbox/mymenu
session.focusNewWindows:    True
session.imageDither:    OrderedDither
session.focusModel: ClickToFocus
session.rowPlacementDirection:  LeftToRight
session.toolbarActionsWithMouseWheel:   False
session.placementIgnoresShaded: True
session.changeWorkspaceWithMouseWheel:  False
session.fullMaximization:   True
session.autoRaiseDelay: 500
session.doubleClickInterval:    250
session.disableBindingsWithScrollLock:  False
session.windowPlacement:    ColSmartPlacement
session.windowSnapThreshold:    0
session.colPlacementDirection:  TopToBottom
session.opaqueResize:   False
session.focusLastWindow:    True
session.maximumColors:  0
session.shadeWindowWithMouseWheel:  False
session.opaqueMove: False

~/.blackboxrc

blackboxrc_080804.txt

my xinitrc 080804

2008年08月04日 (X)

source

#LANG=C
LANG=ja_JP.utf-8
#LC_CTYPE=ja_JP.UTF-8
#LC_COLLATE=C
#LC_TIME=C
#LC_NUMERIC=C
#LC_MONETARY=C
#LC_MESSAGE=C
export LANG
#export LC_CTYPE LC_COLLATE LC_TIME LC_NUMERIC LC_MONETARY LC_MESSAGE

xset b off
xset m 1 50

XMODIFIERS=@im=SCIM
GTK_IM_MODULE=scim
export XMODIFIERS GTK_IM_MODULE
export USE_XOPENIM=t

scim &
bbkeys &
exec blackbox
#exec gnome-session

~/.xinitrc

xinitrc_080804.txt

screenshot

2008年08月04日 (X)

command

% import -window root cap.jpg                 #1
% import -window root -quality 100 cap.jpg    #2
% sleep 10; import -window root cap.jpg       #3

1.現在の画面をJPG形式でcap.jpgに保存
2.現在の画面をクオリティ100でJPG形式でcap.jpgに保存
3.10秒後の画面をJPG形式でcap.jpgに保存

note

importコマンドがない場合,ImageMagickinstallすればOK
例:
# yum -y install ImageMagick.i386

cf.
% man import
% man ImageMagick
% import -help