User forums > Using Code::Blocks

space bar doesn't work

<< < (3/5) > >>

libfab:
Worked fine for me too, thanks sharky.

Fab

sharky.fr:
Glad to see it helped you :D

libfab:
Some news of the maddening "space bar" issue which seems to affect French keyboard layouts.
The "Sharky fix" seemed to work all right, yet it was not enough for Kunbuntu (I have a fresh Kubuntu 4 platform).

After browsing the bug posts kindly given to me by Jens, I have come to the following fix, which works both on Ubuntu and Kubuntu and so far has the added bonus of apparently thwarting the "cursor shift" bug that I reported on other thread:


(/etc/X11/xorg.conf)

replace "XkbVariant"  "oss"
with      "XkbVariant"  "latin9"   

add below a full line:
##libfab fix:
    Option     "XkbOptions"  "nbsp:none"

Actually the bug seems to arise from nbsp settings rather than from "oss" itself. On Kubuntu, commenting out "XkbVariant" "oss"  was not enough, as it was with gnome Ubuntu.

I have not tried to check if, under gnome Ubuntu, it still is possible to preserve "XkbVariant"  "oss" if the "nbsp:none" setting is added.

Another less intrusive method is to use setxkbmap (just check the man page) on a command line:

setxkbmap  -option nbsp:none

is well enough under Kubuntu. You can possibly add:

-model pc 105 -layout fr -variant latin 9

if it is not enough.

Hope this helps.

Fab

wilbefast:
I know this is necromancy but it's exactly the same problem so a little context is probably helpful:

I've recently swapped Windows XP for Ubuntu and re-installed Codeblocks - suddenly I get an auto-complete pop-up whenever I press space so the only way to add spaces is to copy paste them  :( I'm using a French (AZERTY) keyboard setup - both Ubuntu and Codeblocks are the newest versions (I just downloaded them see).

I tried using the fix but there is no "XkbVariant" line in my xorg.conf file so I can't replace it :-S
This may be because I'm using the standard Ubuntu release with Gnome rather than Kubuntu. Here is what the file looks like for me:


--- Code: ---# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
EndSection

Section "Module"
Load "glx"
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
Option "NoLogo" "True"
EndSection
--- End code ---

Jenna:

--- Quote from: wilbefast on September 10, 2009, 05:46:18 pm ---I know this is necromancy but it's exactly the same problem so a little context is probably helpful:

I've recently swapped Windows XP for Ubuntu and re-installed Codeblocks - suddenly I get an auto-complete pop-up whenever I press space so the only way to add spaces is to copy paste them  :( I'm using a French (AZERTY) keyboard setup - both Ubuntu and Codeblocks are the newest versions (I just downloaded them see).

I tried using the fix but there is no "XkbVariant" line in my xorg.conf file so I can't replace it :-S
This may be because I'm using the standard Ubuntu release with Gnome rather than Kubuntu. Here is what the file looks like for me:

--- End quote ---

xorg.conf is no longer used for keyboardsettings, it's done via hal now.

Searching google for
--- Code: ---xkbvariant ubuntu hal
--- End code ---
should give an answer (at least it does here in germany).
I can give you a link to german ubuntu site, but I don't know if it can help you: http://wiki.ubuntuusers.de/HAL/Eingabeger%C3%A4te .

EDIT:
This should be the same in english: https://wiki.ubuntu.com/X/Config/Input

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version