General :: Disabling Keyboard For Some Time?
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
ADVERTISEMENT
Aug 27, 2010
Does anyone know how to disable a keyboard on Ubuntu?
View 4 Replies
View Related
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
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
Jul 17, 2011
I'm trying to stop all boot time messages from appearing -- basically I'd like to have a simple blank screen from grub to xdm.
I tried everything -- used the "quiet" option in grub's config, added dmesg -n 1 to rc.local, changed console=ttySx, set kernel.printk in sysctl.conf to 4 1 1 7, and even eradicated rsyslogd altogether... to no avail. I still see all sorts of messages on my screen.
View 1 Replies
View Related
Aug 1, 2011
I have an Ubuntu/Win7 dual boot system with GRUB as my default bootloader, and I am often distracted by other things when I boot up my PC. Is there any way I can stop GRUB from loading linux automatically after it times out? I would prefer if it never timed out, and I could eternally have the OS selection on the screen until I decide to select an OS.Have been reading the GNU Grub Manual, but I can't make heads or tails of some of the more technical stuff yet and I do not know enough about Terminal to know all of the commands they are throwing at me.
View 1 Replies
View Related
Aug 15, 2010
While typing commands it takes more time to type.let me know on how to correct this
View 3 Replies
View Related
Feb 14, 2010
I think this might be related to the changes to using udev or DeviceKit. It started when I was running the beta versions of F12. Then it crept into Debian Sid. And my Arch Testing and Gentoo also suffer from the same.
What happens is that I'll be working along. Then when I press any key it is as if the SHIFT key is pressed. When I press CAPSLOCK, some of the keys react as they would normally. This never lasts for more than 5 minutes. And seems to happen infrequently. I say seems because there are the times I am at work and it could be that the same thing is happening only there is no one on the keyboard.
The reason I pick out udev/DeviceKit is that when it used to happen to F12 beta, the other distros had not yet made the move. So back then it was only a F12 issue. Now it is happening across the board. And only started recently.
View 3 Replies
View Related
Jun 29, 2010
Currently I have two 1920x1080 screens running in Twinview on my Geforce 275 graphics card. Want I want to do is a quick simple way of disabling my secondary monitor when playing video games or using xbmc to watch movies, etc. I've tried a few applets but they require the xandr function which I think Nvidia doesn't support.
Is there a way to disable this quickly other than loading up nvidia-settings and disabling the monitor everytime. I don't really want to use two seperate x sessions and xinerama due to the fact you can't use compositing.
View 1 Replies
View Related
Jul 8, 2010
I can't seem to use my mouse and keyboard at the same time.I am running Ubuntu 11.04 64-bit
View 3 Replies
View Related
May 8, 2011
I have a recently installed version of opensuse 11.4 and I am unable to use the keyboard and the mouse at the same time. Whenever I type on the keyboard my mouse will become frozen for about 2 seconds and then will work as normal. It will happen with any key press. This problem became very apparent when trying to play first person shooters. I cannot move with the keyboard and look around with the mouse at the same time
View 1 Replies
View Related
May 10, 2011
I am having troubles with my keyboard layout. I am from Argentina and I use the spanish layout in my keyboard. The thing is that after a short time without writing (for example when watching a video) it changes the layout to the United States keyboard.Also, when I boot ubuntu, the keyboard layout is afghan (AR, the first layout). and I have to change it to the spanish one every time.
View 2 Replies
View Related
Jun 1, 2011
I'm trying to shorten the amount of time it takes for keys to repeat themselves after they've been depressed while using the terminal.
I did a search and found this but I don't know how to install it. [URL]
View 5 Replies
View Related
May 13, 2010
I installed Ubuntu with the netboot. I only installed the packages I needed. Concerning X, I installed xdm as login manager and fluxbox as window manager. All is working fine except that whatever I type under X (under xdm or, after logging in, under fluxbox) appears in tty1! The keyboard inputs appear under X and under tty1 (so usually after "login:", or hidden after "password:").
Let me provide you with more details. Starting from xdm, I cannot access to the other ttys. "ctrl+alt+F[1-6]" do not work. Actually, this is not entirely true: after I type "ctrl+alt+F2", all my keyboard inputs under X will be appear in tty2 (and not anymore in tty1). I can see that from /var/log/auth.log which has a lot of lines like this:
Quote:
May 13 10:15:45 data login[2182]: pam_unix(login:auth): check pass; user unknown
May 13 10:15:45 data login[2182]: pam_unix(login:auth): authentication failure; logname=LOGIN uid=0 euid=0 tty=/dev/tty1 ruser= rhost=
May 13 10:15:48 data login[2182]: FAILED LOGIN (2) on '/dev/tty1' FOR 'UNKNOWN', Authentication failure
These errors are due to the fact that tty1 receives a wrong login (something I typed under X, before pressing RET). BTW: If I connect to xdm using my password (instead of my passphrase, thanks to pam_ssh), then I login into tty1 at the same time.
I checked that X is running under tty7. "ck-list-sessions" returns:
Quote:
Session1:
(...)
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
(...)
Under X, if I type "ctrl+alt+F7" and "RET", then X crashes and it is launched again. After this, all is working fine: the tty[1-6] can be accessed and the keyboard inputs do not go anymore to them when I am under X.
I face the same problem on two different computers (a desktop computer and a laptop). Notice that I face the problem even with pam_ssh not installed (I mentioned pam_ssh earlier).
View 1 Replies
View Related
Mar 31, 2010
I'm using Linux Kernel version 2.6.33 on a server with Intel Xeon X5570.
I assume that Intel's DCA is already enabled on my system, because I see
Code:
I would like to test the effects of with and without DCA. How can I disable DCA?
View 2 Replies
View Related
Jul 14, 2011
When I plug in a removable device, KDE automounts it, but I prefer to do this manually (also perhaps not liking the idea that any user could plug a device in and have it mounted). I've searched around and looked at KDE -> System Settings -> Removable Devices, and "Enable automatic mounting of removable devices" is already unchecked
View 3 Replies
View Related
Feb 28, 2010
I have a netbook running opensuse 11.2 I'm trying to make it run faster by disabling services, and I would like to kill off postfix as I don't ever use it (As far as i actually know) What harm could come from disabling postfix, if any?
View 3 Replies
View Related
May 24, 2010
I'm currently using Debian 5.04 Lenny, and I trying to figure out how I stop things running at boot time, in the simplest way, if possible.
In Redhat/SuSE all I had to do was 'chkconfig xxx off' and it was done, is there an equivalent in Debian? A tool or something.
To find a list of items in Redhat/SuSE all I had to do was 'chkconfig --list' and it displayed a list, is there also an equivalent for this? A tool or something.
View 3 Replies
View Related
Feb 1, 2011
How can I disable the PK,UK and FK constraints on all tables in oracle DB.
View 2 Replies
View Related
Jan 28, 2010
My workstation has a built-in speaker that, surprisingly, plays audio very well. I also have external speakers hooked up to the audio out jack which are easier to hear. Unfortunately, when I try to play some audio material, sound comes out of both the external speakers and the built-in speaker on the workstation.
I'd like to disable the speaker inside the machine, and just plug in head-phones to the external speaker so I can listen to training material at work without bothering my office mate. I'm not sure how to do this in Linux (Suse Enterprise Desktop 11). Fiddling around with the Gnome audio tools doesn't list two different audio devices on the machine.
From what I can tell, sound is played through the ALSA system. I looked in my home directory and there is no .asoundrc controlling configuration.
I should also add that I check in the BIOS for a way to disable the built-in speaker, but I could not find such a setting.
View 3 Replies
View Related
Oct 13, 2010
My Acer notebook has a button that can disable the wireless network device when pressed. Since it is near the ESC key, sometimes I press it on accident, especially when editing something with Vim. When I press the wireless switch to enable the device again, nothing happens. Using the command ifconfig wlan0 up results in the following error:
SIOCSIFFLAGS: Unknown error 132
Rebooting and logging on linux again didn't solve anything. I had to log into windows. The device started out disabled, then pressing the button reenabled the device. I'd like to be able either to reenable wireless at will, or outright disable the wireless switch button.
View 2 Replies
View Related
Mar 18, 2011
This is the Linux version of my Disabling mouse acceleration in Mac OS X question. Hopefully I'll get an answer this time.I am tired of mouse acceleration and want to have a completely linear mouse response. This is easily achievable through any of the 5 or so methods (some subtly implied) on the X.Org wiki page on pointer acceleration. However, they also disable velocity scaling.I don't want a 1:1 mapping between device and screen coordinates. I want a 1:N mapping where N is a constant.
View 1 Replies
View Related
Apr 16, 2011
I tried following the instructions in this link to disable and remove iptables firewall using commands:
# service iptables save
# service iptables stop
# chkconfig iptables off
# iptables -F
# iptables -X
# iptables -t nat -F
# iptables -t nat -X
# iptables -t mangle -F
# iptables -t mangle -X
# iptables -P INPUT ACCEPT
# iptables -P OUTPUT ACCEPT
Its seems to work temporarily and then the firewall gets enabled again by itself even without restarting.
View 1 Replies
View Related
Feb 12, 2010
How can I disable the interactive boot up process? Also what is the pros and cons to doing this? Will this affect my being able to get to runlevel 1?
I have been googling it but not really clear on the pros/cons etc.
I am talking about a server class machine that is in a locked room, not a desktop.
I know it can be turned off in /etc/sysconfig/init # Set to anything other than 'no' to allow hotkey interactive startup... PROMPT=yes
View 4 Replies
View Related
Jun 19, 2011
Kernel 2.6.21.5, slackware 12.0
(Mozilla) Firefox 2.0.0.4
where the option to disable spelling checking is in FF? I think Edit>Preferences contains all of the settable options.
View 3 Replies
View Related
Aug 31, 2010
i want to run a jar file at the start up..and only that application will work at the start up..other all are blocked..after giving input to the application the xwindow will enabled..otherwise it remains same.
View 1 Replies
View Related
Feb 4, 2010
We are having 12 windows computers xp which are connected to a linux machine which has samba server installed on it for backup purposes of these 12 windows users. We want the like this , that a user copy a folder from their local machine and paste it to the samba server . but they cannot delete this folder once the backup is there at linux machine.
So this is working fine. But our users are able to Rename the folder they have pasted at linux machine which we dont want . and even they are able to cut and paste files from 1 folder to another folder in the samba server. We just want them to copy a file or folder from their local windows machine and paste to samba server and they can also read it (copy and paste back to their windows computer)whenever they want . but we dont want them to cut and paste within linux machine and rename that file as well.
View 1 Replies
View Related
Apr 10, 2011
I've had a hell of a time with this and now all but YAST2 are ok. Going back some time to 10.0 this could be used to disable it very completely.
open terminal and run
echo "alias net-pf-10 off" >> /etc/modprobe.conf
echo "alias ipv6 off" >> /etc/modprobe.conf
restart computer. Has anyone used this on more recent issues even 11.4 and are there any repercussions?I assume that the inverse will but it back on ie off's just become on's? I will be using cups when I install my printer which is one concern and I am not at all sure that modprobe will do anything anymore?
I also recollect that there is a command to cause the kernel to effectively reboot which would save restarting. Can't remember what it is. Maybe some one can refresh my memory.
View 9 Replies
View Related
Jul 10, 2011
I have a src package which uses automake for make. How can I view the available options in configure command for enabling and disabling options?
View 4 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