Re: Moving and Resizing windows

2001-11-02 Thread Sean 'Shaleh' Perry

On 02-Nov-2001 Jason Willis wrote:
 Hello,
 
   I'm running Blackbox 0.61.x,  XFree86 4.0.3, and Linux kernel 
 2.4.13-ac3.   Whenever I move or resize a window in Blackbox, all other video
 processes in the background freeze, until I release the mouse button (i.e. 
 stop moving or resizing the window).I can notice this effect when I play 
 video (in my case with RealPlayer) or even when I use GKrellM.   Is this 
 effect fixable?   Thanks for your help and let me know if you need more 
 information.
 
Jason W.

It is a flaw in the way bb handles events.  This was discussed recently in
light of Enlightenment.  I have forgotten the details, but suffice it to say
that this CAN be fixed, but it will involve re-working bb's event handler some.



Re: Moving and Resizing windows

2001-11-02 Thread Sean 'Shaleh' Perry

On 02-Nov-2001 Jason Willis wrote:
Thanks all of you for your suggestions and explanations.  :- )   I've 
 tried the opaque window movement option as recommended, and yes, video 
 playback is not halted during window movement but still is during window 
 resizing.Can you show me where I can learn more about the bug mentioned 
 (like the discussion was mentioned)? Is it in the mailing-list archives?   
 Thanks again for all of your help!  : )
 

I am fairly certain we discussed this in early summer.  The solution involves
re-working the blackbox event loop.



Autostarting bbkeys (et al)?

2001-11-02 Thread Mitchell, Edmund

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



RE: Autostarting bbkeys (et al)?

2001-11-02 Thread Mitchell, Edmund

Thanks, Jamie, that sounds terrific.
One question only: can I somehow autostart that script, so that after
everything boots up, and it's time to launch blackbox, that script gets run
automatically?
I guess what I'm trying to do is only press the power button, and have
bbkeys (if not other stuff, too) up and running.

 -Original Message-
 From: Jamin W. Collins [mailto:[EMAIL PROTECTED]]

 Mitchell, Edmund wrote:
 
 I'm a linux newbie, discovering that bbkeys is great, but 
 I'd like it to be
 running from the get-go.

 
 You can accomplish this by creating a shell script that 
 starts each item 
 in the background and then starts blackbox. 
 
 Jamin W. Collins
 



Re: Autostarting bbkeys (et al)?

2001-11-02 Thread Mark Hill

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



Re: Autostarting bbkeys (et al)?

2001-11-02 Thread Glyn Millington

Mitchell, Edmund [EMAIL PROTECTED] writes:

 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?

In your .xinitrc



gkrellm -w  
#  Fire up blackbox and friends
/usr/local/bin/bbkeys  -i   
/usr/local/bin/bbrun#  sits nicely on top of slit!
exec blackbox


hth

Glyn
-- 

   **
   *  Here we are then...   *
   * http://members.tripod.co.uk/Christchurch2000uk *
   **



Re: Autostarting bbkeys (et al)?

2001-11-02 Thread Jason Willis

 On Fri, 2001-11-02 at 15:47, Mitchell, Edmund wrote:
  Thanks, Jamie, that sounds terrific.
  One question only: can I somehow autostart that script, so that after
  everything boots up, and it's time to launch blackbox, that script gets
  run automatically?
  I guess what I'm trying to do is only press the power button, and have
  bbkeys (if not other stuff, too) up and running.

 Sure, just place the script (after making it executable) in place of how
 you are currently starting blackbox.  There are several different ways
 of going about this.  Some people use the .xinitrc file (as someone else
 has indicated here).  I personally edit a few X startup files on my
 RedHat installation that control how X starts.  If you'd like I can help
 you find a good fit for your installation.

 Jamin W. Collins

  Jamin,

   I have a RedHat installation as well.   What X startup files do you 
edit?  Thanks.

  Jason W.



Re: Autostarting bbkeys (et al)?

2001-11-02 Thread Jeremy C. Reed

 File modified:
 /etc/X11/prefdm
 /etc/X11/xinit/Xclients
 /etc/sysconfig/desktop

It is usually considered better to create or modify ther user's own
configuration files than system-wide configs.

