Ubuntu :: Changing "keypad Delete" From Comma To Period

Jan 10, 2010

I am using Ubuntu 9.10 in U.S. English with a German keyboard layout. Accordingly, pressing the delete button on the numeric keypad will produce a comma, which most applications do not recognize as a decimal. in order to have the key produce a period.

I have tried editing the /usr/share/X11/xkb/symbols/de and changing the line

Code:
include "kpdl(comma)"

in the "basic" section of the file to

Code:
include "kpdl(period)"

which seemed like the perfect solution, but upon restarting an error message pops up and the keyboard layout is changed to U.S. English.

Code:
cd /usr/share/X11/xkb/symbols
xkbcomp -lhlpR '*' -o ../symbols.dir

which does nothing at all if used with sudo and produces an error message if used without. Reverting changes to /usr/share/X11/xkb/symbols/de removes all errors.
Is there something else I need to do to have xkb accept my changes to the file?

Code:
include "kpdl(comma)"

does not specify a symbol to be mapped to the keypad delete key, but rather constitutes a command that integrates a pre-specified option into the layout file. Thus, simply removing the line works perfectly well, even without using the above suggestion to register the change to the file with xkb (or whatever it does).

View 7 Replies


ADVERTISEMENT

Ubuntu :: Delete All Text Before Period?

Jun 7, 2011

I have a file like this code...

I would like to use sed or similar to remove everything before the period, but only for the lines 1 and 3 (or lines with a-z.a-z and not a-z = 0-9.0-9.0-9.0-9)

I found a way to do this using:

cat $file | sed 's/[.].*//'

But this 1)remove all the text AFTER the period and not before it, and 2) removes everything after the first decimal of the IP address.

View 9 Replies View Related

Ubuntu :: Changing The Type Of Partition From A Ect4 To Fat32 But Will This Delete My Data?

Dec 5, 2010

