paju1986 / plasmaconfsaver Goto Github PK
View Code? Open in Web Editor NEWThis is a plasma 5 widget that allows you to save your current desktop layout configuration and restore previous saved layouts on the fly.
This is a plasma 5 widget that allows you to save your current desktop layout configuration and restore previous saved layouts on the fly.
Hi. I've translated the widget into Czech.
czech.txt
Hola Alberto.
Soy el Señor Paquito y hemos hablado en los comentarios de la noticia sobre tu plasmoide que se publicó en KDE Blog.
El caso es que el plasmoide se ve y funciona en mi sistema igual que lo hacía en la primera versión que probé, es decir, no hay ni utilidad de importar-exportar configuración ni tampoco hay vistas previas.
En KDE Blog me recomendaste instalar el paquete scrot. Lo hice, pero no funcionó.
Hay que resaltar que, por si acaso, desinstalé el plasmoide, que había instalado desde el archivo y lo volví a instalar luego desde la propia ulitidad para instalar los plasmoides. El resultado es el que te conté antes.
Por cierto, te recuerdo que mi sistema es un KDE Neon 18.04.
Gracias.
It seems that save/restore somehow causes Steam game icon files to be deleted from /home/$user/.local/share/icons/hicolor/$size/apps
. These are files like "steam_icon_324510.png
".
The effect of this is that all game icons on desktop will appear empty. Deleting the shortcut / desktop entry and generating it again fixes the issue, as Steam will regenerate the image files at appropriate places. But there is no easy way to do this for all icons.
For some reason, I can't recover a previously saved configuration profile on Kubuntu 20.04. I don't know how to recover extra informations for debugging (can help if you give me some orientation)
I tried to make a package for my distro and put the plasmoid files in the current /usr/share/plasma/plasmoids/ directory.
But the scripts doesnt work with this directory.
Not issue with /.local/share/plasma/.. path.
Thanks.
At now PlasmaConfSaver do export-import of whole Plasma features to file (color schemes, icons, dolphinrc, etc). Will be good to have option to export-import only configuration of Plasma desktop (plasmarc, plasmashellrc, plasma-org.kde.plasma.desktop-appletsrc) excluding all other stuff.
I'm on Debian Testing, Plasma 5.27.10, KDE Framework 5.107.0, QT 5.15.10. It will save a config, export it to a tar.gz, but when I click the import button it does nothing. Nothing in the logs via journalctl -f
when I hit Import.
I do have all the dependencies installed:
dpkg -l | grep -E -i ".*(kdialog|konsole|scrot|spectacle|Qt.labs.platform).*"
ii kde-spectacle 23.08.5-1 amd64 Screenshot capture utility
ii kdialog 4:22.12.3-1+b1 amd64 Dialog display utility
ii konsole 4:23.08.1-1+b1 amd64 X terminal emulator
ii konsole-kpart 4:23.08.1-1+b1 amd64 Konsole plugin for Qt applications
ii qml-module-qt-labs-platform:amd64 5.15.10+dfsg-2+b2 amd64 Qt 5 qt.labs.platform QML module
ii scrot 1.10-1+b1 amd64 command line screen capture utility
Hi,
I'm on KDE Neon 5.19.5 based on Ubuntu 20.04 and screenshot/previews doesn't work.
I have installed the dependencies:
spectacle 20.08.1
scrot version 1.2
kdialog 20.08.1
konsole 20.08.1
qml-module-qt-labs-platform 5.15.0
Here is the output of journalctl when I save a config named "test"
03/10/2020 13:43 plasmashell matched: "/home/ubuntu/.config/plasmaConfSaver" "/home/ubuntu/.config/plasmaConfSaver"
03/10/2020 13:43 plasmashell directory info processing: "/home/ubuntu/.config/plasmaConfSaver"
03/10/2020 13:43 plasmashell MATCH
03/10/2020 13:43 plasmashell matched: "/home/ubuntu/.config/plasmaConfSaver" "/home/ubuntu/.config/plasmaConfSaver"
03/10/2020 13:43 plasmashell directory info processing: "/home/ubuntu/.config/plasmaConfSaver"
03/10/2020 13:43 plasmashell MATCH
03/10/2020 13:43 kwin_x11 qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 22813, resource id: 90177542, major code: 18 (ChangeProperty), minor code: 0
03/10/2020 13:43 plasmashell file:///home/ubuntu/.local/share/plasma/plasmoids/com.pajuelo.plasmaConfSaver/contents/ui/FullRepresentation.qml:273:29: QML Image: Cannot open: file:///home/ubuntu/.config/plasmaConfSaver/Initial/screenshot.png
03/10/2020 13:43 plasmashell file:///home/ubuntu/.local/share/plasma/plasmoids/com.pajuelo.plasmaConfSaver/contents/ui/FullRepresentation.qml:258: ReferenceError: iitemHeight is not defined
03/10/2020 13:43 plasmashell file:///home/ubuntu/.local/share/plasma/plasmoids/com.pajuelo.plasmaConfSaver/contents/ui/FullRepresentation.qml:273:29: QML Image: Cannot open: file:///home/ubuntu/.config/plasmaConfSaver/second/screenshot.png
03/10/2020 13:43 plasmashell file:///home/ubuntu/.local/share/plasma/plasmoids/com.pajuelo.plasmaConfSaver/contents/ui/FullRepresentation.qml:0: ReferenceError: iitemHeight is not defined
03/10/2020 13:43 plasmashell file:///home/ubuntu/.local/share/plasma/plasmoids/com.pajuelo.plasmaConfSaver/contents/ui/FullRepresentation.qml:273:29: QML Image: Cannot open: file:///home/ubuntu/.config/plasmaConfSaver/test/screenshot.png
03/10/2020 13:43 plasmashell file:///home/ubuntu/.local/share/plasma/plasmoids/com.pajuelo.plasmaConfSaver/contents/ui/FullRepresentation.qml:0: ReferenceError: iitemHeight is not defined
03/10/2020 13:43 plasmashell file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components/Highlight.qml:34:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Hi,
so after installing the widget is working as expected - the only issue is that the GTK theme is not restored.
Does anyone have an idea how to troubleshoot this ?
See the this image. Kubuntu 21.04
Hello.
I have two profiles: KDEPlasma and macOS. KDEPlasma has a panel in the bottom, and macOS has a panel with menubar on top and Latte Dock.
When I switch layout from one to another, I can't launch some programs (KWrite, KSysGuard and probably others), but I can launch some others (Firefox, Dolphin, etc). I still can launch all programs from terminal (Konsole) or from KRunner. And I have problem with System Settings. When I launch it normally, I can't enter any item in settings, System Settings quits unexpectedly. When I launch System Settings from KRunner, I can enter all items.
I have installed all four dependencies for PlasmaConfSaver.
I think this widget is a much better addition to KDE Plasma 5 than the plasma config backup solution here: https://gitlab.com/cscs/transfuse
However, I've noticed that PlasmaConfSaver doesn't include the folder ~/.config/autostart-scripts
although ~/.config/autostart
is included.
There might be some others like this (e.g. plasma custom keyboard shortcuts) and this great widget might work better by adding some more files and folders.
It would seem that presently that installing new widgets, themes, etc within KDE is broken as per this bug report.
I'm on Fedora and there isn't a fix yet. I have downloaded PCS from the KDE store, but I'm not sure how to install it manually. Any suggestions?
This is a great widget BTW! Thanks!
Great little widget but seems to be currently broken: kills all your panels and your wallpaper? Or I could be doing something wrong.
Working in ubuntu 21.04 and 22.04 (the latter a brand new install) with plasma-full installed.
While importing plasma configuration from another user with latte-dock panel, current KDE plasma panel is preserved although there is no such kde panel in the imported plasma configuration.
I saved a config where is it located? I didn't download it and the user is locked out
Instead use
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.dumpCurrentLayoutJS
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript
respectively
Saved my layout, created a new one, tried to switch to it, background wen black, latte dock dissapeared, and in settings, all addons are GONE. Cannot switch back without the SAME THING happening again. I try to import my exported package, and it doesnt work either. Please help me get my config files back! I cant even extract my package using Ark!
Hi, when I try to apply a saved preset, the widget just shows the loader indefinitely and nothing changes.
Is there a way to check logs from this?
portuguese.pot
to pt.po
(or pt_BR.po
if it's only the brazillian dialect). The .pot
file extension is for the template.pot
. The translate/merge
script will only merge the updated template.pot
messages into *.po
files. We also need to change "portuguese" in the filename to the locale code "pt" since the merge script uses it to generate the contents/locale/
directory.cd com.pajuelo.plasmaConfSaver/translate/
git mv ./portuguese.pot ./pt_BR.po
translate/ReadMe.md
to change the links from "presentwindows" to your github repo. A user mistakenly clicked it and uploaded Turkish translations for your widget to my repo. Zren/plasma-applet-presentwindows#7To make this widget "feel" more integrated into KDE, I would suggest changing the GIF busy indicator to the one KDE / Plasma 5 uses about everywhere.
I found some KDE issues about this, that may be of help:
https://phabricator.kde.org/D23155
https://phabricator.kde.org/D22630
I see those aren't GIFs, but pure QML, so it would require a little coding. But the result would be:
Thanks for this great tool!
I've put it in my top panel (using Latte Dock Unity Layout) with Smart Colors feature, meaning that everything (text, icons) becomes black or white depending on the desktop background/wallpaper (I use Slideshow mode).
In that use case the icon you've set (folder-favorites) does not work well: I see first a star for a second or two, which then changes to a black or white folder.
It looks much better if I change it to "backup" as seen in the screenshot below.
There might be other use cases as well in which my solution might not work.
So maybe you might like to set an icon other than these two and/or add an option to set icon in the configuration dialog box as in some other plasma widgets.
I see this hasn't recived updates in a while but is there a chance for this to be ported to plasma 6? Thanks.
manjaro 20.2, kde plasma 5.20.4
I used to use alot confsaver v1.2 before. new versions looks like bugged and cant find the old version.
This is the error notification:
Error loading QML file: file:///home/dkb/.local/share/plasma/plasmoids/com.pajuelo.plasmaConfSaver/contents/ui/main.qml:40:34: Type FullRepresentation unavailable
file:///home/dkb/.local/share/plasma/plasmoids/com.pajuelo.plasmaConfSaver/contents/ui/FullRepresentation.qml:22:1: module "Qt.labs.platform" is not installed
$ apt policy qt.labs.platform
qml-module-qt-labs-platform:
Installed: (none)
Candidate: 5.12.4+dfsg-1
Version table:
5.12.4+dfsg-1 500
500 http://in.archive.ubuntu.com/ubuntu eoan/universe amd64 Packages
And the same error appears after installing qml-module-qt-labs-platform
.
If a configuration is saved with a name containing spaces, the widget will accept the name in the entry field, but will then only save with the portion of the supplied name before encountering the space. This is especially problematic if you already have a configuration saved under the shorter name, because the script will delete and overwrite that configuration.
For example, you have a configuration named Dark
that you have previously saved.
You then want to save a new configuration named Dark Transparent
.
The widget accepts this name, does not show any prompt, and then overwrites your Dark
configuration.
The widget should ideally do one or more of the following:
Dark Transparent
becomes Dark-Transparent
)Would be nice to be able to save, restore and activate kvantum themes
Is this a feature coming soon?
Hello,
I saw the message for version 0.13, where you asked for the widget translation. So, you will find attached to this issue the template.pot translated into French, which is my mother tongue.
Bye,
KDE Plasma 5.27.10
KDE Framework : 5.107.0
it saves and loads the layouts correctly, but it does not create a screenshot. and yes kde-spectacle is installed.
Thanks for this great widget. I've been looking for years for something like this.!
Here is translation in my native language suomi (known as finnish abroads) - It's also native language of Linus Torvalds - founder of Linux.
Kiitos paljon - Muchas gracias - Molto grazie!
It would be useful to use PlasmaConfigSaver as a kind of 'Global Theme' saver.
However, it not only saves the global theme, but also many other settings which we don't want overwritten...
For example, in a Latte-dock, event calendar set up with google calendar etc...
When we restore an older config, those settings are also lost.
Options we see available in newer distributions include 'Layouts' which might include custom Autostarts for conky and latte...
We need checkboxes to include:
Global Theme and submenu items App. Style/settings
Icons/toolbars, GTK Style
Plasma style
Colours
Decorations/settings
Fonts/settings
Cursor
Splash
Login
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.