You are not logged in.
Crunch wrote:Used Git and Make as per the wiki, didn't know there was a pkgbuild made for it yet.
I just cloned the repo and built and ran it and it was fine here, but since it is inconsistant I'll change the approach for that function. You said "But only started recently on my laptop", when roughly was recently?
Just updated everything ( system and snapwm ) last night after about 2 weeks of not updating.
Registered Linux user #536591.
Offline
@Crunch and anybody else that was having problems when shifting windows between desktops.
It's a new thing so that's ok'ish.
Can you try a git pull now and see if the situation has improved? It's fixed when using the PKGBUILD so it should be fine for you. I guess it is the new options in the Makefile but running make gives no warnings when makepkg does.. Anyway I pulled my head out of my arse, saw the light and changed the function.
Cheers
Last edited by moetunes (2012-06-19 21:14:58)
You're just jealous because the voices only talk to me.
Offline
I tried it both ways and it seems fixed now here
edit: I updated the wiki too
Last edited by stlarch (2012-06-19 21:14:06)
Offline
That's great.
So there's an aur package for snapwm that works now.
Cheers for that stlarch.
You're just jealous because the voices only talk to me.
Offline
Tried every way ( pull, new clone, aur ) here and all are giving similar results, instead of completely crashing, the client switches desktops, but it does not show on the new desktop and all keyboard shortcuts stop working, but only on the desktop that had a client moved to it along with the original, while all the others remain perfectly functional.
i.e. Moving urxvt from 1 to 2, the bar shows that there is a client on 2 but it is not visible. And both 1 and 2 become unfunctional, while 3->6 still work perfectly.
Registered Linux user #536591.
Offline
@Crunch it passed all my tests here but try a git pull now. I changed the function a little so it might help.
Cheers
You're just jealous because the voices only talk to me.
Offline
Working beautifully now, thanks :-D
Registered Linux user #536591.
Offline
Some snapwm news.
Now when a window is clicked on to focus it the window is focused and the mouse click is sent to the window.
I've never liked double clicking anything...
Cheers
You're just jealous because the voices only talk to me.
Offline
Something else I noticed, again not sure if you meant it to be like it or if I'm just nitpicking at this time, lol.
When a desktop name is say... 8 chars long, then it spaces out every other desktop name with the same spacing regardless of length, so you end up with,
[___1___][___2___][___3___][DESKTOP]
instead of
[_1_][_2_][_3_][_DESKTOP_]
Last edited by Crunch (2012-06-27 23:22:30)
Registered Linux user #536591.
Offline
Yep it was done like that on purpose for a couple of reasons.
1. I'm lazy and that was easiest
b. it keeps a uniform look for all the buttons
I'll see if I can change it but if it is going to overcomplicate things please refer to 1 above.
Cheers
You're just jealous because the voices only talk to me.
Offline
Some snapwm news.
I found out by accident that in stacking mode with a window open the desktop switcher or bar could be moved around or resized, not exactly what I was going for. With no open window trying to do that would crash the wm. I don't know if anyone would try to do that but I stopped that from happening.
edit: Similar sort of thing for dminiwm, bars and unmanaged windows can't be moved now. I made it quieter on quit too.
Cheers
Last edited by moetunes (2012-06-29 06:55:04)
You're just jealous because the voices only talk to me.
Offline
Some snapwm news.
This wasn't an easy one to sort out... If I was on a different desktop to pysol when it had a popup window, that popup would be registered as a transient window on the desktop I had open, even tho the popup would only show on the desktop that pysol was on. At least I know what I mean. Anyway the open windows wouldn't have focus after that. I haven't come across any other apps that would do that but I don't use every app. So if you tried this out and came across the situation where you couldn't focus any window then I'm thinking it's fixed now.
I am lazy at heart so now clicking anywhere on the bar will swap to the previous desktop. Handy for when I'm watching a movie and want to have a quick check on my mail or chat.
Cheers
Last edited by moetunes (2012-07-05 02:45:54)
You're just jealous because the voices only talk to me.
Offline
Some snapwm news.
Another fix for transient window mapping. Xmms, when opened with the playlist and equaliser showing, didn't have focus. One of them was a transient window... Seems mostly I fix two things and break one. So that's all good now.
I'm happy enough with the way things are working that it seems time to take the next big step in the evolution of this window manager.
Cheers
You're just jealous because the voices only talk to me.
Offline
I'm happy enough with the way things are working that it seems time to take the next big step in the evolution of this window manager.
Ok, I'm curious but scared. It's been working so good I haven't had anything to complain about.
Offline
Ok, I'm curious but scared. It's been working so good I haven't had anything to complain about.
It shouldn't be too scary I hope. It's been a mid-long term goal to have everything in the window manager updatable from files while running, similar to fluxbox which I used for years. At this stage there's files for the keyboard shortcuts and apps settings as well as the rc file as it is now, but it'll be a little while before I release it as works busy and making sure it doesn't crash if things are done wrong is a slow and tedious process. The amount of wrong that can be done seems to grow exponentially as I add things...
Cheers
You're just jealous because the voices only talk to me.
Offline
Some good people were having trouble using some_sorta_bar with monsterwm. It's hard to have a bar take two inputs.
I think I've come up with a solution though.
I called it splitter_bar
Pipe monsterwm into splitter_bar same as for some_sorta_bar and it'll be shown on the left but also set the root windows' name using conky or a script and it'll be shown on the right
(in ~/.xinitrc do e.g. conky | while read -r; do xsetroot -name "$REPLY"; done &).
Here's a pic:
It's very hackish at the moment but seems to work fine. As time permits I'll try and tidy the code up some...
Cheers
Last edited by moetunes (2012-07-20 09:46:11)
You're just jealous because the voices only talk to me.
Offline
thanks :')
Offline
Thanks again for splitter_bar!
I have an issue with it, where if I change volume by pressing the key i've defined for volume several times after eachother, then the leftside output gets mangled, and repeated a couple of times...
I'm using amixer-calls in monsterwm's config.h to control volume...
Here's a shot to illustrate better:
thanks in advance!
Offline
try this, printing the left side info, only when the input matches the valid string
while read -t 60 -r wmout || true; do
if [[ $wmout =~ ^(([[:digit:]]+:)+[[:digit:]]+ ?)+$ ]]; then
unset r
read -ra desktops <<< "$wmout"
for desktop in "${desktops[@]}"; do
IFS=':' read -r d w m c u <<< "$desktop"
((c)) && fg="&4" i="${ms[$m]}" || fg="&3"
((u)) && w+='&5!'
r+="$fg${ds[$d]} ${w/#0/&8-} &3:: "
done
r="${r%::*}"
printf "%s\n" "$r&5[&3$i&5]"
fi
done < "$ff" | splitter_bar &
.:[ git me! ] :.
Offline
thanks alot cookie, that works perfectly! Much appreciated!
@moetunes
Sorry for reporting unrelated things...
Offline
Thanks for splitter. I know it's brand new but I thought I would mention a couple things I've noticed: conky doesn't seem to get aligned all the way to the right here and the first icon gets a little mangled sometimes. Here's a screenshot:
It is working though. I'll keep playing with it, maybe it's something I'm doing. Thanks again.
Offline
@stlarch if you are using conky to set the root windows' name in .xinitrc the same as you would for snapwm then what you're doing is right. Try a git pull now, I think it's sorted. Thanks for speaking up.
Cheers
You're just jealous because the voices only talk to me.
Offline
That fix ^ wasn't quite right so try another git pull and it should be good.
(I can be a bit too optimistic at times though...)
Cheers
Last edited by moetunes (2012-07-20 19:49:48)
You're just jealous because the voices only talk to me.
Offline
It still doesn't get aligned all the way to the right. And the left part from monsterwm doesn't start up right away either now. As soon as I open a window, the left part comes up and stays. The mangling of the the first icon seems to be fixed. Here's what I have in my .xinitrc:
ff="/tmp/monsterwm.fifo"
[[ -p $ff ]] || mkfifo -m 600 "$ff"
ds=("web" "term" "foo" "misc")
ms=("T" "M" "B" "G" "F")
while read -t 60 -r wmout || true; do
if [[ $wmout =~ ^(([[:digit:]]+:)+[[:digit:]]+ ?)+$ ]]; then
unset r
read -ra desktops <<< "$wmout"
for desktop in "${desktops[@]}"; do
IFS=':' read -r d w m c u <<< "$desktop"
((c)) && fg="&3" i="${ms[$m]}" || fg="&2"
((u)) && w+='&9!'
r+="$fg${ds[$d]} ${w/#0/&8-} &7:: "
done
r="${r%::*}"
printf "%s\n" "$r&2[&3$i&2]"
fi
done < "$ff" | splitter_bar &
conky | while read -r; do xsetroot -name "$REPLY"; done &
monsterwm > "$ff"
Offline