You are not logged in.
I have a few questions:
1. Is it possible to make spectrwm always run foo program on bar desktop? I tried the autorun feature, but I think its just for starting application on startup, correct?
The workspace number is the one specified inside the [] of the autorun setting.
2. How can I stop the focus from following the mouse?
See:-
$ man --pager="less -p focus_mode" spectrwm
3. How can I change the default keybinds? I don't see them inside /etc/spectrwm.conf.
See:-
$ man --pager="less -p BINDINGS" spectrwm
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
The workspace number is the one specified inside the [] of the autorun setting.
Yes I know that. I am asking if using that feature will make spectrwm always open the program on the specified workspace or if its only one-time.
$ man --pager="less -p focus_mode" spectrwm
That does not help. The only value it mentions is follow_cursor which I do not want.
$ man --pager="less -p BINDINGS" spectrwm
Ok thanks. But why not include the keybinding in the default config file?
Offline
skanky wrote:The workspace number is the one specified inside the [] of the autorun setting.
Yes I know that. I am asking if using that feature will make spectrwm always open the program on the specified workspace or if its only one-time.
Sorry yes, I misread you original post - thought that's what you'd wanted. It is only a start-up feature. It may be possible using EWMH?
skanky wrote:$ man --pager="less -p focus_mode" spectrwm
That does not help. The only value it mentions is follow_cursor which I do not want.
Ha, I'd not noticed that's the only one listed. My setting's default which I always thought was follow cursor, but I wonder if there's some subtle difference I've not noticed as it seems to act like follow cursor, as I'd expect it.
Anyway, the allowed values are "default", "follow_cursor" and "synergy". If none of those work how you want, your best bet is to add it to flyspray at the conformal site:
https://opensource.conformal.com/flyspr … ?project=8
skanky wrote:$ man --pager="less -p BINDINGS" spectrwm
Ok thanks. But why not include the keybinding in the default config file?
It was, but it's now all been moved to the keyboard mapping files (see the note near the bottom of /etc/spectrwm.conf).
Those files don't seem to supplied with the spectrwm package, I'm assuming they're not in the supplied source, though they are in the git repo at the conformal website.
Last edited by skanky (2012-03-19 15:25:15)
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
If none of those work how you want, your best bet is to add it to flyspray at the conformal site:
https://opensource.conformal.com/flyspr … ?project=8
Ok. Will do.
Those files don't seem to supplied with the spectrwm package, I'm assuming they're not in the supplied source, though they are in the git repo at the conformal website.
Thanks I found it.
Offline
Huh, cute. I missed those. Fixed in spectrwm-1.0.0-3.
Offline
Does anyone else find it funny that there is a window manager named after ball sacks? I mean imagine talking to someone else about the window manager you use...
Last edited by thatnewyorker (2012-03-20 02:43:33)
R.I.P In Pieces
Offline
For anyone who may be having issues with the pre load hack, this post is interesting: https://opensource.conformal.com/fluxbb … 1142#p1142
It's probably worth keeping an eye on that thread as the change may get incorporated.
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
Doubtful. I said how to achieve the same thing some time ago. I forwarded it to Marco because it seems to be the sort of thing that should at least be in the docs. The problem is that the preload stuff happens at the completely wrong time to become a quirk, so it is tricky doing it in software.
Last edited by keenerd (2012-03-21 14:24:51)
Offline
This is allowing sudo (etc.) to use the hack, and moves it away from the environment variable. I'm not sure whether it would affect what you were saying in that post?
Either way it just doesn't work for me. Even the example Marco gives in that thread (with Firefox). It just opens on whatever ws I move to. Not that it's a problem for me though.
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
Why? Increasing the number is hard (keybindings for them). Decreasing the number does not achieve much, since unused workspaces are skipped over. And what if you need them later? Just ignore the ones you don't use.
If you want to keep it simple, 10 is a good number. If you want pointlessly complex open ended config, use a different WM.
If you have a proposition for how to do the keybindings for more than 10, I would like to hear it since it might be worth trying.
Offline
Any idea as to why my status bar is flickering? So far, I have things quite simple in .spectrwm.conf. Regarding the bar:
bar_enabled = 1
bar_delay = 2
clock_enabled = 1
clock_format = %a %d.%m %R %Z %Y
Nothing else, no bar_action, conky or anything. It seems to flicker at the rate of the variable bar_delay, but not constantly. It flickers for a moment, something like 15 seconds, and then does not flicker for some time. Then the flickering starts again. It does not flicker when the time changes.
Edit: Well, I've changed bar_delay to 15, so it's bearable now.
Last edited by SternGerlachExperiment (2012-03-29 14:23:40)
Offline
Stern: I've seen bar flickering, but only under massive load and near-OOM conditions. Something is up. What is your video driver?
Offline
It's xf86-video-ati from the extra repository, and the card is Mobility Radeon X1400. The bar flickers even while there's no load. But I don't recall having any trouble with this card or the drivers before.
Offline
Everytime I log in startup apps on every workspace are overriding my dzen2 bar ( http://i.imgur.com/IrMLe.png ), but after restarting spectrwm (meta+q) everything looks fine: http://i.imgur.com/Yv5tU.png
My ~/.spectrwm.conf
http://wklej.org/id/727419/
Is there any solution for it?
Offline
Looks like you are doing everything correctly. Perhaps an upstream bug?
Last edited by keenerd (2012-04-09 01:14:05)
Offline
if i have a floating window, it always shows in front, i can not seem to send it behind another window. i would like to be able to move a floating window behind a maximized or full one, but don't know how, any tips?
Offline
Hello there. Here's a patched Spectrwm with "focus follows mouse" disabled by default:
https://aur.archlinux.org/packages.php?ID=58650
The original idea is not mine. My patch is just a simplified version of this one.
Offline
cool, thanks
Offline
This patch is cool but has anyone looked into making it focus a window on a click but whilst also sending through the event.
As it stands now, I need to click on a button twice. (The first to focus the window and the second for the actual press event).
Some people might not like that because it might cause accidental clicks to be registered (especially since the window doesnt have a titlebar) but I guess I got in the habit of having it this way from using Windows and Gnome 2.
spectrwm is very close to becoming ideal
Last edited by kpedersen (2012-05-24 22:41:05)
Offline
Any idea as to why my status bar is flickering? So far, I have things quite simple in .spectrwm.conf. Regarding the bar:
bar_enabled = 1 bar_delay = 2 clock_enabled = 1 clock_format = %a %d.%m %R %Z %Y
Nothing else, no bar_action, conky or anything. It seems to flicker at the rate of the variable bar_delay, but not constantly. It flickers for a moment, something like 15 seconds, and then does not flicker for some time. Then the flickering starts again. It does not flicker when the time changes.
Edit: Well, I've changed bar_delay to 15, so it's bearable now.
Similar problem here:
Just made a fresh spectrwm install and the statusbar is flickering at the rate of bar_delay.
I'm using the standard configuration shipped with the package from community.
Nothing fancy in my .xinitrc:
#!/bin/sh
# ~/.xinitrc
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
xrdb -merge ~/.Xresources
export GDK_USE_XFT=1
export QT_XFT=true
ibus-daemon --xim &
# Spawn terminal daemon
urxvtd -q -o -f &
# set desktop + launch programs
xfsettingsd &
mpd &
nitrogen --restore &
xscreensaver -no-splash &
xfce4-power-manager &
#exec ck-launch-session dbus-launch startxfce4
exec ck-launch-session dbus-launch --sh-syntax --exit-with-session spectrwm
Any ideas what could cause this behaviour?
Offline
Have you tried it without the ck-launch-session, etc?
I don't get the problem and just use
exec spectrwm
Also, it might be worth trying a minimal baraction script. If that fixes it, add individual elements back and see which one causes it to return.
I don't use the standard one, so again that may be the difference - though with it sleeping for 5 secs it's less likely, I think.
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
Have you tried it without the ck-launch-session, etc?
I don't get the problem and just useexec spectrwm
Also, it might be worth trying a minimal baraction script. If that fixes it, add individual elements back and see which one causes it to return.
I don't use the standard one, so again that may be the difference - though with it sleeping for 5 secs it's less likely, I think.
Cropped down the startup into a minimal setup, but it does not give the desired effect. The flicker at every bar redraw still draws away my attention.
The only possible solution if found consulting google seems to be editing the source.
For now, I switched to the spectrwm fork sscrotwm using dzen2 as info bar.
Offline
checkout the latest spectrwm-git, bar flicker should no longer be an issue.
Offline
Spectrwm 0.1.1 is out.
If you previously used "bind[spawn_term] = ...." this will no longer work. The binding has been changed to just "term".
Offline