Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bbconf problem: blackbox keybindings don't work

Status
Not open for further replies.

a27x64sy

Technical User
Aug 2, 2000
4
US
I recently installed bbconf and tried to setup some keybindings but they don't seem to work. The options are being updated in ~/.bbkeysrc but blackbox doesn't respond. Any Ideas?
 
Have you restarted blackbox since you changed it? Does your
Code:
~/.blackboxrc
point to that file?

//Daniel
 
Thanks for your response Daniel. I have restarted blackbock and restarted the machine since I updated the keybindings with bbconf. ~/.blackboxrc does not point to ~/.bbkeys Should i include a line that points to ~/.bbkeys?

I've included the contents of both files below.

Code:
~/.blackboxrc -

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:	BottomCenter
session.screen0.toolbar.widthPercent:	66
session.screen0.workspaces:	3
session.screen0.focusLastWindow:	False
session.screen0.workspaceNames:	a27x64sy,terminal,Workspace 3
session.screen0.strftimeFormat:	%I:%M %p
session.screen0.focusModel:	SloppyFocus
session.screen0.focusNewWindows:	False
session.screen0.colPlacementDirection:	TopToBottom
session.screen0.edgeSnapThreshold:	0
session.screen0.rowPlacementDirection:	LeftToRight
session.screen0.windowPlacement:	RowSmartPlacement
session.screen0.disableBindingsWithScrollLock:	False
session.screen0.fullMaximization:	False
session.doubleClickInterval:	250
session.cacheMax:	200
session.imageDither:	True
session.windowCycleModifier:	Control
session.menuFile:	/home/a27x64sy/Documents/blackbox/menu
session.opaqueMove:	False
session.styleFile:	/usr/share/blackbox/styles/Cthulhain
session.autoRaiseDelay:	400
session.cacheLife:	5
session.colorsPerChannel:	4


~/.bbkeysrc - 

# bbkeys config file, automagically generated by bbconf.


KeyToGrab(S), WithModifier(Control+Shift), WithAction(ShadeWindow)
KeyToGrab(Left), WithModifier(Control+Shift), WithAction(MaximizeWindow)
KeyToGrab(Tab), WithModifier(Mod1), WithAction(NextWindow)
KeyToGrab(1), WithModifier(Mod1), WithAction(Workspace1)

I found this tutorial that mentions the ~/.vinitrc file.
I created one with the following contents but it doesn't help.

Code:
~/.vinitrc
  [exec] (File Manager - Super User Mode) {konqueror}
  rt QT_XFT=1
  export LD_PRELOAD=/opt/gdkxft/lib/libgdkxft.so
  #xmodmap -e "clear Mod3"
  xmodmap -e "add Mod3 = Multi_key"
  bbkeys -i &
  gkrellm -w &
  sleep 1 && bbpager -w &
  #sleep 1 && bbsload -w &
  #sleep 2 && bbsmount -w &
  #sleep 3 &&  bbppp -w -thru &
  #/opt/xloadimage/bin/xloadimage -onroot `randfile ~/.blackbox/backgrounds/babes/` &
  exec blackbox

Is there another file that should point to ~/.bbkeysrc?
 
Well, I don't know much aboout Blackbox, but this is what Fluxbox uses:
Code:
session.keyFile: ~/.fluxbox/keys

//Daniel
 
I installed a newer version of bbkeys and everything works just fine. Thanks againg for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top