Onboard Default Settings

Asked by Jeremiah L Buckley

Changes made in onboard-defaults.conf in the 'docking-enabled' setting doesn't seem to change the appearance of onboard when launched.

Un-checking the option 'Dock to screen edge' in the onboard-settings program does affect the appearance of onboard.

Is there a way to change window docking to disabled through a config file rather than the 'Onboard Preferences' window?

Question information

Language:
English Edit question
Status:
Solved
For:
Onboard Edit question
Assignee:
No assignee Edit question
Solved by:
Francesco Fumanti
Solved:
Last query:
Last reply:
Revision history for this message
Best Francesco Fumanti (frafu) said :
#1

Hi,

Thanks for your interest in Onboard.

The onboard-defaults.conf file is meant for distribution maintainers in order to adapt Onboard to the desktop environment they are using. The data in the onboard-defaults.conf file has an effect only at the first run of Onboard. Afterwards, Onboard uses the data of the gsettings keys that get created by Onboard.

I am wondering why you are looking for a way to change the Onboard settings by a file, as Onboard remembers his settings across restarts from the Onboard program and across restarts of the system/computer.

That said, if you nevertheless need to change the Onboard settings without have to use the onboard-settings program, you might look into the gsettings command for the terminal, which allows you to directly manipulate the settings of applications using the gsettings system. If the settings have to be in a file, I could for example imagine a shell script containing gsettings commands which is run to change the data in Onboard's settings. As far as I know, Onboard should react to settings changes even if it is already running.
https://developer.gnome.org/gio/stable/gsettings-tool.html

Here are for example the commands to recursively reset the settings of Onboard and to read the value of the long press delay:
gsettings reset-recursively org.onboard
gsettings get org.onboard.keyboard long-press-delay

Have a nice day.

Francesco

Revision history for this message
Jeremiah L Buckley (jbuckley68) said :
#2

That was very helpful and it will help me solve my problem. Thank you very much for your insight and time.

Revision history for this message
Jeremiah L Buckley (jbuckley68) said :
#3

Thanks Francesco Fumanti, that solved my question.

Revision history for this message
Francesco Fumanti (frafu) said :
#4

I am glad I could help.