[Solved] Programs hang on keyboard input (uim-xim)

Update: I've narrowed the issue down (via trial and error) to uim-xim.  If it's running, it causes this problem (in XMonad) and if it isn't, gnucash has no issues.  Oddly enough, when I start uim-xim by hand after gnucash, it works fine too.  Starting uim-xim by hand before gnucash results in the same issue, and so I'm inclined to believe it's either an issue with XIM implementation, or simply uim-xim.  Might also be a mixture of XMonad and uim-xim, as it works fine in Openbox.
I've noticed lately that certain GTK programs (I'd list them, but I haven't paid close attention until today, where I was using gnucash) work fine until I try to input anything via the keyboard.  The moment I start typing (or, at the latest when I hit the shift key or backspace key) the program will hang (without any error message).  I originally assumed that this was an issue with the program - not my window manager.  However, I tried one of the problem programs (gnucash) in Openbox today, and it works just fine.  That leads me to assume it's caused by my configuration in some way.  I have absolutely no idea where to start debugging this issue. 
A bit of information:
I use UIM (in both openbox and XMonad with identical configurations), run a script for a Japanese date format in XMonad (piped to dzen), and load the same xmodmap file in both window managers.  Also, I start all my window managers using CDM (Console Display Manager), but in the case of XMonad I supply a bash script instead of the binary, in order to preload certain files.  Also, I use a german keyboard layout.
<I removed the rest of this post because it was long and, ultimately, irrelevant>
Last edited by lswest (2012-05-01 09:53:46)

spectater wrote:
Same situation, Confirmed here
I'm having the same problem with my laptop after upgrading to  gnome 3 : 
  gnome-terminal  , gedit  can not accept  keyboard input , lower case letters, enter ,   backspace and so on ,   but  upper case letters are OK.
files  can not be renamed with  nautilus , also the find function affected  in nautilus
while other programs such as  xterm ,firefox  , pidgin  skype , thunar  leafpad  libreofficecan  ...and so on  work out of the box .
lower case & upper case letters all are not accepted well in my case.

