PDA

View Full Version : [ubuntu] Keyboard does not work in unity/gnome shell. Works in LightDM



anch0
December 23rd, 2011, 01:07 PM
I have an updated ubuntu system, one week old about the updates. I cannot work anymore with it, I installed a gnome extension (instructions here (http://www.webupd8.org/2011/06/soundmenu-like-gnome-shell-extension.html)) and after that I restarted the shell (alt+F2 then r).
With the login screen the keyboard works, and I can switch to a tty too. But after login to any desktop enviroment (gnome shell, unity, gnome classic) the keyboard does not work, not even the leds of num lock neither caps lock. What can I do? How can I force to redetect my keyboard? There is a automated script that can do that? The mouse is working fine. Both the keyboard and the mouse are ps/2.

BC59
December 23rd, 2011, 01:47 PM
If you go to System Settings--Keyboard Layout you can play a little bit to see if there is a difference.

BC59
December 23rd, 2011, 01:53 PM
I found this, I don't know if you already did it:

install scim-bridge


sudo apt-get install scim-bridge

edit /etc/X11/xinit/xinput.d/scim as root


sudo gedit /etc/X11/xinit/xinput.d/scim

Find the line


GTK_IM_MODULE and change it into GTK_IM_MODULE="scim-bridge"

then save and reboot

anch0
December 23rd, 2011, 02:54 PM
I found this, I don't know if you already did it:

install scim-bridge


sudo apt-get install scim-bridge

edit /etc/X11/xinit/xinput.d/scim as root


sudo gedit /etc/X11/xinit/xinput.d/scim

Find the line



then save and reboot

That didn't work.. I'll install xfce4 to give a try..

anch0
December 23rd, 2011, 03:12 PM
After installing xfce4, the keyboard works but only in this Xfce Desktop Environment.
With Unity, Gnome3 and Gnome classic still I have this problem.
What does those desktops environment have in commmon that causes the keyboard stop working or crash and xfce4 don't have?

anch0
December 28th, 2011, 01:17 PM
If I start session as a guest, keyboard works with Unity, Gnome Shell and Classic.. so it has to be with something in my session. What should I erase? there is a hidden folder in /home that maybe is corrupted?

anch0
January 6th, 2012, 01:27 PM
The keyboard also works with KDE with my default user, not a guess user. Definitely something is corrupted with the gnome/unity desktop only. help

anch0
March 23rd, 2012, 04:04 PM
*bump

apaan
December 13th, 2012, 12:17 AM
Got the same problem after installing 12.10 (not upgrading, but installing from scratch). Before login, the keyboard is working, but after login it isn't.

Did your problem eventually solved? What was the solution?