Giter VIP home page Giter VIP logo

konfsave's People

Contributors

selplacei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

theocrat

konfsave's Issues

Git integration suggestion

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:

  • I have 2 or more instances of KDE on different computers
  • I do some tweaking and save/commit the changes using your tool on system A
  • system B detects a change in the repository and pulls the changes
  • if changes apply without conflict, refresh profile
  • if not, ignore changes and let user solve conflict

Something like this would be awesome!

Regards.

"No profile is currently active."

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.

Sub-optimal restarting mechanisms for plasmashell, KWin, and Latte

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.

Compares badly with PlasmaConfigSaver

I am trying to manage profiles. Right now I have three.

  1. Card - light creamy, light latte with contrasting text in Event Calendar. Also matching default Konsole profile needs switching, and Dolphin terminal also.

  2. Gruv is a grey-green dark profile for comfort, with matching colours in latte/konsole profile etc.

  3. 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.