Re: [darktable-user] Easy way to remove imported presets?

2018-09-30 Thread Frank J.
Am 30.09.2018 um 14:53 schrieb J Albrecht: Can’t all of this command line gobley-gook nevertheless be done in DB Browser for SQLite? In order to “kill the orphans” (ugghh) one must simply hit a couple of GUI buttons to conveniently delete the necessary rows in both tables, right? If you use

Re: [darktable-user] Easy way to remove imported presets?

2018-09-30 Thread J Albrecht
Can’t all of this command line gobley-gook nevertheless be done in DB Browser for SQLite? In order to “kill the orphans” (ugghh) one must simply hit a couple of GUI buttons to conveniently delete the necessary rows in both tables, right? > On 30 Sep 2018, at 13:01, Frank J. wrote: > > Am

Re: [darktable-user] Easy way to remove imported presets?

2018-09-30 Thread Frank J.
Am 25.09.2018 um 17:37 schrieb dt-l...@stefan-klinger.de: ... If only some of the data is deleted from a database, it might end up in an inconsistent state. Depending on the assumptions the application makes about the DB's state, this may break later. To avoid inconsistences it is possible

Re: [darktable-user] Easy way to remove imported presets?

2018-09-25 Thread dt-list
kneops (2018-Sep-25, excerpt): > I'm not sure what the problem is, perhaps a miscommunication? If only some of the data is deleted from a database, it might end up in an inconsistent state. Depending on the assumptions the application makes about the DB's state, this may break later. > Op

Re: [darktable-user] Easy way to remove imported presets?

2018-09-25 Thread Patrick Shanahan
* dt-l...@stefan-klinger.de [09-25-18 08:42]: > kneops (2018-Sep-25, excerpt): > > This works for me: > > What your screenshot shows is the deletion of the row containing id, > name, and description from the table styles. This is exactly what > I've written in my first mail. > > Using a GUI

Re: [darktable-user] Easy way to remove imported presets?

2018-09-25 Thread kneops
Okay, I thought that was the same thing. It's not in the DT list of styles anymore, so I assumed it was deleted from the database entirely. To me that is not a problem. I'm glad they are removed from the list so I don't have to scroll so much :). Op 25-09-18 om 14:39 schreef

Re: [darktable-user] Easy way to remove imported presets?

2018-09-25 Thread dt-list
kneops (2018-Sep-25, excerpt): > This works for me: What your screenshot shows is the deletion of the row containing id, name, and description from the table styles. This is exactly what I've written in my first mail. Using a GUI tool to do what you can do in `sqlite3` does not change anything.

Re: [darktable-user] Easy way to remove imported presets?

2018-09-25 Thread dt-list
Patrick Shanahan (2018-Sep-24, excerpt): > * dt-l...@stefan-klinger.de [09-24-18 06:00]: > > Hmmm, Patrick, does your comment answer my question? Or did it relate > > to something else? I'm not sure: > > > > Patrick Shanahan (2018-Sep-23, excerpt): > > ... > > > > > > So for me it's three

Re: [darktable-user] Easy way to remove imported presets?

2018-09-24 Thread Jean-Luc CECCOLI
> Message du 24/09/18 13:58 > De : "kneops" > A : darktable-user@lists.darktable.org > Copie à : > Objet : Re: [darktable-user] Easy way to remove imported presets? > > Didn't think of that ;) using the terminal. Thanks. > > I did enable hidden

Re: [darktable-user] Easy way to remove imported presets?

2018-09-24 Thread Patrick Shanahan
* kneops [09-24-18 08:00]: > Didn't think of that ;) using the terminal. Thanks. > > I did enable hidden files in my file manager (Linux Mint), but that did not > result in seeing these folders in the Sqlite browser. And in the browser UI > I could not find an option to show hidden files. > >

Re: [darktable-user] Easy way to remove imported presets?

2018-09-24 Thread kneops
Didn't think of that ;) using the terminal. Thanks. I did enable hidden files in my file manager (Linux Mint), but that did not result in seeing these folders in the Sqlite browser. And in the browser UI I could not find an option to show hidden files. Op 24-09-18 om 13:52 schreef Patrick

Re: [darktable-user] Easy way to remove imported presets?

2018-09-24 Thread Patrick Shanahan
* dt-l...@stefan-klinger.de [09-24-18 06:00]: > Hmmm, Patrick, does your comment answer my question? Or did it relate > to something else? I'm not sure: > > Patrick Shanahan (2018-Sep-23, excerpt): > ... > > > > > So for me it's three styles. I want to delete the one with id 2: > > > > > > >

Re: [darktable-user] Easy way to remove imported presets?

