You are not logged in.
Pages: 1
I had hoped to avoid this but no luck. I wanted to give scrotwm a try. It's installed and it starts, but the "Windows key" (Mod4) doesn't work, so I can't really do anything. I'm using the default scrotwm.conf and the following .xinitrc to start it:
xscreensaver -no-splash &
case $1 in
openbox)
xcompmgr -c -t-5 -l-5 -r4.2 -o.55 &
exec ck-launch-session openbox-session
;;
awesome)
xcompmgr -c -t-5 -l-5 -r4.2 -o.55 &
exec ck-launch-session awesome
;;
scrotwm)
exec ck-launch-session scrotwm
;;
*)
exec ck-launch-session $DEFAULT_SESSION
;;
esac
I went plowing through the forum and even stole some other peoples' scrotwm configs to see if I could get it to work. I'm sure it's something I'll be ticked at myself for missing.
Offline
Hm. Have you looked at this thread? It seems like a similar issue and appears that the solution somehow had to do with HAL/evdev. Although now that we're slowly moving away from HAL, who knows.
Offline
Yes. I've been using HAL all along.
EDIT: I should be more clear. I have Openbox as well, and the Windows key works there. Tonight I'm going to try configuring scrotwm to use something other than Mod4 as a mod key and see if that works.
Last edited by evolnex (2010-08-02 22:35:13)
Offline
Bah - no dice. Changing the default mod key to Mod1 (which is supposed to be the Alt key) didn't do anything.
If it helps, here is the output of xmodmap:
xmodmap: up to 4 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x69)
mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf)
mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)
Offline
OK - I must be made of fail. I installed wmii and with all the defaults experienced the same behavior (no keys work). Time to do something else now...
Offline
Strange. I'm using Alt (Mod1) as my mod key, but I don't appear to have set that in my ~/.scrotwm.conf and /etc/scrotwm.conf still lists Mod4 as the default. Sorry to not be more help--is there anything else you can think of that might be causing the difference in behavior between Openbox and scrotwm?
Offline
Have you tried it without the ck-launch-session? I've never started scrotwm or similar with it. Also, FWIW, I don't have hal installed.
"...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
@skanky: I did try that. No dice. I also thought of uninstalling HAL, but I'm in the middle of studying for an important exam so I didn't want to do anything that might cause borkage on my daily driver.
@eschew: I couldn't think of anything, unless Openbox is doing something with keys that I should force to happen when starting scrotwm. Can't think of what it would be though.
Offline
Do you have a non-US keyboard?
I have seen some reports of issues with scrotwm and AZERTY, for example.
Okay, here's a few more things to try:
*) Compare the results of xev in scrotwm and openbox
*) Add this to your .xinitrc:
xterm -e "xmodmap $HOME/.Xmodmap" &
exec scrotwm > $HOME/.xsession-errors 2>&1
You may need an empty .Xmodmap if you don't have one already
*) Check your xorg config(s).
Finally, for hal if you do
pacman -Qi hal
it will tell you if anything requires it.
"...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
Great. I'll try these tonight and let you know.
Also, I re-installed awesome last night after having removed it some time ago, and the Windows key works there, which makes me think there's probably something to be found in your first two suggestions.
Offline
If you don't get anywhere with the above, try contacting the developer (he does sometimes post on the scrotwm thread in Desktop) - I've seen this reported elsewhere but no definitive fix, but he may know of one now.
"...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
I managed to figure it out. After taking your suggestion to force a backgrounded xterm to run, I took out the part that reloads .Xmodmap so that it just launched a terminal window. I tested the keys using xev and saw that it not only wasn't recognizing the Windows key, none of the Ctrl, Alt, etc keys were being recognized.
I tried switching off Num Lock and everything worked as expected. Turning it back on prevents the keyboard shortcuts from working (i.e., Win+Shift+Enter doesn't open a terminal with Num Lock on but does with Num Lock off).
Thanks for your help.
Offline
That's interesting...just for reference, what keyboard is it?
"...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 keyboard is a plain Dell 104-key USB keyboard.
Offline
Okay thanks. I wonder what Openbox does to fix it?
"...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
Pages: 1