LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-12-2011, 01:02 AM   #46
lej
LQ Newbie
 
Registered: Aug 2011
Location: UK
Distribution: Slackware
Posts: 29

Rep: Reputation: Disabled

Quote:
Originally Posted by AMDphreak View Post
I just tested your theory on my debian box using OpenOffice Writer and GNOME-terminal. I specifically did not release the Caps lock while I was typing. I use a USB keyboard, and It still types caps even on Keypress. GNOME responds on Keypress. I do have this problem that he mentions, but I'm not a buffoon who uses his Caps Lock to type single capital letters. I learned a long time ago to not be stupid.
What? Caps Lock is activated on key press but only deactivated on a subsequent key release (not press). This isn't a "theory", it's a fact, read the X server source code.

Quote:
Also, Whizje had the right answer
No, he didn't. I use a PS/2 keyboard, interrupt latency is irrelevant. As I have stated several times, this "problem" occurs because the X server only deactivates Caps Lock (and Num/Scroll Lock) on key RELEASE. As for USB, potential latency is not actual latency. I hope nobody is stupid enough to suggest that every keypress has a reproducible 200-300ms delay?

Last edited by lej; 09-12-2011 at 01:03 AM.
 
1 members found this post helpful.
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 09-12-2011, 09:45 PM   #47
cedricsm
LQ Newbie
 
Registered: May 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
I will hire someone to embed this modification for the caps lock. If interested PM me. I would preferably like it modified for Mint.
 
0 members found this post helpful.
Old 09-13-2011, 12:46 AM   #48
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,201

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
sheesh, all this effort working against a well established system.

back in the days of manual typewriters, all the caps lock key DID was mechanically latch the shift key into place until released, hence the name caps LOCK, it was often pressed if i am not mistaken at the same time as the shift key, or perhaps was mechanically linked to the shift key in some models, either way, it would probably have a similar delay if not even greater in length. I would personally learn to use the shift key instead of continuing on with a broken way of doing things. Your complaint that there is a 'problem' is kinda like asking why a staple gun isn't good at stapling together a stack of paper, yeah it uses staples but it wasn't designed for stapling a stack of paper together.
 
1 members found this post helpful.
Old 09-13-2011, 11:23 AM   #49
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Quote:
Originally Posted by frieza View Post
sheesh, all this effort working against a well established system.

back in the days of manual typewriters, all the caps lock key DID was mechanically latch the shift key into place until released, hence the name caps LOCK, it was often pressed if i am not mistaken at the same time as the shift key, or perhaps was mechanically linked to the shift key in some models, either way, it would probably have a similar delay if not even greater in length. I would personally learn to use the shift key instead of continuing on with a broken way of doing things. Your complaint that there is a 'problem' is kinda like asking why a staple gun isn't good at stapling together a stack of paper, yeah it uses staples but it wasn't designed for stapling a stack of paper together.
LOL... I think overall, people should think about what they are trying to say, and realize that this is linux, and linux wasn't made for complete newbies. That's only my two cents Pretty much, what I am trying to say is get over it, and don't use the caps lock for normal typing.
 
1 members found this post helpful.
Old 09-19-2011, 05:55 PM   #50
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
I don't find the last 2 posts helpful. I agree w/ the thoughts, but at this point in the thread they are no longer helpful, because the ground rules just changed: OP is now offering to pay for the fix he wants.

One of the virtues of Linux is the possibility of "having it your way"; whether by writing your own customization, or hiring someone to do it. We've warned OP over & over, but he is now putting his money on the table & so it's time to shut up about "why not" & instead discuss "who" & "how".
 
Old 09-19-2011, 08:18 PM   #51
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
That is true also. I'm not even in it for the money.... I just like to help. That being said though, maybe we can collaborate on what to do, what the original problem is, and what we need to do in order to tackle this problem. I'm down for anything, and my previous post is what I only thought at the time to speak my mind. Like Rick said, let's do this and try/attempt to fix this.
 
1 members found this post helpful.
Old 09-20-2011, 10:23 PM   #52
lej
LQ Newbie
 
