Settings

Post Reply
User avatar
cogier
Site Admin
Posts: 358
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Settings

Post by cogier » Wednesday 13th November 2019 4:30pm

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 14 times

User avatar
jornmo
Site Admin
Posts: 205
Joined: Wednesday 21st September 2016 1:19pm
Location: Norway

Re: Settings

Post by jornmo » Wednesday 13th November 2019 4:56pm

Changing file location is pie simple:

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

User avatar
gbWilly
Posts: 28
Joined: Friday 23rd September 2016 11:41am
Location: Netherlands
Contact:

Re: Settings

Post by gbWilly » Wednesday 13th November 2019 5:37pm

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
gbWilly
- Dutch translation for Gambas3
- Gambas wiki content contributer


... there is always a Catch if things go wrong!

cage
Posts: 39
Joined: Monday 02nd September 2019 5:47am
Location: Phoenix Arizona

Re: Settings

Post by cage » Thursday 14th November 2019 4:37am

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. :)

cage
Posts: 39
Joined: Monday 02nd September 2019 5:47am
Location: Phoenix Arizona

Re: Settings

Post by cage » Thursday 14th November 2019 5:04am

cogier thank you very much. I know now just what I was doing wrong. I greatly appreciate your help in this matter.

Post Reply