Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Shift-Space inserts nobreakspace

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
aguettinger
Tux's lil' helper
Tux's lil' helper
Posts: 84
Joined: Fri Sep 26, 2003 4:04 pm

Shift-Space inserts nobreakspace

  • Quote

Post by aguettinger » Sun Dec 06, 2009 1:09 pm

I recently had some problems when coding C which turned out that special characters were inserted in my C code which the compiler didn't like.
When investigating I realized that the characters come from nobreakspaces. Apparently when using shift-space I insert nobreakspaces. After looking around a bit this should happen when I do CTRL-SHIFT-SPACE, but now it also does that with Shift-Space. Maybe something is wrong with my keyboard mappings, although everything else is working correctly. Any ideas of how to get rid of this behavior?

Here is a short text file shown in scite:

Code: Select all

NEW IN TOWN
NEW IN TOWN
           
NEW IN TOWN
NEW IN TOWN
1. line: only space
2. line: holding shift while entering the whole line
3. line: repeatedly typing shift-space
4. line: same as 2.
5. line: using Ctrl-Shift-Space

The same file with cat test.txt in terminal:

Code: Select all

NEW IN TOWN
NEW IN TOWN
           
NEW IN TOWN
NEW IN TOWN
xev output when doing shift-space:

Code: Select all

KeyPress event, serial 33, synthetic NO, window 0x2000001,
    root 0x1a7, subw 0x0, time 32029260, (524,-60), root:(583,38),
    state 0x0, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 33, synthetic NO, window 0x2000001,
    root 0x1a7, subw 0x0, time 32031172, (524,-60), root:(583,38),
    state 0x1, keycode 65 (keysym 0xa0, nobreakspace), same_screen YES,
    XLookupString gives 2 bytes: (c2 a0) " "
    XmbLookupString gives 2 bytes: (c2 a0) " "
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x2000001,
    root 0x1a7, subw 0x0, time 32031308, (524,-60), root:(583,38),
    state 0x1, keycode 65 (keysym 0xa0, nobreakspace), same_screen YES,
    XLookupString gives 2 bytes: (c2 a0) " "
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x2000001,
    root 0x1a7, subw 0x0, time 32031636, (524,-60), root:(583,38),
    state 0x1, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False
regards
- andy
Top
Post Reply
1 post • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic