LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 08-23-2006, 09:23 AM   #1
Vitalie Ciubotaru
Member
 
Registered: Dec 2005
Location: Osaka, Japan
Distribution: Ubuntu Trinity
Posts: 153

Rep: Reputation: 30
"Backspace" misbehaves in X


I'm having a display/desktop manager/font/? problem. After I installed "Xorg" and ran "startx", it exhibited a strange thing - when I press "Backspace", it didn't delete the character, but draws two additional empty squares to the right from it. Nothing of this kind happens in plain console. To my understanding, it's not a keyboard problem, because the character really gets deleted (e.g. if I type "lss" and press "Backspace", I see "lss**", where ** are two empty squares; after I press "Enter", the "ls" command is normally executed).
I can't understand what causes this strange behavior. Any ideas?
 
Old 08-23-2006, 09:29 AM   #2
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 46
what keyboard driver is listed in xorg.conf? and what kind of keyboard do you have? is it ps/2 or usb? what video card/drivers? this is on the FC3 box or LFS?
 
Old 08-24-2006, 06:30 AM   #3
Vitalie Ciubotaru
Member
 
Registered: Dec 2005
Location: Osaka, Japan
Distribution: Ubuntu Trinity
Posts: 153

Original Poster
Rep: Reputation: 30
1. Keyboard: It's plain simple ps/2 keyboard (I'l check the driver though);
2. Video card: nVidia Vanta using the original "nv" driver (couldn't install the nVidia driver, but this is, probably, a different story);
3. It all refers to LFS
 
Old 08-24-2006, 09:26 AM   #4
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 46
btw, while you're checking the driver (off the top of my head it probably should be "kbd" for a basic keyboard) did it ever work on this OS and hardware and then it stopped working right with the upgrade, or is it a new install that has never worked so far? what happens if you do ctrl + backspace?
 
Old 08-25-2006, 05:11 PM   #5
debiant
Member
 
Registered: Jul 2006
Distribution: Source Mage 0.9.6
Posts: 196

Rep: Reputation: 30
Quote:
Originally Posted by slackhack
btw, while you're checking the driver (off the top of my head it probably should be "kbd" for a basic keyboard) did it ever work on this OS and hardware and then it stopped working right with the upgrade, or is it a new install that has never worked so far? what happens if you do ctrl + backspace?
do you use a stand en.US layout?

If so try this in your xorg.conf for the Section "InputDevice" for keyboard

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
 
Old 09-06-2006, 03:35 PM   #6
Vitalie Ciubotaru
Member
 
Registered: Dec 2005
Location: Osaka, Japan
Distribution: Ubuntu Trinity
Posts: 153

Original Poster
Rep: Reputation: 30
1. I checked the keyboard driver and it is "kbd".
2. It's not an upgrade or something -- I tried twice to get it work but with no luck
3. I tried to change "xorg.conf" but nothing happened. My Gnome asked me to choose between X and Gnome keyboard settings. Both options produce the same annoying behavior.
P.S.: I start thinking that it's due to "nv" video driver, because the "backspace" key actually works, it's just the terminal (and any editor) that displays those two squares.

Last edited by Vitalie Ciubotaru; 09-06-2006 at 03:37 PM.
 
Old 09-13-2006, 07:36 PM   #7
Vitalie Ciubotaru
Member
 
Registered: Dec 2005
Location: Osaka, Japan
Distribution: Ubuntu Trinity
Posts: 153

Original Poster
Rep: Reputation: 30
I re-installed "Xorg" -- no change.

BTW, this problem never showed up in my FC3 -- neither before, nor after installing the nVidia video driver. I'm just stuck.
 
Old 09-19-2006, 05:48 AM   #8
Vitalie Ciubotaru
Member
 
Registered: Dec 2005
Location: Osaka, Japan
Distribution: Ubuntu Trinity
Posts: 153

Original Poster
Rep: Reputation: 30
It's definitely not because of "nv" or "nvidia" driver. I installed nVidia video driver -- no change. Can it be because of a (corrupted, badly configured, ?) package I installed before installing "Xorg"? Maybe a graphic library or something...
 
Old 10-13-2006, 03:13 PM   #9
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,142
Blog Entries: 29

Rep: Reputation: 119Reputation: 119
There may be some useful information in the Linux keyboard and console How-to. There's info in there on X too:

http://tldp.org/HOWTO/Keyboard-and-Console-HOWTO-5.html

Regards,

-Drew
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
Any way to get "Alice"; "Call of Duty" series and "Descent 3" to work? JBailey742 Linux - Games 13 06-23-2006 01:34 PM
Delete emitting a backspace "^?" in linux term arobinson74 Slackware 5 01-16-2006 03:02 PM
Backspace produces "^?" after upgrading to FC3 fearofcarpet Fedora 5 01-04-2005 01:54 PM


All times are GMT -5. The time now is 05:23 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration