LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-26-2010, 12:19 AM   #1
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Caps/Num lock GDM/GDM3 on Squeeze


Hi,

I recently decided to replace Lenny on my laptop with Squeeze. All went fine, but now with both GDM and GDM3, the Caps and Num locks come on when GDM starts, and behave erratically. I have to hit the caps/num lock key several times to disable the lock, and sometimes it will come on again after a random time. This behavior persists into my GNOME session. I'll be working on code and *&%#! -- on comes the caps/num locks.

Initially I thought this was an X issue. I uninstalled GDM3 (which is the version installed by squeeze) and logged in at the console then started X via startx. The caps and num locks remained off and behaved in the normal manner. I then tried SLiM, and again the keys behaved normally.

Then I tried GDM (2.20 in the squeeze repos), and it behaved the same as GDM3.

Even though I purged GDM3 and GDM, I'm wondering if there's some residual configuration data in my home directory, but I can't seem to find anything related.

Using SLiM isn't so bad, but once I log in I get asked to unlock the keyring, so typing my password twice to log gets annoying.

Suggestions?

TIA.
 
Old 08-27-2010, 12:54 AM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Numlock behaviour within Gnome is controlled by Preferences > keyboard > Layouts > Options.
How GDM turns numlock on by default is beyond me. I had to install numlockx first and add it to /etc/gdm/Init/Default.
 
Old 08-27-2010, 02:47 PM   #3
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335

Original Poster
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Quote:
Originally Posted by jay73 View Post
Numlock behaviour within Gnome is controlled by Preferences > keyboard > Layouts > Options.
How GDM turns numlock on by default is beyond me. I had to install numlockx first and add it to /etc/gdm/Init/Default.

Layouts > Options was the first thing I played with.

Its not an issue of it turning on by default. The problem is that pressing the key does not turn it off. I have to press repeatedly and it will turn itself back on at random. It happens with Caps Lock too.

This is only when using GDM or GDM3, and persists into the GNOME session. Using SLiM or no DM to start a GNOME session does not exhibit this behavior.
 
Old 08-29-2010, 10:00 AM   #4
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335

Original Poster
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Something interesting...

If, when GDM/GDM3 starts, I switch to a virtual console via Ctrl+Alt+Fx, the caps- and numlocks turn off and stay that way for the sesion (unless I turn either on). I can then use Ctrl+Alt+F7 to return to X and log in normally.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Num lock OFF and Caps & Screen Lock ON at Linux startup. Reversing? peteyperson Linux - Newbie 2 02-28-2009 11:44 AM
CAPS and Num Lock Don't work on applications running from a remote server kaplan71 Fedora 2 09-09-2008 09:49 AM
Caps lock, Num Lock notification applications tuxedup Linux - Desktop 2 03-02-2008 05:23 PM
Caps Lock and Num Lock leds dont work! npc Linux - Hardware 2 11-08-2005 10:40 AM
Num, Scroll, Caps/Lock all Lock up Slackware Zamochit Linux - Newbie 0 10-18-2004 07:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration