se questions will
> greatly aid me in the theme creator that i am developing.
> Help welcome :).
Take a look at the STYLES section of the blackbox manpage...
it's got a fairly comprehensive run-down of all the style
elements and what format input they take.
Jeff Raven
On Mon, Jul 30, 2001 at 02:59:05AM -0400, Kyle Donaldson wrote:
> On Mon, 30 Jul 2001, after playing in traffic, Jeff Raven yelped:
> >
> > Well, the menu parser is currently line-based and rather
> > nasty... some easier solutions would be to either
> >-- put t
menu parser is currently line-based and rather
nasty... some easier solutions would be to either
-- put the long command in a script, and just use the
script as the command instead
-- set up some X resources and use "aterm -name whatever"
(at least rxvt uses -name, so aterm probably does)
Jeff Raven
t use an [exec] to change the file contents.
Would be a darn bit more efficient too; no point in reloading the
style file and rerendering every image just to change a menu.
Jeff Raven
x itself). I can't find any code for it
from 0.51.3 onwards, though.
I don't know that its a particularly useful feature these days --
most of the .blackboxrc options can be adjusted on-the-fly by the
config menu within blackbox -- so I'll probably just change the
text in data/menu.in to coincide with reality.
Jeff Raven
part of blackbox really impacted by the code, since most
of the inserts blackbox does are appends). I've actually got
the code using a new linked list implementation now (back to
a doubly linked implementation).
Jeff Raven
and how you
run X... if you run it manually via startx, it's probably
just logging to the initial console (Alt+Ctrl F1).
Jeff Raven
and hopefully fewer bugs, but
beyond that I really don't care too much how many people use
blackbox. What I care about is that _I_ use blackbox, and if
certain aspects of it annoy me, I'm going to fix them.
Other window managers provide a convenient way to try out other
designs before settling on anything for blackbox, but for the
most part they have only served me as examples of behaviors I
don't want.
Jeff Raven
titlebar is visible?
These should both taken care of in the new menu code (or at least
they were before I broke it last night).
Jeff Raven
n click on the
workspace's name in the workspace menu, what is the reasonable
behavior? Move to the workspace? Show the torn menu?
Ugh. So many wrinkles to deal with. This is going to take a lot
more thought on my part...
Jeff Raven
On Tue, Jul 24, 2001 at 02:10:45PM -0500, Gino Peregrini wrote:
> Edgar Bonet wrote:
>
> > On Jul 24, Jeff Raven wrote:
> >
> >>Hmm. Maybe torn menus should be marked somehow... anyone have any
> >>opinions/preferences?
> >>
>
> Since the t
ng _all_ menus
isn't really practical with the way blackbox does menus (or if it
is, I overlooked something), and would surely annoy all those folks
who tear off workspace or icon menus so that they always have them
around.
Jeff Raven
ing to go through bsetbg this can be avoided, though.
(Since the rootImage could then be '-full whatzit.png'.)
- ponder ALT+RIGHT_CLICK resizing with multiple zones (2? 4?)
- add more tilde expansion of filenames (trivial)
- add Xinerama support
Jeff Raven
s (zone) in the window to resize
> with ALT-Right_Button
Nah. Four parts is too much. Two's the limit (kwin has a bunch,
and it drives me nuts). Still have to think about it though.
Jeff Raven
t in two : left and right).
> You should post patches to this list. Maybe they won't get included
> in the main source, but it would be of interest to many people, since
> a lot of us run patched source. (Unless some sort of miraculous change
> occurs, I won't ever be running unpatched blackbox again. See previous
> messages re: keybindings)
Posting them to the list is always a good idea... (that way if I lose
them I can just check the mailing list archive...)
Jeff Raven
opefully
everyone will still think it's as "well-named, designed and layed out"
as the old code.
Oh, and in answer to your original question, yes, the only programming
documentation is the source itself.
Jeff Raven
encrouches on your territory somewhat :-) but I
> believe this would really improve the window manager and keeps most
> of the work out of the main codebase.
I still think it's far easier to do this within bbkeys itself.
Jeff Raven
set and raise the focus window.
(For some reason the last time this came up I thought more might
be needed of blackbox, but I'm fairly certain I was just being
stupid.)
Of course, going this route means you'd have to understand at
least some of the ins and outs of bbkeys, which is no small task
in and of itself.
Jeff Raven
o window was focused, and so the
keyboard shortcuts will stop working.
I should mention, though, that I haven't tested any of this... I'm just
going by memory of previous bugs & bug fixes related to input focus, so
it's possible that I'm completely off my rocker. Feel free to give it a
spin just to see what happens.
Jeff Raven
sMask | ButtonReleaseMask |
EnterWindowMask | LeaveWindowMask |
KeyPressMask;
and the toolbar will get the key grabs too.
Hope that helps,
Jeff Raven
pport, when I hopefully move things
from a per-workspace client list to a per-screen client list). But
in the mean time, the way things are currently handled internally
makes this rather difficult (or at least very cumbersome) to fix.
Jeff Raven
tyles, and don't have any
of the later ones around to check.
I don't think this really requires any code, just an adherence
to some standard (whatever it may be).
Jeff Raven
on, that some people (including
> I) encountered. Can anybody give me news about it?
> Bye.
>
I remember looking into this, but I couldn't reproduce the problem.
I'll give it another shot sometime soon and see if I can turn up
anything.
Jeff Raven
that is not when you fire
up blackbox (which runs nothing behind the scenes).
Jeff Raven
s that the new shape of the window (as shown by the rectangle) is
not always going to land where the mouse pointer is currently located.
A common source of this is programs which use fixed fonts, like many
terminals, and request that their size only be changed by whole
character widths/heights.
Jeff Raven
though still (and
probably always) as a separate program.
Hmm. Did I miss anything? Any questions?
Jeff Raven
ModeSync, GrabModeSync,
None, None);
(Though on Button3, of course). Then you'll need to add code to
BlackboxWindow::buttonPressEvent() (for similar code with a slightly
different intent look around line 2424), and add code that will call
XAllowEvents if the window is already focused, but otherwise focus it.
Jeff Raven
On Wed, May 30, 2001 at 09:51:52PM -0400, Kyle Donaldson wrote:
> On Wed, 30 May 2001, Jeff Raven wrote:
> >D) Provide two menu items, say [exec] and [cexec]; the first
> > would just use "sh", the second "sh -c". rootCommand would
> >
would use wmsetbg to
set the background images (and eterm should work).
If you've installed other background image programs since you first
ran bsetbg, you can just remove .bsetbgrc and run bsetbg again to
recreate the file, and then edit it by hand to use the program
you want.
Jeff Raven
uot; and the second using "sh". rootCommand would
still use "sh -c".
My impression is that people mostly use compound commands in
their rootCommands, in which case I would favor C... (also, I
haven't checked if cexec or sexec would cause conflicts in the
parsing code).
Jeff Raven
kbox-style textures), the
problem is easy to fix -- you just need to configure bsetbg to
use esetroot or wmsetbg instead of whatever it's using now.
Last I used it, aterm seemed to work just fine with blackbox,
though. Recent rxvt's can be compiled to do transparency too,
but aterm offers additional things like tinting.
Jeff Raven
d.
This may or may not be the actual problem here, but if history is any
indication, it probably is. There are a few ways around it, some more
useful than others.
Jeff Raven
gree pushing a 600k file thru a mail server is not good
> netizenship.
>
Indeed... I've never really looked into it, by I'd always thought
that core files were rather non-portable anyway (in order for the
symbols and what-not to resolve properly, etc).
Jeff Raven
+ button combos,
you'll want to :
-- remove lines 285-292 which do XGrabButtons with Mod1Mask's
-- change the logic in buttonPressEvent() [there's a number of
small things to change here]
That should take care of it, though I may have overlooked something.
Jeff Raven
ps can specify that they don't want decorations by setting the
apropriate WM hints. But if what you're looking for is a way to
disable frames on user specified windows, then no, there is no such
option.
Jeff Raven
myself, so God only knows if it still
works like it was supposed to (or at all)... if folks used to the usual
smart placement could test it out it would be much appreciated (and for
people on low-end boxes, I'm also curious if it's actually any faster).
Jeff Raven
diff -ur blackbox-0.6
reate per-channel color maps, but that's all I can
tell so far). Anyway, if it works the way I expect, I don't see where
there would be any problems in adding it.
Jeff Raven
jectionable.
Try changing all the lines with 'ln -sf' to 'ln -s -f'. You'll
probably need to do this in the es_ES and fr_FR directories
as well. I can only hope that '-s -f' actually does the same
thing in that version of ln...
Jeff Raven
st that..
>
Yeah, I suspect the problem was that the more recent blackbox
releases attempted to find the best visual to use, even if it
wasn't the default, and as a result on some 8bit setups opt
for 8bit Truecolor instead of Pseudocolor. This causes problems
(all of them ugly) on a number of levels.
Jeff Raven
activating the workspace-menu on the desktop. tia,
> mike
>
There isn't one... if you want to change which button activates the
workspace-menu, you need to play with the source (if you feel up to
it, try around line 309 in blackbox.cc).
Jeff Raven
f things in all the appropriate places. (Though
quite frankly on my Sun account I just set CXXFLAGS in my shell
startup script... saves me from having to worry about it anymore.)
Jeff Raven
age difference,
> go for it.
>
Another way to do this :
Right click on the titlebar to bring up the window's menu, go down
into the "Send To" submenu and _middle_click_ on a workspace name.
Jeff Raven
rame? or something like
> that? That way you could still drag the window around
> by its frame.
>
Try Alt+RightClick+Drag. It always fixes the upper left corner,
but other than that, it may do what you'd like.
Jeff Raven
ee:
// get the total number of directory entries
while ((p = readdir(d))) entries++;
rewinddir(d);
char **ls = new char* [entries];
int index = 0;
while ((p = readdir(d)))
ls[index++] = bstrdup(p->d_name);
closedir(d); // ADD THIS LINE
qsort(ls, entries, sizeof(char *), dcmp);
If you add the closedir line above, the problem should go away.
Jeff Raven
On Fri, Feb 16, 2001 at 05:16:49PM -0600, Dan Williams wrote:
> > When the current version was in development, Jeff Raven would make
> > snapshots available periodically on his website (
> > http://www.math.psu.edu/raven/blackbox.html ). If development starts to
> > pick
sliver with an identically shaped InputOnly window); but
you'd eliminate the only visual cue for the location of the hidden
toolbar.
If you really want to be rid of the toolbar, search around the
blackbox patch sites... there's a patch out there which completely
hides the toolbar (though there's no getting it back).
Jeff Raven
.com/circus-linux/ (very nice game , BTW)
>
> When I run:
> circuslinux --fullscreen
>
> X goes 640x480 and I cant see the game because bb puts a blank, 640x480 window
> with decorations over the app.
>
These both seem to work just fine for me...
Jeff Raven
greatly appreciated. thanks.
Well, I assume the themes are using bsetroot to create the gradient;
do the themes for bb that use bsetroot to set a solid background work?
Jeff Raven
be able to worry about adding
something like Xinerama support.
It should be fairly straightforward, but it involves changes to
several parts of the code (initialization, window placement,
maximization, menus, edge resistance, maybe some more), and I'd
like to be sure the code is settled before I do it.
Jeff Raven
this one for morel / nyz. Unless someone else has more time
> to devote to it.
>
Fixed. It just took a little rearranging of BBWindow::motionNotifyEvent().
Jeff Raven
t button. If the problem remains with 0.61.1, let
me know and I'll look into it further.
Jeff Raven
you have the snprintf function. */
#define HAVE_SNPRINTF 1
My only thought at the moment is that perhaps somehow
configure is concluding that snprintf exists elsewhere,
so blackbox doesn't compile it in.
Jeff Raven
e used in
the protocol come with room for five parameters; right now bb
only uses the first one as part of the window cycling message,
so there's plenty of room.
Jeff Raven
provide it in the next major release, but that will be a little
while -- I'm more or less going through the code line by line, rewriting
things as I go (and then rewriting them again, and again... I'm too
damn picky sometimes).
Jeff Raven
ot. With any luck it should run better than 0.61.1.
If you'd like to help now, though, you could check if the crash produced
a core file, and if so run gdb on it to get a backtrace.
Jeff Raven
till haven't tracked down the
segfault/weird text in the toolbar problem... I've got to
be missing something really stupid.)
Jeff Raven
the KDE re-integration is on hold because
the NET wm spec is geting some last-minute clarifications and
additions (for the most part codifying the way KDE does things).
In the meantime I'm working on what will hopefully become the next
alpha series and fixing bugs in the stable.
Jeff Raven
ranslation (nls/xx_YY/Makefile).
Step Three : auto*
At the top of the source tree run the following :
autoconf; automake --foreign --include-deps
Reconfigure and recompile blackbox and your language should be
installed and usuable just like all of the others.
Hope that helps (and that I haven't missed anything),
Jeff Raven
a. Note quechua uses the same coding as
> spanish...
>
qu_PE should be the correct locale, at least according to the
ISO docs I looked at.
Jeff Raven
far better. If you'd rather go this route, let me know,
and I can send you a patch (only a few lines need to be removed).
Jeff Raven
ing the
sticky windows around when you change workspaces leads to some
rather annoying behavior (for instance, all the sticky windows
would be moved to the top each time you change workspaces).
However, it is something I'm aware of, and I'm working on a
better fix for the next major release.
Jeff Raven
> I run X 3.3.6 very pretty on a Pentium 75. So Blackbox must stay the wm of
> my choice. Does anybody have the same experience??? Can anybody perhaps
> help me???
>
Hrm. Someone mentioned a problem like this with 0.60.x, but I was
never able to reproduce it. Could you fire up gdb with the core
file and let me know what bt spits out?
Jeff Raven
e up X, run the program xdpyinfo and send me the output?
Jeff Raven
g needed and nothing more or less. K.I.S.S.)
Hmm. OK, I must not have been paying too much attention when all
this started, but what exactly is the problem? If you want a different
default cursor, why not just use 'xsetroot -cursor_name blah' as part
of your rootCommand in your style? Recent Blackbox's should handle
something like
rootCommand: bsetroot -solid Blue; xsetroot -cursor_name ll_angle
with no problem. Use -cursor if you want to use a custom cursor.
Or is there something else wrong?
Jeff Raven
to XGrabButton should originally have been
XGrabButton(display, Button1, 0, ...)
Just change the 0 to AnyModifier.]
That should hopefully work without any unfortunate side-effects, but I
haven't really tested it much. If it doesn't give folks any problems I
guess I might as well put this into cvs when I get home...
Jeff Raven
). I'll look into it again.
And which 'previous version'?
Jeff Raven
On Mon, Oct 09, 2000 at 08:22:45PM -0400, Chris Grossmann wrote:
> I won't bore everybody with the further details, but I had
> to make these slight changes to get 0.61.1 to compile on
> my ultra5 at work. (see attached diff files)
>
Hmm. With which compiler?
Jeff Raven
define to my
> .Xclients file to open apps in different workspaces when I
> start X...
At present there's no nice (ie portable) way to do this. The
NET window manager spec will provide a consistent way for
apps to request this sort of thing. Then it'll just be a matter
of getting all the apps and window managers up to par.
Jeff Raven
owever,
sport a number of bug fixes and a few speed-ups.
Enjoy,
Jeff Raven
n't add the arrow...)
Third time's a charm...
Jeff Raven
27;ve put an updated version of the snapshot up
(blackbox-20001006b.tar.bz2). Hopefully this one should
compile under RedHat 7.0...
Jeff Raven
(if at first you don't succeed...)
this coming
Monday. If you've got time to kill. please bang away at this
latest snapshot to make sure the stable release is worthy of
the name.
Thanks,
Jeff Raven
r/include/string.h)
and see if FD_ZERO does in fact call bzero, it might help. I'd have
expected the include file containing the select macros to take care
of including bzero if they use it, but who knows?
Jeff Raven
my kernel anxious'). I think I've
got it fixed now... I've put up a new CVS snapshot which includes
what I think is a fix (in addition to a few other things).
Lemme know if it behaves any better than the last snapshot.
Jeff Raven
olor visual) I ran into other problems, possibly related
to a previously reported problem. Hopefully I'll have it all
cleared up tomorrow...
I should warn you though -- I doubt you'll find 8 bit TrueColor
any better than PseudoColor.
Jeff Raven
is creating such a large window is that it's
trying to display too many lines at too large a font. Configuring it
to use a smaller font, or to not show so many lines at a time should
make it more manageable.
If you need more concrete help, I can dig up the X resources I
used to use for emacs once I get home.
Jeff Raven
in case this spurs a few folks on to do a translation -- check
with me first, just to be sure no one else has started on the same
language. At the moment I don't know of anyone working on new
translations, though.
Jeff Raven
ppens every time i try it.
>
Hmm. Can't reproduce it here... anyone else out there having
this problem (or not)?
Jeff Raven
people who would occasionally use the systems insane because they
never new which button to use.
Jeff Raven
apple keys or something similar
in conjuction with a button press should get automatically translated
by X into button2 or button3... I've a friend that runs Linux/X on his
PPC Mac who I'll be seeing in about an hour; I'll ask him how he
survives with just one button.
Jeff Raven
Plus
no one ever clamors to make them configurable...
Peter Peltonen wrote:
> But what does the majority of Blackbox users think?
To quote Guido van Rossum :
"Python is not a democracy. Voting doesn't help. Crying may..."
Jeff Raven
possible that I lost some e-mails during
my recent move to a new development system, I'd appreciate
it if those of you who've reported problems to me in the
last week could stop by there over the weekend and check to
see that I've got your problem listed there it.
It's bug whoopin' time.
Jeff Raven
SIZE, but only 5-6M RSS.
Basically, I suspect the different servers/cards are using different
optimizations to speed performance (if you run X manually, take a
look at the info the X server spits out on startup), which involves
grabbing some extra memory which may or may not actually get used.
Jeff Raven
On Wed, Aug 16, 2000 at 10:17:14PM +0200, Wilbert Berendsen wrote:
> Today at 3:51pm, Jeff Raven wrote:
>
> > On Wed, Aug 16, 2000 at 07:09:12PM +0200, Wilbert Berendsen wrote:
> >
> > > exit a rxvt window _while_ moving it around causes the position box to
On Wed, Aug 16, 2000 at 07:09:12PM +0200, Wilbert Berendsen wrote:
> Today at 11:08am, Jeff Raven wrote:
>
> > Same here, although with XFree86 3.3.6 and Blackbox 0.61.0.
> > Everything seems to work as expected.
>
> on my box, suse6.4, kernel 2.2.14, x3.3.6 and blackbox
vs-20000806 version == 0.61.0 ?
>
Pretty much. A few nls files were modified... don't think there
was much beyond that.
Jeff Raven
the near future it will probably be
rechristened as the next stable release.
Jeff Raven
s is the problem, though, you could try
running another window manager and see if you get the same
problem. If you don't, let me know.
Jeff Raven
em, since it
will only make X actually use the custom fonts in a fontset;
characters in the current locale not covered by the custom font
(i.e. any non-ASCII character) will be drawn in a default (ugly)
font.
You can arrange for X to use a different font to fill in the holes
in the custom font, but no matter what you can still end up with
text using two different fonts.
Jeff Raven
d to be updated.
And of course, if there are any outstanding bugs still left in
the snapshot, let me know.
Jeff Raven
y the semester just wrapped up,
so I've got 2-3 weeks of free time ahead of me. (Plus my fiancee's
out of town for a few days.)
So I should have plenty of time to finish off the last of the
changes in the next day or so.
Codin' codin' codin'...
Jeff Raven
f you're using a package-based linux system, make sure
you've got the package with the headers installed. Most
distributions package the libraries and headers seperately
(for instance, RedHat puts them in XFree86-devel).
Jeff Raven
go find it...
>
Even easier -- if you're using one of the CVS snapshots, just go
to the workspace you want it on, open up the workspace menu and
middle-click on the XMMS entry.
[In the more recent CVS snapshots, left-click takes you to the
workspace the entry is on, while middle click moves it to the
current workspace.]
Jeff Raven
almost everything that is required.
So maybe once Blackbox supports the wm spec I'll look into writing
a slit app to handle the window manager's side of session management --
though I must admit that's rather low on my list of priorities right
now.
Jeff Raven
ne has been added). All of which would
be followed by a release of 0.61.0 (which will include the man
page). After that...
Hmm. Time to get my lazy ass in gear.
Jeff Raven
't, let me know.)
> And my third question (which might solve the first two as well) is,
> if there is an mailing-list archive on the web where i could find
> the answers for my future questions :)
>
Check out www.mail-archive.com -- there should be two archives there,
one for the old list at troll.no and one for the current incarnation
at trolltech.com.
Jeff Raven
I've put a new cvs snapshot up at
http://www.math.psu.edu/raven/blackbox.html
If you've been experiencing any of the glitches mentioned
on the list in the last day or so, check out the snapshot
and let me know if they're still around.
Keep the bug reports a-comin'.
Jeff Raven
gs correctly.
Assuming I haven't completely screwed up blackbox with these
modifications, I'll probably put up a new cvs snapshot with the
fixes tonight/tomorrow morning.
Thanks for the heads-up,
Jeff Raven
ge as little as
> possible (it can be optimized later). Patch attached (against
> 0.60.3) as 'blackbox-0.60.3-internal-border.patch'.
>
Check out the cvs snapshots I've put up at
http://www.math.psu.edu/raven/blackbox.html
Your issues 1), 4) & 5) are already taken care of in the
snapshots, plus a decent bit of other stuff, albeit in a
slightly different fashion.
Jeff Raven
> > bb-tools much easier.
>
> There are plans. Patience please.
>
Shh. It's a secret.
** whistles innocently **
Jeff Raven
1 - 100 of 129 matches
Mail list logo