Re: update-menus question

2006-11-19 Thread Ciprian Popovici
On Fri, 17 Nov 2006 08:51:36 -0800 Bob Powell [EMAIL PROTECTED] wrote:
 as i dug deeper into blackboxwm.sourceforge.net website i did find a 
 section Blackbox Documentation/Blackbox Menus/System Integration that 
 gets into some detail on the debian specifics of using update-menus 
 command. i just need to read and learn more about /etc/menu-methods/ and 
 how to actually get a executable blackbox file in that folder and what 
 the file contents should be.

You can grab a blackbox .deb file from a Debian mirror, it should have the
file you need. I've also attached the one I have, it goes
into /etc/menu-methods/blackbox. I use it by running this command in cron:

/usr/bin/update-menus --menumethod /etc/menu-methods/blackbox

-- 
Ciprian Popovici


blackbox
Description: Binary data


signature.asc
Description: PGP signature


Re: Xft and fonts

2006-09-23 Thread Ciprian Popovici
On Fri, 22 Sep 2006 16:35:04 -0500 Larson, Timothy E.
[EMAIL PROTECTED] wrote:
 That is indeed it...no Xft support.  If the BB that Fedora and NetBSD
 ship does not support Xft, it seems better not to use that syntax in my
 style.

OK, but please note that by using XLFD font notation you essentially
tell Blackbox you want it to use legacy X rendering for that font, in turn
giving up FontConfig support, which implies anti-aliasing! So you should be
careful what fonts you use. Many of them are notorious for looking
disgusting without AA.

-- 
Ciprian Popovici


signature.asc
Description: PGP signature


Re: style questions from a newbie

2006-09-17 Thread Ciprian Popovici
On Thu, 14 Sep 2006 13:56:23 -0500 Larson, Timothy E.
[EMAIL PROTECTED] wrote:
 OK, I get it.  Without knowing that, I assumed that frame would be
 around the three major elements of your first diagram.  I guess I
 thought that's how X worked, by reparenting windows in other windows to
 group them into one window.  I don't know how the three elements
 become one window without that, and if that is indeed happening after
 all, why we can't style the overall window.

X doesn't particularly care about window decorations. It will honor them
but not impose or describe them. It's the window manager's job to do that.
The thing that's essential is the innner rectangle where the application
actually lives. Try setting up a bbkeys combo to toggle decorations
off a window and see what's left. Adding anything other than that is up to
Blackbox and Brad has chosen to add a top and a bottom bar and a thin
frame. Other managers do it differently.

Changing this for purely aesthetical reasons won't fly. There are
performance issues at stake, first and foremost, since this design has
been chosen to be light and fast. There are also ergonomical issues and
the current design has proven very successful in this respect. Actually,
adding a full frame may do more harm than good, since Blackbox users
have come to expect to be able to right-click the left/right edge of a
maximized window to hit the frame and obtain the main Blackbox menu. Not
to mention changing the styles in major ways and losing backwards
compatibility and so on.

  Here are a few choices:
  * The Artwiz fonts, if they match your style's feel.
  http://x2.zuavra.net/index.php/58/
 
 Are there screenshots somewhere?

That page has a link to a website at the bottom, see there. Also try
Google Images.

 I found 13 fonts that were common across the three boxes I happen to
 have access to (and have X installed) at the moment.  Since I have not
 installed any additional fonts, I'll assume for now that these are my
 choices.

What are those 13, out of curiosity? Most Linux boxes probably have some
form of Arial, Helvetica or Courier, aside from the required default
fonts, but it's anybody's guess how they will look. Also consider whether
the recipient of a style has AA activated or not, hinting activated or not
and so on. Some fonts produce nasty suprises in different circumstances.
The Artwiz fonts -- and I think the fixed font too -- are bitmap fonts so
they're not subject to much rendering variance.

-- 
Ciprian Popovici


signature.asc
Description: PGP signature


RE: style questions from a newbie

2006-09-12 Thread Ciprian Popovici
On Mon, 11 Sep 2006 14:21:49 -0500, Larson, Timothy E.  
[EMAIL PROTECTED] wrote:

I understand the necessity of having per-user overrides.  I don't
understand why the style can't set defaults.  If a style is for getting
a certain look then it should be able to modify virtually anything to
achieve that - given that the user can override, of course.  I'm not
sure I want to change any of those things...but if my styles want the
toolbar TopCenter and 100% for aesthetic reasons, I don't see why it
shouldn't be able to.  The user could always override.


It's not that the user could override, it's that he (or, rather,  
Blackbox) WILL always override. None of the things you see in the rc  
are optional. Blackbox maintains the entire set of options by force,  
providing defaults if an option is missing or the value is invalid.  
The only option allowed to be empty (and thus overridable) is  
rootCommand, which is an exception for the sake of security.


What you're proposing is that a style be able to supply rc options.  
Except there wouldn't be any way for the user to signal that he wants  
to allow styles to override a certain option, since the rc entries are  
always there, one way or another. And I think you'll agree that it's  
not normal to allow a style take precedence over the rc.


The Blackbox way tries to clearly separate preferences that have to  
do with looks and preferences that have to do with functionality.  
IMHO, a style has no business affecting functionality.



Aha!  On the BlackboxDocumentation/BlackboxStyles/StyleSyntax page the
lists don't mention widget.appearance explicitly - it's only mentioned
at the top of the page.  So I was using toolbar: solid flat etc.
Oddly enough, it usually worked...


Yes, the styling part of the website docs still need some extensive  
love. For the moment there's just a few examples which obviously don't  
cover all the quirks. For the time being, I've added the example I  
gave you to that page.



I have been reading this already.  Installing new themes doesn't seem
the friendliest process for non-geeks, though.


I'm afraid Blackbox is not exactly your regular non-geek-friendly  
window manager, anyway. :)



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: style questions from a newbie

2006-09-12 Thread Ciprian Popovici

On Mon, 11 Sep 2006 21:31:39 +0200, Bernhard Fischer [EMAIL PROTECTED] wrote:

On Mon, Sep 11, 2006 at 02:24:53PM -0500, Larson, Timothy E. wrote:

What about fc-list?  Which is better?

I don't know which is better, i'm always using xlsfonts..


There's an (important) difference. There are actually two font  
subsystems used by X.


One is the X internal system, which was the first and is still used  
for backwards compatibility. In this system, available fonts are  
maintained by X internally. It finds fonts in several ways: using the  
settings in /etc/X11/xorg.conf (FontPath); loading fonts dirs on the  
fly using the xset command line tool (well, more like during X  
startup, from ~/.xinitrc); or getting them from the font server (XFS),  
if you use that. xlsfonts is the font report tool for this system, and  
there's also xfontsel, a graphical utility for exploring fonts easily.  
Fonts in this system are described in a notation called XLFD, which  
looks like this: -misc-fixed-*-r-*-*-10-*-*-*-*-*-iso10646-1. See  
xfontsel to understand the components of the notation.


The second font system is called FontConfig and is the modern one that  
will eventually replace the other (hopefully) and is in current use by  
all modern X desktop apps. It is configured via /etc/fonts/ xml files,  
or ~/.fonts.conf. It has a caching system managed via the fc-cache  
console tool. It uses fc-list to list available fonts. The font  
notation is FontName-Size:style=Bold, with the part after : being  
optional. See fc-list for valid combinations.


Blackbox 0.70+ uses both systems. It recognizes a font as being one or  
the other through the notation used (XLFD or FC). The important trick  
to remember is that only FC fonts will get anti-aliasing and all the  
other eye-candy (hinting etc.) So use of FC fonts exclusively is  
highly encouraged.



A safe bet should be something like:
*Font:  -misc-fixed-*-r-*-*-10-*-*-*-*-*-iso10646-1


Very safe, and very boring too.  :)


Actually, I forgot to mention this, but both font systems have a safe  
default. For X there are three aliases that are guaranteed to always  
be there: fixed (fixed-width font), cursor (mouse cursors), and  
variable (variable-width font). You can also use a full XLFD  
notation for fixed, but it's not guaranteed the user will have that  
particular kind of fixed (due to slant, weight, charset, size and so  
on).


For FontConfig there are also three fonts that are guaranteed to be  
there: sans (deprecated in favor of sans-serif but still usable),  
mono (deprecated by monospace) and serif. So you can use  
Sans-10:style=Bold as a good bet.


You should also know that Blackbox will try to fallback to something  
in case a style font can't be found. But I can't remember what to ie.  
if it uses a FC default for FC fonts. It definitely falls back to  
fixed for XLFD fonts and possible for all fonts.


There's also another issue here, that of multiple fonts. I think  
there's a request on the tracker about being able to supply multiple  
fonts and have Blackbox try them in order, like in CSS. But I have no  
idea what complications that might bring.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: blackbox 0.65 vs. 0.70

2006-08-23 Thread Ciprian Popovici
On Tue, 22 Aug 2006 12:24:34 -0500 Patrick Bogen [EMAIL PROTECTED]
wrote:
 If I had to guess, I would label a seamless upgrade between bbkeys
 versions a necessity, as well. As it is, they have incompatible
 configuration file formats, and the new bbkeys has no (a)
 configurator, or (b) conversion script.

bbconf could use an upgrade. From what I understand, it's based on a
plugin design, which would simply have to be updated to match the changes
in syntax in bbkeys 0.9 and blackbox 0.70. And yet it's been more than a
year without anybody touching it. Almost makes me want to learn C++
programming.

-- 
Ciprian Popovici


signature.asc
Description: PGP signature


Re: blackbox 0.65 vs. 0.70 (was: blackbox 0.70.1; bbkeys 0.9.0 - bbkeys crashes with invalid pointer)

2006-08-18 Thread Ciprian Popovici
On Thu, 17 Aug 2006 16:12:35 -0400 Jan Schaumann [EMAIL PROTECTED]
wrote:
 And these do remain my concerns.  From my point of view as somebody who
 supports a large number of users (many of which use blackbox), I can't
 just replace blackbox 0.65 with 0.70 without forcing those users to
 change their setups.  They would need to change their bbkeys
 configuration, at the very least, and many bbtools might not work
 anymore.

You can be fairly sure they won't work anymore. But as I said, there are
ample alternatives out there, in the form of panels, applets and dockapps.
I don't see the sense in clinging to a bunch of very old applications,
which don't respect the EWMH standard and which probably won't be updated
(if there were going to they would have by now).

As for Blackbox 0.70, it gives users the possibility to enjoy a EWMH
desktop and hundreds of applications that nowadays take it for granted. At
the very least one separate package should be provided, and one for bbkeys.
The ties with 0.65 have been severed rather abruptly and you'd have a hard
time finding files they have in common.

I agree that bbkeys is a must-have. However, switching over is not exactly
a tragedy. Once bbkeys starts and doesn't find a suitable bbkeysrc it will
use the default, installed under its own PREFIX. As a maintainer, you
could hack the source to look for something other than ~/.bbkeysrc
(such as ~/.bbkeysrc-new), just to make sure it doesn't try to use the old
setup users have around.

What happens then? Everybody who launches Blackbox 0.70 and bbkeys 0.9
will get basic keyboard functionality, including Alt+TAB and workspace
switching via Alt+digit, as well as (I believe). As a maintainer, you can
also add whatever else you think might be useful to the default rc file.

IMHO, an EWMH-capable Blackbox and a functional bbkeys is pretty much all
that a Blackbox user needs to get around. For a 0.65 NetBSD user, the menu
will still be there, his dockapps will still work. If he needs to tweak
his new bbkeys setup further he can, but he won't be penalized if he
doesn't have the time to do it right away. The bbtools may be gone but
replacement would be readily available.

-- 
Ciprian Popovici


signature.asc
Description: PGP signature


Re: Shadow support, take two

2006-04-19 Thread Ciprian Popovici
On Wed, 19 Apr 2006 17:26:05 +0200 Johannes Winkelmann [EMAIL PROTECTED] 
wrote:
 I've implemented the suggestions from the former thread and uploaded an
 updated patch to the tracker [1]. I also implemented shadows for the
 window buttons (minimize/maximize/close/itemize) and toolbar arrows,
 even though I'm not sure whether it's solved the best possible way.

I've been examining the button draw code for my own reasons (user
customized bitmaps) and in that respect I found it a bit lacking, because
constants aren't exactly suited for custom modifications. :) What issue
did you have with them? Off the top of my head, it seems like a simple
matter of checking if the shadow is activated and drawing the buttons
twice, with 2 colors, displaced by 1px right and down.

I can think of a couple of problems and I'm curious if you handled them.

1) Solid (aka inverted) buttons, the kind where the background is NOT
transparent.

2) Boundary checking. Adding shadows (to both text and buttons) will
increase the respective bars by 1px. Is there any case when the
button/text shadow runs off the bar? How about if we combine w/ problem
(1)?

-- 
Ciprian Popovici


signature.asc
Description: PGP signature


Re: Text shadows

2006-04-15 Thread Ciprian Popovici
On Fri, 14 Apr 2006 10:51:52 +0200 Johannes Winkelmann [EMAIL PROTECTED] 
wrote:
 On Thu, Apr 13, 2006 at 17:41:20 -0400, Joey Morris wrote:
  So I would suggest naming
  the attributes
  
window.label.focus.drawShadow
window.label.unfocus.drawShadow
 
 Agreed, that makes more sense. Should it maybe even be *.textShadow
 instead of *.drawShadow? I don't have a strong preference here, but
 since the colors are named textShadowColor, it might be a better
 choice. Opinions?

Joey suggestion does seem more intuitive. And textShadow does too.

Once you're put things together, it would help to make a tarball with
everything (patch, readme, styles) and open a patch on SourceForge.

-- 
Ciprian Popovici


signature.asc
Description: PGP signature


Re: bbkeys issue

2006-03-01 Thread Ciprian Popovici

On Wed, 1 Mar 2006 10:07:09 +0100, Bernhard Fischer [EMAIL PROTECTED] wrote:

   [Execute](Mod1-F10) {import ~/screen-`date +%Y%m%d%H%M%S`.png}
   [Execute](Mod1-F11) {/usr/sbin/vbetool dpms on;touch /tmp/dpms}
   [Execute](Mod1-F12) {xscreensaver-command -lock}


Do these work for you? For me with blackbox-0.70.1 and bbkeys from
around 2005-11-10 these three are specified in my .bbkeysrc but
apparently blackbox has them hardwired to the {horiz,vert,full}maximize
actions.


It's not Blackbox, it's still bbkeys. Check out your bbkeys config file 
and look

for toggleMaximizeFull, toggleMaximizeHorizontal and toggleMaximizeVertical.
IIRC they come with by default tied to ALT+F10/11/12, that's the gotcha. Of
course any later [Execute] won't work. :)

FWIW, there's very little that Blackbox hardwires. ALT modifier for window
dragging and resizing, Enter and arrow keys in the main menu, that's about it.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: gnome-panel vs Blackbox

2006-01-20 Thread Ciprian Popovici
On Fri, 20 Jan 2006 12:15:13 +0200 Ciprian Popovici [EMAIL PROTECTED]
wrote:
 I've decided to give gnome-panel a try. Only one problem so far: when it
 starts, it's not right against the top edge, there's a space there, as if
 there was another panel between it and the edge. But there isn't, it's
 empty space.

Disregard this... turns out I was somehow using an old CVS release of
Blackbox. The latest CVS doesn't have this issue.

-- 
Ciprian Popovici


signature.asc
Description: PGP signature


Re: bbkeys stylefile

2005-11-15 Thread Ciprian Popovici
Quoting Joey Morris [EMAIL PROTECTED]:
 Is there any way to set the bbkeys 'stylefile' config directive to point to
 the current blackbox stylefile without hardcoding it? I want the bbkeys
 style to change automatically whenever I change the blackbox style.

Not really, I'm afraid. There's no communication between bbkeys and blackbox
other than for standard-, window-handling- issues, and that's done via the
usual X channels.

Changing style together, or popping up the main menu, or such other stuff,
would require bbkeys and blackbox to agree on and implement some X atoms
which would be specific to their combination and useless otherwise. Both
their respective developers are a bit reluctant to go down that path, from
what I've seen, because, technically, bbkeys is a standalone application, not
part of the Blackbox suite, like bstyleconvert or bsetroot.

 I guess an alternative to bbkeys supporting this natively would be to put
 together some script to update .bbkeysrc whenever the blackbox style
 changes. I can't think of an easy way to do this off the top of my head,
 though.

You can run a script in the background. Make it grep your Blackbox rc file
(~/.blackboxrc, usually) for session.styleFile and check the resource value
with what it got on the previous run. If it changed, update .bbkeysrc. If
not, don't. Then sleep for a while, like 30 seconds, and cycle again.

This could be a shell script and you could start it from .xinitrc with the
rest of the desktop tools. If you can't write one let me know, I'll put one
together, it's not very complicated.

-- 
Ciprian Popovici

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: low color theme needed

