Ubuntu :: Disabling Keyboard Repeat From The Command-line

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


ADVERTISEMENT

General :: Debian - Manually (command Line) Disabling USB Automounts?

Jan 30, 2011

I know that I can use the GUI (gnome-volume-properties) enable/disable the USB sticks/disks automount features, by checking/unchecking the pertinent options.My question is: how can I obtain the same results from the command line (that is, without using any GUI frontend)?

View 5 Replies View Related

Ubuntu :: Keyboard Repeat Does Not Work Correctly?

Feb 19, 2010

Keyboard repeat doesn't seem to work correctly on my system (Xubuntu, 9.10). Holding a key down ends in the repeat function stopping after a certain point, and at different times each time. Also, editing text fields is tricky because the field currently highlighted reverts to its previous value if I don't hit enter fast enough (I have to type new values into a notepad and copy and paste it quickly into the field).

View 2 Replies View Related

Slackware :: Keyboard Auto Repeat Rate In 13.1?

Dec 8, 2010

When I go to boot up, I ususally have a failedattempt or two at logging in, because my autorepeat rate on the keyboard will often give me morethan one character when I depress a key. SoI put my password in wrong and get a failed attempt.After I log in I usually run:kbdrate -r 6 -d 500This gets my autorepeat rate down to 6 char per secondand delay time to 500 to where I can actually use the keyboard. Is there some place I can run those commands duringboot, so that I don't have the failed and repeated

View 3 Replies View Related

General :: Keyboard In Fluxbox - Repeat Speed And Delay?

Apr 1, 2011

Does setxkbmap configure keyboard repeat speed and delay time? If not, how do I configure it? Unfortunaly Google

View 2 Replies View Related

General :: How To Switch To Command Line From GUI Using Keyboard Shortcut?

May 13, 2010

Im using Fedora Core 5.how to switch to command line from GUI using keyboard shortcut.

View 19 Replies View Related

Ubuntu :: Command To Disable Repeat Keys?

Feb 6, 2010

Under System > Preferences > Keyboard Preferences there is an option to en/dis able "Key presses repeat when key is held down".

Is there by chance a command to en/disable this option? (edit: meaning a terminal, or 'run application' type command)

Seems a little far-fetched, but for how often I toggle this..

View 1 Replies View Related

Debian :: How To Pair Bluetooth Keyboard Via Command Line On Jessie

Mar 27, 2015

I installed the Open Source Media Center (OSMC) on my Raspberry Pi 2. It's based on Debian Jessie. I bought a Blueooth Keyboard (Keysonic KSK-3211) and an USB-Bluetooth adapter (CSL Bluetooth Stick Nano). And now I am looking for a way to pair the keyboard with the raspberry via command line.

I'm new to all this bluetooth stuff in debian. It's the first time I try to install it. As far as I've understood I need an agent that is started with the pairing PIN. Then I type this PIN at the keyboard and that's it. Am I right?

The problem is, that every agent I've found in howtos or descriptions like bluez-simple-agent or bluetooth-agent (like described here [URL] ....) is not installed (and as far as I know can't be installed) under Jessie.

The bluetooth adapter is recognized

Code: Select allosmc@osmc:~$ hcitool dev
Devices:
        hci0    00:1A:7D:DA:71:0C
the keyboard is found
Code: Select allosmc@osmc:~$ hcitool scan
Scanning ...
        00:12:A1:70:42:28       Bluetooth Keyboard

And I can ping the keyboard

Code: Select allosmc@osmc:~$ sudo l2ping 00:12:A1:70:42:28
Ping: 00:12:A1:70:42:28 from 00:1A:7D:DA:71:0C (data size 44) ...
0 bytes from 00:12:A1:70:42:28 id 0 time 14.82ms
0 bytes from 00:12:A1:70:42:28 id 1 time 9.91ms
0 bytes from 00:12:A1:70:42:28 id 2 time 32.62ms
0 bytes from 00:12:A1:70:42:28 id 3 time 28.81ms
^C4 sent, 4 received, 0% loss

So everything seems to be ok ... but I can't find the command for pairing the keyboard. Looks like something changed in Jessie so that the old tutorials are outdated.

View 2 Replies View Related

Ubuntu :: Disabling A Keyboard ?

Aug 27, 2010

Does anyone know how to disable a keyboard on Ubuntu?

View 4 Replies View Related

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 View Related

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 View Related

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

May 29, 2010

i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?

View 5 Replies View Related

Ubuntu :: Disabling The Rm Command?

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

General :: Configure Command For Enabling And Disabling Options?

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

Software :: Use Command Line To Split A Single-lined XML Into A Multi-line XML?

Dec 9, 2010

I have a many text files that have XML tags all shoved into 1 line. I want to create a new file that splits each XML tag onto a new line. code...

View 3 Replies View Related

General :: Command Line Way To View A Line Of A File With Context?

Feb 24, 2011

I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:

