Author Topic: user.config ?? and change dir  (Read 5416 times)

Offline mess-mate

  • Multiple posting newcomer
  • *
  • Posts: 16
user.config ?? and change dir
« on: October 17, 2008, 06:40:59 pm »
I don't know if this is a 'help' or 'using codeblocs' question..

1-After reading the doc i've found something about a 'user.config' file but only for win, not for linux ?
2-when i creat a new project, codeblocs search in the /usr/share/codeblocks/templates directory for doing a choice about his options.
Is there any way to change that for looking in my own ./codeblocks/.....

BR
mess-mate
regards
mess-mate (Linux/Debian)

mariocup

  • Guest
Re: user.config ?? and change dir
« Reply #1 on: October 17, 2008, 07:49:13 pm »
Hi mess-mate,

you can save projects as user templates via the menu File->Save project as user-template. The files will be copied to APP_DATA path (Documents and Settings/AppData/codeblocks/UserTemplates ... ). If you start the project wizard and select the user templates then you will see your templates:-)

Bye,

Mario

Offline mess-mate

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: user.config ?? and change dir
« Reply #2 on: October 17, 2008, 07:55:22 pm »
Yes I know, Thanks.
Linux only here  :D
What i want exactly is that the /usr/share/codeblocks/templates are to my ./codeblocks/* and the selections for whatever can be done there; not /usr/share/codeblocks/templates !

regards
mess-mate (Linux/Debian)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: user.config ?? and change dir
« Reply #3 on: October 17, 2008, 08:14:31 pm »
On my system the user-templates go to "~/.codeblocks/UserTemplates".

If you have write-access to "/usr/share/codeblocks" something went wrong with your configuration.
Only root should have write-acces to this folder and its subfolders. And nobody should use the root-accout for everyday use.

Offline mess-mate

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: user.config ?? and change dir
« Reply #4 on: October 17, 2008, 08:23:57 pm »
ah no, i havent't write access to that and i don't.. But i can if necessary.
I like that 'user.conf' principle and at the other hands would my own copy of /usr/share/templates so i can modify them for my own.
The debian mind  :)
Great IDE/RAD i like it and would further work with it.

have a nice day.
mess-mate
regards
mess-mate (Linux/Debian)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: user.config ?? and change dir
« Reply #5 on: October 17, 2008, 09:04:16 pm »
You can customize the templates. Right click on a wizards icon and see what's possible.
You have no access to the original script, unless you delete the customized one.

The scripts you have changed go to "~/.codeblocks/share/codeblocks/templates/wizard".

Offline mess-mate

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: user.config ?? and change dir
« Reply #6 on: October 18, 2008, 10:39:47 am »
I did, the script-file open but can't change anything.
The purpose is to have a template without the 'Tools' included in the frame.
When i delete them on a fresh frame, they are deleted from the xxx.wxs but are still there in the  Main.xx files as OnAbout and OnClose.
Why ?
regards
mess-mate (Linux/Debian)