2005-11-11 Thread Ciprian Popovici
On Thu, 10 Nov 2005 09:40:56 -0600 Larson, Timothy E.
[EMAIL PROTECTED] wrote:
 I'd like to find a theme that works well at low color depth (even 1-bit,
 for my SE/30) while still looking good at higher depths, so I can use
 the same configuration across all my machines.  (I may mount my home

Did you try the default Blackbox puts out when no style is found? Or use
bstyleconver on an empty file and see how you like the result. It's pure
black/white stuff, that means 1 bit and it's meant to be the absolute
lowest common denominator. This could actually prove to be a good
usability test for those defaults.

Note that they are not identical, the Blackbox default and the
bstyleconvert default.

-- 
Ciprian Popovici


signature.asc
Description: PGP signature


Re: bbpager vs blackbox 0.70.x

2005-11-08 Thread Ciprian Popovici
On Mon, 7 Nov 2005 22:12:24 -0600 Patrick Bogen [EMAIL PROTECTED] wrote:
 I experience the same delay with bbkeys- I can only assume it's some
 sort of initialization?

Sort of. I believe it's due to the need bbkeys has for checking that a
EWMH compliant window manager is running. Remember that bbkeys has to
actually be started before Blackbox, due to the way startx works. There is
no way to accurately predict how long will the window manager take to
start, so you can't really use the sleep trick reliably. And if bbkeys
tries to do its stuff without a window manager, it would crash and burn. I
think it actually did, in some earlier CVS version. So the delay is time
that bbkeys takes to determine that Blackbox is up and ready for action.
I'm not sure if the mechanism could be improved, but I suspect that if it
was possible, vanRijn would have done it.

No expert, me, just my 2¢ and MHO.

-- 
Ciprian Popovici


signature.asc
Description: PGP signature


Website copyright

2005-10-08 Thread Ciprian Popovici
I've just remember that we still don't have any copyright or licensing
terms declared for the contents of the official Blackbox website.

http://blackboxwm.sf.net/

It's a wiki, so ordinary copyright notices probably don't work, for sheer
lack of one single author to credit. There are multiple authors
and sometimes they are anonymous. Actually, establishing their identity
precisely is probably impossible.

The easiest would be to put it all in public domain and add a notice to
the edit page stating that the contributors assume all responsability for
the source of the stuff they add, and that they agree to put it in public
domain (provided it's not already licensed otherwise, of course).

There are licenses that can be used, such as Creative Commons or GNU Free
Documentation License. I'm not familiar with them so perhaps someone else
can tell us if they're appropriate for a wiki.

Wikipedia has a rather complicated set of terms in place, which spreads
several pages. I'd rather not go that far unless absolutely necessary. I
see that the Mozilla Knowledge Base also follows them:

http://en.wikipedia.org/wiki/Wikipedia:Copyrights
http://kb.mozillazine.org/MozillaZine_Knowledge_Base:Copyrights

-- 
Ciprian Popovici


pgpiWHLVEU6vx.pgp
Description: PGP signature


Re: bbpager for blackbox 0.70

2005-09-30 Thread Ciprian Popovici
On Fri, 5 Aug 2005 19:50:32 +0200 John Kennis [EMAIL PROTECTED] wrote:
 Hi,
 
 Finally a version of bbpager that works with blackbox 0.70, you can get
 it at http://bbtools.sf.net
 
 This is a beta release so thier might still be some issues.

I get a crash after switching desktops (via bbpager) a few times:

#0  0x4134baac in free () from /lib/libc.so.6
#1  0x4029da31 in operator delete(void*) (ptr=0x800)
at ../../../../gcc-3.4.4/libstdc++-v3/libsupc++/del_op.cc:40
#2  0x08058d57 in PagerWindow::propertyNotifyEvent(XPropertyEvent const*) ()
#3  0x4010acbc in bt::Application::process_event(_XEvent*) ()
   from /opt/.system/lib/libbt.so.0
#4  0x4010a4c1 in bt::Application::run() () from /opt/.system/lib/libbt.so.0
#5  0x0804d222 in main ()
#6  0x412f463d in __libc_start_main () from /lib/libc.so.6


-- 
Ciprian Popovici


pgphQkHexfK6u.pgp
Description: PGP signature


Re: Solution: popping up Blackbox menu via keyboard

2005-07-14 Thread Ciprian Popovici
On Tue, 12 Jul 2005 16:48:19 -0400 Jason 'vanRijn' Kasper
[EMAIL PROTECTED] wrote:
 [mouseClickRight]  (Mod1-Control-Shift-j) {+0+400}
 [mouseClickLeft]  (Mod1-Control-Shift-l) {+0+400}
 [mouseClickMiddle]  (Mod1-Control-Shift-k) {+0+400}
[...]
 I'm curious as to what people think though.

If you mean adding support for fake mouse events via keyboard, by all
means, go for it. There are many command line utils that implement this in
many ways and to various extents, it would be great IMO to have them right
in bbkeys.

These mouse events I think would be useful:
* click button 1/2/3 at coordinates X,Y
* move mouse cursor N pixels up/down/left/right
  [mouseMoveLeft] (shortcut) {10}
* place mouse cursor to coordinates X,Y
  [mousePlaceAt] (shortcut) {+10+10}

Another very interesting feature I can suggest in connection with the
above would be optional LIRC support, selected at compilation time. This
way bbkeys could become both a keyboard handler and a means to control the
mouse and the keys via infrared remote.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: call for help in maintaining bbconf

2005-07-14 Thread Ciprian Popovici
On Tue, 12 Jul 2005 22:42:31 -0400 Jason 'vanRijn' Kasper
[EMAIL PROTECTED] wrote:
 On Tuesday 12 July 2005 19:48, Keith Maika wrote:

 I could take a stab at it.  I'm not extreamly experienced with C++ or
 Qt, but I have messed around with them.

 The first and easiest thing to look at would probably be getting the
 blackbox style file changes up to snuff.  I'm not honestly sure what has
 changed in this space, but I think it's documented somewhere on either
 the Wiki (Ciprian, do you know this info?) or with blackbox itself
 (Bradley, do you have this documented somewhre?) as to what changed
 between 0.65 and 0.70.

It's not documented perfectly (ie. extensive explanations), but here are
some pages you can look at:
http://blackboxwm.sourceforge.net/BlackboxDocumentation/BlackboxStyles/

There's a full 0.70 example there, and a most up to date one can be
produced using bstyleconvert on a blank file.

I can also try to answer any questions anybody may have.

Perhaps it would be a good idea to talk to Anatoly Asviyan, the maintainer
of fbpanel, and ask if he would be interested in writing a plugin for
configuring fbpanel. I've taken the liberty to CC him.

I know that a graphical configuration utility for fbpanel has been marked
high priority for a while now on the fbpanel tracker, so he might be
up for it. I mean, he might just prefer to write a plugin instead of
writing a full GUI from scratch. The fbpanel config file has a simple
syntax and, naturally, he already has a parser written. The only issue I
see is that Anatoly is probably more versed in GTK/C than Qt/C++.

Many people use fbpanel together with Blackbox, from what I gather, so
this would make bbconf an even more popular and useful tool. 


-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Solution: popping up Blackbox menu via keyboard

2005-07-10 Thread Ciprian Popovici
I've posted a verbose description here:
http://blackboxwm.sourceforge.net/BlackboxFAQ/UsageAndFeatures

The solution works well and doesn't require any special support in
neither bbkeys nor Blackbox. It will most likely work with 0.65 too.

Thanks to Thomas Tretzmüller for finding xnee.

I've managed to reduce the macros produced by xnee to only 6 lines, which
are easy to adapt to any specific environment (hopefully). If anybody gets
into trouble, please report it here.

-- 
Ciprian Popovici

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: backgrounds using bsetbg

2005-07-02 Thread Ciprian Popovici
On Fri, 1 Jul 2005 11:49:11 +0300 Jason [EMAIL PROTECTED] wrote:
 Can anyone share tips about making crisp .png or .jpg backgrounds
 using bsetbg? I use a color depth of 16 at the moment with KDE. Do I
 need to increase this to 24 first?

Probably, yes. I've noticed myself that at 16 depth some backgrounds look
less then all right. It depends on how the image was created, of course,
but most people seem to create them for 24+.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: Iconify and raise with fbpanel

2005-06-09 Thread Ciprian Popovici
Quoting Dave Serls [EMAIL PROTECTED]:
   Going to reply to my own request.
   I know this is not the correct fix, but it things behave so well.
   For fbpanel 4.2, taskbar.c, there are two spots where
   XMapRaised is called to de-iconify a window.  This call is ineffective
   with blackbox on my system (X 6.8.2, GTK 2.6.7) for some reason.
   Adding
   Xclimsg(tk-win, a_NET_ACTIVE_WINDOW, 0, 0, 0, 0, 0 ); 'or'
   Xclimsg(tb-menutask-win, a_NET_ACTIVE_WINDOW, 0, 0, 0, 0, 0 );

   at these points seems to resuscitate the windows.

   Arrived at this by following Nyz indications for 'activate'.

You ought to record this fix on the fbpanel SF tracker as well.
http://sourceforge.net/projects/fbpanel

-- 
Ciprian Popovici

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: new features in bbkeys, CVS

2005-06-06 Thread Ciprian Popovici
On Mon, 6 Jun 2005 08:07:32 -0400 Jason 'vanRijn' Kasper
[EMAIL PROTECTED] wrote:
 and run xmacroplay :0 /tmp/button3.test, the menu does get opened and
 focus is transferred to it, so up/down/left/right keypresses works as
 one would expect.  The only thing is that this requires the user to know
 at exactly what coordinates to move the mouse pointer to before
 triggering a ButtonPress/ButtonRelease.  In other words, it's not a
 showRootMenu function this way.  It's a pressMouseButton3 function,
 being passed a geometry.  And if a window is in the way, the root window
 won't open.  =:(

All valid objections. And I can add that if you try xmacroplay from bbkeys
instead of the terminal, you won't be able to focus the bb menu either.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: new features in bbkeys, CVS

2005-06-06 Thread Ciprian Popovici
On Mon, 6 Jun 2005 08:07:32 -0400 Jason 'vanRijn' Kasper
[EMAIL PROTECTED] wrote:
[...]

With so many things that can go wrong, why bother implementing it in
bbkeys? We can just tell people how to implement the kludge with xmacro or
xnee and let it at that.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: new features in bbkeys, CVS

2005-06-05 Thread Ciprian Popovici
On Sun, 05 Jun 2005 03:51:43 -0600 Keith Maika [EMAIL PROTECTED] wrote:
 BTW, Any idea if/when bbkeys will be able to show the root menu.  I know 
 it's been brought up before, and if I remember right the thing was that 
 blackbox didn't have the fuctionality for it.  Just wondering if there's 
 been anything new, or if it's still the same.

You may remember I tried to work out a solution a little while back using
the xmacro utility. It didn't work perfectly, but Thomas Tretzmller
reported success with xnee instead of xmacro. I haven't had time to test
his solution, I'll get back to the list when I do. In short, it's about
using a command line tool triggered from bbkeys to emulate the mouse
activity necessary to popup the Blackbox menu.

-- 
Ciprian Popovici

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: Your Attention Please

2005-06-01 Thread Ciprian Popovici
On Sun, 29 May 2005 15:49:17 -0500 Michael Langley [EMAIL PROTECTED] wrote:
 OK, here's the deal.  Whenever I tell somebody that I use blackbox they
 inevitably assume that I use it because I have to.  People seem to think
 that because I run a minimal wm without Gnome or KDE that I'm 
 running an old PII with 128mb RAM or something similarly crappy. This 
 is simply not the case.  
 
 So I'm wondering what kind of hardware the average blackbox user is
 running on.

CPU: AMD Athlon(tm) XP 1800+ (1533 MHz)
RAM: 256 MB DDR
VID: GeForce2 MX, 32 MB

May I point out, after seeing the responses you got, that you're probably
not going to find very high specs in the Blackbox crowd. The very same
line of thinking that made them choose Blackbox will keep them from
upgrading just because it's cool.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: windows without decorations

2005-05-22 Thread Ciprian Popovici
On Fri, 20 May 2005 23:11:39 -0400 Jason 'vanRijn' Kasper
[EMAIL PROTECTED] wrote:
 It's actually not defined in the EWMH spec, but in the older ICCCM
 spec. _MOTIF_WM_HINTS, iirc.

And may I add, FWIW, tha EWMH expands upon ICCCM, it doesn't replace it.
ICCCM is still very much useful.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: windows without decorations

2005-05-20 Thread Ciprian Popovici
On Fri, 20 May 2005 14:09:44 +0200 James Dominy [EMAIL PROTECTED]
wrote:
 How, using Xlib only, do I specify to blackbox that I don't want a
 particular window decorated. This is for the purposes of popping up a
 tooltip window. I've chacked through the EMWH spec but I don't see
 anything that quite matches what I want. Should I be using the
 _NET_WM_WINDOW_TYPE hint? Is this a protocol specification? Something
 else? I've been hitting my head against a wall here for quite some
 time... I know, personal failure I never ask for help. I should have a
 sign around my neck saying confront me if I don't ask for help.

Try looking at the source of bbkeys, see what it does when it processes
the toggleDecorations command. Blackbox has to deal with every known kind
of window so I expect it's harder to find the answer in _its_ code.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: Solved... How do I stop Firefox window moving when losing focus?

2005-05-19 Thread Ciprian Popovici
On Wed, 18 May 2005 17:18:32 -0400 Walter Dnes [EMAIL PROTECTED]
wrote:
   Note that I launched Firefox 1152 x 800 pixels in an 1152 x 864
 session. Apparently, setting Firefox's width equal to the screen width
 is a bad idea.  There are also the window borders in addition to that.
 I noticed that when I grabbed a bottom corner to resize Firefox,
 Blackbox's width display said 2147483648 x 800 pixels!!!  If I slid it
 off the side of the screen and slid it back in (I'm running with only 1
 page) I ended up with a Firefox window that was 2 X 800 pixels !!!
 And I couldn't restore it to normal.
 
   Once I changed the launcher to start Firefox 1142 x 800, all this bad
 behaviour went away.  And Firefox stopped centring itself on the screen
 everytime it gained/lost focus.  This might be worth a FAQ entry.

Rather worth a bug report at this point. Something is wrong and it should
be filed so it's taken into account and (hopefully) fixed.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: Posting helper apps

2005-05-18 Thread Ciprian Popovici
On Tue, 17 May 2005 11:32:39 +0200 James Dominy [EMAIL PROTECTED]
wrote:
 current workspace, or iconified. Is there a repository for blackbox
 helper apps like this somewhere, where I could post the code? It's very

There's bbtools, but I don't recall the address. It's posted here though:
http://blackboxwm.sourceforge.net/BlackboxAddons/Software

There's also dockapps.org. Since your app loads in the slit and matches
the 64x64 size I think it qualifies as a dockapp.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: How do I stop Firefox window moving when losing focus?

2005-05-18 Thread Ciprian Popovici
On Mon, 16 May 2005 23:27:01 -0400 Walter Dnes [EMAIL PROTECTED]
wrote:
 On Mon, May 16, 2005 at 05:01:40PM -0400, Walter Dnes wrote
  On Mon, May 16, 2005 at 10:49:06AM +0300, Ciprian Popovici wrote
  
   Is it a recent Firefox? I've seen some wacky stuff in older versions,
   but nothing in the latest ones.
  
That was 1.03.  I checked again today, and the 1.04 (security) update
  is available now, along with a few other updates.  I've got a meeting
  to go to tonight.  I'll fire up the update process, which should be
  finished when I get home tonight.  Then I'll let you know if 1.04 has
  the same problem.
 
   Same thing happens with 1.04.  I now know another way to force this
 move.  Set Firefox window to 1152x800.  This leaves enough space to see
 fbpanel at the bottom.  Click on Help = About in Firefox (that's how I
 know it's 1.04), and then the OK button.  Firefox centres on the screen,
 and leaves a few pixels on the top, and a few pixels of the Firefox
 status bar are covered by fbpanel (because I've set fbpanel to
 always-on-top).

I can't seem to reproduce such behaviour with Firefox. Perhaps it has to
do with the Blackbox window placement options? What are you using? I have
cascade placement and ignore shaded windows.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: Blackbox menu via keyboard

2005-05-17 Thread Ciprian Popovici
Quoting Ciprian Popovici [EMAIL PROTECTED]:
 #!/bin/sh
 echo -e MotionNotify 1023 350\nButtonPress 3\nButtonRelease 3 |\
 xmacroplay :0.0

[...]
 Only one little annoyance: it works great when run from a terminal. BUT
 when run from bbkeys, either directly or via a shell script, it will popup
 the menu but the keys will still be bound to the last active window.

I think it needs some kind of X presence in order to work correctly.
bbkeys runs and executes commands in the background, on a text console.
If I run the above command from an open aterm, or if I user `aterm -e`
from bbkeys, it works as expected.

Not sure how to force that X presence. Perhaps if I could find a tool
that will open an invisible X window briefly just for the purpose of
executing a command...

-- 
Ciprian Popovici

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: How do I stop Firefox window moving when losing focus?

2005-05-16 Thread Ciprian Popovici
Quoting Walter Dnes [EMAIL PROTECTED]:
 wacky syntax.  Anyways, I move Firefox to the top of the screen and
 fbpanel is at the bottom of the screen, so they don't overlap.  Between
 the two of them, they fill the screen.  However, when I click on fbpanel
 to bring xterm to the top, the Firefox Window cetres itself on the
 screen.  This leaves approx 32 pixels at the top, and 32 pixels at the
 bottom.  Actually, it seems that most times I switch away from Firefox,
 this happens, but this is the most reliable, 100% repeatable sequence.

Is it a recent Firefox? I've seen some wacky stuff in older versions,
but nothing in the latest ones.

-- 
Ciprian Popovici

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Blackbox menu via keyboard

2005-05-16 Thread Ciprian Popovici
I figured out a trick to pop up the Blackbox via keyboard. It involves
using the xmacro tool pack, which you can get here:
http://xmacro.sourceforge.net/

...or from your distro's package manager.

It contains a command line tool called `xmacroplay` which can be used in
the following delightful way:

#!/bin/sh
echo -e MotionNotify 1023 350\nButtonPress 3\nButtonRelease 3 |\
xmacroplay :0.0

Replace the target coordinates and X server ID as needed. I thought it
would be a safe bet to target the middle of the right-hand screen edge on
a 1024x768 resolution. The above will move the mouse pointer there, then
push and release the right mouse button.

Only one little annoyance: it works great when run from a terminal. BUT
when run from bbkeys, either directly or via a shell script, it will popup
the menu but the keys will still be bound to the last active window.

If anybody can figure out why this happens or how to fix it, I'm guessing
we'd be making a lot of people happy.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: Snapping between Windows?

2005-05-09 Thread Ciprian Popovici
Quoting Daniel Röder [EMAIL PROTECTED]:
 is it possible to enable snapping between windows, not only between slit
 and windows? I read something about that in the documentation, but I
 find no clue how to enable it.

You need to get Blackbox from CVS, support for window snap was added
after 0.70 was released. Only had edge snap in 0.70. See this for help:
http://blackboxwm.sourceforge.net/BlackboxCVS

After you install it, edit your rc file and set the snap amounts to
non-zero to enable it. IIRC, you have session.edgeSnapThreshold and
session.windowSnapThreshold. Edge means the screen edges (well,
struts really, which also means panels, slit, toolbar, etc.).

-- 
Ciprian Popovici

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: NextWindowRegardlessOfWhetherItsIconifiedOrNot (please)

2005-05-09 Thread Ciprian Popovici
Quoting Walter Dnes [EMAIL PROTECTED]:
   Now that I finally have the latest bbkeys key bindings working, I
 notice that there is a next and previous window key binding for current
 and all workspaces.  Am I missing something, or is bbkeys missing a
 binding to cycle through all running programs?  I'd like a list that
 includes all windows, and allows me to raise them, even iconified ones.

I think there's a small policy problem here ie. going against the standard
-kind of thing. Iconified windows, by definition, are not supposed to
show in the task list. The whole point of iconifying is to get windows
out of the way as much as possible.

There's no minimization per-se in X, only shading and iconification. The
closest thing to minimization (as you see it in Windows, for example)
would be send-to-bottom, I suppose, but that's not a perfect match either.

I don't recall if bbkeys implements an option allowing you to cycle
iconified windows too. I doubt it, but since I never needed this I may be
wrong.

I can suggest another approach which I like a lot: fbpanel. I've
recently discovered that I can configure it to hold 2 taskbars at the
same time, one of which shows regular windows (icon+text) and the other
showing iconified windows (icon only). It's a very neat feature, kind of
like having minimize to tray for any window.

-- 
Ciprian Popovici

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: What's the current bbconf ?

2005-05-08 Thread Ciprian Popovici
On Sun, 8 May 2005 00:15:47 -0400 Walter Dnes [EMAIL PROTECTED]
wrote:
   is there a new version of bbconf?  And who is the appropriate person
 to ask for an update?

Try CVS. There are rumors it works rather well. The author is Jason
vanRijn Kasper, he's on this list as well, perhaps he can tell you more.

 Just one more wishlist item.  Is there a command to exit blackbox via
 bbkeys?

Bind a shortcut to `killall blackbox`.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: problems with 0.70

2005-05-01 Thread Ciprian Popovici
On Sun, 1 May 2005 01:13:31 -0400 Philip Webb [EMAIL PROTECTED] wrote:
 i've just updated to 0.70  have a few problems:
 
 (1) the background color appears correctly as green,
 then almost immediately changes to slate grey;

Where do you set the green? I hope it's not in your ~/.xinitrc. The
background command is overwritten by the rootCommand in the loaded style,
which in turn is superseeded by the session.rootCommand directive in your 
Blackbox rc file.

 (2) following a previous thread, i downloaded the CVS version of Bbpager,
 but it refuses to appear vertically  i can't change workspace by
 clicking;

Frankly, I gave up on bbpager from CVS, it seems to behave rather
strangely in many situations which are 0.70 related.

 (3) Bbkeys doesn't seem to be working, so the only way to change
 workspace is via the mouse wheel, which moves opposite to what one would
 expect;

You also need bbkeys from CVS, or the newly released 0.9.x version.
You could also use the toolbar for navigating workspaces. There's a patch
on the tracker which inverts the mouse wheel workspace change:

http://sourceforge.net/tracker/index.php?func=detailaid=1183577group_id=40696atid=428682

 (4) at first, 'startx' crashed, as Blackbox expected a Fluxbox
 background: i've deleted a line from the default  ~/.blackboxrc  to get
 around this.

By default blackboxrc you probably mean a 0.65 rc? Things have changed
a bit for 0.70. What line was that which made it crash?

 Blackbox 0.70 isn't usable as things stand, but while KDE is ok,
 i much prefer the elegance i experienced with Blackbox 0.65 .
 any suggestions to get me back there are welcome.

Just take a moment to migrate to 0.70 properly. It's been very usable for
almost a year now, if I dare say so.

Also, 0.70 can use lots of EWMH tools, see this page:
http://blackboxwm.sourceforge.net/BlackboxAddons/Software

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: problems with 0.70

2005-05-01 Thread Ciprian Popovici
On Sun, 1 May 2005 17:31:13 -0400 Philip Webb [EMAIL PROTECTED] wrote:
 050501 Ciprian Popovici wrote:
  The background cmd is overwritten by the rootCommand in the loaded
  style, which in turn is superseded by the session.rootCommand directive
  in your Blackbox rc file.
 
 ... but i don't see anything called 'session.rootCommand' in 'man
 blackbox'. i tried -- without success -- each of
 
   session.rootCommand: bsetroot -solid yellowgreen
   session.rootCommand: yellowgreen
 
 it works to set the background by hand from the configure line in the
 menu, but it isn't saved when i restart Blackbox.

That's strange, it doesn't work for me either, and I'm running one of the
latest CVS. IIRC, this option made it into CVS. We'll have to ask Brad
about it.

 does that mean there's no usable workspace pager for 0.70 ? (!)
 if so, that's a show-stopper for me.

I don't know about pagers that load in the slit. That particular breed may
indeed be hard to locate. But there are many pagers that work: gnome-
panel's pager, fbpanel's pager, rox-pager, kpager. Look for ewmh pager
or netwm pager on Google, FreshMeat or SourceForge and you should find
many.

  There's a patch on the tracker
  which inverts the mouse wheel workspace change:

  http://sourceforge.net/tracker/index.php?func=detailaid=1183577group_id=40696atid=428682
 
 sorry, you've lost me: what is the tracker  how would i apply the
 patch ? the present direction is quite counter-intuitive:
 the wheel should scroll down workspaces as it does down a WWW document.
 surely at least, there needs to be a configure option.

The tracker is part of the SourceForge services for the hosting of the
Blackbox project. See the above page (note that the URL wrapped). There's
a download link towards the end. Grab a source package for Blackbox,
either CVS or 0.70 stable. Unpack, go under the main dir. Run this:

patch -F100 -p1  /path/to/patch/file

See this for installing source:
http://blackboxwm.sourceforge.net/BlackboxDocumentation/CompilingBlackbox

  (4) at first, 'startx' crashed, as Blackbox expected a Fluxbox
  background: i've deleted a line from the default  ~/.blackboxrc  to
  get around this.
  By default blackboxrc you probably mean a 0.65 rc?
 
 it was when i started 0.70 without changing  ~/.blackboxrc :
 
   session.styleFile:  /usr/share/commonbox/styles/AlmostX
 
 that's the line i deleted, after which Blackbox started.
 previously, the system said:
 
   blackbox: managing screen 0 using TrueColor visual 0x23, depth 24
/home/purslow/.fluxbox/backgrounds/AlmostX-0.5.jpg  does not exist
/home/purslow/.xinitrc : line 5 : 7744 Aborted  blackbox

Rather strange. I'll try to reproduce the missing background image issue.
If my Blackbox doesn't crash it may mean it's been fixed and will surface
in the next stable version.

Just FYI, the style syntax and features have changed quite a bit from
0.65, and are not 100% compatible with Fluxbox styles anymore. Blackbox
0.70+ will try to import 0.65 and Fluxbox styles to some extent, with
various degrees of success, but it doesn't pull it off perfectly sometimes.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: Patch OldStyleResize

2005-04-30 Thread Ciprian Popovici
On Thu, 28 Apr 2005 20:21:59 +0200 Sascha Hdepohl [EMAIL PROTECTED]
bremen.de wrote:
 i have thought about this for some time (actually i implemented the
 toggle just days after 0.70 was released) and now for me i am convinced
 that the old style is simpler and faster to work with. You just dont
 have do care about which quadrant of a window you hit, hold alt and
 left-mouse to move the window and switch to right-mouse to adjust the
 windows size. This feature was the first in blackbox i got used to and
 which convinced me off blackbox being the windowmanager i was searching
 for.

There seem to be 2 different issues here, sorry I misunderstood.

Regarding handling, I can understand why some people would like the old
style better. The new style (quadrant-sensitive) has its merits too. An
option makes sense.

Regarding opaque vs transparent resize, I can't see why anybody would wish
for transparent. Opaque allows the application contained in the window to
run while the window is resized. Transparent freezes the application
during this time. But there's already an option for that, so the point is
moot anyway.

-- 
Ciprian Popovici

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: Turning off XY screen position coordinates

2005-04-30 Thread Ciprian Popovici
On Sat, 30 Apr 2005 00:53:41 -0500 Tony Thedford [EMAIL PROTECTED]
wrote:
 I have just begun to use Blackbox, have read through the docs  src, but
 didn't locate any info about enabling/disabling the x-y screen position
 coordinates. Does anyone know if the screen coordinates can be disabled
 in one of the config files or some other way? The option doesn't seem to
 be available.

I posted a patch that implements this.
http://sourceforge.net/tracker/index.php?func=detailaid=1193013group_id=40696atid=428682

You'll need to apply it to CVS. No idea if and when it will make it into
CVS.

After applying, use session.showGeometry: False in the Blackbox rc file,
or use the config menu.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: WM termination

2005-04-26 Thread Ciprian Popovici
On Mon, 25 Apr 2005 15:13:24 -0500 Patrick Bogen [EMAIL PROTECTED] wrote:
 Oh, yeah, forgot to mention: if it does use SIGKILL, you're out of
 luck as far as just intercepting the signal is concerned, since
 SIGKILL isn't allowed to be stopped- but by that same token, it's not
 supposed to be used as the first try at killing a process. Anyway, the
 idea of a script to clean up and kill blackbox instead of just exiting
 sounds like it might be the best option- this might be something worth
 incorporating into the main sources. Perhaps a Shutdown option as
 opposed to just Exit; killing blackbox to end the X session is
 probably a fairly common operation- I suppose the question is, can we
 consider sending a term/hup signal as part of blackbox's purpose of
 managing windows?

I'm not sure about that. AFAIK, X was designed around a watched
application, whose termination tells X to stop. I'm not even sure if X
actually kills apps itself or them dying is part of the x libs, as a
reaction to X being dead. Perhaps there's some options about this in the X
man pages?

Returning to Dave's problem: basically you need Sylpheed to die nicely,
right? I had the same issue when I pressed the power button; acpid
intercepts that and runs a script. That script would run poweroff
directly. I've inserted the following to allow Sylpheed to die nicely:

killall sylpheed  sleep 1

Instead of running blackbox directly from your .xinitrc, run a script such
as this:

exec myscript.sh

and myscript.sh being:

#!/bin/sh
blackbox
killall sylpheed  sleep 1

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: WM termination

2005-04-25 Thread Ciprian Popovici
On Sun, 24 Apr 2005 06:37:34 -0600 Dave Serls [EMAIL PROTECTED]
wrote:
 X 101:
 What signal is sent to applications when the window manager terminates
 normally? SIGTERM?
 
 Is any time given between the signal and the master process terminating?
 
 Asking because sylpheed terminates cleanly when done by a console
 SIGTERM, but not when I terminate blackbox.  This leaves corrupt mbox
 meta data.
 
 Thanks for any info (if I can grok it).

I suspect it doesn't have to do directly with the window manager. When the
wm dies, X is the one that terminates applications. I believe you can
devise a simple shell script using the `trap` Bash builtin command to
determine what signal it receives. Although if you say Sylpheed seems to
die a messy death, a SIGKILL may already be suspected.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: PixmapCache: maximum size exceeded

2005-04-17 Thread Ciprian Popovici
On Thu, 14 Apr 2005 23:23:07 +0200 Jukka Salmi [EMAIL PROTECTED]
wrote:
 Yes, I'm using the latest sources from CVS. There has not yet been a
 formal release for Blackbox 0.70.0, so it's probably best to just wait...

I meant a formal release for bbpager. Blackbox does have a 0.70 stable and
official version out.

 It's name has changed to ~/.bbtools/bbpager.rc. I'm using the default
 file.

If you're using Blackbox 0.70 or CVS, and bbpager CVS, then this could be
a bug and we can start debugging with you detailing just how exactly is
bbpager misbehaving. The earlier description was not very clear for me I'm
afraid.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: 0.70 and mplayer fullscreen toggle SOLVED

2005-04-17 Thread Ciprian Popovici
On Sat, 16 Apr 2005 23:25:56 -0500 Patrick Bogen [EMAIL PROTECTED] wrote:
 This thread helped me better my understand of the problem, so I
 thought I'd share my results. This little beauty is caused by the fact
 that Blackbox 0.70.0 tries to obey both the aspect hints and the
 fullscreen hints (that's why it works if you watch a 4:3 film). So,
 anyway, wrote a fairly simple patch against MPlayer CVS that fixes
 this. You can grab it at
 http://quijibo.physics.tamu.edu/~pdbogen/fixforblackbox070.diff .

Should I take it that it the issue is with MPlayer and not with Blackbox?
Can you explain how the patch solves the problem, for those of us who
are not experienced enough in C++ or/and MPlayer code?

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: PixmapCache: maximum size exceeded

2005-04-14 Thread Ciprian Popovici
On Wed, 13 Apr 2005 10:10:15 +0200 Jukka Salmi [EMAIL PROTECTED]
wrote:
 I'm running Blackbox 0.70.0 and the latest CVS version of bbpager on
 NetBSD. When starting bbpager from ~/.xinitrc, I get
 
   bt::PixmapCache: maximum size (2048 kb) exceeded
   bt::PixmapCache: current size: 17408 kb
   bt::PixmapCache: maximum size (2048 kb) exceeded
   bt::PixmapCache: current size: 17408 kb
   [...]
 
 most of the time (but not always...).

The first part is nothing to worry about. Blackbox internally limits the
pixmap cache to 2 MB and periodically refreshes it by discarding the
oldest pixmaps. The message is purely informative; it reports how big the
cache limit is, that it was passed, and how much data was discarded so far.

It has nothing to do with bbpager.

 If this happens, bbpager seems to run, but I almost can't see it: the
 pager is very small (in width; height is normal).
 
 As a workaround, I start bbpager from ~/.xinitrc with
 
   ( sleep 1; bbpager ) 
 
 When started like this, I've never seen the problem described above.

First of all, make sure you use the bbpager pulled from CVS. I'm not sure
if there was a formal release for a bbpager that will work with Blackbox
0.70+.

Second, check your bbpager configuration in ~/.bbtools/bbpager.bb (IIRC).

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: Windowframe on poedit

2005-04-10 Thread Ciprian Popovici
On Sun, 10 Apr 2005 09:00:23 +0200 Jens Krner [EMAIL PROTECTED]
wrote:
 Hi,
 On Sun, Apr 10, 2005 at 12:40:46AM -0500, Michael Langley wrote:
  
  Jesus H that was a rather large attachment.
 
 Oops, sorry, wrong picture. Should've been the sized pic of what I sent.
 I use dyndns.org and my box is not always online but I promise the next
 time...
 http://koerner.homelinux.net/fotos/poedit.sized.png

OK, so you don't have resize grips. Perhaps poedit doesn't like to be
resized? But then again you wouldn't have a maximize button if it didn't.
I'll get poedit and try myself (gave me some trouble last time I installed
it). You can probably file a bug report and attack that picture. What
poedit version is it? I'm guessing you compiled against wxgtk linked with
GTK v1 from the picture?

-- 
Ciprian Popovici

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: Windowframe on poedit

2005-04-10 Thread Ciprian Popovici
On Sun, 10 Apr 2005 13:58:45 +0200 Jens Krner [EMAIL PROTECTED]
wrote:
 solved that problem by purging the whole thing :[
 I got better things to do instead of playing with applications on a
 sunday. Xemacs does the same translation without that crab window --
 back to the roots =:)

Can't blame you there. Just tried a poedit + wxGTK combo and failed
miserably. I will try again, I seem to need a 2.5.x release of wxGTK.
FWIW, in order to obtain a poEdit built with GTK v2, your wxGTK needs to
be built with GTK v2.

But as you said, I should be out biking on a nice Sunday like this, which
is what I'll do.

-- 
Ciprian Popovici

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: .xinitrc/.xsession file fails to get loaded

2005-03-29 Thread Ciprian Popovici
On Tue, 29 Mar 2005 14:57:41 +0100 Simon Morgan [EMAIL PROTECTED] wrote:
 The problem is  that when I run a GNOME/GTK+ program in Blackbox, it
 uses the ugly default GTK+ theme. If I start gnome-theme-manager and
 select a theme and then restart the program, it uses that theme and
 all is good. However, as soon as I logout and back in again it reverts
 to the default again. I was told that having gnome-settings-daemon
 running would store the theme settings across sessions.

You need a ~/.gtkrc-2.0 file for GTK+ v2 apps and a ~/.gtkrc file for GTK+
v1. Basically they are a copy of the gtkrc file found in that particular
theme's directory, with some stuff adapted for local use. So you need a
tool that produces and adapts these gtkrc files. The best is probably
the Control Panel (or whatever it's called in Gnome). There are 3rd party
tools, perhaps others can suggest their favorite. I also have a couple of
Bash scripts that can produce them for you, if you don't mind switching
GTK+ themes from the console and no preview. Contact me privately
(anybody) if you want them, this is not exactly a Blackbox issue anymore.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: problem with bb and one of my applications

2005-03-28 Thread Ciprian Popovici
On Mon, 28 Mar 2005 10:17:10 -0600 Kevin Tomasek [EMAIL PROTECTED]
wrote:
 one of my applications, synplify_pro, behave badly while running under
 bb.  
  
 it renders the parent window inoperable, even though running background,
 and the application will not exit.  i have to go to another window and
 kill -9 to get rid of it.  a lot of the applications other buttons seem
 to work OK.  i switch to TWM and everything is fine.
  
 is there any switches/debug tools to figure out what is going on?

Can you try under other window managers? Perhaps kwm or metacity? I'm not
sure twm contains the latest EWMH stuff.

Does Blackbox behave strangely too or just your app? You can probably
debug your application using command line tools that report the state of
EWMH flags for that window. Stuff like xwininfo or wmctrl, perhaps others
can suggest more.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: unfocused windows when switching workspaces

2005-03-28 Thread Ciprian Popovici
On Sun, 27 Mar 2005 21:48:02 -0500 Joey Morris [EMAIL PROTECTED] wrote:
 I'm using blackbox 0.70.0, and I have Focus Last Window on Workspace
 enabled. I'm noticing some strange behavior with focused/unfocused
 windows when switching workspaces.

It would be for the best to open a bug on the tracker and paste all your
findings there. It helps Brad to have bugs neatly aligned and documented.
http://sourceforge.net/tracker/?group_id=40696atid=428680

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: icon submenu

2005-03-24 Thread Ciprian Popovici
On Thu, 24 Mar 2005 13:19:21 -0600 Kevin Tomasek [EMAIL PROTECTED]
wrote:
 what is the easiest way to bring up the icon submenu with a single click 
 or keystroke?

With the mouse, I do this: take the pointer hard to right against the
right screen edge; middle click; lower the pointer slightly; there you are.

With 0.65 you could tear off the iconified window menu and leave it
hanging around, but 0.70 hasn't reimplemented tear-off menus.

As a visual alternative, I use fbpanel, which lets you see the iconified
windows all the time in the form of a taskbar.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: expected or unexpected warning messages

2005-03-23 Thread Ciprian Popovici
On Tue, 22 Mar 2005 12:14:45 -0600 Kevin Tomasek [EMAIL PROTECTED]
wrote:
 i am getting the following message whena  new window pops up.
 
 bt::PixmapCache: maximum size (2048 kb) exceeded
 bt::PixmapCache: current size: 3046 kb
 
 is this something to be concerned with??

No. Blackbox limits the texture cache to a fixed, hardcoded, limit (2 MB),
and reports when it fills up. It's purely an informative message.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: big fat title bars, no text

2005-03-23 Thread Ciprian Popovici
On Tue, 22 Mar 2005 13:04:55 -0500 Adam Klaum [EMAIL PROTECTED] wrote:
 I too am having this problem.  I have been trying some styles that
 utilize the artwiz fonts.  I have been beating my brain over this and I
 am absolutely sure that the fonts have been installed correctly.  I can
 see all of the artwiz fonts in xfontsel and I can also open up an xterm
 that uses the fonts (i.e. xterm -fn mints-strong) and that works too,
 but if I try and use that style I get the big fat title bars and no
 text. If anyone has any idea on this it would be much appreciated.  I am
 using:

Send me that style. I can't reproduce the problem with just the fonts,
perhaps the style has something special (it happened on another occasion
too).

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: linux format

2005-03-13 Thread Ciprian Popovici
On Sun, 13 Mar 2005 06:23:06 + Robert Marshall 
[EMAIL PROTECTED] wrote:
 I see that the latest linux format mag (for April) has a review of 
 blackbox - and other minimalist window managers -  and inevitably it 
 mentions 0.65 as the latest release - well I guess it was at the 
 printers when 0.70 was announced. Hence it mentions hackedbox for 
 getting rid of the toolbar.
 
 Reasonable writeup though I did wonder at 'no plans to add functionality'
 I'd have thought there were some new features in 0.70
 
 The author is the convenor of our local LUG so I've sent him an email...

Bad timing, that's all. I imagine takes some time to get a magazine issue 
ready, and once you're comitted it's too late.

The no plans to add functionality bit I think was used some time ago (by 
Brad?) IIRC it was used in the sense no functionality above the strict 
necessities, but I don't know how it was interpreted in the article. Was 
it taken out of context, as in doesn't plan to move past 0.65 anymore?

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: bbmail quandary

2005-03-13 Thread Ciprian Popovici
On Sun, 13 Mar 2005 16:05:10 -0700 Dave Serls [EMAIL PROTECTED] 
wrote:
 Just can't determine why bbmail is NOT reading the configuration file at 
 $HOME/.bbtools/bbmail.bb for all other users here except me.
 I'm initalizing via .xsession, others are defaulting to the script called
 from /etc/X11/wmsession.d  
 I'm without clue on this.

Start with the basics, compare the scripts and environment for yourself 
and for the others. Dump the contents of `set` somewhere for different 
persons, see what differs. Maybe $HOME takes a strange value for instance.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: Blackbox Gentoo

2005-02-17 Thread Ciprian Popovici
On Wed, 16 Feb 2005 20:28:46 -0800 Marc Wilson [EMAIL PROTECTED] wrote:
 On Sun, Feb 13, 2005 at 01:09:37PM -0500, [EMAIL PROTECTED] wrote:
  some good news from Gentoo: yesterday, i did my weekly system update
   found among the packages which had been upgraded 'bbrun' (now  1.6 );
  i emerged it  it seems to be working ok.  this suggests
  that the new maintainer at Gentoo is indeed positively supporting
  Blackbox.
 
 You know, I've been meaning to ask this for a couple of weeks... why does
 anyone care whether or not Gentoo gets their head out of their collective
 ass regarding shipping blackbox or not?

 Gentoobies are all about version churn.

It's not really about pushing Blackbox to Gentoo as it is about it not
being thrown out of the Gentoo software base for the wrong reasons. That's
how I perceived this.

I also think there's no need for Blackbox evangelism, if that's what you
meant. Only certain people really like using Blackbox, there's no need to
force it on the others.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: bbkeys doens't maximse

2005-02-11 Thread Ciprian Popovici
On Fri, 11 Feb 2005 06:58:52 -0500 [EMAIL PROTECTED] wrote:
 i'ld say it's important for Blackbox to make a good public announcement
 when 0.70 is finally ready for the big time, so that distros will adopt
 it. it would also help both users  distro managers,
 if Blackbox  its many disparate bits could be seen all together,
 preferably with a neat WWW site describing it properly.
 i know it takes work  might volunteer to do a bit myself,
 but my first impression of Blackbox was of deserted premises ... 

If it's anything you think the website is lacking let's discuss it.
Blackbox development has its very slow days which sometimes amount to
months, that will never change.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: bb changing workspace (rather than me!)

2005-02-10 Thread Ciprian Popovici
Quoting Robert Marshall [EMAIL PROTECTED]:
 Not sure whether this last one is another aspect - with lbreakout2 running
 in full screen, I'm seeing focus suddenly being lost, the window then goes
 to being non-full-screen (and I drop the ball :-()

I think in this particular case it has to do with lbreakout2. I talked
with the author a while back and he said lbreakout2 should do something
that prevented other windows from hindering its full screen. Dunno if
he implemented it since.

-- 
Ciprian Popovici

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: bug with frameWidth?

2005-02-10 Thread Ciprian Popovici
Quoting Russ Burdick [EMAIL PROTECTED]:
 Hi all. running blackbox/bbkeys/bbpager all from CVS today and I noticed a
 difference from teh old 0.65.0 behavior. I'm used to seeing a thin white
 border around my windows that doesn't seem to be there anymore. changing
 the
 relevant-looking window.frameWidth parameter in the style doesn't seem to
 change anything (nor does the 0.6x compatibilty param frameWidth). as a
 result the windows tend to get lost when they're the same color as the
 background (or transparent). is this intentional or have I found a bug?

The frame suffered some modifications in 0.70. See README.styles in the
package. What you're looking for now is window.frame, to which you can apply
color, border and all kinds of things. FYI, in 0.70 the frame doesn't go
all around the client anymore, it only shows on the left/right sides of
the window.

-- 
Ciprian Popovici

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: bb changing workspace (rather than me!)

2005-02-10 Thread Ciprian Popovici
On Wed, 9 Feb 2005 22:27:04 + Robert Marshall
[EMAIL PROTECTED] wrote:
 Is this annother configuration possibility, it looks as if 'focus new
 windows' is responsible - though in both those cases - it doesn't look
 like a new window?

Yeah, I got this too with already existing windows, such as Gaim chat
windows. They seem to do something to draw attention to themselves. :) You
saying that disabling focus new windows prevents both new windows and
already existing windows from calling workspace focus? Perhaps a separate
option would be in order, but someone more knowledgeable should tell us if
the events are indeed different. If so, we could log a request.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: 0.70 and mplayer fullscreen toggle SOLVED

2005-01-30 Thread Ciprian Popovici
On Fri, 28 Jan 2005 09:49:00 +0200 Ciprian Popovici [EMAIL PROTECTED]
wrote:
 Quoting Marc Wilson [EMAIL PROTECTED]:
  The problem is *definately* mplayer, not the window manager.  I wish
  I'd saved the reference to the mplayer-dev posting that described the
  fault.
 
 I believe. As I told Brad, other apps seem to go fullscreen properly,
 so all evidence indicates it's mplayer's fault. I'll grab another version
 and report back.

Well, pre6a works fine, but the strange thing is that pre5 now works as
well. I don't know what I could have done to make it work properly. This is
very strange, but since I moved to pre6a anyway... I guess it doesn't
matter anymore.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: making scroll mouse an option

2005-01-29 Thread Ciprian Popovici
On Fri, 28 Jan 2005 18:40:10 -0600 Michael Langley [EMAIL PROTECTED] wrote:
 Ah, that's my mouse wheel patch.  I didn't know it had made it into
 Gentoo.  The patch was accepted a few weeks ago and I saw some mention
 of mouse wheel configurability making it into cvs so it will probably
 show up in 0.7x sooner or later.  I also have another version of that
 patch for 7 button mice so you can change workspaces with buttons 6 and
 I could throw that on the sourceforge site if anybody is interested.

That explains it. Well it can't hurt to put it there, it will make things
easier for Brad.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: making scroll mouse an option

2005-01-28 Thread Ciprian Popovici
On Fri, 28 Jan 2005 11:19:13 -0500 [EMAIL PROTECTED] wrote:
 050128 Bradley T Hughes wrote:
  Sean Perry wrote:
  The scroll mouse for workspace changing is not making me happy.
  I am about to make it a toggle option in the Blackbox configure menu.
  Any opposed?
  Nope :)
 
 hey, not so fast (smile)!
 i use the mouse wheel to change desktops  shade via the toolbar:
 to me, it's a basic feature of Blackbox.
 my desktop menu contains the path 
 
   Configure - Configure - Mouse wheel - Changes workspace (X)
Changes focus
Reverse scroll
 
 so it's already a toggle AFAICS : just what do you propose to change ?

Umm, what desktop menu is that? My Blackbox config menu from 0.70 doesn't
have anything about mouse wheel.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: Proposed style syntax changes

2005-01-27 Thread Ciprian Popovici
Quoting Bradley T. Hughes [EMAIL PROTECTED]:
 Ciprian Popovici wrote:
 I think that covers it... I had a crazy idea the other night in my
 sleep: adding a checkered texture which would work like interlaced,
 except that it would render a checkered looking textures instead of
 stripy :)

Nice.

  I may have to plead ignorance in regard to the patch if we go with
  this. I can change some names in the code, but prefering color1+2 in
  certain cases and backgroundColor in others may be over my head.

 This should be fairly straight forward... it's just changing
 bt::Texture::textureResource() (or whatever it's called) to look up the
 right names.

I'll look into it, see what comes out, that's if you don't beat me to
it.

 To me, foreground is generic enough.  We use it not only for various
 pictures (close, maximize, iconify, arrows), we also use it for
 drawing menu separators.  In the future, we may have other things that
 need to be drawn, and using the foreground color makes sense to me.

Speaking of separators, how about a little more space around them?
Just a few more pixels. I think they are excessively short right now,
they look almost like an underline for the above text.

Something else: you may have noticed a recent request on the tracker,
related to the window frames. I had no idea 0.70 still has frames,
does it? The poster even provided a screenshot showing frames that
unlike 0.65 are drawn exclusively on the sides of the windows. If
there are still frames, his request makes sense: ability to set
different colors for the focused and unfocused window frames.

And since you're in the mood for style changes, I'll ask your
opinion on one last thing: embossed and shadowed texts. This can
be easily worked out by drawing texts twice or three times,
with different colors. Draw it once, it looks like today. Draw
it twice, second time below and slightly to the left and down
with darker color, looks like a shadow. Draw it three times,
second like a shadow, third up and to the left, it can look
like embossing or carving, depending on the colors.

I don't want to put it in just yet, it may be some work deciding
on style resource names and so on. I may work on this myself
whenever I get the time. But what I wanted to know is whether
this falls too much in the eye-candy category. It definitely is
purely a cosmetic gimmick. Would it impact Blackbox performance
negatively? The Blackbox motto is be fast, after all.

-- 
Ciprian Popovici

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: 0.70 and mplayer fullscreen toggle SOLVED

2005-01-27 Thread Ciprian Popovici
On Thu, 27 Jan 2005 10:44:03 +0100 Bradley T Hughes [EMAIL PROTECTED]
wrote:
 Ciprian Popovici wrote:
 [snip]
  These defaults result in defective fullscreen attempts (the missing
  bottom quarter I described). Who's around that uses the FULLSCREEN
  hint and messes with mplayer? I'm thinking it's the root window...
 
 I may have to install mplayer to see what is going on... Blackbox 
 0.70.0rc (or cvs) does really well with fullscreen windows like FireFox, 
 Konqueror, etc.

Yeah, tvtime also doesn't have any problems. May have something to do with
mplayer. Now that you've mentioned it I noticed a fullscreen tvtime will
behave just as I wish mplayer did.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: 0.70 and mplayer fullscreen toggle SOLVED

2005-01-27 Thread Ciprian Popovici
Quoting Marc Wilson [EMAIL PROTECTED]:
 The problem is *definately* mplayer, not the window manager.  I wish I'd
 saved the reference to the mplayer-dev posting that described the fault.

I believe. As I told Brad, other apps seem to go fullscreen properly,
so all evidence indicates it's mplayer's fault. I'll grab another version
and report back.

-- 
Ciprian Popovici

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: Proposed style syntax changes

2005-01-26 Thread Ciprian Popovici
On Wed, 26 Jan 2005 23:07:09 +0100 Bradley T. Hughes
[EMAIL PROTECTED] wrote:
 this is not too bad, provided we change the names for the gradient 
 colors (i.e. color1 and color2 instead of color and colorTo)

That might be even better. So background for solid and color1 and 2 for
interlaced and gradients (am I forgetting something?)

I may have to plead ignorance in regard to the patch if we go with this. I
can change some names in the code, but prefering color1+2 in certain cases
and backgroundColor in others may be over my head.

 I don't really like this change.  I like foregroundColor better, which 
 is why I changed it to that :)

I suspected you like it. Did you have some future development in mind for
this? I still think foreground is too generic; after all, text is
foreground too.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: newcomer's queries: follow-up

2005-01-25 Thread Ciprian Popovici
Quoting Marcin Cylke [EMAIL PROTECTED]:

 W dniu Mon, 24 Jan 2005 22:43:20 +0200
 Ciprian Popovici [EMAIL PROTECTED] napisales:

   well, if Bbconf has been abandoned, perhaps you could adopt it ?
 
  It would be ok if it didn't involve learning C... :)

 Sounds as a very good idea to use the existing bbconf code. Who should I
 contact to ask whether it is possible to use the code or not?

Last time I checked, bbconf was released under GPL v2 so you can
go right ahead and hack on it. See http://bbconf.sourceforge.net/.
Last release is almost 2yr old, so it's for Blackbox 0.65 and the old
bbkeys.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



*font syntax can lead to crash

2005-01-24 Thread Ciprian Popovici
If you specify an improper fontconfig font handle, such as just Verdana
instead of Verdana-10, it will make Blackbox crash. Can anyone confirm
this with a Blackbox 0.70 compiled with xft?

Brad, does Blackbox depend on fontconfig now? What font-selection syntaxes
are valid for *font style directives? The above seems to suggest a fallback
is failing somewhere.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: Latest CVS code slit/gkrellm behavior is odd

2005-01-24 Thread Ciprian Popovici
On Mon, 24 Jan 2005 08:22:20 +0100 Bradley T Hughes [EMAIL PROTECTED]
wrote:
 I don't use gkrellm, so I'm just guessing, but it seems like gkrellm is 
 not being put into the slit (since it's not visible on all workspaces).

Last time I used gkrellm (before I discovered dockapps), it needed a
special parameter to go into the slit.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: newcomer's queries: follow-up

2005-01-24 Thread Ciprian Popovici
On Sun, 23 Jan 2005 16:00:07 -0500 [EMAIL PROTECTED] wrote:
 however, i can't get the slit to appear: it doesn't seem to be present.

How do you try to make it appear? It only appears when you load something
in it, therefore I'm guessing you haven't managed that just yet. You said
you were using a 0.65, right? Try getting a dockapp and running it. Try
wmcpuload, for example.

 this might be something done by Gentoo, whose developers were complaining
 that Blackbox was ancient, unmaintained  prone to multiple bugs
 (i've tried to educate them  they seem to have backed off for now).

Thay may have had some points in regard to 0.65, although I may argue with
at least some. No excuse with 0.70 as far as I am concerned.

 i can live without the slit, but might i suggest a new feature ?
 a config option to prohibit windows from covering margins around the
 screen, which would allow me to define a  35 pixel  margin down the left
 edge.

There's already a standard in EWMH, describing what is referred to as
struts. It says that windows can reserve portions of the screen so as
other windows try not to cover them. This is what all the panel-like
applications (including the RoX bar, fbpanel, the Blackbox slit and
toolbar) do. This includes KDE and Gnome such applications. So give the
slit another try, it may get you what you want and then some bonus.

The slit is very important IMO. Too bad newer desktop environments ignore
the power of dockapps and abandon the good old docks in favour of
complicated panels with applets and whatnot. I once tried to get some
dockapps going using a KDE environment. It was very hard finding a
standalone slit-like application that would swallow dockapps, and the
outcome was quite unsatisfactory. As I said back then too, we take Blackbox
for granted and don't even realise what the poor users of other window
managers have to do to survive. :)

 in the course of my fine-tuning i've found several apparent bugs:
 (1) Blackbox crashes when in  ~/.blackboxrc  i make 
   session.screen0.slit.onTop: True
 it says it can't find an Aqui theme, but i'm using Almost-X ;

0.65, right? Even if it's a bug, it won't be fixed. I believe the
official stand for 0.65 is all hands, abandon ship. Better intensify your
lobby for pushing 0.70 into Gentoo.

 (2) in Bbconf, 'Alt-key' doesn't work for key assignments;
 (3) 'apply' in Bbconf doesn't actually apply till Bbconf exits;

Is bbconf still around? Does anybody have any word from the author? It may
very well be an abandoned application by now. I may grow frustrated enough
one of these days to put together a graphical Blackbox configurator,
with the possible downside that it would be written in PHP-GTK.

 (4) when i start Bbpager from the desktop menu, it goes where i want it,
 ie the bottom left corner as defined in  ~/.bbtools/bbpager.bb ,
 but when i use 'restart' in the menu, the pager starts at top left.

Try using bbpager -w, see if it goes into the slit, and then configure the
slit to go wherever you want.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: newcomer's queries: follow-up

2005-01-24 Thread Ciprian Popovici
On Mon, 24 Jan 2005 15:11:15 -0500 [EMAIL PROTECTED] wrote:
 050124 Ciprian Popovici wrote:
  I may grow frustrated enough one of these days
  to put together a graphical Blackbox configurator,
  with the possible downside that it would be written in PHP-GTK.
 
 well, if Bbconf has been abandoned, perhaps you could adopt it ?

It would be ok if it didn't involve learning C... :)

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: Blackbox 0.70.0 Release Candidate now available.

2005-01-23 Thread Ciprian Popovici
On Mon, 24 Jan 2005 08:19:13 +0100 Bradley T Hughes [EMAIL PROTECTED]
wrote:
 I think he's looking more for something that is runtime evaluated, so 
 that he can have it in his own menu, not something put into the default 
 menu (which some people may not use).

Perhaps it would be a (good?) idea to have a place where various
current settings for Blackbox are reported. The obvious place is the
[config] menu. What I feel is sorely missed is the Blackbox version and the
currently selected style. Perhaps a submenu called reporting, with
disabled entries, which would list such values? Or perhaps a menu popup
akin to an about window? I feel it's important to bring Blackbox as far
to the desktop as possible. Something like this would end any need for a
user to go have a look at the rc, which some newbies don't find
particularly straightforward practice for a desktop.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: Blackbox 0.70.0 Release Candidate now available.

2005-01-21 Thread Ciprian Popovici
Quoting Bradley T Hughes [EMAIL PROTECTED]:
 Ciprian Popovici wrote:
  I see that the custom window titlebar layout patch hasn't made it
  into the official code yet, what are your feelings on it?

 I definately want to do it, I just haven't added it.  Release early,

Oh ok, I just wanted to know if it's worth taking the time to update
the patch to apply against the RC.

-- 
Ciprian Popovici

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: iconify and rais with fbpanel

2005-01-21 Thread Ciprian Popovici
It happens to me too. We should try the latest fbpanel with some other
window managers too, such as a recent metacity, or kwin from KDE3.
fbpanel has had a history of problems, which were supposedly fixed
recently.

Brad, can there be any claim, as far as 0.70 RC+ is
concerned, that Blackbox is doing something different than one
of the other wm's above would?

Anyway, we should test with some other wm's before we decide if
it's a Blackbox or a fbpanel problem.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: iconify and rais with fbpanel

2005-01-21 Thread Ciprian Popovici
On Fri, 21 Jan 2005 17:14:44 +0100 Bradley T Hughes [EMAIL PROTECTED]
wrote:
 Ciprian Popovici wrote:
  Brad, can there be any claim, as far as 0.70 RC+ is
  concerned, that Blackbox is doing something different than one
  of the other wm's above would?
 
 i can't parse that :)  you're basically wanting me to confirm that 
 blackbox is not some other window manager, and does its own thing, 
 right?  i thought that this was understood :)

No no, I meant respecting the NetWM standard. If Blackbox and other wm's
and fbpanel would all be implementing it properly we wouldn't have
problems, right? Is there room for interpretation in NetWM's take on
iconifying windows, or is it a bug in either Blackbox or fbpanel? Can
anyone claim that Blackbox is not implementing NetWM properly? This
kind of thing used to happen back in ICCCM days IIRC, but NetWM is supposed
to be the one to bring them all together.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: Blackbox 0.70.0 Release Candidate now available.

2005-01-20 Thread Ciprian Popovici
On Wed, 19 Jan 2005 15:53:50 +0100 Bradley T Hughes [EMAIL PROTECTED]
wrote:
 I'm getting ready to release this thing :) I've attached the release 
 notes and change log for completeness.

I see that the custom window titlebar layout patch hasn't made it into
the official code yet, what are your feelings on it?

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: a newcomer has questions

2005-01-18 Thread Ciprian Popovici
On Mon, 17 Jan 2005 07:56:16 -0500 [EMAIL PROTECTED] wrote:
 (1) how can i preset the background ?  i use 'desktop menu -
 configure - background colors' when i start up, but it is not
 remembered.

Jeremy answered this one. On a side note, that desktop menu must be
a Gentoo thing. Blackbox has a dynamic menu entry which expands into config
options, but there are no direct style changes possible.

 (2) can i get windows to respect the  35 pixel  margin i use at the left,
 where i have the pager  an empty piece of desktop to click on ?

* Load the pager in the slit
* From the Blackbox config menu, choose full maximization and turn
it OFF (it's the one that Sascha suggested)
* Now, applications will avoid covering the edge where the slit is. Using
the slit positioning, you can control which edge it is. By auto-hiding the
slit, you get a few reserved pixels. By keeping the slit fully visible you
get a wider empty strip. Next is just a matter of controlling the thickness
of the slit via the things loaded in it. bbpager has a configuration which
allows you to control it completely.

 (3) can i control mouse acceleration ?

In addition to what Jeremy suggested, you can also put an xset command in
your ~/.xinitrc.

 (4) i suspect it is a promised feature not yet implemented,
 but can i change the position  order of the titlebar buttons
 (i prefer to have 'max' 'iconise' at left  'close' on its own at right)
 ?

This has been a long standing issue on the feature list, but has never made
it beyond patch level. There used to be a patch for 0.62.x but it doesn't
work for 0.65. I've made a patch for 0.70 and it's in the tracker. Brad
would know if he intends to add it to main.

 (5) Open Office has an ugly dark-brown window frame.  on KDE,
 it has a much more attractive appearance  IIRC Xfce had something
 between. can i do anything about it in BB ?

You're going to have to provide some pictures. Why just OO? Don't all
windows do the same thing? Do KDE or Xfce do something special to OO?

 (6) can i include the KDE menu in the desktop menu ?

The Blackbox menu is static ie. no dynamic entries except for the
Blackbox config menu (which is internal) and style chooser entries. There
was a dynamic menu entry patch posted on the list and IIRC also on the SF
tracker a few weeks back. You would have to patch Blackbox (was it 0.65 or
0.70?), then find a command line conversion utility and put together a
script which you then assign to that hacked dynamic entry. Or convert KDE
menus to a static form and add them to the Blackbox menu by hand.

You may find more information on the website:
http://blackboxwm.sourceforge.net/

The site is a wiki, so feel free to add questions wherever you need to.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: New mail and list server

2005-01-09 Thread Ciprian Popovici
On Sun, 09 Jan 2005 01:05:41 -0700 Jamin Collins
[EMAIL PROTECTED] wrote:
 Just wanted to let everyone know that the changes referred to here:
 http://mimir/lurker/message/20040425.060644.ee2a33e6.html
 
 Have finally been put into place.  Yes, this has been a long time in
 coming.
 
 I've tried to ensure that this change should be fairly seamless for all 
 users.  Please let me know if you run into any problems.

In that past messaeg you mentioned something about the unsubscription
procedure being slightly different. Are the subscribe/unsubscribe addresses
presented at the following page still valid?

http://blackboxwm.sourceforge.net/MailingLists

Also, is there any lag in messages from the list appearing in the archive?
I wanted to link to your announcement but it isn't online yet right now.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html



Re: Small problem with latest CVS

2004-12-23 Thread Ciprian Popovici
On Thu, 23 Dec 2004 05:06:55 -0700 Keith Maika [EMAIL PROTECTED] wrote:
 windows.  I noticed that the entry for XMMS has been reduced from two 
 entries(player  playlist editor) to one(player).  I like this, but when 
 moving the player over to the second workspace, the playlist editor is 
 still visible on the first workspace, aswell as now being visible on the 
 second workspace.  In order to get rid of it, I have to close it and 
 re-open it on the second workspace.

I think Brad will say that XMMS is a pet peeve for many window manager
developers... :)

 of the changes which have gone into it.  I still think my 
 window-switching menu patch would make a good addition.  I'll just keep 
 it around and keep applying it myself.  Keep up the good work.

As long as you actively maintain the patch so as people can apply it
cleanly, my guess is that people who need it will use it.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]



Re: Toolbar 'Always On Top' Improvement

2004-12-23 Thread Ciprian Popovici
On Thu, 23 Dec 2004 12:23:08 -0700 Keith Maika [EMAIL PROTECTED] wrote:
   Yes, it has an always on top option.  The problem that I notices
   is 
 that if you designate a window as being always on top (an xterm for 
 example) it will cover up the toolbar, even when the toolbar has it's 
 always on top option turned on.

Oh, I see. Well in that case please make sure to post the patch to
sourceforge.net too: http://sf.net/projects/blackboxwm/ and look for
Patches.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]



Re: Showing all files in a directory in menu

2004-12-01 Thread Ciprian Popovici
On Wed, 01 Dec 2004 13:00:52 + Owen Franssen [EMAIL PROTECTED] wrote:
 Is it possible to specify a directory in the menu and have it list all
 the files - or even a filtered selection - as a submenu?

That was a very recent patch which allows for dynamic menu entries.
But what would listing files accomplish? What would happen when you clicked
on them?

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]



Re: pipe menu patch for current CVS

2004-11-25 Thread Ciprian Popovici
Quoting Chris Grossmann [EMAIL PROTECTED]:
 Does the command output a menu, a command, or a list of
 commands?
 
 If the foremost (which I assume from the context), I would
 recommend a new menu entry type.
 
 [pipemenu] (foo) {/path/to/menu_creating_command}

Hey that's a neat idea. Something like [pipe] would make it consistent
with the [stylesdir] or [config] entries.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]



Re: pipe menu patch for current CVS

2004-11-25 Thread Ciprian Popovici
On Thu, 25 Nov 2004 16:19:22 +0200 Ciprian Popovici [EMAIL PROTECTED]
wrote:
 Quoting Chris Grossmann [EMAIL PROTECTED]:
  Does the command output a menu, a command, or a list of
  commands?
  
  If the foremost (which I assume from the context), I would
  recommend a new menu entry type.
  
  [pipemenu] (foo) {/path/to/menu_creating_command}
 
 Hey that's a neat idea. Something like [pipe] would make it consistent
 with the [stylesdir] or [config] entries.

Here's another idea: once you have dynamic menu parts, do disabled menu
items are encountered more often? I guess this is the second use for [nop]
ever (the 1st and only so far being to emulate separators, at least for
me).

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]



Running xlock from bbkeys

2004-11-23 Thread Ciprian Popovici
If I run xlock from xterm, it works properly. If I run it from bbkeys, it
goes and locks a virtual console instead of X. Is there a trick I can use
to make it acknowledge X? I tried -display but it doesn't seem to be it.
Why does it do this from under bbkeys, anyway?

P.S.: it's xlock from the xlockmore package, FWIW.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]



Re: Slow startup

2004-11-23 Thread Ciprian Popovici
On Tue, 23 Nov 2004 07:57:48 +0100 Karel Miklav [EMAIL PROTECTED] wrote:
 Ciprian Popovici wrote:
  On Fri, 19 Nov 2004 14:48:36 -0500 Matt Rowley [EMAIL PROTECTED] wrote:
  Try replacing everything in ~/.xinitrc with just an xterm. Let's see
  if it's X or Blackbox at fault here. Also, once X started with just
  the xterm, use the xterm to launch blackbox (simply call it). Compare
  times.
 
 The other day I connected my notebook on the network and now every WM 
 starts quicker, even if I reboot disconnected. Gnome is still at 35 
 secs, Blackbox 20, XOrg+Xterm 6, Blackbox from within XOrg is at 15 and 
 XOrg + WMI start in 6 seconds.
 
 Don't know what was wrong, as I'm pretty fresh to networking in FreeBSD, 
 but I'm sattisfied with timigs now.

