Search Results

Search found 7974 results on 319 pages for 'keyboard buffer'.

Page 8/319 | < Previous Page | 4 5 6 7 8 9 10 11 12 13 14 15  | Next Page >

  • How do I clear xmodmap settings?

    - by Wayne Werner
    Exactly what the title asks. How do I clear xmodmap settings? I have an IBM model M, and somehow xkeycaps got it into its head that my "End" key was not any key at all. xev reports keypresses when I use it, so I know the event is being generated by the keyboard. Also, xkeycaps thinks that my arrow keys are all wonky, and apparently the scrollbar is broken so it only scrolls down - so I can't scroll up to find an IBM keyboard that just maybe is close to my map so I can fix my keys. So I'm trying to reset my keyboard to the default settings, but the xmodmap manpage is woefully devoid of "reset all" or "clear all" or anything of that nature (that I was able to find). Help would be greatly appreciated!

    Read the article

  • Buffer Overflow (vs) Buffer OverRun (vs) Stack Overflow [closed]

    - by joe
    Possible Duplicate: What is the difference between a stack overflow and buffer overflow ? What is the difference between Buffer Overflow and Buffer Overrun? What is the difference between Buffer Overrun and Stack Overflow? Please include code examples. I have looked at the terms in Wikipedia, but I am unable to match with programming in C or C++ or Java.

    Read the article

  • Show soft keyboard when Activity starts

    - by Al
    I have 2 activities, A and B. When A starts, it checks for a condition and if true, it calls startActivityForResult() to start B. B only takes text input so it makes sense for the soft keyboard to automatically pop up when B start. When the activity starts, the EditText already has focus and it ready for input. The problem is that the keyboard never shows up, even with windowSoftInputMode="stateAlwaysVisible" set in the manifest under the <activity> tag for B. I also tried with the value set to stateVisible. Since it doesn't show up automatically, I have to tap the EditText to make it show. Anyone know what the solution might be?

    Read the article

  • Accessing memory buffer after fread()

    - by xiongtx
    I'm confused as to how fread() is used. Below is an example from cplusplus.com /* fread example: read a complete file */ #include <stdio.h> #include <stdlib.h> int main () { FILE * pFile; long lSize; char * buffer; size_t result; pFile = fopen ( "myfile.bin" , "rb" ); if (pFile==NULL) {fputs ("File error",stderr); exit (1);} // obtain file size: fseek (pFile , 0 , SEEK_END); lSize = ftell (pFile); rewind (pFile); // allocate memory to contain the whole file: buffer = (char*) malloc (sizeof(char)*lSize); if (buffer == NULL) {fputs ("Memory error",stderr); exit (2);} // copy the file into the buffer: result = fread (buffer,1,lSize,pFile); if (result != lSize) {fputs ("Reading error",stderr); exit (3);} /* the whole file is now loaded in the memory buffer. */ // terminate fclose (pFile); free (buffer); return 0; } Let's say that I don't use fclose() just yet. Can I now just treat buffer as an array and access elements like buffer[i]? Or do I have to do something else?

    Read the article

  • Handling keyboard and mouse input (Win API)

    - by Deluxe
    There is a number of ways to catch mouse or keyboard under Windows. So I tried some of them, but every of them has some advantages and drawbacks. I want to ask you: Which method do use? I've tried these: WM_KEYDOWN/WM_KEYUP - Main disadvantage is that, I can't distinguish between left and right-handed keys like ALT, CONTROL or SHIFT. GetKeyboardState - This solves problem of first method, but there is new one. When I get that the Right-ALT key is pressed, I also get that the Left-Control key is down. This behaviour happens only when using localized keyboard layout (Czech - CS). WM_INPUT (Raw Input) - This method also doesn't distinguish left and right-handed keys (if I can remember) and for mouse movement sometimes generates message with zero delta values of mouse position.

    Read the article

  • kile does not get keyboard input, respond to Alt+F

    - by vishvAs vAsuki
    I use 11.10 with Unity. I use two kde apps a lot - kile and kate. Since the latest upgrade, I have observed two problems: a] I can never use Alt+F to select the file menu (works with other apps), yet when I press Alt, kile's menu comes up in the status bar. b] A few times every day, while using kile (haven't used kate as much recently), the keyboard stops responding (just in the 'editor' portion, rather than in structure-tree navigation). I cannot enter any text, but mouse works fine. I usually restart kile to continue working. One inconsistent way to reproduce it (multiple times today): I cut text from one open document using Ctrl-X switched to another document in the same kile window using Ctrl-Tab, then this happened. c] Sometimes, in kate, I can type in the editor but the keyboard won't work in the 'File open dialog'. How do I fix the above?

    Read the article

  • Dell inspiron 3537 keyboard and touchpad

    - by PeterJack
    With new dell inspiron 3537 keyboard works fine with livecd. Everything stable. Touchpad don't works at all but this is not big deal because I have external mouse. But when i install system on disk and reboot I can't event pass my password to account. Keyboard suspend on second lub some char and repeat(example peteeeeeeeeeeee - stuck on e). I try linux mint(13, 15, 17), ubuntu(12.04, 14.04), fedora - always the same work only on livecd. can't find any solution. Sometimes not suspend on key but only freeze. Whatever i press it's response.

    Read the article

  • Keyboard "type ahead" in CRUD web apps?

    - by user61852
    In some data entry contexts, I've seen data typists, type really fast and know so well the app they use, and have a mechanic quality in their work so that they can "type ahead", ie continue typing and "tab-bing" and "enter-ing" faster than the display updates, so that in many occasions they are typing in the data for the next form before it draws itself. Then when this next entry form appears, their keystrokes fill the text boxes and they continue typing, selecting etc. In contexts like this, this speed is desirable, since this persons are really productive. I think this "type ahead of time" is only possible in desktop apps, but I may be wrong. My question is whether this way of handling the keyboard buffer (which in desktop apps require no extra programming) is achievable in web apps, or is this impossible because of the way web apps work, handle sessions, etc (network latency and the overhead of generating new web pages ) ?

    Read the article

  • Backlit keyboard on Toshiba Satellite P755-S5184 doesn't work in Ubuntu 12.04

    - by chrisabner23
    I have the keyboard backlight turned on in bios to timer setting (1 second). When laptop boots the backlight works, but once ubuntu begins to load the backlights turn off. There is a function key combo that is supposed to turn it on (Fn +Z), hitting that brings up a notification balloon showing the backlit keyboard icon but it is grayed out. I tried using KeyTouch to try and get the backlight working but my laptop model isn't on the list. I'm new to Ubuntu, and have been searching the web and can't seem to find any answers that will work for my particular situation. Any information would be MUCH appreciated. Thanks!

    Read the article

  • Broken keyboard shortcuts

    - by c089
    When I freshly installed maverick on my new notebook, I set up my keyboard shortcuts like this: Switch to WS 1 = Mod4+1, Move Window to WS 1 = Mod4+Shift+1, Switch to WS 2 = Mod4+2 and so on (Mod4 being the "Windows" key). But now the three-key combinations (i.e. the ones I use for "move to...") stopped working. When I go to keyboard preferences, I still see them and I can even change them to a different combination and then again to the desired one - but they won't execute the window movement afterwards :/ Any suggestions how to fix this?

    Read the article

  • Ubuntu 13.10 New keyboard stuff bugged wine games

    - by karapinha
    I have made recently a fresh install of ubuntu 13.10. Since the first day I have problems with keyboard probably because of the new ibus thing... My language is PT-PT. One of those problems is the wrong behaviours on wine. games I was running in ubuntu 13.04 (tomb-raider, Skyrim, Shadow Warrior and Dark Souls) installed in the new ubuntu 13.10 they started to get key stuck when there is a combination like W+D+R (Drifting right + reloading) and its not because of windows/wine problems because the prefixes are the same that I had in 13.04. The key stuck as already been reported on winehq for Skyrim for some one using Linux Mint that was based on the 13.10. Is there a way of making the keyboard work like I was in 13.04? Or can i change the input type? Or downgrade ibus or something like that?

    Read the article

  • Configuring keyboard input to eliminate unused diacritics

    - by David Cesarino
    I'd like to change the way diacritics work under Xubuntu. My problem My native language is pt-BR and my notebook has an american keyboard. Thus, I use ' and " followed by keys like u and c to achieve things like ú, ç and ü. It all works well. However, in the case of apostrophes and quotes, that creates a problem when I use ' followed by: letters that won't accept the acute accent ( ´ , ACUTE ACCENT -- 0x00B4) at all, like t; and letters that won't accept the acute in pt-BR, like r. In 1, ' with t does absolutely nothing. In 2, ' with r creates r (LATIN SMALL LETTER R WITH ACUTE -- 0x0155), which is used, afaik, for some eastern european languages like slovak. It isn't used in portuguese, just like ?, s, z, ?, ?, ?, n and all consonants (portuguese do not take diacritics in consonants). Question That said, is there a way to better support the portuguese-brazilian language using an american keyboard? It is very common here --- I actually prefer the american keyboard to our own, known as “ABNT”. Desired solution I'd like to deactivate unused diacritics, so case 2 would behave just like case 1. Additionally, if possible, I'd like case 1 to behave like it does under Windows. As an example, typing ' followed by t should write 't (acute followed by T) instead of doing nothing. About 2, in my humble opinion, doing nothing is counterproductive. I realize the behavior is reasonable according to logic ("there isn't t-acute, so please tell the computer to typeset apostrophe --- ', SPACE --- instead of acute). But from a human, practical point of view, I think it makes more sense (to me, at least). Additional comments I believe this also applies to spanish, french, italian and other western european latin languages. On the console (Ctrl+Alt+F?), case 1 is not a problem. I don't need to press space as apostrophes are automatically added. However, there, I'm unable to access cedilla (ç). Two completely different behaviors. If it's just a matter of customizing text config files (possibly creating a custom layout or whatever), I'd be glad to share my efforts. I just need guide on the "howto" part. Somehow Google only points me to the "enough" people (those who cope with the situation and think that it works "well enough"). And since I have definitely migrated to Linux/Xubuntu after years, I'd like to leave just as I like it (and I'm sure others as well). For example, if there is some kind of scripting or definition to tell the computer to do what I described, so be it.

    Read the article

  • Keyboard and touchpad do not work

    - by user289219
    I have an Lenovo IdeaPad S210 Touch and I want to install Ubuntu on it. The problem is that when I try booting the system from a USB drive (starting the so-called Live session) to try to see if the system works on my computer, the system will turn on and everything will work properly except for the keyboard and the touchpad. Neither of them are listed when using this command: xinput --list. I cannot get my laptop keyboard/touchpad to work, but USB keyboards and mice will work and my laptop's touchscreen will also work.

    Read the article

  • Best keyboard to use with RollerMouse

    - by jrdioko
    I recently purchased a RollerMouse, which seems like an excellent way to eliminate pain caused by mousing. My question is: what good keyboard can other programmers recommend that would work well with it. I currently have a Microsoft ergonomic keyboard, but the curve and large wrist rest make it hard to use with the RollerMouse. By "good", I mean: Works with the RollerMouse (no wrist rest) Ergonomic (a slight curve or other features designed to be easy on your wrists/arms) Good for programming (that would be its primary use, no need for fancy media buttons or anything like that) Suggestions?

    Read the article

  • USB (wireless) keyboard not recognised during install

    - by Jon C
    I'm just trying my first trip into the world of Ubuntu. Trying to install from CD on to a virgin machine, I get the initial language prompt, select 'English', I get the Ubuntu install options, select 'Install Ubuntu Server'. I'm then presented with a further 'Language for installation' screen. At this point my keyboard stops working...! Some specifics: I'm using a Logitech wireless USB keyboard - it works fine on another machine; Machine is a ProLiant Micorserver N54L (No PS/2 ports); BIOS USB support is set to Legacy. Any ideas...? Thanks, Jonathan

    Read the article

  • Launch Rhythmbox using a Keyboard shorcut

    - by palerdot
    I use Rhythmbox all the time in my Ubuntu. Is it possible to have a custom shortcut like Ctrl+R in Ubuntu, which can launch the Rhythmbox window, even if it is playing in the background ? Since, the emphasis of Linux OS flavors is to use keyboards as much as possible instead of mouse, i thought this functionality might tremendously help me in my Ubuntu environment. The Keyboard shortcuts sections asks for a command; So, I'm not able to figure out how to give a custom keyboard shortcut to a program like Rhythmbox. I'm using 12.04 if that helps. Thanks.

    Read the article

  • Certain Keyboard shortcuts not working

    - by user968808
    I have the logitech k800 keyboard but can't seem to get certain shortcuts working. I change in the keyboard shortcut settings volume up and down and it actually takes the key assignment but does not take effect when trying to use. After trying for a while I also tried to create a custom shortcut after with the command amixer -q sset Master 10%- Finally I tried changing the command to touch a file to see if it is actually responding but nothing. How can it take the key as an assignment in the shortcut settings but not to actually respond when pressing it. FYI other keys work like mute, next track etc. There is just 3 keys shortcuts not currently working. Thanks

    Read the article

  • Keyboard activation bug

    - by Skydreamer
    I'm using Ubuntu's last version and there's still a little problem on my installation (already on previous versions). When I start the computer and reach the login screen, I have to wait about a minute to be able to begin to use my keyboard. That's not a real problem but that's kind of annoying. I've tried some things such as a lsusb via ssh and it worked and activated the keyboard without waiting. So I've tried to put it in the crontab (with @reboot) but it doesn't really work. Has someone got an idea how to solve this bug ? Thank you in advance.

    Read the article

  • Keyboard Issues After Resuming From Sleep

    - by sammyd253
    I'm using Ubuntu 11.10 x64. It's running on my Dell Vostro V13. Everything works great until I shut the lid of my laptop (puts laptop into sleep). Once I come back and resume working in Ubuntu, typing becomes a chore. Ubuntu misses a lot of the keypresses from my keyboard. It usually results in me mashing my keyboard until the letter appears. A full system reboot fixes the problem. Again, typing is never an issue unless I resume from sleep. Any ideas?

    Read the article

  • Keyboard Issues After Resuming From Sleep on a Dell Vostro 13

    - by sammyd253
    I'm using Ubuntu 11.10 x64. It's running on my Dell Vostro V13. Everything works great until I shut the lid of my laptop (puts laptop into sleep). Once I come back and resume working in Ubuntu, typing becomes a chore. Ubuntu misses a lot of the keypresses from my keyboard. It usually results in me mashing my keyboard until the letter appears. A full system reboot fixes the problem. Again, typing is never an issue unless I resume from sleep. Any ideas?

    Read the article

  • Ubuntu crashed while 13.10 was installing and now it doesn't detect my keyboard when I boot

    - by iirelu
    I was running the 13.04 to 13.10 installer, and it slowly caused Ubuntu to break down until eventually the installer itself along with Unity crashed, forcing me to Alt+SysRq+B. Now, when I try to start Ubuntu it doesn't detect my keyboard at all. It boots up completely fine apart from that bringing me to the 13.10 login screen. The backlight on my keyboard remains on but not a single thing works, not even SysRq. I was imagining that if I could run apt-get dist-upgrade it could finish the update, but I couldn't get that far.

    Read the article

  • Is there an HTML attribute to tell smartphone keyboards to show special email keys?

    - by slolife
    I notice that when using my touch-screen smartphone (no physical keyboard) that when an app asks for an email address to be entered in a textbox, the on screen keyboard is modified slightly to provide specialized keys that enter blocks of text, like '.com' or push some characters to the foreground key, like '@'. Is there an HTML attribute or style that I can add to my HTML input boxes that will tell the smartphone/browser to provide these specialized keys?

    Read the article

  • iPad: Detecting External Keyboard

    - by StuartW
    My app uses a UIAccessoryView to provide additional keyboard functionality (such as forward/backward tabs and arrows keys) for the virtual keyboard, but that causes UIKeyboardDidShowNotification to fire even when a physical keyboard is present (the accessory appears at the bottom of the screen). I'd like to check if a physical keyboard is attached when handling UIKeyboardWillShowNotification, to prevent the accessory view from appearing and to prevent my custom view from scrolling up (to make room for the non-existent virtual keyboard). I've tried examining the UIKeyboardFrameEndUserInfoKey key, but it returns a real size for the virtual keyboard, in spite of nothing being displayed. Is there any way to detect the presence of a physical keyboard to prevent this unwanted behaviour? Hmm, the plot thickens. I tried disabling the input accessory by returning nil from the inputAccessoryView property of the Responder object which triggers the keyboard. That suppresses UIKeyboardWillShowNotification and UIKeyboardDidShowNotification when there is a physical keyboard present, but keeps these notifications when there is no such keyboard. All good so far. Then I tried re-enabling inputAccessoryView only after UIKeyboardWillShowNotification had been received. This only fires when a virtual keyboard is needed, so it should allow me to reintroduce the accessory view in those circumstances. Or so I thought. Unfortunately, it seems the OS doesn't check inputAccessoryView after UIKeyboardWillShowNotification, so it fails to show the accessory view when it is needed :o( That leaves me with two options: Include the input accessory view, giving extra functionality for virtual keyboard users, but lose the ability to detect a physical keyboard and hence not supporting physical devices; or Exclude the input accessory altogether, preventing most users from accessing the extra keys, but allowing the app to work with a physical keyboard. Not a great choice, so I'm still keen to see if anyone else has addressed this problem!

    Read the article

  • How to stop OS X from switching input method (keyboard layout) automatically?

    - by adolf garlic
    After using the wireless keyboard that comes with the iMac, I have switched to a MS Ergo Natural 4000 one. Surprisingly I had to install extra software as OS X could not work out which keyboard I had. After which I went into sys prefs and set the main input method to be "British - Microsoft" first and "Swiss German" second (what the wireless keyboard is), on the "input sources" tab: However... OS X keeps resetting my input method back to Swiss German which is driving me bananas. I have the flag thingy top right so I can see when this changes. N.B. I have "input source options" set to "use the same one in all documents" which I am assuming means keep the language the same for anything running. It also flips back on the login page. Does anyone know how to fix this?

    Read the article

  • Can we change control of two keys on keyboard?

    - by mr_eclair
    I'm using Eliteook 8440p hp machine and two keys on my keyboard aren't working v and b. laptop keyboard replace will take 2-3 days, and I can't stop my office work. I'm bored of using On screen keyboard to write v and b. I don't have any portable USb keyoard to connect to laptop right now. I'm thinking I'm not using Pg up and Pg Down button at all, is there any software or trick which can make it possible so that If i press Pg Up it will write v on page and Pg Down will write b. Hoping for quick and positive response.

    Read the article

< Previous Page | 4 5 6 7 8 9 10 11 12 13 14 15  | Next Page >