Page 1 of 4

Tinkering w/ Haze WM

Posted: Fri 15 Dec 2006, 00:54
by klhrevolutionist
I came across this little gem and gave it a look. It seems to have some great potential. However, there are a couple issues for me.

1. Getting xload to function like it should.
2. Getting xnet to function, maybe it is called xnetload ?
3. Changing the color of the panel

And possibly to move the resize function that accompanies an open app "rox, firefox" It is in the way of scrolls and other functions. Though this would require somehacking of code unlike the mentioned items above.

Here is a pupget pkg. w/ source. You can start it by typing from prompt "startx hazewm" The config file is located in "/root/.hazerc Anybody interested in messing with this wm simply reply with answers and or questions.

**Download
http://RevolutionNetwork.dyndns.org:808 ... eWM.tar.gz

**Screenshot
http://img281.imageshack.us/img281/9807/hazewmee5.png

Posted: Sun 17 Dec 2006, 23:45
by trapster
Seems like a very small and fast wm. I really do hate manually "fixing" menus so I just added a few and then added kde kicker to give me everything:)

Neat find!!

screenshot

Tinkering w/ Haze WM

Posted: Wed 11 Sep 2013, 15:31
by samira
Hi all,
I tried going to the URL in the post above, but it seems the files are'nt there any longer. Anyone know where else i can download the HazeWM installer?

Cheers!

Posted: Thu 12 Sep 2013, 12:16
by amigo
Hmm, I find its webpage, but there are no download links there:
http://www.escomposlinux.org/jes/description.html
That's why we always need new forks of old projects -sometimes old projects simply disappear.

Posted: Thu 12 Sep 2013, 14:08
by CatDude
Hi
amigo wrote:Hmm, I find its webpage, but there are no download links there:
There is on the home page :wink:

CatDude
.

Posted: Thu 12 Sep 2013, 14:13
by Keef
@amigo

The download link is on the [home] page http://www.escomposlinux.org/jes/index.html
I compiled it with that src2pkg thingy that someone came up with...
Trouble is it (HaZe) cannot find any fonts or the xpm's it needs, even though they are where they should be. Consequently it never quite loads and not a lot happens.

Posted: Thu 12 Sep 2013, 17:42
by amigo
"that src2pkg thingy" -Hehe, it can't think of everything...

Posted: Sun 29 Sep 2013, 04:18
by samira
Hi all,
apologies.. I mean i was looking for a .pet or at least a .deb package for haze..

Posted: Mon 30 Sep 2013, 03:29
by technosaurus
Keef wrote:@amigo

The download link is on the [home] page http://www.escomposlinux.org/jes/index.html
I compiled it with that src2pkg thingy that someone came up with...
Trouble is it (HaZe) cannot find any fonts or the xpm's it needs, even though they are where they should be. Consequently it never quite loads and not a lot happens.
You have to set it up in the rc file to use fonts that are actually installed

Posted: Tue 01 Oct 2013, 17:32
by Keef
You have to set it up in the rc file to use fonts that are actually installed
Done that, but it still can't find the xpms it needs. Messages appear in bar across top of screen, but no desktop. There should be a default colour in the absence of a piccy, but nothing happens. Program just hangs.
Now running it without a hazerc gets a nice black desktop with a tile bar that has a 'File' menu (only has a quit option, but it works), and the desktop number. And that's it.

Posted: Tue 01 Oct 2013, 18:13
by technosaurus
Are all of the icons in one of the IconPaths (default is:)
IconPath /usr/local/share/haze:/usr/local/include/X11/pixmaps:/usr/share/pixmaps:/usr/share/icons:/usr/share/icons/mini

I would recommend starting with a blank rc file and adding a couple of lines at a time.

I just kept removing stuff that gave warnings to make it run.

Posted: Tue 01 Oct 2013, 20:19
by Keef
I got Haze.....

Used your hazerc and just changed the icon path back to the default /usr/local/share/haze. No amount of fiddling on my part (copying the icons to the other paths etc) would work previously. This had severely irritated me, so thanks for easing my pain.
Did you get compile errors? eg "-I- is deprecated use -iquote instead".
I'm on 214R at the moment, and had to recompile but didn't get the error this time, older GCC presumably.

Posted: Tue 01 Oct 2013, 21:14
by technosaurus
No, just warnings

Posted: Wed 02 Oct 2013, 05:26
by goingnuts
To get xload actually showing change

Code: Select all

Swallow "xload"	Action Exec "xload" exec xload -geometry 100 -fg orange -bg black -nolabel -update 1
to

Code: Select all

Swallow "xload"	Action Exec "xload" exec xload -geometry 25x25 -fg orange -bg black -nolabel -update 1
in hazerc.
Should we hack on this? Add systemsounds, desktopicons or other additions?
Attached trial-script to generate menus from .desktop-files...

Posted: Thu 03 Oct 2013, 03:55
by technosaurus
I wouldn't spend time working on the themes and such until the code side is improved to handle missing items in the rc file gracefully.
For fonts default to -*-*-*-....
For images default to a builtin xpm
For swallow don't run if its not runnable
etc...

other than those its kinda nice, and it has a permissible license
other thoughts:
the whole B&W thing is about pointless when the icons are in color - maybe make it theme-able or (optionally) grayscale the images
I found myself missing minimize/restore

Posted: Thu 03 Oct 2013, 18:40
by Keef
wot Techno said...

Missing xpms lead to a very long startup. For icons, what about the JQ8flat icon theme? What I do like, is that if there is available desktop space, it will tile newly opened windows. If not, they just get stacked, but over the open space. Agree with the point about not being able to minimise, although you can hide/unhide.

@goingnuts
Tried your menu script, which worked fine on 214R, but most items end up in 'Other', and the long list reaches the bottom of the screen but no scrolling - got cut off at the P's, which sounds painful, I know.

Posted: Thu 03 Oct 2013, 21:01
by Keef
Not quite what I was hoping for, but could be worse:

Posted: Fri 04 Oct 2013, 02:28
by technosaurus
Keef wrote:Missing xpms lead to a very long startup. For icons, what about the JQ8flat icon theme? What I do like, is that if there is available desktop space, it will tile newly opened windows. If not, they just get stacked, but over the open space. Agree with the point about not being able to minimise, although you can hide/unhide.
could just modify the sleep_a_little code (first time I recall noticing select() being used)

Posted: Fri 04 Oct 2013, 15:44
by goingnuts
Keef wrote:@goingnuts
Tried your menu script, which worked fine on 214R, but most items end up in 'Other', and the long list reaches the bottom of the screen but no scrolling - got cut off at the P's, which sounds painful, I know.
I know...try P412 and pain comes at "d..." or something like that. But it was just a quick trial - might have modify categories.
Could be that early jwm would be a better starting point but as far as I know jwm wont support multiple main menus - which is part of the fun with hazewm.

Posted: Fri 04 Oct 2013, 20:15
by Keef
Following Techno's suggestion, I reduced the error wait. Took a 0 out of line 136 & 137 (wait_s) in misc.c. Just a quick flash now...

Code: Select all

void DrawErrMsgOnMenu( char *str1, char *str2 )
{
	char *str;
	static int call=0;
	int wait_s;

	call++;
	str = calloc( strlen(str1)+strlen(str2)+1, 1 );
	sprintf( str, "%s%s", str1, str2 );
	if( call<5 )	XBell( dpy, 30 );
	DrawStringMenuBar( str );
	wait_s = 300000-call/5*50000; 
	wait_s = wait_s>0? wait_s : 300000;
	sleep_a_little( wait_s );
	free( str );
}