Ubuntu :: Key Gets Stuck When Disabling Keyboard?
Feb 21, 2011
I'm running into some weird behavior while using xinput to disable the keyboard that might be an underlying bug, and I'm wondering if anyone could reproduce it or provide any insight into what's causing it. I'm running Ubuntu desktop 10.10 64-bit in a VMware Workstation VM running on a Windows 7 64-bit host.First I use "xinput list" to find out which keyboards are present in the system. In my case there's only one with id=9. Next I execute "xinput set-prop 9 "Device Enabled" 0" to disable the keyboard at id=9. Now, if I type this into the terminal and hit enter, the keyboard gets disabled but at the same time the enter key becomes stuck. The system thinks the enter key is being held down.
However, if I make a script with the same command and execute it by clicking it in Nautilus, the keyboard gets disabled and no keys are stuck. It seems if the keyboard is disabled with a press of the keyboard, then whatever key was pressed to trigger the disabling of the keyboard becomes stuck.
You might ask why I would want to disable the keyboard in the first place. It's because I'm running Ubuntu in VMware Unity mode, where the system in the VM is integrated with the host desktop system, the VM's windows appear as individual windows on the host desktop,etc. In this mode, whenever I close a VM window by hitting a key on the keyboard (for example, hitting Ctrl+D while in gnome-terminal) and focus goes back to a host window, then that key becomes stuck the next time I open a VM window. If I close a VM window by clicking the mouse then there's no problem. I'm pretty sure now that this is caused by the above mentioned bug from disabling the keyboard. I think in Unity mode VMware workstation runs a script to disable the keyboard in the guest whenever VM windows lose focus, so key presses don't continue to be piped to the guest OS. However, if this action is triggered by a press of the keyboard, then that key becomes stuck in the guest OS.
View 3 Replies
ADVERTISEMENT
Aug 27, 2010
Does anyone know how to disable a keyboard on Ubuntu?
View 4 Replies
View Related
Feb 23, 2010
I want my keyboard to be disabled for sometime say 5min or more. My keyboard gets loaded more than fingers it bears sometimes loads of books.So want to disable for a specific time
View 1 Replies
View Related
Apr 11, 2010
Some Flash games don't work very well on Linux because when you hold down a key (such as one of the cursor keys) the Flash player sends the game multiple KeyDown and KeyUp events, leaving the game unable to tell the difference between a user holding a key or a user tapping a key quickly. (On other platforms it seems that typematic repeat generates multiple KeyDown events but not KeyUp events.)
Anyway, to work around this problem, I go to System->Preferences->Keyboard and disable "Key presses repeat when key is held down" when I want to play a Flash game, then put it back afterwards. I do this often enough that I'd like to set up some shortcut keys to change the setting. I figured out the following commands to turn it off and on again:
gconftool-2 --set /desktop/gnome/peripherals/keyboard/repeat --type bool false
gconftool-2 --set /desktop/gnome/peripherals/keyboard/repeat --type bool true
My problem is that when I have tried entering these on the command-line (in a gnome-terminal), X-windows seems to get confused and behaves as though I'm holding down the enter key. It doesn't stop if I press enter again. I tried pressing ctrl-alt-f1 to switch to a text console and it worked fine, but when I pressed ctrl-alt-f7 to go back to X it still behaved as though I was holding down enter. I had to press ctrl-alt-backspace to reset X before it would return to normal. I *think* it happens in particular when changing the setting from true to false. I'm running Karmic Koala with all the updates.
View 1 Replies
View Related
Aug 28, 2010
I am trying to install Ubuntu 10.04 from a USB drive but every time I reach the option for changing the keyboard layout and press forward, it seems to get stuck. That is, the mouse icon shows that it is loading but nothing ever happening. I even went for a shower, came back and nothing.
View 1 Replies
View Related
Apr 30, 2010
HP Pavillion m9340f.
View 2 Replies
View Related
Aug 12, 2010
I have acer aspire one netbook i'm using ubuntu 10.04 on my desktop but i wan't to install ubuntu on the netbook. i made usb installer ubuntu will run from the usb drive but when i try to install it gets stuck on step 3 of 7. wth? tried over and over again
View 2 Replies
View Related
Mar 26, 2011
I am COMPLETELY new to Linux.I started a computer class recently and I started teaching myself PERL.My teacher had mentioned to me that it's far better for some reasons (he did not elaborate) to write code in a Unix system. So I got Ubuntu 10.10.I installed it along side my windows 7.After I setup my windows (had to reformat the disk) I decided to boot up into Ubuntu to set that up. I installed the necessary drivers that it required, and the updates. I was asked to restart the system so I did so.
It did not even shut down or restart my system.I waited patiently 15 minutes...30 minutes 1 hour... until I finally decided to hit the reset button on my PC. Then when I'd boot back in to Ubuntu afterwards, it would stay at the log in screen and my mouse wouldn't budge and nor is my keyboard recognized by Ubuntu.Im really frustrated and I've been searching for answers for the whooole day and I just can't seem to find something well explained. Im completely new to Ubuntu so I don't know where to enter any code in a cmd line or such.
1)Reformatted my harddrive to install windows 7 on it
2)Set up windows 7 and then booted into Ubuntu.
3) Set up Ubuntu and installed necessary drivers and updates
4) Reset the computer and waited for an hour for the reset to happen but nothing happened.
5) Manually reset my pc and booted into ubuntu
6) Stuck at log in screen with mouse and keyboard not functioning (unable to use ubuntu).
View 2 Replies
View Related
Nov 30, 2010
I use skype, and several times when i have it open, more often when i am using it, the hole system stuck with no response. The mouse stop moving, the keyboard does not work, even control + alt + backspace does not work! The only available choice is to reboot the computer.
View 3 Replies
View Related
Jan 25, 2010
I just took delivery of a new computer, with CentOS 5 installed. It does not have a PS/2 keyboard socket, only USB. I get lots of strange "key stuck" problems - usually the shift key or the cursor keys (I guess I use them the most). Or sometimes key presses do not register. It makes it very difficult to use the machine.I have tried two keyboards (both of which work fine on other machines, or on this machine when booted with a live CD). The machine is an Intel i7. Are there any known problems with USB keyboard drivers in CentOS?
View 4 Replies
View Related
Mar 3, 2011
I defined a variant to my keyboard layout (Italian) editing the file/usr/share/X11/xkb/symbols/it and adding this block:
Code:
partial alphanumeric_keys
xkb_symbols "itaro" {
[code]....
View 1 Replies
View Related
Jun 27, 2011
Computer: Toshiba Satellite Pro L510 laptop, 10.10.This has always happened but I have gotten around it by time-out and putting my menu.list in order. When I first boot the machine (switch on for the day from computer being off) I get to the grub options to select a kernel and I have no keyboard. No up/down arrows so have to go with the kernel on top of the list (not always desirable).
When I get to the log-in screen if I hit restart and go back to the grub screen I have a keyboard and can select any kernel. If I login to the kernel I have full keyboard, no problem. If I then restart, I have keyboard at the grub list.
Nutshell: It is only when starting the computer fresh that the keyboard is dead at grub menu (and then only). Any time after that, once the computer has been switched on, if I restart I have keyboard at grub menu and can select different kernels. (Of course, if I switch the computer off and back on again, no keyboard ...)
View 6 Replies
View Related
Oct 17, 2010
I just installed the netbook remix 10.10 on my laptop. I have been using Unity and I would much rather prefer a standard GNOME desktop. I know there was a way to change the netbook interface to a standard GNOME one on the 8.04 remix. Anyone know if there's a way to do it in 10.10?
View 5 Replies
View Related
Nov 3, 2010
I have a directory in which the files are stored. the users must be able to only read or add files to the directory. the users must not delete the files under the directory. how can i do this? is it possible to disable the rm command?
View 4 Replies
View Related
May 10, 2011
I upgraded a working Ubuntu system that I'd previously configured to accept tcp connections for the X server, which it's magically gone and added back in again. I can't now figure out how to disable it.
I've edited /etc/gdm/gdm.schemas and changed DisallowTCP to false. I've edited /etc/X11/xinit/xserverrc and removed the nolisten tcp line, but it still comes up with it.
The System->Administration->Login Screen has no option for security (pretty sure that's how I fixed it last time).
View 6 Replies
View Related
May 18, 2011
After installing the graphics card and restart , the left panel is activated! Ubuntu11.04) How to disabling this panel? and activate the last panel?
View 2 Replies
View Related
Mar 26, 2010
i have found the solution to disabling ipv6 but the command line is not recognised when i enter it.
i open terminal and input sudo gedit/etc/modprobe.d/bad-list/ but the command is not recognised
View 1 Replies
View Related
May 28, 2010
There is a string of commands in about:config in Firefo where you can disable the browsing history, but I cannot remember where it was
View 5 Replies
View Related
Sep 12, 2010
I have a faulty touchpad on a laptop (asus 1001) and want to completely disable it (using the machine with a mouse) - how do I do it? I can see that you can disable the touchpad for a couple of seconds but I want to switch the whole thing off.
View 9 Replies
View Related
Nov 22, 2010
I have disabled the screensaver from locking the computer and asking for a password. I did this by unchecking the box in System > Preferences > Screensaver which says 'Lock screen when screensaver is active.'
However, the screensaver still locks the screen.
I'm running Ubuntu 10.10 64-bit on an HP Pavilion dv5.
View 2 Replies
View Related
Mar 29, 2011
I am having a problem using my laptop's special keys to toggle my touchpad on and off on my ASUS G73JH laptop, running Ubuntu 10.10 (2.6.35-28-generic-pae).
First, some preliminaries:
My touchpad works just fine, but it does not respond to my laptop's special key, Fn+F9.
In /etc/acpi/events I have the following script, "asus-touchpad":
Code:
# /etc/acpi/events/asus-touchpad
# This is called when the user presses the touchpad button and calls
# /etc/acpi/asus-touchpad.sh for further processing.
[Code].....
View 1 Replies
View Related
Apr 28, 2011
I've just upgraded to 11.04, but Unity is unfortunately not my cup of tea. I use the classic desktop but I cannot find a way to disable a certain graphical desktop effect... I'm thinking of how the current workspace quickly slides into the next when I choose a different workspace.
If my recollection is correct, you could turn effects like that off in 10.10. This makes me dizzy, does any of know how to turn this off?
View 8 Replies
View Related
Jun 6, 2011
I can't figure out how to prevent Zend Server starting at boot up. My temporary solution is to issue the following after boot-up:
Code:
sudo /usr/local/zend/bin/zendctl.sh stop
I'd like to:
1. Prevent it from starting during boot
2. Create two launcher icons to Start and Stop Zend Server
View 1 Replies
View Related
Jan 6, 2010
have a custom kernel I compiled so hardware would all work properly under Ubuntu 8.10 if there is a way to disable it telling me I need to update my Kernel in the updates section just because my 2.6.27-11-generic is different from the one they have. For now I have just been unselecting it when I update everything else but I know myself and one day I will forgot to uncheck it and then I will be recompiling my kernel again.
View 11 Replies
View Related
Dec 1, 2010
How would one disable the additional TTY Terminals in Xubuntu 10.10 so that there are not to many additional logins? I believe there are 7 total. I am trying to harden my system.
View 3 Replies
View Related
Dec 24, 2010
I'm a used Ubuntu user on a pc, and I like the french keyboard layout because it allows me to type accentued characters easily.I found a win-fr keyboard layout but it's much like windows and not so good.I found xmodmap.fr keyboard layout and I'd like to know if it was possible use it with my Mac SL 10.6.5, maybe I could do xmodmap xmodmap.fr or a way to convert to mac layout file.
View 1 Replies
View Related
Nov 20, 2010
Recently i have bought a Dell Inspiron n5010 laptop and installed ubuntu 10.10. I have a windows 7 installed as well. In windows Us English Table for IBM Arabic 238_L keyboard layout works for my pc. But, i can not find this layout in my ubuntu.
View 2 Replies
View Related
Jul 18, 2010
I'm trying to install slackware 32 bit 13.1.After loading kernel it asks for keyboard configuration, but keyboard (usb wireless) doesn't work.
Keyboard works on the old 13.0 installation, on bios and also in the boot options of 13.1 installation cd.
I've tried removing legacy usb support and changing usb2.0 speed from high to full. Nothing changed.
Anybody with this strange problem? (kernel of setup seems also to detect it correctly as a trust keyboard).
View 9 Replies
View Related
Mar 15, 2010
When I use the down arrow on my new keyboard it also does and enter key as well. When I use the left and right arrow keys and hold them it doesn't keep going. It just clicks once and I have to pressing it over and over again. Any one know the correct settings to setup my keyboard? It's a Logitech Illuminated Keyboard.
View 2 Replies
View Related
Jun 28, 2011
has bash a command that reads the keyboard status and exits? I want to write a loop of this form:
Code:
while [ 1 ] do
sleep (1)
[code]....
View 14 Replies
View Related