Code::Blocks Forums

User forums => Help => Topic started by: Funto on April 25, 2008, 11:52:16 am

Title: Ubuntu update to Hardy Heron leads to key space not working anymore
Post by: Funto on April 25, 2008, 11:52:16 am
Hi all,

I've just upgraded my Linux distribution from Ubuntu Gutsy to Hardy (which did not change the Code::Blocks package apparently), and now when using the source code editor, a press on the space bar is understood by Code::Blocks as a Ctrl+space key press !

I tried to remove ~/.codeblocks but it did not change anything...

On the other hand, when I use the "Default code editor" in the settings, my space key is correctly recognized, but even disabling code completion doesn't make it recognized in the normal source code editor...

Thanks for your help ^^
Title: Re: Ubuntu update to Hardy Heron leads to key space not working anymore
Post by: gafatoa on April 25, 2008, 09:50:52 pm
Hello,

I got the same problem after a fresh Ubuntu 8.04 install.
This problem seems to occur only in the editor. In other text fields (search for example) all is fine.
Ctrl+Alt+Space is "understood" as a standard space key press.

Bye
Title: Re: Ubuntu update to Hardy Heron leads to key space not working anymore
Post by: JGM on April 26, 2008, 04:32:32 am
maybe is a bug related to scintilla
Title: Re: Ubuntu update to Hardy Heron leads to key space not working anymore
Post by: Funto on April 26, 2008, 11:39:08 am
That's possible, but doesn't solve the problem lol :p

gafatoa >> same for me, Ctrl+Alt+Backspace is recognized as a space key press...
Title: Re: Ubuntu update to Hardy Heron leads to key space not working anymore
Post by: Jenna on April 26, 2008, 12:15:59 pm
http://forums.codeblocks.org/index.php/topic,8291.msg61593.html#msg61593 (http://forums.codeblocks.org/index.php/topic,8291.msg61593.html#msg61593)

(does not solve the problem either)
Title: Re: Ubuntu update to Hardy Heron leads to key space not working anymore
Post by: Barking_Mad on April 26, 2008, 03:28:18 pm
I notice both those xorg.conf posting use the XkbVariant "oss", this is not defined in my xorg.conf which doesnt exhibit the spacebar problem.

My xorg.conf:
Code
....
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
....
Title: Re: Ubuntu update to Hardy Heron leads to key space not working anymore
Post by: Funto on May 05, 2008, 02:02:12 pm
Barking_Mad >> You were right :) I did as specified in the topic pointed by jens' link, that is to say, I commented out the XkbVariant "oss" and it works like a charm, thanks a lot :)
Title: Ubuntu update Ubuntu 9.04 key space not working anymore
Post by: ameirhaeghe on March 08, 2009, 04:29:29 pm
there is no section keyboard in xorg.conf. In this Ubuntu release  !
And Y have space problem
 :shock:
Title: Re: Ubuntu update to Hardy Heron leads to key space not working anymore
Post by: ameirhaeghe on March 08, 2009, 04:40:20 pm
My solution in this version is to change keyboard to france and pc generique 104 touches (not france autre) (menu system/preferences/clavier)
It's work for the moment.
 :D
Title: Re: Ubuntu update Ubuntu 9.04 key space not working anymore
Post by: Jenna on March 08, 2009, 04:42:28 pm
there is no section keyboard in xorg.conf. In this Ubuntu release  !
And Y have space problem
 :shock:

The more recent xservers have to be configured with the hal-daemon and fdi-files.
Maybe you find some help here:

https://wiki.ubuntu.com/X/Config (https://wiki.ubuntu.com/X/Config)
and / or here:
http://ubuntuforums.org/showthread.php?t=948154 (http://ubuntuforums.org/showthread.php?t=948154)
Title: Re: Ubuntu update to Hardy Heron leads to key space not working anymore
Post by: wilbefast on September 10, 2009, 07:03:52 pm
My solution in this version is to change keyboard to france and pc generique 104 touches (not france autre) (menu system/preferences/clavier)
It's work for the moment.
 :D

In English: I changed "france alternative" to "france" and chose a Dell laptop layout (not actually my laptop, which wasn't on the list, but close enough). Apparently everything works - fingers cross :-S


William

Removed non-english portions.
Title: Re: Ubuntu update to Hardy Heron leads to key space not working anymore
Post by: Fabyen on October 08, 2009, 08:47:05 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.