Author Topic: transfer settings between windows/linux  (Read 3065 times)

Offline denk_mal

  • Multiple posting newcomer
  • *
  • Posts: 35
transfer settings between windows/linux
« on: February 06, 2008, 10:12:30 am »
Hi,

is there a way to transfer my Code::Blocks settings from windows to linux (and vice versa)?
I want to have the same keybindings on both machines.

Simply copying the cbKeyBinder10.ini doesn't work.

greetings
denk_mal

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: transfer settings between windows/linux
« Reply #1 on: February 06, 2008, 03:48:10 pm »
It might work with the following actions:

Make sure both Windows CodeBlocks and Linux CodeBlocks are *not* running.

Copy the KeyBinder10.ini file to the Linux user data directory.
Make sure the copied file is spelled the same and the letter cases are the same as the original Linux keybinder10.ini file.

Start the Linux CodeBlocks. Wait at least 1 minute while keybinder finds all the mismatched ids. Some errors may occur because the menu id's on Linux are different from those in the copied windows keybinder file.

Do a Menu/Settings/Editor../keyboard shortcuts/ok .
keybinder will re-write the shortcuts with the newly assigned Linux menu ids.
« Last Edit: February 06, 2008, 03:51:31 pm by Pecan »

Offline denk_mal

  • Multiple posting newcomer
  • *
  • Posts: 35
Re: transfer settings between windows/linux
« Reply #2 on: February 08, 2008, 09:05:52 am »
Hi Pecan,

I've tried this (incl. lineending converting) but it wont work.
It seems that Code::Blocks has problems to convert the bind-type bindings from
one platform to another platform.
As a "quick'n'dirty" solution I have made a diff file between original settings and my
settings file and set this changes by hand now.

Neverless thanks for your help.

denk_mal