On Fri, Nov 02, 2001 at 01:26:02PM -0800, Mitchell, Edmund wrote:
> Hello all
> 
> I'm a linux newbie, discovering that bbkeys is great, but I'd like it to be
> running from the get-go.
> Is there a way to make this happen?
> On a related note, I'd also like to autostart gkrellm - sort of like what
> happens when you drop stuff in the Autostart folder under KDE - can this
> happen under blackbox?
> 
> Thanks for any help,
> 
> Edmund

Hi,
if you want anything to start automatically when blackbox starts add it
to your .xinitrc file, which is in your home directory.

I run bbkeys and gkrellm at start up too, so here's my ~/.xinitrc:

===

#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

[... the usual stuff here...]

### The part you'll have to add:

# programs to run:
bbkeys -i &
#xscreensaver -no-splash &
gkrellm -w &

#set wallpaper with the bsetbg shell script:
bsetbg ~/mm/images/Logo1280.jpg  &

# Start the window manager:
exec blackbox 


===

The above runs bbkeys in iconified mode, with gkrellm docked in to the
slit. Look at the bbkeys/gkrellm docs for different options.
I also use bsetbg to set a background image.

-- 
Mark Hill - http://www.fero.uklinux.net
Blackbox FAQ: http://www.reedmedia.net/misc/blackbox/faq.html

Reply via email to