Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Why do my keyboard keys change on the fly

  1. #1
    Join Date
    Oct 2009
    Beans
    50

    Why do my keyboard keys change on the fly

    I typed a simple C program to try and get the hang of a linux prompt, so I typed the hello world program. after a successful compile and run, I went to add more code but my quotation marks have turned into tiny pairs of dots. this has affected everything that I type in. I am using US keyboard and it worked fine until I compiled and ran hello world. """""""""""""" these are from my windows computer.I'll try and login with the notebook with linux and display the wierd qoutes I'm getting there.

  2. #2
    Join Date
    Oct 2009
    Beans
    50

    Re: Why do my keyboard keys change on the fly

    This what I´ve got now ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨on Kubuntu.
    Anyone have any Ideas? Thanks.
    Last edited by mocatz187; October 21st, 2009 at 07:00 AM.

  3. #3
    Join Date
    Oct 2009
    Beans
    50

    Re: Why do my keyboard keys change on the fly

    I have to hold shift down then press qout to get it to print to screen then if I press the space bar down it prints a standard qoute, but only once - it then continues to work as space.

  4. #4
    Join Date
    May 2008
    Location
    UK
    Beans
    1,451
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Why do my keyboard keys change on the fly

    Have you checked that you have the correct Keyboard set up - System -> Preferences -> Keyboard.

    There should be no reason why a Hello world program should impact your keys or keyboard - can you post the code of your program, it might be that your code has a side-effect. Use the CODE tags when you include your source code.
    Tony - Happy to try to help.
    Unless otherwise stated - all code posted by me is untested. Remember to Mark the Thread as Solved.
    Ubuntu user number # 24044 Projects : TimeWarp - on the fly Backups

  5. #5
    Join Date
    Oct 2009
    Beans
    50

    Re: Why do my keyboard keys change on the fly

    Yes keyboard is correct.
    this is the code:

    #include <stdio.h>
    int main () {

    printf ("hello world");

    return 0;
    }
    Last edited by mocatz187; October 21st, 2009 at 09:00 AM.

  6. #6
    Join Date
    Oct 2009
    Beans
    50

    Re: Why do my keyboard keys change on the fly

    Then in command line:
    gcc -Wall -o hello hello.c

    I was in the appropriate directory.
    When I removed the offending quotes in the new code the compiler and shell were happy.
    But now it does something weird, it requires you to hit the key twice to get one output and if you hit it once and then hit the space bar it will make a qoute that is code compatable.
    it's almost as if I somehow toggled some sort of letter highlighter or punctuator or ???
    Last edited by mocatz187; October 21st, 2009 at 05:41 PM.

  7. #7
    Join Date
    May 2008
    Location
    UK
    Beans
    1,451
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Why do my keyboard keys change on the fly

    I can't see that the code that you have given would cause any changes to your keyboard or key mappings.

    Does it still do the keyboard funny over a reboot ?

    It might be (long shot) that your keyboard is mis configure, you might need to reset the config (delete the layout definition and start again).

    ANother suggestion is to post your question in General help, as I am fairly sure the problem is not connected with your little "Hello World" app.
    Tony - Happy to try to help.
    Unless otherwise stated - all code posted by me is untested. Remember to Mark the Thread as Solved.
    Ubuntu user number # 24044 Projects : TimeWarp - on the fly Backups

  8. #8
    Join Date
    Oct 2009
    Beans
    50

    Re: Why do my keyboard keys change on the fly

    I set keyboard to us generic but no change. I have run DSL Linux as a live CD and did not have any issues.
    Looks like I'm gonna have to remove this OS!

  9. #9
    Join Date
    Oct 2009
    Beans
    50

    Re: Why do my keyboard keys change on the fly

    Yes I'm going to post this thread in general help.
    I will keep this one open for 24 hours to see if I get any responses.
    thanks.

  10. #10
    Join Date
    Oct 2009
    Beans
    50

    Re: Why do my keyboard keys change on the fly

    Wow, I'm really surprised that nobody has been able to help..
    I guess there is no fix and the best option is to search for linux distros that don't support dead keys or accented letters.
    I mean, I've got an excuse, I used windows vista prior to this and XP before that it's perfectly excusable that I don't know how to turn this off but whats your excuse (the ubuntu kubuntu community).

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •