忍者ブログ

[PR]

2024年05月04日 ()
×

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

blackbox: my style 081208

2008年12月08日 (X)

source

!!!!!Menu Style
menu.frame.alignment: left
menu.frame.appearance: raised gradient vertical
menu.frame.color1: rgb:f/0/0
menu.frame.color2: rgb:9/0/0
menu.frame.borderWidth: 0
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.marginWidth: 0

menu.title.alignment: left
menu.title.appearance: raised gradient vertical
menu.title.color1: rgb:f/0/0
menu.title.color2: rgb:9/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.marginWidth: 0

menu.active.appearance: raised gradient vertical
menu.active.color1: rgb:9/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:9/0/0
slit.borderWidth: 0
slit.borderColor: rgb:0/0/0
slit.marginWidth: 0

!!!!!Toolbar Style
toolbar.alignment: center
toolbar.appearance: flat solid
toolbar.color: rgb:0/0/0
toolbar.borderWidth: 1
toolbar.borderColor: rgb:f/0/0
toolbar.marginWidth: 1

toolbar.label.appearance: flat solid
toolbar.label.color: rgb:0/0/0
toolbar.label.borderWidth: 1
toolbar.label.borderColor: rgb:f/0/0
toolbar.label.marginWidth: 1
toolbar.label.textColor: rgb:f/0/0

toolbar.windowLabel.appearance: flat solid
toolbar.windowLabel.color: rgb:0/0/0
toolbar.windowLabel.borderWidth: 1
toolbar.windowLabel.borderColor: rgb:f/0/0
toolbar.windowLabel.textColor: rgb:f/0/0

toolbar.clock.appearance: flat solid
toolbar.clock.color: rgb:0/0/0
toolbar.clock.borderWidth: 0
toolbar.clock.borderColor: rgb:f/0/0
toolbar.clock.textColor: rgb:f/0/0

toolbar.button.appearance: flat solid
toolbar.button.color: rgb:0/0/0/
toolbar.button.borderWidth: 0
toolbar.button.borderColor: rgb:f/0/0
toolbar.button.foregroundColor: rgb:f/0/0
toolbar.button.marginWidth: 1

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

!!!!!Window Style
window.alignment: right

!!!title
window.title.marginWidth: 0

window.title.focus.appearance: flat solid
window.title.focus.color: rgb:f/0/0
window.title.focus.borderWidth: 0
window.title.focus.borderColor: rgb:f/0/0

window.title.unfocus.appearance: flat solid
window.title.unfocus.color: rgb:f/f/f
window.title.unfocus.borderWidth: 0
window.title.unfocus.borderColor: rgb:f/f/f

!!!label
window.label.marginWidth: 0

window.label.focus.appearance: flat solid
window.label.focus.color: rgb:0/0/0
window.label.focus.borderWidth: 1
window.label.focus.borderColor: rgb:f/0/0
window.label.focus.textColor: rgb:f/0/0

window.label.unfocus.appearance: flat solid
window.label.unfocus.color: rgb:0/0/0
window.label.unfocus.borderWidth: 0
window.label.unfocus.borderColor: rgb:c/0/0
window.label.unfocus.textColor: rgb:f/f/f

!!!button
window.button.marginWidth: 0

window.button.focus.appearance: flat solid
window.button.focus.color: rgb:0/0/0
window.button.focus.borderWidth: 0
window.button.focus.borderColor: rgb:f/0/0
window.button.focus.foregroundColor: rgb:f/0/0

window.button.unfocus.appearance: flat solid
window.button.unfocus.color1: rgb:0/0/0
window.button.unfocus.borderWidth: 0
window.button.unfocus.borderColor: rgb:f/0/0
window.button.unfocus.foregroundColor: rgb:f/f/f

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

!!!handle
window.handleHeight: 1

window.handle.focus.appearance: flat solid
window.handle.focus.color: rgb:0/0/0
window.handle.focus.borderWidth: 0
!window.handle.focus.borderColor: rgb:0/0/0

window.handle.unfocus.appearance: flat solid
window.handle.unfocus.color: rgb:0/0/0
window.handle.unfocus.borderWidth: 0
!window.handle.unfocus.borderColor: rgb:0/0/0

!!!grip
window.grip.focus.appearance: flat solid
window.grip.focus.color: rgb:f/0/0
window.grip.focus.borderWidth: 0
window.grip.focus.borderColor: rgb:f/0/0

window.grip.unfocus.appearance: flat solid
window.grip.unfocus.color: rgb:f/f/f
window.grip.unfocus.borderWidth: 0
window.grip.unfocus.borderColor: rgb:0/0/0

!!!frame
window.frame.borderWidth: 2
window.frame.focus.borderColor: rgb:0/0/0
window.frame.unfocus.borderColor: rgb:0/0/0

!!!command
rootCommand: bsetroot -solid rgb:0/0/0

~/.blackbox/styles/style

style_081208.txt

screenshot

PR

bbkeys: my bbkeysrc 081208

2008年12月08日 (X)

source

# default bbkeys definitions....

