herzenschein

joined 2 years ago
MODERATOR OF
kde
[โ€“] herzenschein@pawb.social 1 points 2 years ago

Oh, my instance does not show this post like this at all. I wonder if it's some difference in Lemmy versions too.

[โ€“] herzenschein@pawb.social 1 points 2 years ago

I think so. I mean, the migration code would still be there afterwards, maybe removed after several versions later.

If the user syncs machines with different application versions I'm not sure there's anything that can be done at the code level though. ๐Ÿ‘€

[โ€“] herzenschein@pawb.social 0 points 2 years ago (2 children)

I answered something similar elsewhere:

If you mean migrating the files yourself, it's just a matter of copying the file from the old place ~/.config/yourconfigrc to ~/.config/yourapp/yourconfigrc.

If you mean you want the application to manage the migration itself, that's an implementation detail I hadn't thought about yet, but which I assume wouldn't be difficult to do with KConfig.

You can see this bit of code from Konsole showing how to migrate from old entries to new entries in the same config file for example: >https://invent.kde.org/utilities/konsole/-/blob/master/src/main.cpp#L99

The implementation could probably be something similar, with two KConfig/KSharedConfigPtr instances I assume ๐Ÿ‘€ so:

  • if oldConfig exists, create an object for it
  • read all oldConfig entries
  • if it differs from newConfig, store which ones differ
  • write all different oldConfig entries in newConfig object
  • sync()

Something like that.

[โ€“] herzenschein@pawb.social 1 points 2 years ago

Can't say I liked it tbh ๐Ÿค”

Button icons and positioning were generally more sensible though. That made a huge difference.

[โ€“] herzenschein@pawb.social 0 points 2 years ago* (last edited 2 years ago) (1 children)

Searches occasionally render the error "couldnt_find_object" here for me. I can't quite tell if this only started happening after the update or not since I'm quite new here.

[โ€“] herzenschein@pawb.social 0 points 2 years ago* (last edited 2 years ago) (2 children)

Stay with one of the big boys: Debian, Ubuntu, Fedora, openSUSE, then you're golden. For NVIDIA users I guess I'd still recommend something Ubuntu based: Ubuntu, Kubuntu, Pop_OS!, etc because the drivers can be preinstalled.

On Fedora you need to install the NVIDIA drivers from rpmfusion, and on openSUSE you need an additional repo. It's an extra step, but otherwise I'd strongly recommend one of these two.

[โ€“] herzenschein@pawb.social 0 points 2 years ago

Especially important given the decision to make a fork mentioned in https://pawb.social/post/9639.

[โ€“] herzenschein@pawb.social 0 points 2 years ago

Joined pretty much for this and one other community, sup ๐Ÿ‘‹

view more: โ€น prev next โ€บ