Author Topic: [Code Comletition] probleme with spacebar  (Read 6168 times)

Offline rododox

  • Single posting newcomer
  • *
  • Posts: 7
[Code Comletition] probleme with spacebar
« on: June 30, 2008, 04:34:29 pm »
Hi :)

I'm using Code::Blocks 8.02 under Windows XP SP2 and Ubuntu 8.04

Under Linux, I can't write any program because when I enter any code (for example int i;) the auto completition popup appear (no problem) but when i type on the spacebar, nothing appear on the screen (i can separate the words)

the only solution is to disable the plugin
yesturday, i dowbloaded the svn5105 and i had the same problem (just under Linux)

Offline blend

  • Multiple posting newcomer
  • *
  • Posts: 32
Re: [Code Comletition] probleme with spacebar
« Reply #1 on: July 05, 2008, 05:10:10 pm »
I encountered this issue too but doing this it works well:
open /etc/X11/xorg.conf being root and find this section:
"
Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "fr"
        Option          "XkbVariant"    "oss"
EndSection
"

Comment the line " Option "XkbVariant" "oss" " by putting a # at the begining. Save, restart the xserver and that's all ;)

Offline Fabyen

  • Single posting newcomer
  • *
  • Posts: 4
Re: [Code Comletition] probleme with spacebar
« Reply #2 on: October 08, 2009, 08:51:01 am »
I fix this issue by changing keyboard layout. (french keyboard)

1 - Menu System => Preferences => Keyboard
2 - Select Tab layout
3 - Click "Layout options..."
4 - Expand last option "Using space key to input non-breakable space character"
5 - Select the last choice "Usual Space at any level"

I know it's not system wide, just for the current user (well I suppose) but...

That's it.


A french guy in Bucharest using Ubtuntu 9.10 (beta at the moment)