Re: monsterwm! ~ yet another tiny wm

unnamed pipes/fifos are implemented as shared memory buffers. named pipes, I am not sure.

monsterwm does not use a pipe though, the startup scripts do.monsterwm just outputs information, which is written on stdout (so nowhere on the disk).redirecting the output to /dev/null will just stop any output being written anywhere.

or you can just hack the source and change desktopinfo function to something like:

void desktopinfo(void) {
return;
}

so nothing can be outputted from the source level. the compiler would also optimize away the calls to desktopinfo();

----

so, if you're worried about writing to disk, monsterwm does not.if you want to get rid of the output either redirect to /dev/nullor, change the desktopinfo(); function

As my C-experience is not that great yet, I thought I could bother you for a second

Is this correct? Or is there a better solution?

greetings

seishinryohosha

I have those multimedia-keys on my keyboard, too, but I din't need this header file at all. All you need is install xorg-xev, write down the names of the keys and put them in your config.def.h like this;

Re: monsterwm! ~ yet another tiny wm

Hey, I'm trying to merge xinerama-init (tried other xineramas as well) with windowtitles and/or uselessgaps and I get this kind of error. I believe I'm capable of manually patching monsterwm.c to use uselessgaps.

Re: monsterwm! ~ yet another tiny wm

I'm not sure what you're trying to achieve. If you're using the windowtitles branch, then the info is appended a '|title' part,which would cause that last part not to be passed to the statusinfo script, (ifyou're using my wmrun.sh script)Tell me what you want to achieve and we'll set it up

Re: monsterwm! ~ yet another tiny wm

Oh, it seems I was thinking differently how it might "work" and yeah I'm using your wmrun.sh script to launch statusinfo.sh as well. I made a quick screenshot'n'edit about the panel I'm trying to achieve, click me!

Re: monsterwm! ~ yet another tiny wm

hm, it prints '.. Tittle [title] Layout Title' ? that is weird, I set it up here, and it works fine. I'll push in my scripts repo in a bit.

If at the end of the wmrun.sh script you change '$wm > $ff' to '$wm | tee -a "$ff' you can see what mosterwm returns when you hover around windows;those liness should look like: 'x:x:x:x:x:x:x x:x:x:x:x:x:x x:x:x:x:x:x:x|title' (where 'x' is a number.)

try with a common statusinfo script, ie w/o blocking one screen's infoso that we can figure out if it's coming from there (most probably).

Re: monsterwm! ~ yet another tiny wm

Something is wrong with focusing again. I changed monitor and all of the sudden i can't use focus without alt+tab (i use that shortcut for focus eg next_win in config.h).

How to produce it:- I start firefox and firefox is the only client on the workspace so it is the focused one;- I start downloading anything with firefox. When i start downloading anything with firefox, focus should change to download popup (eg "Do you want to save this file?") but that is not the case here. I Have to use alt+tab to remove focus from download popup and then give it back.

I know that download popup is focused because i have disctinct border colors for active clients. Focus with mouse click is not working (i disabled it anyway) so only alt+tab is doing it's job. Also, this happens in pcmanfm in some cases but i forgot how to produce it.

Re: monsterwm! ~ yet another tiny wm

hmmm, I cant seem to able to reproduce that.

what I did:- start monsterwm- start firefox- google for test.pdf- right click on a couple of links and select 'save link as..' - popup comes up focused as it should- -- right click on page 'save page' - popup comes up focused as it should- -- goto filehippo.com- pick a random app- click download- wait a bit- popup comes up and focused as it should

With your scripts everything works just fine and I modified your script not to show other desktop info at all so the final result is what I was looking for so no need to fiddle with this case anymore, thanks

Re: monsterwm! ~ yet another tiny wm

Mhh I've encountered something random for a few times. Sometimes everything gets stuck but mouse is still working and I can search the web with it. When everything's stuck keybindings etc. won't work but when I wait for a while (around 1 minute) it does all the action I pressed after the freeze. This have happened while using GIMP and dwb. If I recall correctly everything's fine when you disable windowtitles support from statusinfo.sh. I wonder if there's any way to trace this issue

EDIT1. Something makes my CPU to run at 100% so I believe that's the issue. I have to trace it.

Re: monsterwm! ~ yet another tiny wm

Re: monsterwm! ~ yet another tiny wm

c00kiemon5ter wrote:

about xcb:I started looking into xcb around the time that bspwm was announced, and I gotsidetracked creating a new wm I will hopefully find some time to get xcb intomonsterwm (and finish the new wm) around mid Feb I suppose.

Hello, c00kiemon5ter

Are there any updates regarding either of the above two items? Sorry if I've missed them elsewhere in the thread.