$ (something) -l 154 stuff.py
150: def foo(bar):
151: """

[code]....

View 5 Replies View Related

General :: Printing Command Line History Without Line Numbers?

Aug 22, 2011

How can I print Linux command line history without including the line numbers? I want to send it all to a text file like this:history >> history.txt

View 1 Replies View Related

General :: Ubuntu 10.10 And Command Line Scripts - Error - Android: Command Not Found

Mar 26, 2011

I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...

I just installed the JDK, SDK, Eclipse successfully (or I assume):

* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).

** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,

My system:

Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2

View 5 Replies View Related

Ubuntu :: Is Command Line Invocation Of Gnome-terminal To Run More Than One Command

Feb 17, 2010

how to pass something more than a one-command startup for gnome-terminal. I will give an example of what I'm trying to do here:

Code:

#! /bin/bash
#
#TODO write this for gnome and xterm

[code]....

This same error occurs if the gnome-terminal line is changed to

Code:

gnome-terminal -e mcTerm

Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.

View 1 Replies View Related

Programming :: Effect Of Using Eval To Execute A Command As Opposed To Writing It On The Command-line?

Jun 18, 2010

Code: cmd='date | wc'

$cmd If this script is executed, an error is generated. The reason written was that "The execution fails because the pipe is not expanded and is passed to date as an argument".What is meant by expansion of pipe. When we execute date | wc on the command line, it goes fine.then | is not treated as an argument. Why?

View 4 Replies View Related

General :: Access The Dbxml From The Command Line And It Returns Command Not Found?

Apr 30, 2011

I installed the Berkeley DB on the Ubuntu server and tried to access the dbxml from the command line and it returns command not found

path/to/dir/dbxml-2.5.16/install/bin$dbxml
-bash" dbxml: command not found

Can someone point me in the right direction

View 1 Replies View Related

Software :: Command Line: Chown Command Recursively On Invisible Directories?

Oct 25, 2010

I tried

Code:

chown -R owner:group *

which does not work on the invisible directories (why?). When I used ".*" as wildcard it changed all (visible) files including the parent directory (the one I was currently working in which is the "dot") . I can change the invisible directories owner and group using dophin but how is it done from the command line?

View 9 Replies View Related

Programming :: Command Line Invocation Of Gnome-terminal To Run More Than One Command?

Feb 16, 2010

I am trying to learn how to pass more than a one-command startup for gnome-terminal.

I will give an example of what I'm trying to do here:

Code:
#! /bin/bash
#
#TODO write this for gnome and xterm
USAGE="
${0##*/} [-x] [-g]
code....

However, running with the -g option to invoke gnome-terminal, I get a "There was an error creating the child process for this terminal" error.

This same error occurs if the gnome-terminal line is changed to

Code:
gnome-terminal -e mcTerm

Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.

View 4 Replies View Related

Programming :: Convert This Awk Command From Command Line Into An Awk Script ?

Oct 15, 2010

I'm trying to convert this awk command from command line into an awk script, but just cannot get it to work:

This is what i have after my BEGIN

Am i missing something here? this just prints out the count for everyline, not counting lines on 5th field that match 'A'

View 1 Replies View Related

General :: Write <Esc> In The Vim Command Line (:vim Command)?

Jun 24, 2011

how do you write the ASCII character #27 in the vim command line?

View 6 Replies View Related

Software :: Command Line Cd Command Not Working Right

May 4, 2010

Using netbook asus 1005ha with lucid beta 1 with most of updates on learning to use the CLI and headaches cd command does not seem to reconise directories here is a sample

Code:

yeh i know read the f#####g manual i am but any help would be greatly accepted tried sudo with same commands same problem did have a problem on my debian system that was to do with paths this is not the same on a different footnote anyone thinking of upgrading to lucid sit tight on 9.10 there are still to many issues that need ironing out for a system that is your main system.

View 6 Replies View Related

Ubuntu :: Repeat Rows In Open Office 3.2 Calc?

Oct 28, 2010

I have been trying to repeat the first two rows in a Calc document but I keep getting an error.

Here are the instructions that I used.

Printing Rows or Columns on Every Page If you have a sheet that is so large that it will be printed multiple pages, you can set up rows or columns to repeat on each printed page. As an example, If you want to print the top two rows of the sheet as well as the first column (A)on all pages, do the following:

1.Choose Format - Print Ranges - Edit. The Edit Print Ranges dialog appears.

2.Click the icon at the far right of the Rows to repeat area. The dialog shrinks so that you can see more of the sheet.

3.Select the first two rows and, for this example, click cell A1 and drag to A2.
In the shrunk dialog you will see $1:$2. Rows 1 and 2 are now rows to repeat.

4.Click the icon at the far right of the Rows to repeat area. The dialog is restored again.

5.If you also want column A as a column to repeat, click the icon at the far right of the Columns to repeat area.

6.Click column A (not in the column header).

7.Click the icon again at the far right of the Columns to repeat area.

Rows to repeat are rows from the sheet. You can define headers and footers to be printed on each print page independently of this in Format - Page.

And here is the error.

"invalid sheet reference"

View 1 Replies View Related

Ubuntu :: Gnome 3: Key Repeat (delay / Acceleration) Not Working?

Jul 1, 2011

in gnome 3 I can't change my keyboard settings which define how fast a key get's repeated, if you keep it pressed. Screenshot is attached, unfortunately only in german.

edit://In addition prior to gnome 3 I was able to change the keyboard "handler" (I have a Logitech G110 with macro-keys and I was able to let g15macro handle them) which I am not any more. Why?

View 3 Replies View Related

General :: Movie Player Fails To Repeat?

Jul 14, 2009

Debian 5.0
Totem Movie Player 2.22.2

Totem can play .flv file download on Internet. However it can't repeat playing. At end of playing the .flv file following warning popup, disregarding [Repeat Mode] check or uncheck

Code:
An error occurred
internal data stream error
[OK]

After clicking [OK] and the starting icon [triangle] I can replay .flv file.

View 3 Replies View Related

Server :: Fsck Repeat Error In Kernel 2.6?

Feb 17, 2010

When I boot the linux kernel 2.6 , I was kicked out and request to run fsck manually. After running fsck -y /dev/vg00/lvol3 and /dev/vg00/lvol4 and reboot, I still get the same error and request me to run fsck . I attach the console output in here .

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved