Reply to topic

Ktouch: Where Are Custom Lessons Stored?

paulenderlein
Registered Member
Posts
1
Karma
0
Hello,

I have been using Ktouch for quite some time now and like its intuitive handling. However, I can't seem to find where the custom lessons I have created with my profiles are stored. Even several content searches with grep haven't turned up anything.

What I want to do is simple: I want to be able to modify my custom lessons to include daily articles from a news source. For that, I need to be able to delete and add custom lessons in a specific profile in ktouch with a script.

So far I suspect it could be done by modifying the database at ~/.kde/share/apps/ktouch/profiles.db (or perhaps ~/.kde4/share/apps/ktouch/profiles.db) – but frankly, I have no idea. Does anybody here have experience with this or know a way to achieve a similar result?

I'd appreciate any ideas that come up.
sebasgo
Registered Member
Posts
6
Karma
0
Custom lessons are stored--like all personal data--in profiles.db. This is a normal Sqlite 3 database, so access from the command line or a Bash script is easy to achieve. The regular sqlite3 command should suffice. You will find your custom lessons in the table custom_lessons. The lesson text is stored in column text. Use an UPDATE statement to achieve your goal.

 
Reply to topic

Bookmarks



Who is online

Registered users: Arkengheist, Arran, Baidu [Spider], Bing [Bot], bogdan_c, dikasetyaprayogi, Google [Bot], jeremyfisher, niccolove, sh-zam, TheraHedwig, toplisek, tymond, Yahoo [Bot]