Tinkering w/ Haze WM

Under development: PCMCIA, wireless, etc.
Message
Author
User avatar
klhrevolutionist
Posts: 1121
Joined: Wed 08 Jun 2005, 10:09

Tinkering w/ Haze WM

#1 Post 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
Heaven is on the way, until then let's get the truth out!

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#2 Post 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
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

User avatar
samira
Posts: 43
Joined: Sun 01 Sep 2013, 09:20

Tinkering w/ Haze WM

#3 Post 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!

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#4 Post 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.

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#5 Post 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
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#6 Post 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.

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#7 Post by amigo »

"that src2pkg thingy" -Hehe, it can't think of everything...

User avatar
samira
Posts: 43
Joined: Sun 01 Sep 2013, 09:20

#8 Post by samira »

Hi all,
apologies.. I mean i was looking for a .pet or at least a .deb package for haze..

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#9 Post 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
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#10 Post 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.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#11 Post 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.
Attachments
haze.png
(29.69 KiB) Downloaded 2482 times
hazerc.gz
(2.43 KiB) Downloaded 557 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#12 Post 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.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#13 Post by technosaurus »

No, just warnings
Attachments
hazewm.tar.gz
rc file is in /usr/share/haze ... copy to $HOME/.hazerc and edit to suit
(130.29 KiB) Downloaded 568 times
tango16xpm.tar.gz
(26.65 KiB) Downloaded 561 times
tango32xpm.tar.gz
(49.92 KiB) Downloaded 574 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

goingnuts
Posts: 932
Joined: Sun 07 Dec 2008, 13:33
Contact:

#14 Post 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...
Attachments
pm_haze_xdg.sh.gz
script to generate the menus for haze from .dekstopfiles. fake gz
(9.98 KiB) Downloaded 561 times

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#15 Post 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
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#16 Post 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.

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#17 Post by Keef »

Not quite what I was hoping for, but could be worse:
Attachments
hazewm.png
JQ8flat icon
(9.4 KiB) Downloaded 868 times

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#18 Post 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)
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

goingnuts
Posts: 932
Joined: Sun 07 Dec 2008, 13:33
Contact:

#19 Post 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.

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#20 Post 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 );
}

Post Reply