Registered: Aug 2011
Location: UK
Distribution: Slackware
Posts: 29

Rep: Reputation: Disabled
I have already explained what the problem is, and provided an example patch. I don't know if it works as I don't feel like recompiling X (not my problem), but that is the root cause of the issue.

Again, caps lock is turned on when you PRESS it, but only turned off when you press AND RELEASE the key. This is what is causing the perveived delay.

When I say turned off, I mean the X server only updates its internal state when the key is released, the LED is turned off when you press the key, but the server's modifier bit remains on until you release it. You can see this with xev, as I also mentioned previously.
 
Old 09-22-2011, 01:07 PM   #53
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
Quote:
Originally Posted by lej View Post
I have already ... provided an example patch. I don't know if it works as I don't feel like recompiling X (not my problem), but that is the root cause of the issue. ....
He's offering money now, care to quote a price?
 
Old 09-30-2011, 11:11 AM   #54
cedricsm
LQ Newbie
 
Registered: May 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
That will depend on how long it will take and how much work there is needed to be done. If someone can provide details and quote a price for me, we can work something out. PM me. Note, I would like this modification done on my Mint distro.
 
Old 10-06-2011, 11:49 AM   #55
lej
LQ Newbie
 
Registered: Aug 2011
Location: UK
Distribution: Slackware
Posts: 29

Rep: Reputation: Disabled
Quote:
Originally Posted by archtoad6 View Post
He's offering money now, care to quote a price?
A price for what? Running a couple of commands?

If your distro can't apply arbitrary patches and recompile it's own source, perhaps you should switch to a competent one.
 
Old 10-06-2011, 12:07 PM   #56
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,367

Rep: Reputation: 233Reputation: 233Reputation: 233
Quote:
Originally Posted by archtoad6 View Post
He's offering money now, care to quote a price?
I don't think the OP fully understands what it does.
Will he pay for every xorg update (using lej's patch)?

Quote:
Originally Posted by cedricsm View Post
That will depend on how long it will take
It will take as long as you plan using GNU/Linux.

I agree with lej here.
Unless it's done at distro level, it's no more than a couple of commands.

Are you willing to pay a debian package maintainer?
Paying for a such a weird package means paying for everyting.

Edit: Their exist a few projects using scripts to modify your system, it might be better to ask them to do (and automate) this.
Example: http://smxi.org/site/about.htm

Last edited by jens; 10-06-2011 at 12:59 PM. Reason: Sorry for the the many edits, i'm having wifi problems :(
 
1 members found this post helpful.
Old 10-06-2011, 01:02 PM   #57
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,201

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
honestly if it's that much of a bother to you why not learn to make the necessary changes yourself? that is the beauty of open source software such as Linux after all, nobody is stopping you from making the changes yourself. Seriously, short of paying someone enough, which would probably be prohibitively expensive, i can't think of many people who really would want to bother taking on a task that will only benefit a group of people small enough to count on one hand and especially one that really is imho counterproductive, not when there are security holes that allow remote execution of arbitrary code, or bugs that cause a total crash of the system to search for.

*edit* and i'm not just saying this to be mean, but if you really understood what it took just to make a 'simple' change, you might not be so insistent that people who by and large volunteer their time to a common cause fix something they don't see as a problem to begin with.

Last edited by frieza; 10-06-2011 at 01:05 PM.
 
2 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:44 PM
all software installs hang scroll lock and caps lock lights flash jcorrnt Linux - Hardware 6 02-07-2009 01:44 PM
Hard lock plus Caps and Scroll Lock flashing (kernel panic?) TiredOfThis Linux - General 4 12-11-2007 08:35 PM
LXer: Tutorial: Master Your Linux Keyboard (And Fix Caps Lock Forever) LXer Syndicated Linux News 0 07-13-2007 02:46 PM
Caps Lock and Num Lock leds dont work! npc Linux - Hardware 2 11-08-2005 11:40 AM


All times are GMT -5. The time now is 09:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration