You are not logged in.

#1 2010-05-31 16:02:30

Bedtimes
Member
Registered: 2009-09-26
Posts: 33

Can't get XMonad to work... Keyboard not working?

Okay, I'm a total newbie with this VM, but wanted to try and use it instead of Gnome. I've installed it and it starts when I run startx. The configuration file I am using is very very basic, since I just wanted to see whether I could get it working...

It is:

import XMonad

main = xmonad $ defaultConfig 
          { borderWidth = 2
          , terminal         = "urxvt"
          , normalBorderColor = "#cccccc"
          , focusedBorderColor = "#cd8b00"
          }

The terminal rxvt-unicode has been installed, so I should be able to run urxvt. I've tried other terminals, too.

The problem that I'm having is that while I can use the mouse, it seems the screen totally ignores the keyboard. I can't open up the terminal with mod-shift-return. I've tried hundreds of key combinations and none of these work...

Therefore,
I can't do anything.

I can't even Ctrl-Alt-Fx to another screen or close XMonad or anything....

How can I debug this? There is nothing in my xmonad.errors...

Last edited by Bedtimes (2010-05-31 16:13:09)

Offline

#2 2010-05-31 18:49:33

jealma
Member
From: The Netherlands
Registered: 2008-01-03
Posts: 71

Re: Can't get XMonad to work... Keyboard not working?

Hi,

I use wmii and experience the same problem, see http://bbs.archlinux.org/viewtopic.php?id=98089. The keyboard indeed responds to nothing anymore. I temporarily switched to Openbox until this problem is resolved. I tried recompiling wmii as stated by skualito in the mentioned topic, but to no avail. I think this is a problem beyond one window manager.

Offline

#3 2010-05-31 18:53:26

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: Can't get XMonad to work... Keyboard not working?

Try running dmenu (should be Alt-P with your config IIRC), does that work?

Offline

#4 2010-05-31 19:23:17

jealma
Member
From: The Netherlands
Registered: 2008-01-03
Posts: 71

Re: Can't get XMonad to work... Keyboard not working?

Does not work, the window manager is completely "fried"; key bindings don't work either (e.g. opening terminal with alt+return or dmenu with alt+p). This goes for both wmii and xmonad.

Offline

#5 2010-06-01 15:23:43

davetrotteruk
Member
From: Cornwall, UK
Registered: 2010-04-06
Posts: 24

Re: Can't get XMonad to work... Keyboard not working?

does it work in gnome/kde/xfce? if not make sure your key map is set correctly (/etc.hal/fdi/policy/10-keymap.fdi). You most likely have it set correctly but i didn't once and it would not accept my keyboard within an X of any sort including xterm.

Offline

#6 2010-06-03 17:57:50

jealma
Member
From: The Netherlands
Registered: 2008-01-03
Posts: 71

Re: Can't get XMonad to work... Keyboard not working?

My wmii is now fixed using libixp-hg 123-1 and wmii-hg 2696-1 from AUR.

Offline

Board footer

Powered by FluxBB