Similar Messages

  • [SOLVED] wmii ignores all keyboard input

    I'm trying to use wmii on my new arch install. No matter which of the wmiircs I use, it never accepts any keyboard input to switch tags, open windows or anything else. The clock is correctly updated and if I open a window using DISPLAY=:1 from another terminal, I can move it around with the mouse. Evilwm is working fine and the only error in Xorg.0.log is related to fbdev. Does anyone have any idea what might be going wrong here?
    EDIT: Just a major PEBKAC. I forgot that Win is the new default modkey and wmii didn't ask me because xmessage wasn't installed.
    Last edited by A.W.A.M (2011-03-12 09:25:52)

    Anyone have any ideas? I tried reinstalling base and base-devel through pacman...still no relief.... This is bizarre.
    EDIT: It's getting worse. System now hangs on boot at "Waiting for UDev uevents to be processed." Things are rapidly going downhill.
    EDIT: No booting due to Udev fixed my booting without acpi. I rebooted into another linux distro to poke around in /var/log/pacman.log for a bit to see if I could find the offending update. Nothing seemed really suspicious, except for the update to "linux-api-headers." (Anything with "headers" is suspicious. So, I decided I would boot back into Arch and try to downgrade that package. After booting back into Arch, I see that the problem has disappeared...so...I dunno what to say...I have no idea what/how this got fixed, or how I (yes, let's be honest here...it must be "I") broke it in the first place.
    Last edited by lasu1 (2010-03-28 00:44:43)

  • Solaris 10 8/07 Install hangs awaiting keyboard input

    I have a W2100z Java Workstation that I am trying to install S10 8/07 on. When it first powers up, I get the standard bios prompts and can hit F2/F8 to customize things as I wish.
    However, when I start the Solaris install from CD, after the OS installer is loaded, it first prompts for 1, 2, 3, 4, ... choices (1 being an interactive install). No amount of keyboard punching seemed to get it to make a choice. So after about 30 seconds or so, it times out and presumes interactive install.
    After a bit, it loads a text-based window to let me choose a language. Just move the cursor around, select a language, and then hit F2 to continue. Unfortunately, it does not recognize any keyboard input and just sits there comatose for as long as I choose to wait.
    So, perhaps I have a keyboard issue, so I swapped out a Kensington for a Dell keyboard. That didn't work so I acquired a Sun keyboard. That doesn't work either. I've also plugged the keyboard into every USB slot I could find (two on the front and 3 on the back), all to no avail.
    Now, Solaris 11 from the SXDE has no problem booting and installing on this computer with all of those keyboards. Unfortunately, that is academic in that I need to run S10.
    So what is the magic to getting the W2100z to boot/install Solaris 10?

    After much gnashing of teeth and pulling of hair, I found an BIOS upgrade for the W2100z. The keyboard now is recognized and the bits are installing.

  • Java programs don't accept input from German Microsoft keyboard on Mac OS X

    Hi everyone,
    I use Microsoft's Natural Ergonomic Keyboard 4000 with a German layout and the current IntelliType Pro driver on a Mac (OS X 10.5).
    When activating the NEK 4000-specific German keyboard layout supplied with IntelliType Pro for Mac, Java programs cannot recognize keyboard inputs anymore. They can again as soon as I switch back to the standard German keyboard layout provided by Apple with OS X 10.5. However, this layout does not match the characters printed on the NEK 4000.
    This phenomon is limited to Java programs running on OS X with the IntelliType Pro's specific German keyboard layout activated. It does not occur with native OS X programs. Therefore, the problem could result from Microsoft's IntelliType Pro driver for OS X, Sun's Java Virtual Machine (in OS X), or Apple Mac OS X.
    Could a Sun employee please take a look at this issue?
    I am more than willing to provide the respective log files if this was needed.

    arne2 wrote:
    Sun's Java Virtual Machine (in OS X), Apple, not Sun, is the source of the VM on that OS.
    Apple probably gets it from Sun but still Apple is responsible for it.

  • HttpServer error in reading buffer size via keyboard input - HELP

    I've written a simple HttpServer program that reads keyboard input to construct a buffer to copy the requested file into the socket's output stream. I've done the string-to-integer conversion using BufferedReader and parse.Int. However, when I go to use the int later in the program, I keep getting the message "variable b may not have been initialized." Can anyone tell me what's missing from the code below? Thanks.
    private static void sendBytes(FileInputStream fis, OutputStream os)throws Exception
         //Construct a buffer via console input
         BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
         String str;
         int b;
              System.out.println("Enter desired buffer size or CTRL-C to break.");
         //Convert entry to an integer
         do
              str = br.readLine();
                 try
                   b = Integer.parseInt(str);
              catch(NumberFormatException e)
                   System.out.println("Invalid entry.");
         while((str=br.readLine())!=null);
         //Construct a buffer
         byte[] buffer = new byte;
         int bytes = 0;
         //Begin timing HTML page delivery
         long start, end;
              System.out.println("Timing for Web page delivery");
         start = System.currentTimeMillis();
         //Copy requested file into the socket's output stream
              while((bytes = fis.read(buffer)) != -1)
              os.write(buffer, 0, bytes);

    As the message suggests, what is missing is code to initialize the variable b. The first mention ("int b;") does not initialize it. The second mention ("b = Integer.parseInt(str);") only initializes it if no exception is thrown. So it's possible for b to be uninitialized when you actually try to use it.
    What do you need to change? First you need to decide what's to be done if the keyboard input isn't a valid integer. Do you have a default value in mind? If so, put that where you declare the variable ("int b = 42;"). If not, just initialize the variable to zero ("int b = 0;").

  • Keyboard input makes program hang

    Hi,
    I'm writing a small web service client that takes 2 numbers, sends them to the service and gets the sum/division/product/substraction back as an answer.
    I'm finished with the C/S programming and all I want to do is for the user to input the numbers himself. I wrote the following lines, which should work just fine but for some reason the program hangs and when I type sthg, there's no input. Does anyone have an idea why?
    private static float getNum() throws IOException
         float a;
         String message;
         BufferedReader stdin = new BufferedReader (new InputStreamReader(System.in));
         System.out.println("Enter a number (float): ");
         message = stdin.readLine();
         // the following line is never reached.
         System.out.println ("You entered: \"" + message + "\"");
         a = Float.parseFloat(message);
         return a;
    }Thanks.

    something else must be swallowing System.in ??
    how exactly are you running it?
    an Ant task still has access to System.in from my tests eg
    1)<?xml version="1.0" encoding="ISO-8859-1"?>
    <project default="all">
        <target name="all">
            <taskdef name="TestInput" classname="TestTask"/>
            <TestInput/>
        </target>
    </project>2)import java.io.*;
    import java.util.*;
    public class TestTask {
         public void execute() {
              try {
                   BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                   List result = new ArrayList();
                   for(String line=""; ((line=br.readLine())!=null) && !line.trim().equalsIgnoreCase("quit"); ) {
                        result.add(line);
                   System.out.println("Got: "+result.size());
              } catch(Exception e) {
                   e.printStackTrace();
         public static void main(String[]arg) throws Exception {
              new TestTask().execute();
    }3) compile TestTask.java
    4) save xml above as test.xml in same directory as the TestTask.class file
    5) type "ant -buildfile test.xml"
    everything works as expected..
    you're not trying to access System.in via jsp or something??

  • Can java program simulate keyboard input?

    is it possible to create a java program or applet that simulates an end-user's keyboard input into another java applet? is it also possible to feed the output of that target applet to a file based on the different input combinations?
    and How?
    Thanks.

    Take a look at the API-docs for the class java.awt.Robot . This generates system-level input-events. Might not work in an applet, I do not know whether an applet has the right to do this.
    The second question is actually the more difficult one, since normal applets can not do file access.

  • [SOlVED]Keyboard input issue

    Hello guys,
        I have upgraded Gnome to Gnome 3. However, I found a issue about keyboard input recently: if I try to press the same key twice or more very quickly, the system just receives only one character! eg, if I type "www" in a short time, it will display only one 'w'!  I have to wait for nearly 1 second to type the same key again and it can display that same character! What should I deal with this issue?
    Last edited by albertsirius (2012-01-08 14:07:11)

    Thank you ! I set the "Bounce Key" off, and it works
    stefanwilkens wrote:
    Hi,
    Please check in gnome 3's control center under "Universal Access" in the "Typing" tab, it sound like either Slow Keys or Bounce Keys is enabled.
    if you can't find gnome 3's system settings, you can start it by running:
    /usr/bin/gnome-control-center

  • Firefox and Thunderbird are suddenly not accepting keyboard input

    Keyboard shortcuts still work just input in any kind of input field fails so I can still use ctrl+C / CTRL+V to somewhat use firefox and Thunderbird But all input fields are completely unresponsive to keyboard input
    The problem suddenly arose while I was browsing.
    I have the same issue on all program's based on the Gecko engine and I confirmed them so far in Firefox, waterfox, instantbird, thunderbird and fossamail. However chromium / windows / basically everythign n
    To fix it I tried the following:
    Restarting firefox
    Restarting firefox in savemode
    Rebooting
    Changing the keyboard layout in windows
    Using a different keyboard
    Again rebooting
    Pressing F7 to check for caret mode which was disabled
    pressing winkey + F9 (Whatever that does)
    I am running windows 8.1(x64)

    Solved, Changing the keyboard layout again and rebooting fixed it. I tried using the on screen keyboard which worked so I changed the keyboard layout again and rebooted and now it works just fine. I still wonder what caused a Gecko wide issue like this?

  • When I plug my headphones into the headphone/optical out jack programs hang

    I have an iMac 20 inch LCD. On the back their is a jack with a picture of headphones, but it is also labeled as "optical out". I plug my headphones in and they work. Great. That is not my problem today.
    My problem is that whenever I plug the headphones in or unplug them, iTunes (and other apps using audio) hangs and when I try to adjust the volume with the keyboard buttons nothing happens for 15 seconds or more and then the volume changes, not that anything is able to play. If I wait for a minute or so then all my applications start working fine again and I am able to hear my music and adjust the volume.
    What in the world is going on?
    1.8 Ghz G5 1.25GB RAM   Mac OS X (10.3.9)  

    Thank you. That is good information.
    Does this mean that there is nothing I can do about the delay? When I think of a delay, I think of maybe 10 seconds. I am having to wait for a minute or more for my audio to switch. While I wait, I have no audio and any audio program hangs. Is there a setting I can change? It seems rather ridiculous that I have to wait so long just to switch from internal speakers to headphones.
    It is like this on other Mac machines? Or it is just my iMac? I hate to compare Mac to Windows, but on Windows or Linux computers the switch is instantaneous.

  • Text displaying selectively, and programs not letting you input text

    I posted here once before under a different name when my internet wasn't working and got a prompt, exceedingly detailed and very useful response. Hopefully another brilliant Mac user can help me this time!
    As you can see I have an intel-core solo Mac mini. I love it very much, but recently text has been display in an unusual way. Sometimes, in some programs, certain letters will not display. http://tinyurl.com/ygmhc4 is a collage thing I just made to show what I mean more clearly. This happens in MSN, in system. . .programs, I guess, in Firefox, in Growl notification, in Google Notifier, all over the place! I haven't noticed it in MS Word yet, though, but I don't use it often. It's really quite annoying. Any thoughts? It tends to be different letters, but for example all lower-case Us will disappear. But next time, it will be all capital Hs and lowercase Fs. And if you close the program and reopen, it sometimes displays correctly! In Firefox, sometimes entire passages of text will not appear, unless I change the text size to very small sizes. How perplexing!
    And another issue I have had: Sometimes a program like Firefox will not recognize ANY keyboard input unless I switch to another application, and then back again. It's a minor annoyance, but it happens pretty regularly.
    Help with either issue would be GREATLY appreciated as while both are not destroying my machine, they are harming my productivity. Thanks SO MUCH!

    Oh and another display issue, although this MAY be a Firefox problem as it only happens in Firefox. Then again, it seems my computer is really having trouble with text.
    Here it is: when I am entering text in to a textbox, the text-entry cursor is slower than the text I am entering. For example, see http://tinyurl.com/yakrlp
    In that box, I typed "Unfortunately, this is not the end of my crazy text-display issues! I can't see the last couple of letters I've typed until I type severl mare after them causing ridiculous typos like those because It'it's too late! And I dont't know how many backspaces to do because the cursor is in the wrong place. Annoying, huh? Let me tell you it is. Perhaps this is a Firefox issue, but it seems like it isn't."
    As you can see, this is causing a lot of problems. It only appears on SOME websites. For example, on this site, entering this text, it's fine. On some forums, like the MozillaZine support forum, and also in Gmail, this problem appears. Please help! Or is this a Firefox issue?
    It seems I have a lot of problems!

  • Spaces locks keyboard input

    Per Sean Dale1, the following was mis-posted in the 10.5 Leopard thread (original post here: http://discussions.apple.com/thread.jspa?threadID=2201088):
    Have been running into this problem more and more frequently on both a MacBook Pro and Mac Pro tower running 10.6.1 and 10.6.2: when I Control-right-arrow to move to my other "space" one or two of two bad things will happen:
    (1) the icon in the middle-bottom of the screen showing which "space" I'm in does NOT fade away and disappear
    (2) I am prevented from doing ANY keyboard-input into my programs there. I will be able to click and highlight windows using the mouse, as well as see menus activating and such, but anywhere there is a text field (browser or address book or ANYwhere) keyboard input is not displayed.
    The only solution is to go into the Activity Monitor and quit the Dock application.
    Have been seeing this problem for a few weeks which persists through reboots and such.
    Ideas?

    This issue is being covered in more detail at this thread:
    http://discussions.apple.com/thread.jspa?threadID=2161076
    This suddenly started happening to me yesterday and now happens every time I switch Spaces with the keyboard. I've found that the only way around it is to only use the menubar icon to switch. Because I'm so used to clicking keys to switch Spaces and still do it unconsciously, I've disabled the keys in Spaces prefs.

  • Setting keyboard input to default to phone

    Trying to figure out how to set my keyboard input to default to the phone, NOT to search or any other text-based input. I want to be able to type a phone number into my phone and call someone. Is this too much to ask? I have spent hours trying to figure this out and can't find an answer. Help please! And thanks.

    I don't think so, that I know of.
    Are most of your calls all dialed by number or are there a few numbers you dial quite often?
    You can set a screen shortcut to those.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Installed rdesktop - but keyboard input still goes to Mac Terminal??

    My work PC has been "upgraded" to Windows 7 which made the Microsoft Remote Desktop Connection v2.0.1 stop working (it connects OK, I can login and see my work PC screen, but as soon as I try to do something I am "disconnected" from the PC).  I can't install RDC 2.1 because I have a PPC G5.
    So I searched for alternative remote desktop apps.  Cord 0.5.0 crashes on my machine and 0.5.5 won't even start up.
    I ended up installing rdesktop (www.rdesktop.org)
    It looks promising - very fast, and gets me to my PC login screen.  My mouse pointer can click on the screen buttons, but any keyboard input appears in my G5 Terminal window and is not sent to the Windows 7 PC.  This makes it impossible to enter my Windows 7 password to login!
    I'm sure this is a simple problem to solve but I have no idea on how to solve it.
    Any clues appreciated.  Thanks.

    Try:
    rdesktop -x m -r clipboard:"CLIPBOARD" -g 1280x1024 -u<username> <hostip>
    I do recommend using ssh tunnel for RDP over internet. Is more secure and limits open ports to only ssh port in firewall.
    There are instructions about on how to use cygwin with RSA key login, turn off ssh password login when working properly.

  • Maple13, tiling wm and keyboard input

    Hi,
    I am using a tiling wm (musca). I installed maple and at first had the problem, that maple would show only a grey window.
    Using wmname and
    wmname LG3D
    I resolved the problem. Now the problem is, that the worksheets wont accept my keyboard input.
    Mouse/menus work. All dialogs also work with keyboard input.
    If I open a new worksheet, input works. But as soon as I switch worksheet it does not work anymore.
    Anyone an Idea what I could do?
    Thanks!
    PS: I already tried sun jre (from pacman) and openjdk6 by changing the maple startup file. It's always the same

    Depending in your window manager you may have the option to add a floating workspace. Try working there. If that doesn't solve the problem you can try runing an aditional floating window manager inside a Xnest or a Xephyr session. This has worked for me for some other problematic applications. For example try:
    Xephyr -ac -br -host-cursor -noreset -screen 1280x800 :1 &
    sleep 3
    twm -display :1
    this will initiate a new X session inside yours, which will be managed by twm. There you can run a terminal and of course maple. Maybe is a sub optimal workaround, but is the only alternative I have found.
    (Note that Xephyr is found in xorg-server-xephyr package and twm, well in xorg-twm )

Maybe you are looking for

  • Contacts on my iPhone do not show up on my mac

    I can't seem to sync the contacts on my iPhone 5s to the contacts on my mac. I add more contacts on my iPhone than I do while sitting at my desk (mac). I have lots of contacts that will not show up on my mac - but some do. I don't know why, it seems

  • RAM issues with K7N420

    I bought two extra sticks of 256 MB DDR 2100 RAM and I've installed them into slots 2 and 3 (along with the original 256 I had in slot 1) and the system doesn't recognise that they are there. I read the manual and it shows in the appendix the configu

  • Value in payment terms field not dispalyed in invoice after saving MIRO

    Hi, I Implemented the BADI- MRM_PAYMENT_TERMS to populate GR date as baseline date in invoice, But after saving the invoice when I display the invoice document in MIR4 it not showing the payment terms. It only show the condition ie the discount get i

  • What do I do when I keep getting an error message when converting a PDF to Word?

    "an error occurred while trying to access the service"

  • Vga cooler on cq43

    in my hand has  a presario cq43. i  dissassembled it and saw has no vga cooler.vga chip is naked. is it right? model is hosting those parts; amd e350, 2gb ram, amd 6310