As long as you're happy... but 20 sec startup still doesn't seem all that
right to me.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]



Re: Running xlock from bbkeys

2004-11-23 Thread Ciprian Popovici
On Tue, 23 Nov 2004 14:01:06 +0100 Markus Ottenbacher
[EMAIL PROTECTED] wrote:
 Ciprian Popovici wrote:
  If I run xlock from xterm, it works properly. If I run it from bbkeys,
  it goes and locks a virtual console instead of X. 
 
 Hmmm, I use xlock-5.06-30 (xlockmore as well), and it works for me. Here 
 is my .bbkeysrc:

Could it have something to do with using Blackbox 0.65 and the old bbkeys
for it?

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]



Re: pipe menu patch for current CVS

2004-11-23 Thread Ciprian Popovici
On Tue, 23 Nov 2004 18:09:56 +0100 Mads Martin Joergensen
[EMAIL PROTECTED] wrote:
 I've ported the pipe menu patch that was floating around on the
 internet--AFAIK it originates from PLD Linux, http://www.pld.org.pl/
 
 It enables the use of commands to provide menus, and is especially
 useful for stuff like xdg-menu.

Could you submit it to the SourceForge patch tracker, if you haven't
already?

How do you use this patch?

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]



Re: Slow startup

2004-11-19 Thread Ciprian Popovici
On Fri, 19 Nov 2004 14:48:36 -0500 Matt Rowley [EMAIL PROTECTED] wrote:
  blackbox has _never_ taken anywhere near that long for me, even on my
  older hardware.
  what version of blackbox?  what version of bbkeys?  are you just doing
  'startx' or are you running xdm or gdm/kdm/etc?
 
  No, xinit from virtual terminal, bb 0.65.0., bbkeys 0.8.6.
 
 what's in your .xinitrc (or .xsession, too if you have that)?

