Location of the configuration files

Asked by X-Legs on 2016-06-27

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

English Edit question
Onboard Edit question
No assignee Edit question
Last query:
Last reply:
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.

Francesco Fumanti (frafu) said : #2


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.

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.