Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: rpirpag on December 01, 2021, 02:36:56 pm

Title: damaged Linux settings
Post by: rpirpag on December 01, 2021, 02:36:56 pm
Hello,
I think I have damaged my editor settings.

I can not add / or use Strg-c/v, or delete something in the IDE.

e.g. add a / opens a pop-up with instead of of adding /.

In the past all keys are working.

Please help me.

Thank you,
Reinhard
Title: Re: damaged Linux settings
Post by: Miguel Gimenez on December 01, 2021, 07:08:59 pm
You can try disabling the "Keyboard shortcuts" plugin or renaming the default.conf file (it should be in a hidden folder under your home directory) forcing C::B to create a fresh one.
Title: Re: damaged Linux settings
Post by: rpirpag on December 02, 2021, 09:40:55 am
I tried your suggestion but the problem still exist.

I use here V 16.01
Title: Re: damaged Linux settings
Post by: Miguel Gimenez on December 02, 2021, 04:13:29 pm
What happens if you press / in a console, text editor or web browser?
Title: Re: damaged Linux settings
Post by: rpirpag on December 03, 2021, 09:12:54 am
Only Codeblocks has the problem, LibreOffice and other are working.
Title: Re: damaged Linux settings
Post by: cacb on December 03, 2021, 01:32:16 pm
Maybe you can try this (not guaranteed to work):

Exit Code::Blocks

Back up ~/.config/codeblocks/default.cbKeyBinder20.conf  and remove or rename the original

Restart Code::Blocks and see if the shortcuts are working. If not, restore the backed up file and look for other solutions
Title: Re: damaged Linux settings
Post by: rpirpag on December 04, 2021, 04:43:24 pm
Hello,

I found out the problem: The *.cpp file I want to edit was read only. If I set it to writeable it works.
For me is this a very strange behavior of C::B. My Linux is Debian 10.

Can someone explain?