It was in the first message, just bbkeys and blackbox in there. .xsession
may be worth seeing. Also, it's bb 0.65 so it can't be fontconfig at fault
(FC support was added in 0.70, right?).

Try replacing everything in ~/.xinitrc with just an xterm. Let's see if
it's X or Blackbox at fault here. Also, once X started with just the xterm,
use the xterm to launch blackbox (simply call it). Compare times.

Perhaps it's a strange style or background image at fault. Try hiding
all the styles from Blackbox or try some with fewer colors and no
background image, just a pattern, see if it changes anything.

Try grabbing a precompiled binary from somewhere else or compile one
yourself. If you compiled it, what did you use for ./configure?

If all else fails, perhaps a strace can be useful. I think it's pretty easy
to redirect strace output to a file, but I don't know if it will work from
.xinitrc.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]



Re: Reboot Shutdown Menu Items

2004-11-11 Thread Ciprian Popovici
On Thu, 11 Nov 2004 10:00:11 + Owen Franssen [EMAIL PROTECTED] wrote:
 Is it possible to set a reboot and or shudown menu item in blackbox?

Of course. You only need to execute poweroff or reboot, they are
console commands. But for regular users to be able to use them I recommend
changing ownership and rights on the halt program (the other two are
symlinks to it).

What I recommend is to set up a group only for users who are supposed to be
able to call poweroff or reboot. You can add it like this:

groupadd shutusers

Then you change ownership on halt:

chown root.shutusers `which halt`

...and rights:

chmod 4750 `which halt`

The above commands, combined, will make sure that only people in the group
shutusers can execute halt, and they will be allowed to because of the
setuid bit set by chmod which makes them equal to root for the brief
purpose of doing so.

Then you add people to shutusers, say, user ciprian. First you see what
groups he's already in:

cat /etc/group|grep ciprian

users:x:100:ciprian
xcdwrite::505:ciprian

Then you rewrite the group membership to include shutusers too:

usermod -G users,xcdwrite,shutusers ciprian

This method is necessary because usermod doesn't have a just add one more
group facility. You need to re-add all the groups everytime.

Finally, here're my menu entries:

[submenu] (Shutdown)  
  [exec] (Reboot) {reboot}
  [exec] (Shutdown) {poweroff}
[end]


-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]



Re: blackbox menu manage EWMH decorate property

2004-10-16 Thread Ciprian Popovici
On Fri, 15 Oct 2004 18:13:33 -0700 Ryan Freeman [EMAIL PROTECTED] wrote:
 On Fri, Oct 15, 2004 at 09:55:53AM -0700, Jeremy C. Reed wrote:
  I think it would be useful to have a blackbox submenu that can be used
  to toggle various window manager properties. I think it already handles
  most, like sticky, maximized vertical, maximized horizontal, etc.
  
  I think it would be good to have a toggle for turning on and off
  decorations too (maybe from titlebar menu). And from main blackbox menu
  be able to restore decorations.
 
 ideally i think there should be a way to make it so you can hit a
 modifier key such as alt rightclick to bring up the window menu. that
 would make decoration- less windows much easier to deal with, if bb had
 that said feature ;)

This has been a dilema for some time. To do this you either have to make
Blackbox handle keys itself, or bring bbkeys to a level of integration
which wouldn't allow it to be a general purpose keyhandler.

From what I understand, navigating through the menus is no problem, since
they are windows, so they can use keys just like any other window. The
trouble is with the trigger keys, those that bring up the various menus.
Who should handle those, bbkeys or Blackbox?

-- 
Ciprian Popovici


pgpta9IMgBAC5.pgp
Description: PGP signature


Re: Plugins

2004-10-07 Thread Ciprian Popovici
On Wed, 06 Oct 2004 18:21:01 +0100 Owen Franssen [EMAIL PROTECTED] wrote:
 Is it possible to show all open applications on the curretn desktop on 
 the taskbar as opposed to only the currently active one?

I'm not sure what taskbar you mean. Blackbox doesn't have one. I suspect
you mean the toolbar. If so, well, the toolbar wasn't meant for anything
more than what it already does. Here's a hopefully useful read about the
toolbar:
http://blackboxwm.sourceforge.net/index.php?page=BlackboxDocumentation%2FBlackboxToolbar

-- 
Ciprian Popovici


pgpIalfdkb25n.pgp
Description: PGP signature


Re: Plugins

2004-09-30 Thread Ciprian Popovici
On Wed, 29 Sep 2004 09:44:29 +0100 Owen Franssen [EMAIL PROTECTED] wrote:
 I used to use bb4win on my XP machine and I got used to having a few 
 plugins installed and running in blackbox. But I'm having a hard time 
 finding plugins for the linux version... does anyone know where to find 
 these?

I don't think there are any plugins for Blackbox in the sense you mean.
bb4win and other Windows shell replacements are quite different from
Blackbox. I remember bb4win developers mentioning that they only took a bit
of code (the graphics library) from Blackbox when they forked.

Perhaps if you tell us what kind of functionality you are trying to achieve
we can suggest something.

-- 
Ciprian Popovici


pgpmU9hqvgnHb.pgp
Description: PGP signature


Re: gmail invites

2004-09-28 Thread Ciprian Popovici
Quoting Jeremy C. Reed [EMAIL PROTECTED]:
 Why are people so excited or encouraged to give these way all the time (as
 I see on various other lists)?

One thing is for sure, it's way offtopic.
If anybody has gmail invites to give, use something like this:
http://isnoop.net/gmailomatic.php
Anyway, I hope this thread stops soon. I for one am getting fed up
with the gmail invites issue popping up on every mailing list.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]



Re: blackbox 0.70.0beta2

2004-09-21 Thread Ciprian Popovici
Quoting Robert Marshall [EMAIL PROTECTED]:

 On Mon, 20 Sep 2004, Ciprian Popovici wrote:
 
  Quoting Robert Marshall [EMAIL PROTECTED]:
  Looks as if cvs access is broken - was dead last night and is still
  dead, I don't know if there's anything that can be done or is it a
  sourceforge problem?
  
  Could be a SF problem. Try the nightlies on the website, I've taken
  the snapshot by hand this morning, they should be better than nothing.
  
 
 Thanks for the suggestion (and reminder!) though I was trying to see what
 the differences were between my version and now to see if my bbpager
 problem might be libbt's responsibility and already fixed
 
 But I see that cvs access is up again! Thanks to anyone who was jogged by
 me into bringing it back to life

It's not like we have any control over how well the CVS works, that's
SF's job. At most we have priority access to it and we can use that to
provide snapshots once in a while.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]



Re: what can be used to show icons for desktop items?

2004-09-21 Thread Ciprian Popovici
Quoting Marcin Cylke [EMAIL PROTECTED]:

 On Mon, 20 Sep 2004 15:06:09 -0700 (PDT), Jeremy C. Reed wrote:
  What tools can be used to display icons for Desktop items?
 
 There are a few programs that can do this. You can use Rox-Filler, it
 enables desktop icons, but I don't know the syntax for the icons to be
 shown. Another choice is fbdesk, that is a fluxbox's desktop icon
 manager, and the syntax is quite similar, but not the same.

For ROX I think it was the pinboard that used icons. Something like
rox --pinboard or something like that. You also have to indicate
a pinboard profile on the command line. See the command lines or
the man page.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]



Re: blackbox 0.70.0beta2

2004-09-20 Thread Ciprian Popovici
Quoting Ryan Freeman [EMAIL PROTECTED]:
 3. themes.
[...]
 not that they look bad. is there a conversion process that needs to be  
 done? or is it just the way the new 'render' engine works?

0.70 comes with a style conversion command line tool. I forget what
it's called. :/

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]



Re: anyone using xcompmgr and eye candy effects?

2004-09-13 Thread Ciprian Popovici
Quoting Johannes Winkelmann [EMAIL PROTECTED]:
 On Fri, Sep 10, 2004 at 10:02:02 -0700, Jeremy C. Reed wrote:
  Do anyone of you use xcompmgr with blackbox?

 To summarize, the eye candy just works, (...)

I hope you don't mind, I've added your post as a Q+A to the wiki, in the FAQ:
http://blackboxwm.sourceforge.net/index.php?page=BlackboxFAQ%2FNewQuestions

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]



Re: looking for background image manager

2004-09-10 Thread Ciprian Popovici
Quoting Jeremy C. Reed [EMAIL PROTECTED]:
 I am looking for a lightweight program that does:
 - provides a file browser for selecting images
 - same file browser also displays the selected image in a small window
 (maybe same window)
 - once an image is selected be able to set it as the root image
 Hopefully:
 - record the currently used image so the program can be ran at startup
 (via .xinitrc for example) to load the previously chosen root image (and
 then promptly close). I can code this if needed.
 Optionally:
 - some randomizer for choosing next image
 - show many images (thumbnails) at same time for easier selection
 My goal is to have a simple tool for my wife to use for selecting the
 background image. For example, xfce4 provides a tool for selecting a
 background image, but it is a part of the xfce xfce-setting-show which
 does a lot more. Maybe I should use a tool available from some heavier
 desktop environment -- but then I don't want the bloat it may require.

How about ROX? With the exception of the randomizer, the ROX pinboard has
almost all the features you mentioned. To change the background image you
right-click the desktop, choose an option, and a set background window
appears. Then you can simply drag and drop an image from ROX's own file
manager to it. The manager also has thumbnail preview and you can associate
any of the aforementioned programs (I use display from ImageMagick) to
see the image at full size when you open it. For me it was probably the
nicest experience concerning background images.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]



Re: looking for background image manager

2004-09-10 Thread Ciprian Popovici
Quoting Jeremy C. Reed [EMAIL PROTECTED]:
 p.p.s. The next thing I am looking for is a light-weight tool for managing
 menus. Then find some scripts -- or write -- some scripts to convert to
 fbpanel or other formats.

I have a PHP script I put together hastily that will convert a Blackbox
menu to the fbpanel format. I only used it once when I had to make a
fbpanel environment, and it wasn't perfect, but if it helps I'll post it.
FWIW, fbpanel doesn't have a config or menu editing tool either, so if
what you want is newbie ease of use you're not there yet.

Since we're on the topic, I thought about writing a menu configurator
and/or a style configurator for a while now. Issues: I can only code it
in PHP-GTK; the style format for 0.70 is (at least in my opinion) still
a moving target. But the menu could be tackled.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]



  1   2   3   >