Hi! Thanks for the cool project!
I think it would be nice to rename drakon_editor.settings to .drakon_editor.settings. This will make it hidden on Linux and this is usual way to deal with config files in home directory
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For the time being, I hard code the path for that file to ~/.config/drakon/
To do that open the file drakon/scripts/app_settings.tcl
In
proc p.path { app } {
global env
set name $app.settings
set home $env(HOME)
set path [ file join $home $name ]
return $path
}
add this line set config ".config/drakon/"
and change set path [ file join $home $name ]
to -> set path [ file join $home $config $name ]
The result must be
proc p.path { app } {
global env
set name $app.settings
set home $env(HOME)
set config ".config/drakon/"
set path [ file join $home $config $name ]
return $path
}
Note that you need to manually create the folder ~/.config/drakon/
because the script not make the directory.
And now the file is created in ~/.config/drakon/drakon_editor.settings
Last edit: Finder X 2017-10-10
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi! Thanks for the cool project!
I think it would be nice to rename
drakon_editor.settingsto.drakon_editor.settings. This will make it hidden on Linux and this is usual way to deal with config files in home directoryThanks
For the time being, I hard code the path for that file to
~/.config/drakon/To do that open the file
drakon/scripts/app_settings.tclIn
add this line
set config ".config/drakon/"and change
set path [ file join $home $name ]to ->
set path [ file join $home $config $name ]The result must be
Note that you need to manually create the folder
~/.config/drakon/because the script not make the directory.
And now the file is created in
~/.config/drakon/drakon_editor.settingsLast edit: Finder X 2017-10-10