LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-20-2008, 03:51 AM   #1
kcynice
Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 154

Rep: Reputation: 25
Question how to input qutation marks(" and ')?


I just installed salckware 12.1.0 on my pc. but there is a strange problem occur for inputing some characters.
I don't know how to input 4 characters, they are: ~,`,' and ";
I used to use windows. There if i want to input ', only press ' key, and Shift+' for ". But now, i press ' key one time nothing would appear untill i press it again. In another word, only when i press ' key two times there will be a character displayed seems like '. Every another character above has the same problem. Why i say seems like? because the character displayed isn't what i want to input, just similar! I am sure it is NOT!
Why?
Any Ideas? Thanks
 
Old 09-20-2008, 04:09 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
You have key problem in X (graphic environement) or in Linux console ?
If in X, what is the output with:

grep XkbLayout /etc/X11/xorg.conf
grep XkbModel /etc/X11/xorg.conf
 
Old 09-20-2008, 09:19 AM   #3
kcynice
Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 154

Original Poster
Rep: Reputation: 25
the output is:
Option "XkbLayout" "us(alt-intl),us(alt-intl),us"

Now, i find the way to input them, just press the key one time and press space key, it will appear on the screen.

But, it is NOT convenient!I don't know how to configure it to make my keyboard work as normal.
 
Old 09-20-2008, 09:30 AM   #4
drumz
Member
 
Registered: Apr 2005
Location: Oklahoma, USA
Distribution: Slackware
Posts: 905

Rep: Reputation: 694Reputation: 694Reputation: 694Reputation: 694Reputation: 694Reputation: 694
It sounds like your input is setup up to allow typing in international characters, i.e. typing 'A will produce Á. So of course to get just ', you you have type ''. Unfortunately, I don't know where to configure such an option, as I don't use it. If it only does this in KDE try checking out the keyboard settings in the Control Center.
 
Old 09-20-2008, 09:33 AM   #5
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Post

Quote:
Originally Posted by kcynice View Post
But, it is NOT convenient!I don't know how to configure it to make my keyboard work as normal.
For some reason you are using three different layouts (do you really need them?)

You'll need to edit /etc/X11/xorg.conf and configure keyboard section, then restart X. For additional information see "man xorg.conf"

Here is my keyboard configuration (all symbols you mentioned work fine):
Code:
Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XKbModel" "pc105"
    Option         "XKbLayout" "us,ru(winkeys)"
    Option         "XKbOptions" "grp:rwin_toggle,grp_led:scroll,grp:shifts_toggle"
EndSection
It's english-russian keyboard, if you want english-only, try following:
Code:
Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XKbModel" "pc105"
    Option         "XKbLayout" "us"
    Option         "XKbOptions" "grp:rwin_toggle,grp_led:scroll,grp:shifts_toggle"
EndSection
I can't guarantee this will work if "drumz" was right about international characters input, because I never used it.

I recommend you to study xorg.conf documentation. To view documentation, either launch terminal and run "man xorg.conf" command, or start Konqueror, and try to view "man:/xorg.conf" address.

Last edited by ErV; 09-20-2008 at 09:35 AM.
 
Old 09-20-2008, 10:32 AM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Just don't select an "international" keyboard layout. The "international" layouts are meant to be able to input accented characters with ease (so a " followed by e will produce ë). The consequence is that all these characters like " ' ` ^ will need to be typed twice (or followed by a space). If you do not usually type accented characters you can select a "non-international" keyboard and then configure X to use the "Meta key" (usually AltGr or the right Alt key on your keyboard) to combine multiple characters into one.

Eric
 
Old 09-20-2008, 07:27 PM   #7
kcynice
Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 154

Original Poster
Rep: Reputation: 25
I think i have got it. Yes, my kayboard had some different options before, it was "us(alt-intl),us(alt-intl),us", i think the first two are repeated. So i try to modify them to only one option "us". When i restart X again, my keyboard works well now.

Thanks all.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"There is no MRL" when Xine opens. How to establish the link to the input drive. AlteredWalter Linux - Newbie 1 09-29-2007 05:35 AM
Repeated "input: AT Translated Set 2 keyboard as /class/input/input" messages AcerKev Mandriva 2 09-16-2007 08:35 AM
IE7 Anti Phishing Tool Marks Legitimate Small Business "Suspicious" weibullguy General 4 12-25-2006 11:39 PM
C program that takes input "FName|LName" and outputs to std out its_godzilla Programming 2 01-18-2005 10:26 PM
<input type="button" disabled="true" > does not work in ns4.7 or 4.9 cybercop12us Programming 2 11-29-2002 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration