konsave
konsave copied to clipboard
[Bug] Not backing up widgets properly
Describe the bug
Multiple Plasma Widgets on my Arch KDE desktops, saved to an export file, do not appear after importing into an Arch-derivative KDE VM. Source & Target DEs are Plasma 5.26.2.
To reproduce Steps to reproduce the behaviour. [click this, type that, see error]:
- Created multiple Plasma Widgets on my Arch KDE desktops
- Installed
konsave
from AUR; v2.1.2. - Inspected its
conf.yaml
, confirmed it already has entry for- wallpapers
; i inserted- autostart
at Line 68. - Created backup via
konsave -s {filename}
. - Created export file via
konsave -e {filename}
. - In VM, imported via
konsave -i {filename}
. - Logged out/in.
- Neither my Source wallpaper, nor any of its several desktop widgets, have appeared in the VM.
Expected behaviour A clear and concise description of what you expected to happen:
- I'd hoped that my Source wallpaper, & all of its desktop widgets, would have appeared in the VM
- It took cumulatively more than a day to create & finesse all those widgets, so i'd really hoped i could protect my work via
konsave
, but also be able to easily copy all those widgets to other Plasmas.
Screenshots
If applicable, add screenshots to help explain your problem -- the RHS part of my Arch KDE [source] desktop:
System information
- OS or Linux distribution: [Ubuntu, Arch, ...] = ArchLinux KDE source, ArchLinux GUI-Installer VM target.
- How did you install Konsave? [from the distro's package manager, using pip, directly from git, ...] = AUR [
paru konsave
]; source & target. - What version of Konsave are you using? Did you try updating? = v2.1.2 [ie, current/latest version]; source & target.
Additional context Commands used, output seen:
Source:
guigirl@archlinuxTower[~] 05:00:05 Wed Nov 02 $> konsave -s RHS-Panel_LHS-Conky__20221102_Widgets_on_Activity1_rhs_Conkies_on_Activity1+2_lhs
Konsave: Saving profile...
Konsave: Profile saved successfully!
guigirl@archlinuxTower[~] 05:01:11 Wed Nov 02 $>
guigirl@archlinuxTower[~] 05:21:50 Wed Nov 02 $> konsave -l
Konsave profiles:
ID NAME
1 RHS-Panel_LHS-Conky__20221102_Widgets_on_Activity1_rhs_Conkies_on_Activity1+2_lhs
guigirl@archlinuxTower[~] 05:21:52 Wed Nov 02 $>
guigirl@archlinuxTower[~] 05:24:22 Wed Nov 02 $> konsave -e RHS-Panel_LHS-Conky__20221102_Widgets_on_Activity1_rhs_Conkies_on_Activity1+2_lhs
Konsave: Exporting profile. it might take a minute or two...
Konsave: Exporting "configs"...
Konsave: Exporting "app_layouts"...
Konsave: Exporting "plasma"...
Konsave: Exporting "kwin"...
Konsave: Exporting "konsole"...
Konsave: Exporting "fonts"...
Konsave: Exporting "color-schemes"...
Konsave: Exporting "aurorae"...
Konsave: Exporting "icons"...
Konsave: Exporting "wallpapers"...
Konsave: Exporting ".fonts"...
Konsave: Exporting ".themes"...
Konsave: Exporting ".icons"...
Konsave: Creating archive
Konsave: Successfully exported to /home/guigirl/rhs-panel_lhs-conky__20221102_widgets_on_activity1_rhs_conkies_on_activity1+2_lhs.knsv
guigirl@archlinuxTower[~] 05:25:15 Wed Nov 02 $>
Target:
[guigirl@algi hostfiles]$ konsave -i /home/guigirl/hostfiles/RHS-Panel_LHS-Conky__20221102_Widgets_on_Activity1_rhs_Conkies_on_Activity1+2_lhs.knsv
Konsave: Importing profile. it might take a minute or two...
Konsave: Importing "plasma"...
Konsave: Importing "kwin"...
Konsave: Importing "konsole"...
Konsave: Importing "fonts"...
Konsave: Importing "color-schemes"...
Konsave: Importing "aurorae"...
Konsave: Importing "icons"...
Konsave: Importing "wallpapers"...
Konsave: Importing ".fonts"...
Konsave: Importing ".themes"...
Konsave: Importing ".icons"...
Konsave: Profile successfully imported!
[guigirl@algi hostfiles]$
[guigirl@algi hostfiles]$ cd /home/guigirl/.config/konsave/profiles
[guigirl@algi profiles]$ ls -la
total 20
drwxr-xr-x 5 guigirl guigirl 4096 Nov 2 06:07 .
drwxr-xr-x 4 guigirl guigirl 4096 Nov 2 05:54 ..
drwxr-xr-x 4 guigirl guigirl 4096 Nov 2 04:12 My_ALG_20221102_0412
drwxr-xr-x 4 guigirl guigirl 4096 Nov 2 04:26 My_ALG_20221102_0426
drwxr-xr-x 4 guigirl guigirl 4096 Nov 2 06:07 RHS-Panel_LHS-Conky__20221102_Widgets_on_Activity1_rhs_Conkies_on_Activity1+2_lhs
[guigirl@algi profiles]$
[guigirl@algi profiles]$ konsave -a RHS-Panel_LHS-Conky__20221102_Widgets_on_Activity1_rhs_Conkies_on_Activity1+2_lhs
Konsave: Copying files...
Konsave: Profile applied successfully! please log-out and log-in to see the changes completely!
[guigirl@algi profiles]$
Can you please check if the widgets were automatically installed after importing the profile?
This might appear a silly question, but please would you describe specifically how you'd like me to check that?
In my OP's picture, all widgets on the rhs of the [source] desktop are standard Plasma widgets, available out of the box with any Plasma installation afaik... so ofc they're already available in default condition also in the Add Widgets
tool of my target, ie, the VM. The problem is, however, that i had expected/hoped that this import process would recreate all those widgets on my target [VM] desktop, all with my hours of customised configs... but instead the VM's desktop post-import has none of them.
The single widget in the desktop centre is not available out of the box with generic Plasma installations afaik. However, unfortunately, in the VM's guise before i first performed this import, i already had installed that widget, so i'm unsurprised to see it is available now still post-import in the Add Widgets
tool... but again, it's not on the desktop.
Maybe i have simply misunderstood the purpose of your project? However, if indeed it was never designed to be able to recreate the user's source widgets in her target installation, then sadly it's not much use to me. Hopefully, though, that's not the situation...?
I just saw v2.2.0 was released, but i've not yet updated. Will it solve the problem i raised in this Issue?
No, this issue is still present but I'll try to fix it.
Hi again. Any progress pls?
I'm sorry for the late reply but I'll look into this once more.
I'm sorry for the late reply but I'll look into this once more.
Hello. That would be nice; thank you.