Re: Plugins

2004-10-07 Thread Martin Egholm Nielsen
I'm actually using 0.70beta2 - will your patch work for that Martin?
I don't think so... I think you should look at fpanel:
http://fbpanel.sourceforge.net/
instead... That should work now that BB is FWNet compatible - haven't 
tried it, though - I'm still stuck with 0.65...

Sorry...
// Martin
Is it possible to show all open applications on the curretn desktop 
on the taskbar as opposed to only the currently active one?
Sorry for just dumping in at the thread - don't know what version of 
BB you're referring to :-) But in case it's 0.65, I once created a 
taskbar-patch for just that:
https://sourceforge.net/tracker/index.php?func=detail&aid=716173&group_id=40696&atid=428682 
See a screenshot here:
https://sourceforge.net/tracker/download.php?group_id=40696&atid=428682&file_id=46910&aid=716173 

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


Re: Plugins

2004-10-07 Thread Martin Egholm Nielsen
Hi,
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
Sorry for just dumping in at the thread - don't know what version of BB 
you're referring to :-) But in case it's 0.65, I once created a 
taskbar-patch for just that:

https://sourceforge.net/tracker/index.php?func=detail&aid=716173&group_id=40696&atid=428682
See a screenshot here:
https://sourceforge.net/tracker/download.php?group_id=40696&atid=428682&file_id=46910&aid=716173
Best regards,
 Martin
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]


Re: Removing iconify button from windows

2003-08-26 Thread Martin Egholm Nielsen
Hi there,

Where in the source for 0.65 should I look for removing the
iconify buttons from windows completely? I'm about to prepare
a BB environment for some computer illiterate people and
I'd rather do this than explain why apps hide but are still
running and how to find the iconify menu.
May I suggest patching up with a taskbar patch so that they can see 
iconified windows and see them running in the taskbar, instead?

http://sourceforge.net/tracker/index.php?func=detail&aid=716173&group_id=40696&atid=428682

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


Re: black box question? (always on top)

2003-07-16 Thread Martin Egholm Nielsen
Hi,

i'm not sure what handles this, but is there a way to make set
a window to always on top or something like that?
Left click on the background (the root window). And go to your
Blackbox Configuration menu and try the different focus models.
The answer would be: no! Not for 0.6x, that is... I reckon this will be 
a part of the comming 0.7x and its netwm implementation.

// Martin

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


Re: How to test wm's??

2003-06-09 Thread Martin Egholm Nielsen
Hi,

I wondered how you test a window manager. How to you code
a window manager and test it on the fly.
When I code, I usualy use emacs in blackbox to do my
coding. But when your are coding a window manager you
have to start test it somehow whitout interrupting with
the window manager already running... if you understand
:-)
To make it short: When you hack blackbox how do you
do...?
I simply start yet another X:

$ X -ac :1
$ export DISPLAY=:1
$ xterm &
This one will be available on CTRL-ALT-F8...

I do this to maintain a perfectly working session on ":0" 
without the risk of crashing all the others thing I might be 
doing besides coding...

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


Re: CVS NetWM problem??

2003-06-09 Thread Martin Egholm Nielsen
Hi Robert,

I just downloaded and compiled the cvs version of
blackbox, it compiled and configure perfectly.  I am not
sure if this is a problem but I am going to mention it
anyway, now that it has netwm support I decided to use
the gnone-panel, it worked perfectly, until I changed
workspaces, the panel doesn't follow the workspace and I
think it should, shouldn't it?
That behavior is allright for now - the sticky'ness has not 
been integrated yet... We are all waiting exciting for that...

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


Re: Forcing Xclients to accept focus

2003-06-02 Thread Martin Egholm Nielsen
Hi,

I am currently having a problem running a remote Solaris Xclient under
Blackbox on a linux machine. The problem is that the window the
Xclient runs in will never receive focus. After running xprop I found
under the "WM_HINTS" section that the client does not "accept input or
input focus". twm seems to ignore this and give the window focus
anyway. Any suggestions on how to fix this for blackbox? I do not want
to change window managers since blackbox is so clean and simple to use.
Also I cannot alter the Xclient's code at all. Thanks in advance :)
I've created a little "application" that works for me 
(tested on xclock). All it does is to change the "input"-bit 
in the WM_HINTS. The window in question is selected with the 
mouse...

You should be able to compile with a command similar to the 
one below:

