selplacei / konfsave Goto Github PK
View Code? Open in Web Editor NEWEasy saving and switching between multiple KDE configurations.
License: Apache License 2.0
Easy saving and switching between multiple KDE configurations.
License: Apache License 2.0
When implementing git integration, have you considered monitoring for changes in the repository and pulling them automatically to the client/clients and applying the active profile to update the settings?
The use case I imagine is like so:
Something like this would be awesome!
Regards.
Dupe, sorry.
I can't save my current KDE configuration (using the default config.ini
) with konfsave s
. I get the following error:
Traceback (most recent call last):
File "/usr/bin/konfsave", line 8, in <module>
sys.exit(main())
File "/usr/lib/python3.9/site-packages/konfsave/__main__.py", line 15, in main
actions.parse_arguments(sys.argv)
File "/usr/lib/python3.9/site-packages/konfsave/actions.py", line 51, in parse_arguments
next(v for k, v in {
File "/usr/lib/python3.9/site-packages/konfsave/actions.py", line 227, in action_save
profiles.save(
File "/usr/lib/python3.9/site-packages/konfsave/profiles.py", line 124, in save
raise RuntimeError('Attempted to save the current profile, but no profile is active.')
RuntimeError: Attempted to save the current profile, but no profile is active.
Self-explanatory error, but what I'm confused about is why no profile is active in the first place. konfsave i
yields a
No profile is currently active.
No profiles are saved.
...while I'd expect my KDE config to be detected. I'm assuming this might be because konfsave f
shows me it saves a .kde4
directory in my $HOME directory, although I have a .kde
dir instead. Is this tool only compatible with KDE 4? I couldn't find information related to this.
I have a feeling I may also simply be using the tool badly, though. Nevertheless, this means I can't figure out how to export my configs and so can't use it.
Thanks for your work so far, this project looks quite promising.
System information: Arch Linux, KDE Plasma Version: 5.21.2, KDE Frameworks Version: 5.79.0.
Not much else to say other than it should be easily reproducible. No need to really explain how to achieve this as it should be self explanatory.
Currently, all three of these programs are restarted using the --replace
option after loading the config. Not only does this create unnecessary waiting and overhead, but it may also fail due to how these programs manage their configs. Instead, existing mechanisms such as DBus should be used to reload configuration, and if that's not possible, configs should be loaded after the corresponding program has exited.
This will be addressed in a future PR.
I am trying to manage profiles. Right now I have three.
Card - light creamy, light latte with contrasting text in Event Calendar. Also matching default Konsole profile needs switching, and Dolphin terminal also.
Gruv is a grey-green dark profile for comfort, with matching colours in latte/konsole profile etc.
Nordic - (less dark) cold colours theme.
I was testing switching this morning, using shortcuts for restarting plasma and restarting kwin without logging out.
konsave fails to switch terminal (konsole and dolphin) and requires manual latte restart, and is vastly inferior to the plasmaconfigsaver.
konfsave fails to switch terminal (konsole) and fails to update the event calendar colours in latte.
As I say, PlasmaConfigSaver usually succeeds, though I sometimes need to do kwin restart and plasmashell restart again.
It is obviously interesting that you will have a config file. I would like to add a new default profile save path (i.e. default to ~/Dropbox/.config) and also add qbittorrent settings, as the dark icon works with profile 1, light icon with 3, and plasma icon with 2.
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.