i currently have both xubuntu 10.10 32-bit and windows 7 64-bit installed on my laptop which i use mostly for college work and basic programming (i'm still learning to program).i have a 150gb partition with win7 installed, a 20gb partition with xubuntu installed and a 15gb partition with my linux home folder on, the rest of the space is unused because i thought i may need it for something else in the future.the home folder partition is formatted to etc4, i now have a need to access this data from win7 for college work, i know that windows doesn't support mounting of etc file systems so i have hit a problem.

i thought about changing the type of partition from a ect4 to fat32 but will this delete my data? or ,are there any third party software packages for windows that will allow me to mount ect4?

View 1 Replies View Related

Ubuntu :: Stupid Mistake - Disabled "delete" Key By Changing Keyboard Shortcut?

Apr 17, 2010

I accidentally changed a keyboard shortcut in GNOME to the "delete" key. I changed the shortcut back, but now my delete key is disabled.

View 1 Replies View Related

Ubuntu :: Extract Only The Strings After The Comma?

Jun 1, 2010

I have a csv file in this format:

Code:
1,characterswithnospace
2,same
4545,characters
I want to extract only the strings after the comma,

View 4 Replies View Related

Ubuntu :: Numeric Keypad Stopped Suddenly?

Apr 19, 2011

My ubuntu was working well for the past few months, and suddenly my numeric keypad wont work now. the num lock's light toggles, but there is no input on the screen while typing.

View 4 Replies View Related

Programming :: Php Explode By Comma Unless?

Feb 9, 2010

i'm trying to get several strings from a single string, separated by comma's.there are comma's that do not separate strings, however, those enclosed in parantheses.an example would be:vt, word1, (word2, word3)word4

exploding by ',' would result in:
[0]=>vt
[1]=>word1

[code]....

View 2 Replies View Related

Ubuntu :: Disable The 'Pointer Can Be Controlled Using The Keypad' Function?

Jan 3, 2010

how to permanently disable the 'Pointer can be controlled using the keypad' accessibility function?There was a post about it on launchpad, that I used before and since updating to 9.10 I can't find it.It may be a Gnome bug, and its getting very irritating - maybe 10 - 12 times a day...

View 1 Replies View Related

Ubuntu Installation :: Rhel-6 - KeyPad Doesn't Work

Apr 20, 2011

I am having issue with my keypad( place where we move the mouse pointer), after installing rhel-6

View 2 Replies View Related

Hardware :: Numeric Keypad Do Not Work

Jul 11, 2011

After changing the keyboard the numeric keys do not work using mandriva 2010.2. It works ok on windows xp and puppy linux.
Under puppy linux the setting is pc 101.
Mandriva the setting is Generic 105 key (intl) PC
Have tried a few different options.

View 6 Replies View Related

General :: Adding A Comma To The End Of Every Nth Line In Vi (or Sed)?

Oct 12, 2009

I have a fairly long list of data that I am trying to put into a math program (maple) but before I can do that I need to edit the format of the data such that at the end of every 25th line I add a comma. I would prefer a solution that uses vi, but if that's impossible sed would be fine also (or awk).

View 6 Replies View Related

General :: Regex Escape The Comma?

Aug 12, 2010

sometimes there are one, sometime there are two exchanges in this log file. the 100= is the stock exchange- if there are two, they are seperated by a comma. i understand how to escape a comma in a regex, but I am having trouble with combining it.

35=8 39=1 38=1000 32=13 14=754 31=1.11 44=1.1 100=AMEX,ISE
35=8 39=1 38=1000 32=151 14=205 31=1.1 44=1.1 100=AMEX
35=U 39=2 38=1000 32=45 14=184 31=1.1 44=1.1 100=AMEX,ISE

[code]...

View 11 Replies View Related

Programming :: Pyqt3 List Without Comma ?

Mar 21, 2010

I'm trying to compose a line of numbers each single digit taken from a variable eg: 1010001 each variable digit is either a 0 or 1 made from variable layer1 through 7. I need to add each layer variable to the last to compose the number with no commas or spaces and add it directly after the -p option in the show_command line. I used array and list and the commas mess up the command and inserting "pens" in the show command interpertes it literally instead of the list or array value? The insert should look something like 1000110

Code:

View 1 Replies View Related

Ubuntu :: Numeric Keypad Controls Mouse - No Digit Input

May 21, 2010

I've noticed a bit of a problem here in the last few days...after some point, my numeric keypad stops being a numeric keypad; instead, it controls the mouse (5 right clicks, and the outer keys move the cursor in the appropriate direction). It doesn't appear to happen on boot, as I generally type the numeric bits of my password with the keypad, but some point after. The only common events I can think of where this has occurred is either after connecting to the system via SSH, or after swapping to tty1 (which usually requires re-enabling of numberlock for the terminal to recognize digits, again for the password). No matter what state the NumLock is in (off or on) at this point, the keypad fails to function as a keypad.

View 2 Replies View Related

Fedora :: Keypad Not Working Anymore In Gnome

Aug 19, 2009

A couple of weeks ago, my keypad stopped working. Not only the numbers, but all keys there. I heard it is a setting in Gnome, but I can't seem to find it.

View 2 Replies View Related

General :: How Does One Set Keypad Mode For Jed Editor With EDT Emulation

Feb 24, 2010

How does one switch between command line and keypad modes when using the jed editor with EDT emulation?

OpenVMS User's Manual states that when using the EDT editor if the user wants to control EDT using the keypad, the mode needs to be set for keypad rather than command line input:

I am using:

with this .jedrc file:

Using the -batch shows that the .jedrc file is correctly located.

View 1 Replies View Related

General :: Output Pid's From Ps To A Comma Delimited File?

Apr 7, 2010

need to monitor pecific processes over a time frame in terms of the amount of memory and cpu usage it utilizes. I can do this using the top -p <pid> option and using ps to retrieve the pid's. However, seeing that the pid's might differ and it needs to be run on about 13 different machines, I would like to write a script for this that can be run at set intervals. My problem that I have is this:

- When running top -p <pid> I can specify a comma seperated list of the processes required to monitor at that specific time.

- I can use ps -ef | grep <process> | grep -v grep| awk '{ print $2 }' to retrive the list of pid's and output this to a file.

However, how can I output these to the file as a comma seperated list without having to manually do this every time? The reason for this is (an example), lets say I want to monitor the cpu and memory usage of postgresql as well as all its child processes, then I would ps grep for postgres and get the list of pid's for instance.This list then needs to be passed to top -p as a comma seperated list of pid's I suspect that awk or sed might have some options available for this but I do not know this well enough.

View 11 Replies View Related

General :: Count Words With Comma As Separator?

Feb 16, 2010

I'm trying to count words in a text file that has a comma as separator. I know that I must user wc -w, but wc uses space as a separator

View 2 Replies View Related

General :: Removing The Comma From A Currency Entry?

Apr 24, 2010

I have a file of the formcol1, col2, $330,000, col4 ...col1, col2, col3, col4 ..col1, col2, $230,000, col4 ...The comma within the currency value causes the column to display unevenly when I open it so I want to remove it. I think I should be able to use the sed command but I am not sure extactly how. All the values have 3 digits after the $ and before the , so have triedsed -e 's/$[0-9]*,/ but I am not sure how to 'replaced with the string found just without the comma'So two guestions:1. Is this a good way to do it?2. How do I do it

View 8 Replies View Related

Programming :: Add Comma To End Of Lines In Text File?

Aug 21, 2010

I have a plain text file with 360 lines of varying length text. How do I add a comma or other symbol to the end of each line so that I can convert the file to csv format that I can open in a spreadsheet (45 rows, 8 columns). That means each 8 lines of text forms 8 columns, with 45 rows.

View 9 Replies View Related

Programming :: Concatenate The Output To Comma Delimited?

Nov 23, 2010

I would like to create csv output from an ipcalc calculation.

Code:
[me@host scripts]$ ./ipcalc 192.168.30.40/255.255.255.248
Address: 192.168.30.40 11000000.10101000.00011110.00101 000

[code]....

View 1 Replies View Related

Ubuntu Networking :: Rdesktop - Numeric Keypad Disables Caps Lock

Mar 22, 2010

The issue i found is that when i connect from ubuntu to windows 2003 server, through rdesktop, using the numeric keypad disables automatically the caps lock setting.To reproduce the problem :

- connect to a windows remote pc through rdesktop
- open notepad
- press caps lock to set the capital letters

[code]....

The result is :

ADKLEFL2390309ajkejkjf

The caps lock has been silently deactivated. Only ubuntu clients are affected by this. I think it's a bug of rdesktop.

View 1 Replies View Related

Debian Multimedia :: Press The NUM LOCK Key For Numeric Keypad?

Oct 13, 2010

I have a problem with GDM, I'll explain: When system boot up and GDM show up, always need to press the NUM LOCK key for numeric keypad, for any reason this is disable always

View 9 Replies View Related

Fedora :: 13 On Toshiba Laptop Keypad Stops Working

Jun 7, 2010

I did a clean install of Fedora 13 on my Toshiba A500 laptop. Suddenly the keypad stops working. no numbers?

View 2 Replies View Related

General :: Randomize The Comma Separated String In Shell?

Oct 10, 2010

I wanted to randomize the comma separated string.String like "test1,test34,test5,test6".And it would be displayed differently when I ran each time.

Expected output like "test5,test6,test1,test34".

View 13 Replies View Related

Hardware :: Write I2c Drver For Keypad For At91sam9261 Board?

Mar 8, 2011

i have to interface a keypad to at91sam9261 board in linux platform.

View 1 Replies View Related

General :: Interface GPIO Driven Matrix Keypad?

Dec 4, 2010

I want to interface GPIO driven matrix keypad(4X4) to my linux box.
I saw a driver source file
linux-2.6.32.2/drivers/input/keyboard/matrix_keypad.c

How can I use this to achieve what I want?

View 3 Replies View Related

Programming :: Join 5 Lines Blocks Comma Delimited?

Nov 26, 2010

I have been searching previous posts but could not find an example which works with my data. I think I might be the spaces in my fields. I have a massive data file and need to join 5 line blocks separated by a comma.

Code:

2
111.222.333.444
host.edu

[code].....

View 8 Replies View Related

Programming :: Using Sed To Remove Line In A Comma-delimited File?

Mar 10, 2009

I have a script that output all my data in to a comma-delimited file separated by ";"

Current Output:

Quote:

"SAP 1117A";10.94.1.7;239.234.1.12;0;0;0;0;0;3;172.31.207.45;""
"";NA;239.192.1.50;0;0;0;0;0;3;172.31.207.61;""
"";NA;239.192.1.50;0;0;0;0;0;3;172.31.207.62;""

[code]...

I would like to remove all lines that have an NA in the second field.

New Output

Quote:

"SAP 1117A";10.94.1.7;239.234.1.12;0;0;0;0;0;3;172.31.207.45;""
....

View 4 Replies View Related

General :: Remove Line Breaks From Lines Ending With A Comma?

Nov 10, 2010

I have a CSV file that's created in an application that can't output lines longer than 250 characters. the data fields, all together, are longer than this. how would I remove the line break from every line that ends with a comma? For example:

A,B,C
D,E,
F
G,H,I

becomes:

A,B,C
D,E,F
G,H,I

View 1 Replies View Related







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