g++ -L/usr/X11R6/lib -lX11 -lXmu changehints.cc -o changehints
(Don't mind the app-name... :-)
I've put it on the BB-patches page although it is not 
actually a patch - sorry about that...

http://sourceforge.net/tracker/index.php?func=detail&aid=747362&group_id=40696&atid=428682

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


Blackbox taskbar patch now available

2003-04-06 Thread Martin Egholm Nielsen
Hi,

I've managed to upload the taskbar patch here:

https://sourceforge.net/tracker/index.php?func=detail&aid=716173&group_id=40696&atid=428682

Just follow the instructions written there...

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


Re: blackbox-taskbar-patch

2003-04-06 Thread Martin Egholm Nielsen
Hi Arnau,

hi list, i downloaded the file blackbox-taskbar-patch and
i have 3 files with the extension *.v3 and *.v6, how i
can install this patch for my blackbox, i don't have idea
I haven't "released" my patch yet - it'll come today.
What you have found is probably the old patch for BB 0.61.2 
- I guess - that wont work...

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


Taskbar patch - creating one

2003-04-05 Thread Martin Egholm Nielsen
Hi there,

I've been fiddling around with the Blackbox 0.65.0 source 
code because I decided that now I just wanted that 
"taskbar"-wannabe.

The result can be seen in this screenshot:
http://www.fys.dtu.dk/~martin/bbtask-shot1.jpg
(At the bottom, that is...)
What do you see: The list of applications available/present 
on the current workspace (1). The white rectangle around 
"Term" indicates that that one has the focus. One can 
activate/raise any of the apps. by clicking in the 
"taskbar". Next to the apps. actually visible one the 
workspace, is the list of iconified apps. Since I know this 
may annoy some (e.g. Shaleh), this can be toggled "easily" 
by negating a boolean in the source.
Moreover, sticky windows are included, as well. This seems 
intuitive, but they may actually not belong to the current 
workspace.

Well, this is my first draft - and I reckon that others may 
be interersted. However, I don't quite know how to create a 
smooth patch that does the magic on the original BB source 
code. I guess it's something like "diff -U? old/file.cc 
new/file.cc", but as stated, I'm not quite sure...

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


Re: BB 0.70, netwm, and hpanel?

2003-03-23 Thread Martin Egholm Nielsen
I am certanly interested to know this, too.
Many people like BlackBox for its minimalist approach, but it would be nice
to have BB compatible with latest KDE 3.1, so that docking, task
minimizing, etc. would work smoothly with KDE apps.

most of the spec is implemented. There are several trouble spots though.

*) no omnipresent windows (so no support for panels)
*) really small windows (7x7) crash blackbox
*) no support for desktop windows (so no icons)
*) needs more testing

of course, until the stability is there again, getting users willng to test is 
not easy.
The minut omnipresence is there, I'm in! Besides the panel-usage, I use 
it alot! (Maybe slightly less now that Epistrophy can move an app. to 
any specified desktop by key-binding...)

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


BB 0.70, netwm, and hpanel?

2003-03-18 Thread Martin Egholm Nielsen
Hi there,

How is it going with the netwm implementation in BB 0.70?
I just fetched the latest source from CVS, and tried to run the 
netwm-compatible panel-application (taskbar) "hpanel":

http://freshmeat.net/projects/hpanel/?topic_id=55

However, it does not allow me to change the workspace. I guess this is 
an upcomming "feature", but is there an idea when it will be implemented?

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


Re: Grabbing a screenshot of a specific workspace?

2002-12-22 Thread Martin Egholm Nielsen
I was wondering, is a way to grab a screenshot of a specific
workspace? E.g. like "import -workspace 1 -window root
/tmp/test123.png"...

Maybe, I can ask BB to paint the content of same workspace
in an image?

I thought of creating a pager which had small
thumbnail-pictures of the content of the workspaces...



This is possible but not how you are thinking.  
That's why I posed the question... :o)


You can easily do:
get list of windows on workspace N
for window in list:
   get shot of window
   thumbnail shot
   display thumbnail

And when I do this, should I grab the 0.70, or would it work 
any way later?
(and is the stickyness working in 0.70, cause then I've got 
no argument for not changing...)

// Martin


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



Grabbing a screenshot of a specific workspace?

2002-12-22 Thread Martin Egholm Nielsen
Hi there, and merry merry christmas,

I was wondering, is a way to grab a screenshot of a specific 
workspace? E.g. like "import -workspace 1 -window root 
/tmp/test123.png"...

Maybe, I can ask BB to paint the content of same workspace 
in an image?

I thought of creating a pager which had small 
thumbnail-pictures of the content of the workspaces...

Regards,
 Martin


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



Re: good news and bad news time

2002-10-31 Thread Martin Egholm Nielsen
Hi there,


Good news: I just got a job

Congrats!


Bad news: I just got a job back in cubicle land that is expected to run 40 - 
50 hours a week, writing mostly perl code
Oh, great - that sounds, eh, fun?! :o)


What this means is my time on the lists and coding will diminish 
significantly.  Brad and I have a plan and we are moving forward with 0.70 so 
do not worry too much.
Well, I thought you were going to have a break after 0.65, 
anyway; so go ahead - as long as my sticky'ness is in 0.65 
I'm happy! (o:

Congrats again,
 Martin


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



Re: grow a xterm longer that screen?

2002-10-10 Thread Martin Egholm Nielsen

Hi there,

>>>I take that back, it is X, not blackbox.  You are unable to move the
>>>mouse further than the screen edge so you are not able to resize/move a
>>>window beyond it.
>>Hmm, but if I open a window, maximize it and then alt-mouse-drag it to
>>the top of the screen I think I should be able to resize the window even
>>larger, no?  Currently, that's not working.
> because then you hit "my height > screen height, stop that".  That is the 
> Blackbox limitation I mentioned earlier.
> 
> If you want this type of behavior setup X to give you a screen bigger than you 
> can see and scroll around in it.  These type of checks help the users do the 
> right thing and are worth more than letting the small number of people do 
> weird things.
Hmmm, why is more "right" to avoid the users from making a 
window exactly the size he wants to?
I actually miss the feature of being able to make a window 
wider than the screensize (e.g. when dealing with the 
line-wrapped output from MySQL).

Regards,
  Martin


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




Re: Making an application stick to another?

2002-10-07 Thread Martin Egholm Nielsen

Hi again,

Ok, I've grapped the code from xprop and I can now select a
window...
Next, I need to get its events and learn how to write some
text inside my new super cool looking window (!).
But first of all, I need to figure out how the h*ll I
prevent my program from quiting when I reach the end og main :o)
All done with that, as well... Although, at the current 
moment the text has to be entered at the command-line.
I think I need to look into how the "Edit current workspace 
name" routine does it job...
And then there's the font-choosing...
And the hiding of window-decorations...
And etc... :o)

But all in all, yesterday evening I finished off the first 
pre-beta-0.01 version, which I successfully used at work today.

>>Where can I actually find some thrilling documentation about
>>the different Xlib-classes? E.g. the XEvent class and its
>>properties?
> this is C friend, no classes (-:
Sure, my mistake - I posed the question before I dug into 
the Xlib-header. Much information is revealed there...

> Go to the local used bookstore or place that sells old college texts.  The 
> O'Reilly Xlib books were printed around 1990 and are still the only 
> definitive text.  All of the new books focus on GTK, QT, etc.  This is why 
> writing window managers takes more skill and time -- there are very little 
> intro docs.
Yaeeargh, I was afraid of that... But how about this one:
http://capderec.udg.es:81/ebt-bin/nph-dweb/dynaweb/SGI_Developer/XLib_PG/@Generic__BookView

I where do I go with addional questions? I hardly think this 
is the prober place for my stupid and OT-questions...

Regards,
  Martin


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




Re: Making an application stick to another?

2002-10-06 Thread Martin Egholm Nielsen

Hi again,

>>Ok, I've grapped the code from xprop and I can now select a
>>window...
>>Next, I need to get its events and learn how to write some
>>text inside my new super cool looking window (!).
>>But first of all, I need to figure out how the h*ll I
>>prevent my program from quiting when I reach the end og main :o)
Ok, now I've prevented the program from quiting; AND it now 
gets the "ConfigureNotify"-XEvents, as well - so far so good...

Where can I actually find some thrilling documentation about 
the different Xlib-classes? E.g. the XEvent class and its 
properties?

> Checkout the test_code module from blackbox cvs.  There are numerous tiny X 
> programs there.  While I would not advocate using their style (they were all 
> written in 10 - 15 minutes each) the code has some ideas for writing tiny X 
> apps.
And how was it I did that again? :o)
I've tried the

cvs 
-d:pserver:[EMAIL PROTECTED]:/cvsroot/ 
blackboxwm login

command written on the web-page, but cvs just says:
  Unknown command: `blackboxwm'

// Martin


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




Re: Making an application stick to another?

2002-10-06 Thread Martin Egholm Nielsen

I was wandering: What would it take to create an application
that could be "stuck" to another window? What I mean is that
I would like this application's window to e.g. move along if
the "mother" window is moved...
>>>Look at the xprop code from the XFree86 sources.  It works by grabbing
>>>the mouse and then determining which window you clicked.  Once you know
>>>the window you know the window id.  With the id in hand you can select
>>>events for that window as well as your own.  When the window moves, you
>>>move.  When it hides you hide.
>>Sure but where do I actually start? With Qt, or maybe just
>>plain XFree86-programming...
> I do not know QT at all so I can not comment on easy or hard it would be to 
> implement this piece of functionality.
Ok, I've grapped the code from xprop and I can now select a 
window...
Next, I need to get its events and learn how to write some 
text inside my new super cool looking window (!).
But first of all, I need to figure out how the h*ll I 
prevent my program from quiting when I reach the end og main :o)

Regards,
  Martin


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




Re: Making an application stick to another?

2002-10-06 Thread Martin Egholm Nielsen

Hi,

>>I was wandering: What would it take to create an application
>>that could be "stuck" to another window? What I mean is that
>>I would like this application's window to e.g. move along if
>>the "mother" window is moved...
>>Is that possible based solely on events from X, or would it
>>require an entire redesign of blackbox?
> Look at the xprop code from the XFree86 sources.  It works by grabbing the 
> mouse and then determining which window you clicked.  Once you know the 
> window you know the window id.  With the id in hand you can select events for 
> that window as well as your own.  When the window moves, you move.  When it 
> hides you hide.
Sure but where do I actually start? With Qt, or maybe just 
plain XFree86-programming...

// Martin


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




Making an application stick to another?

2002-10-01 Thread Martin Egholm Nielsen

Hi there,

I was wandering: What would it take to create an application 
that could be "stuck" to another window? What I mean is that 
I would like this application's window to e.g. move along if 
the "mother" window is moved...
Is that possible based solely on events from X, or would it 
require an entire redesign of blackbox?

I'm want to create a "sticky notes" application where you 
can attach the notes to other windows...

Regards,
  Martin


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




Re: Blackbox in MDK 9

2002-09-27 Thread Martin Egholm Nielsen

Hi there,

>>>According to DistroWatch.com (a really cool site, by the way), Blackbox
>>>has been included in every version of Mandrake since 7.0.
>>Exactly where did you find that information?
> You have to select 'all tracked packages'.
Heh heh - extremely weird: those radiobuttons don't show up 
if you view the page with Opera! :o) That's why I didn't 
find it!
Thanks!

// Martin


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




Re: Blackbox in MDK 9

2002-09-26 Thread Martin Egholm Nielsen

Hi there,

>>Apparently the new Mandrake 9 includes BlackBox 0.62. Nice. Did the
>>earlier versions include it as well? I haven't noticed, maybe they
>>didn't find it necessary for it to make it into the announcement like
>>it does now at http://pst.mandrakesoft.com/ .
> According to DistroWatch.com (a really cool site, by the way), Blackbox
> has been included in every version of Mandrake since 7.0.
Exactly where did you find that information?
When I look at the list for Mandrake, Blackbox doesnt' show 
up there... 
(http://distrowatch.com/table.php?distribution=mandrake)

Regards,
  Martin


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




Handling of iso-latin-chars in bbkeys?

2002-09-24 Thread Martin Egholm Nielsen

Hi there - long time, no see, =)

I was just (read: quite some time ago) noticing that when I 
have a window with a title containing some of my 
language-specific characters - from the iso8859-15 charset - 
the title appears rather "silly" in the popup-window while 
changing from window to window with bbkeys.
In here, the title suddenly show up containing some 
additional escape sequences for changing the encoding (I guess).
See http://nielsen.linux.dk/isoBug.png to see a screenshot 
of what I mean...

Regards,
  Martin

(For Sean: 0.65! Koool stuff! I started out with 0.7 from 
cvs, but nearly fell down my chair remembering you had taken 
out the sticky'ness - doesn't seem that sticky to me :o)


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