2018-09-24 Thread Patrick Shanahan
* kneops [09-24-18 04:53]: > Yes, it works :), although I had to copy the file first to another folder > because I couldn't browse hidden files, thus no .config/darktable folder. > After that it indeed was easy. Write changes to the database and copy the > file back to the .config/darktable

Re: [darktable-user] Easy way to remove imported presets?

2018-09-24 Thread kneops
Perhaps Patrick did not select the entire row in the database? That would delete only a cell. Op 24-09-18 om 11:58 schreef dt-l...@stefan-klinger.de: Hmmm, Patrick, does your comment answer my question? Or did it relate to something else? I'm not sure: Patrick Shanahan (2018-Sep-23,

Re: [darktable-user] Easy way to remove imported presets?

2018-09-24 Thread dt-list
Hmmm, Patrick, does your comment answer my question? Or did it relate to something else? I'm not sure: Patrick Shanahan (2018-Sep-23, excerpt): ... > > > > So for me it's three styles. I want to delete the one with id 2: > > > > > > > > sqlite> delete from styles where id = 2; ... > > >

Re: [darktable-user] Easy way to remove imported presets?

2018-09-24 Thread kneops
Yes, it works :), although I had to copy the file first to another folder because I couldn't browse hidden files, thus no .config/darktable folder. After that it indeed was easy. Write changes to the database and copy the file back to the .config/darktable folder. But this method may not be to

Re: [darktable-user] Easy way to remove imported presets?

2018-09-24 Thread J Albrecht
Have you actually tried “DB Browser for SQLite” as Micha had suggested? Prior to reading his post, I had no idea of its existence. I was quite impressed once I had tried it out. As it’s a GUI, you can easily trash one, seven or all dozens of your styles in one go. You can even squint a bit and

Re: [darktable-user] Easy way to remove imported presets?

2018-09-24 Thread kneops
There is nothing inside that folder except a few image files. I guess for now the database is the only option, and ofcourse deleting every single style manually. Op 23-09-18 om 22:40 schreef Jean-Luc CECCOLI: What about /usr/share/darktable/style ?

Re: [darktable-user] Easy way to remove imported presets?

2018-09-23 Thread Jean-Luc CECCOLI
> Message du 23/09/18 20:07 > De : "kneops" > A : darktable-user@lists.darktable.org > Copie à : > Objet : Re: [darktable-user] Easy way to remove imported presets? > > Hmmm, yes, this a way, but not an easy way ;). > Would be nice to have the possibility

Re: [darktable-user] Easy way to remove imported presets?

2018-09-23 Thread Patrick Shanahan
* kneops [09-23-18 14:10]: > Hmmm, yes, this a way, but not an easy way ;). > Would be nice to have the possibility to multi select styles and delete > them. > I think I can use this browser, or even editing the database directly (I use > Linux), but this is hardly an easy way for everybody. >

Re: [darktable-user] Easy way to remove imported presets?

2018-09-23 Thread kneops
Hmmm, yes, this a way, but not an easy way ;). Would be nice to have the possibility to multi select styles and delete them. I think I can use this browser, or even editing the database directly (I use Linux), but this is hardly an easy way for everybody. I'm a bit confused too, because the

Re: [darktable-user] Easy way to remove imported presets?

2018-09-23 Thread Michael Fritze
There is also a Browser with GUI: http://sqlitebrowser.org/ Linux, Mac and Windows. BR, Micha. Am Sonntag, 23. September 2018, 19:25:15 CEST schrieb dt-list@stefan- klinger.de: > Patrick Shanahan (2018-Sep-23, excerpt): > > * kneops [09-23-18 07:11]: > > > I imported a bunch of presets and

Re: [darktable-user] Easy way to remove imported presets?

2018-09-23 Thread dt-list
Patrick Shanahan (2018-Sep-23, excerpt): > * kneops [09-23-18 07:11]: > > I imported a bunch of presets and now want to remove them (dozens), and it > > seems I can only remove them one by one. After each removal the list jumps > > back to the top of the list in Lighttable mode. I looked inside >

Re: [darktable-user] Easy way to remove imported presets?

2018-09-23 Thread Patrick Shanahan
* kneops [09-23-18 07:11]: > I imported a bunch of presets and now want to remove them (dozens), and it > seems I can only remove them one by one. After each removal the list jumps > back to the top of the list in Lighttable mode. I looked inside > .config/darktable/styles but the imported styles

[darktable-user] Easy way to remove imported presets?

2018-09-23 Thread kneops
I imported a bunch of presets and now want to remove them (dozens), and it seems I can only remove them one by one. After each removal the list jumps back to the top of the list in Lighttable mode. I looked inside .config/darktable/styles but the imported styles are not present there. How can