Location of the configuration files

Asked by X-Legs

What is the location of the configuration files for Onboard?

I depend on Onboard for my daily workflow (and not just on a touchscreen either), and occasionally I like to start new user accounts in order to clean up my configurations folder. I created many snippets in order to make life easier for myself, and I'd like to be able to copy the old configuration file to my new user account. I tried looking at the obvious spots (~/.onboard, ~/.config/onboard) but those don't seem to exist.

Anyway, thanks for the great on-screen keyboard. Even though I use Arch Linux on KDE, this is by far the best on-screen keyboard available for Linux.

Question information

Language:
English Edit question
Status:
Answered
For:
Onboard Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marmuta (marmuta) said :
#1

Thank you, always good to hear Onboard is useful to people. We've only had good interactions with Arch users and packagers too.

Data used to be in ~/.onboard, but we had to move that to $XDG_DATA_HOME/onboard a while ago. Usually that will be the default ~/.local/share/onboard now.

Snippets, together with all configuration are stored in GSettings, You can retrieve them with
gsettings get org.onboard snippets
and set them on a different user account with
gsettings set org.onboard snippets "[...]"

Or perhaps copy the whole dconf database in ./.config/dconf to the new user account. That would transfer settings for multiple other applications too, though.

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

Hi,

I am glad, too, that Onboard is useful to you.

There is an additional approach to transfer the snippets to another account: the application dconf-editor offers a gui to work with the gsettings data. By using the dconf-editor, you can search for the snippets key in the gsettings. They are stored in a long string. Simply copy that string into a text file. Under the new account, you can simple paste the long snippets string by using the dconf-editor into the correct key.

Of course, marmuta's suggestion to use the gsettings get and set commands in the terminal is faster, once you know where the snippets are stored (org.onboard snippets).

Have a nice day.

Revision history for this message
really (wlfbck) said :
#3

Hey,

i can't seem to find the configurations file(s) either, though i am on Ubuntu 20.04 LTS. Can you give me a hint where i can find these? :) And what are the names of the config file(s) in case i have to search a bit?

Revision history for this message
really (wlfbck) said :
#4

To answer my own question, dconf is apparently a tool which can save settings for you and saves them in some binary format. So if you want to retrieve/save these settings somehow, you have to use gsettings/dconf.

Revision history for this message
Alberto Salvia Novella (es20490446e) said :
#5

Can you help with this problem?

Provide an answer of your own, or ask X-Legs for more information if necessary.

To post a message you must log in.