Page 1 of 1

Settings

Posted: Wednesday 13th November 2019 4:30pm
by cogier
Cage asked this question here but I think it's better started as a new topic.
Can you explain exactly how the settings command works. I have search for an answer but what I have found were very vague. I managed to make it work but it's not putting the file where would like it. If you could help out with that I would really be grateful.
1/. Have you seen this page?
2/. Why is it necessary to move the file location? I have looked to do this and it seems it would be better to create your own system (see attached).

Can you better explain what you are trying to do please.

Thanks for the kind words regarding PhotoEXIF.
Settings2.tar.gz
(13.16 KiB) Downloaded 374 times

Re: Settings

Posted: Wednesday 13th November 2019 4:56pm
by jornmo
Changing file location is pie simple:

http://gambaswiki.org/wiki/comp/gb.sett ... tings/_new

Re: Settings

Posted: Wednesday 13th November 2019 5:37pm
by gbWilly
Hi cage,

Using the users .config folder is a standard location for placing configuration files on Linux systems.
This ensures that:
1. every user on the system has a personal configuration file
2. system admins have a standard location to look for in case of trouble shooting a system

Not only Gambas uses the users .config folder but many other applications on Linux as well (see screenshot below).

Image

I consider it good programming practice to stick to the standards used on Linux systems.
It makes life so much easier if we all do.

My 2 cents on the matter

Re: Settings

Posted: Thursday 14th November 2019 4:37am
by cage
gbWilly I am not trying to really move the config file but rather just make it work correctly. When I run my test program then look in the config folder it's not there. So I just needed to find out how to set the path to that folder. It's good to talk to you again, been a long time. :)

Re: Settings

Posted: Thursday 14th November 2019 5:04am
by cage
cogier thank you very much. I know now just what I was doing wrong. I greatly appreciate your help in this matter.

Re: Settings

Posted: Saturday 28th March 2020 7:09pm
by Serban
jornmo wrote: Wednesday 13th November 2019 4:56pm Changing file location is pie simple:

http://gambaswiki.org/wiki/comp/gb.sett ... tings/_new
Sorry to bother: Have you tested? It does nothing and if you try to write the file, gets you to "Access Violation" or "NULL value error".
I gave up using this component. I found my way out without it, and even better.