[begin] (bbkeys configuration file)

  [config]
    [option] (stylefile) {~/.blackbox/styles/style}
    [option] (honorModifiers) {false}
    [option] (raiseWhileCycling) {false}
    [option] (showCycleMenu) {true}
    [option] (menuTextJustify) {center}
    [option] (autoConfig) {true}
    [option] (autoConfigCheckTimeout) {2}
    [option] (workspaceColumns) {4}
#    [option] (workspaceRows) {2}
#    only one can be effective at a time
#    if both are given, workspaceColumns takes precedence
    [option] (cycleMenuX) {500}
    [option] (cycleMenuY) {500}
  [end]

  [keybindings] (begin keybindings)
#    [chain] (Control-Mod1-W)
#      [sendToWorkspace] (1) {1}
#      [sendToWorkspace] (2) {2}
#      [sendToWorkspace] (3) {3}
#      [sendToWorkspace] (4) {4}
#      [sendToWorkspace] (5) {5}
#      [sendToWorkspace] (6) {6}
#      [sendToWorkspace] (7) {7}
#      [sendToWorkspace] (8) {8}
#    [end]
    [Lower] (Mod1-Down)
    [Raise] (Mod1-Up)
    [toggleShade] (Mod1-F9)
    [Close] (Mod1-F4)
#    [Iconify] (Mod1-m)
    [toggleMaximizeFull] (Mod1-F12)
    [toggleMaximizeHorizontal] (Mod1-F11)
    [toggleMaximizeVertical] (Mod1-F10)
    [toggleOmnipresent] (Mod1-Control-S)
    [resizeWindowWidth] (Mod1-Control-Shift-Left) {-5}
    [resizeWindowWidth] (Mod1-Control-Shift-Right) {5}
    [resizeWindowHeight] (Mod1-Control-Shift-Up) {-5}
    [resizeWindowHeight] (Mod1-Control-Shift-Down) {5}
    [moveWindowUp] (Mod1-Control-Up) {1}
    [moveWindowDown] (Mod1-Control-Down) {1}
    [moveWindowLeft] (Mod1-Control-Left) {1}
    [moveWindowRight] (Mod1-Control-Right) {1}
    [NextWindow] (Mod1-Tab)
#    [NextWindowOnAllWorkspaces]  (Mod1-Control-Tab)
#    [PrevWindow] (Mod1-Shift-Tab)
    [changeWorkspace] (Mod1-1) {1}
    [changeWorkspace] (Mod1-2) {2}
    [changeWorkspace] (Mod1-3) {3}
    [changeWorkspace] (Mod1-4) {4}
    [changeWorkspace] (Mod1-5) {5}
    [changeWorkspace] (Mod1-6) {6}
    [changeWorkspace] (Mod1-7) {7}
    [changeWorkspace] (Mod1-8) {8}

#    [upWorkspace] (Mod1-Control-K)
#    [downWorkspace] (Mod1-Control-J)
#    [leftWorkspace] (Mod1-Control-H)
#    [rightWorkspace] (Mod1-Control-L)

    [showRootMenu] (Mod1-Control-Escape)

    #[Execute] (Mod1-F5) {xrefresh}
    #[Execute] (Mod1-F1) {gnome-terminal}
    #[Execute] (Mod4-E) {kfmclient openProfile filemanagement}
    #[Execute] (F20) {kfmclient openProfile filemanagement}
    #[Execute] (Mod4-E) {nautilus ~}
    #[Execute] (F20) {nautilus ~}
  [end] (end keybindings)
[end] (end bbkeys configuration)

~/.bbkeysrc

bbkeysrc_081208.txt

install nvidia driver

2008年11月05日 (X)

序章

LinuxのXの画面の描写速度が遅いような・・とくにFirefoxが重い.
ちなみにウィンドウマネージャはKDEとかGnomeとか重いのは使ってなく,Blackboxとかいう軽量なのを使ってる.
環境はCPU:Celeron D 2.53 GHz,メモリ:2G,ビデオカード:Geforce6500,OS:CentOS5.2
そんなわけでLinuxのビデオカードのドライバってあるのかなと思い,ぐぐる→あった

インストール

まずはダウンロードする.
http://www.nvidia.co.jp/Download/index.aspx
ここから適当なのを選んで・・ダウンロード.

グラフィックなので一応Xを終了させて,ユーザをrootにして・・・
ダウンロードしたファイルを実行

# sh NVIDIA-Linux-x86-177.80-pkg1.run

いろいろ聞かれるので適当にEnter押して・・インストール完了
再起動してX起動のときにNvidiaのロゴが表示されるようになったので,成功かな
一応確認

% vi /etc/X11/xorg.conf

ビデオカードの項目が

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
EndSection

となっている.Driver "vesa"みたいになっていたら"nvidia"に変更すれば良いとのこと

感想

ちょっと軽くなった気がする・・
しばらく使ってみる

xset: screen saver settings off

2008年10月15日 (X)

command

% xset dpms 0 0 0
% xset s off

note

cf.
% man xset

copy & paste

2008年08月28日 (X)
コマンド操作
Copy左クリックでドラッグしてコピーしたい部分を選択.
FirefoxなどのコピーはCtrl+cでも可.
Pasteマウスの中央ボタンを押す.他X11アプリケーションへのペーストも可.
FirefoxなどへのペーストはCtrl+vでも可.
 | HOME | 次のページ »