Even if you are the only user, you system configs could get (or need to
be) changed during upgrades. Also, if you just use user-only configs, you
could probably switch to an entirely different operating system
distribution (or flavour) and it will still work the same.

I do agree with the need to set the system-wide config for xdm (or gdm,
etc.) since the original poster wanted to turn on the computer and be at
the gui.

User configs included .xinitrc (for startx or xinit or X) or .xsession (if
using xdm).

 This script simply looks for two things in the user's ~/.blackbox
 directory.  The first is a file/symlink called background.jpg.  If
 found, it sets the desktop background accordingly.  The second is a file
 called bb-start.  If found, this file is sourced.  This provides a
 convenient means of allowing end user's to customize blackbox to their
 needs.
 
 I also modify the default Blackbox menu to include ~/.blackbox/menu
 under a Personal submenu with an Edit menu option that uses a shell
 environment variable to determine which editor to launch.  I then place
 an empty menu file in /etc/skel/.blackbox/menu so that all new users
 have the file and ~/.blackbox directory.

Good ideas.

  Jeremy C. Reed



Re: Autostarting bbkeys (et al)?

2001-11-02 Thread Jamin W. Collins

On Fri, 2001-11-02 at 20:11, Jeremy C. Reed wrote:
  File modified:
  /etc/X11/prefdm
  /etc/X11/xinit/Xclients
  /etc/sysconfig/desktop
 
 It is usually considered better to create or modify ther user's own
 configuration files than system-wide configs.
 
 Even if you are the only user, you system configs could get (or need to
 be) changed during upgrades. Also, if you just use user-only configs, you
 could probably switch to an entirely different operating system
 distribution (or flavour) and it will still work the same.

I see the reasoning behind that approach, and it's good advice.

I've been approaching my system configuration with the idea of system
wide standards with the intent of creating diff's for use in generating
either a script/patch to be applied to a default RH install, or as a
basis for a new slim linux installation.  

rant
While I like some of the features of RH, there's just seems to be so
much excess in their default installation.  With 7.2 the basic
installation (X, Networking, minor Graphics, and Development) come to
right around 1 Gig.  That just seems wrong to me.
/rant

 Good ideas.

Thanks.  Hey, what do you guys think of gathering some BB related
scripting tips and what not into one location?

Jamin W. Collins
-- 
Life is the art of drawing without an eraser. - John Gardner



using sawfish to handle windows

2001-11-02 Thread adam

i like blackbox, but i like the window decorations of sawfish. is it even remotely 
possible to have just sawfish handle my windows and let blackbox do everything else?

thanks, adam



Re: using sawfish to handle windows

2001-11-02 Thread Marc Wilson

On Sat, Nov 03, 2001 at 12:43:05AM -0600, adam wrote:
 i like blackbox, but i like the window decorations of sawfish. is it even
 remotely possible to have just sawfish handle my windows and let blackbox
 do everything else?

What else would there be?  Both are window managers.  If sawfish is
managing the windows, what do you see blackbox doing?

-- 
Marc Wilson
[EMAIL PROTECTED]
[EMAIL PROTECTED]



Re: using sawfish to handle windows

2001-11-02 Thread adam

the root menu. the slit. the toolbar. i dont like gnome/the panel. i know there is 
program for sawfish that does dockapps. i am just getting jealous of all the people 
with pixmaps for their titles. there is only so much you can do with the title bar in 
blackbox.

adam
On Fri, 2 Nov 2001 23:13:15 -0800
Marc Wilson [EMAIL PROTECTED] wrote:

 On Sat, Nov 03, 2001 at 12:43:05AM -0600, adam wrote:
  i like blackbox, but i like the window decorations of sawfish. is it even
  remotely possible to have just sawfish handle my windows and let blackbox
  do everything else?
 
 What else would there be?  Both are window managers.  If sawfish is
 managing the windows, what do you see blackbox doing?
 
 -- 
 Marc Wilson
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]



keybind options in .blackboxrc

2001-11-02 Thread Tomas Capdevila

hello,

can somebody post me the old keybind options from the
.blackboxrc? i installed a keybind patch but don't know how to
activate it in my existing config. thanks for helping.


bye,
tomas