Please help to find ktouch profile data location

I installed Endless OS with Windows 7 (install as side-by-side with windows) and it has worked well for over one year. Recently I’m trying to upgrade the memory. After that I got grub rescue prompt and error message related to ostree. Now the system cannot boot up.

I installed ktouch for my 6-year daughter and she practiced it for over one year, which means, the record is very important for her.

I’d like to get help to find where I can find/retrieve the ktouch record, which should be a profiles.db file (when I install it in Ubuntu, but I can’t find any similar files in endless os).

I appreciate any possible help/guide in advance.

Can you please describe more in detail what has been done - upgrading the main memory of a device (e.g. from 8 to 16 GB) does not result in the described behavior.

Hi, egrath,

I have a Dell Opti 380 system, with 4GB memory, 2 hard disks, an SSD 480G and a WDC 320G. Windows 7 installed in SSD, and Endless OS installed as side-by-side with windows in 320G. It has worked well for over 1 year.

Recently I upgraded it to 8GB, as this system is used by my daughter, I’m not quite sure about the previous day status, I don’t know if she powers off the computer, or halts the system or what else, she usually uses the system as typing practice and watch YouTube kids. She doesn’t have much computer knowledge yet. But I can tell the power light is off when I am trying to upgrade the system.

After I upgraded the memory, it shows grub rescue prompt, with ostree missing or not find message. That’s not important, I can accept rebuilding the system, but I want to get the typing record back.

I can see ostree partition in 320G hdd, and I can see my daughter main folder in /home folder, but even I perform a full disk search, I can’t find the record file, which in ubuntu, it will be located in raspberry pi-400 as ~/.local/share/ktouch/profiles.db. I can’t even find profiles.db or .db files like a ktouch profile.

I don’t quite understand endless os file structure, I install ktouch from endless os, like other apps in endless os, maybe endless os have its own rule for the file name and location?

To fix endless os is not my 1st priority, if I can meke it works again, that’s great, but I still need to know where the record file is located, otherwise I may face the same problem next time.

Thanks very much for your kindness.

In Endless OS (and other systems using Flatpak), data is stored in a per-application manner. In your specific case, the profiles.db is located in:

~/.var/app/org.kde.ktouch/data/ktouch/profiles.db

If you save the entire ~/.var/app/org.kde.ktouch folder an restore it on a new installation, all your progress including application settings are preserved.

Hi, Egrath,

Thanks for clearly guide very much. But I can’t find org.kde.ktouch folder in .var/app, here is what I can see

anydesk/chrome was installed by me, I remember that, others are not installed by me. maybe system installed them automatically?

The system I used is Ubuntu 22.04 LTS desktop version. Is there any possibility the file saved to other location?

Interesting. Can you please open a Terminal and run:

sudo find / -name profiles.db

This will search through all mounted filesystems for the file and print out any occurence.

Hi egrath,

Thanks very much for your strong help. but looks like wo go back to start:).I start this topic due to I can’t find the profiles.db file…

But according to the information you provided regarding flatpack, I’d already found the ktouch installed folder, just haven’t found the personal data yet. I suspect in endless os, the file may not use the db format, I can see several db files, but nont of them related with ktouch.

Now I’m keeping the disk and installing a new system for my daughter to continue use. Hope someday I can find the data…

Thanks very much again for your strong support. Have a nice day.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.