Board.KolibriOS.org
http://board.kolibrios.org/

SETUP
http://board.kolibrios.org/viewtopic.php?f=48&t=1966
Page 3 of 3

Author:  hidnplayr [ Sun Aug 02, 2015 12:10 am ]
Post subject:  Re: SETUP

Years have passed and the urge to store settings in .ini file have risen again.

I propose to commit a new program that loads settings from .ini and applies them to kernel at launch.
This will replace setup application and setup.dat

There is no gui, but settings can be easily changed with any text editor. If somebody feels the urge, they can still write a GUI.

system.ini would look like this:
Code:
[system]
skin=      ; for example: /sys/default.skn
volume=10
language=en   ; Use ISO 639-1 language codes
keyboard=us   ; Use ISO 3166-1 country codes 
speaker=on

[mouse]
speed=2
delay=10

[low-level]   ; Low level access for applications
PCI=on
LBA=off

Author:  Pathoswithin [ Sun Aug 02, 2015 1:00 am ]
Post subject:  Re: SETUP

Quote:
Years have passed and the urge to store settings in .ini file have risen again.
It spreads, like a plague, consuming everything on it's pass...

But I personally, have thirst to get rid of that annoying image, to just put kernel on disk or some folder.

Author:  hidnplayr [ Sun Aug 02, 2015 1:13 am ]
Post subject:  Re: SETUP

What does this have to do with my proposal? Do you agree, disagree or just don't care?

Author:  Pathoswithin [ Sun Aug 02, 2015 1:45 am ]
Post subject:  Re: SETUP

I wander, can I set the 1680x1050 video mode through "vbemode" setting? I did not manage to load KOS with extended primary loader, so maybe this will work?

Author:  Leency [ Sun Aug 02, 2015 1:54 am ]
Post subject:  Re: SETUP

Current idea is just to set all personal configuration into single ini file that can be easily changed by any program: when you set desktop image, change skin, volume, mouse settings, etc - all this points will be saved into ini file and loaded at system start-up.

I think that is very good undertaking.

Author:  Pathoswithin [ Sun Aug 02, 2015 2:39 am ]
Post subject:  Re: SETUP

... yes, it should have been renamed to "Settings", "Setup" is totally misleading.
Is it so bad, that can not be upgraded?

Author:  Pathoswithin [ Wed Oct 21, 2015 3:00 am ]
Post subject:  Re: SETUP

revision #5854
Using system.ini for settings.

Author:  Leency [ Wed Oct 21, 2015 3:57 pm ]
Post subject:  Re: SETUP

То, о чем я давно мечтал. Не хватает еще настройки для скина и обоев.
Запилил сохранение и загрузку настроек мыши через system.ini viewtopic.php?f=48&t=3095&p=62822#p62822

Author:  Leency [ Wed Dec 16, 2015 4:54 pm ]
Post subject:  Re: SETUP

rev #5973
Apply double_click_delay setting from ini file.

Author:  Leency [ Thu Sep 28, 2017 12:50 pm ]
Post subject:  Re: SETUP

Вынос настройки языка в INI файл сейчас работает не верно.
По-умолчанию пункт language=en нужно удалить из SYSTEM.INI,
в этом случае при запуске SETUP, он должен браться из сисфункции 26.5.

Сейчас же получается нужно дублировать SYSTEM.INI для каждого языка в папке svn://data/, зачем, если ядро и так компилируется с определенным языком.

Из-за этого уже непрвильный язык отображается в программе DRVINST (я потратил какое-то время, чтобы понять в чем проблема).

Author:  Leency [ Sun Mar 10, 2019 2:53 pm ]
Post subject:  Re: SETUP

Pathoswithin
Напоминаю про баг выше, его нужно исправить.

Author:  dunkaist [ Tue Mar 12, 2019 3:52 am ]
Post subject:  Re: SETUP

Leency,
I fixed this in the kernel, r7601.
Remove 'language=en' from system.ini if my fix did what you asked for.

Author:  Leency [ Tue Mar 12, 2019 2:47 pm ]
Post subject:  Re: SETUP

Thanks a lot! Now it is fixed.

Page 3 of 3 All times are UTC+03:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/