1

Much like the downgrade script this is not battle tested and so is not yet for the “showcase” category.

But I do think its good enough to use, share, and get any feedback on so heres doing that..

Sera is, as far as I know, the first time we can update KDE Plasma addons or widgets from the command line. Until now many users may even install discover briefly to perform this task before removing it again and repeating the process at regular intervals.

Sera currently requires jq but otherwise should be ready to run on just about any modern desktop linux system.

Take care that both the sera script and sera_resources directory need to be downloaded and kept together. For example if you were to put this in your ~/.local/bin then there should be ~/.local/bin/sera and ~/.local/bin/sera_resources. ## Since unification this is no longer needed. :smiling_face_with_sunglasses:

Please let me know how well it works for you.

2

Installation and execution were flawless.

Thank you. I’m one of those who installs Discover, updates, then uninstalls it. Sera is a nice change. It even updated things I can’t access any more under the newer Plasma System Settings. (tv-effect-[burn-my-windows]).

In the future, will it be able to update themes, cursors and so forth?

3

Good to hear, thank you.

It is certainly a thought. There will be a post here if/when that happens.

Stand Back Folks he’s on a roll… :drum:

 /home/me/sera/sera -u                                                                                  ─╯

✔ Fetching data from the API
✔ Checking widgets for updates

kde-control-station  Plasma/Applet  0.1.0  ->  2.7.0

:: Proceed with upgrade? [y/N]: y

:: kde-control-station (2.7.0)
✔ Getting the download link
✔ Downloading package
Upgrading package from file: /tmp/sera/kde-control-station/unpacked/KdeControlStation
Successfully upgraded /home/me/.local/share/plasma/plasmoids/KdeControlStation/

:: Restart plasmashell now? [y/N]: y

Kudos @cscs, this is much nicer and compact than Apdatifier.

I too think the addition to update themes, cursors would be a very welcome addtion. :smiley:

Love this. Works flawlessly. Also, adding another vote for themes and cursors :slight_smile:

6

Some updoots occurred.

Very notably it no longer is parsed from separate files.

There is now just the single sera script and that is all that is needed.

Of course get it from the same source;

https://gitlab.com/cscs/sera

I would love to get some final feedback before making a proper “Showcase” post and also crafting a PKGBUILD for the AUR. :grinning_cat:

I’m not sure about the majority but this hits my sweet spot:

/home/me/Cytadela/sera -u                                                                         ─╯

✔ Fetching data from the API
✔ Checking widgets for updates

apdatifier           Plasma/Applet  2.9.6  ->  2.9.8
kde-control-station  Plasma/Applet  2.7.0  ->  2.13.0
panel-colorizer      Plasma/Applet  6.8.1  ->  7.0.1

:: Proceed with upgrade? [y/N]: y

:: apdatifier (2.9.8)
✔ Getting the download link
✔ Downloading package
✔ Updating package

:: kde-control-station (2.13.0)
✔ Getting the download link
✔ Downloading package
✔ Updating package

:: panel-colorizer (7.0.1)
✔ Getting the download link
✔ Downloading package
✔ Updating package

:: Restart plasmashell now? [y/N]: y
✔ Finished


Let us know when you load it to Aur please! :wink:

8

When I try to download the script via the command on the git page I get the following error:

Warning: Failed to open the file sera: Is a directory

curl: (23) client returned ERROR on write of 1360 bytes

9

Please share the exact command?

The one listed at the git;

curl -O https://gitlab.com/cscs/sera/-/raw/main/sera

should be functional and points at the single script file.

OK, ok, maybe later today or tomorrow unless some folks find some things that need fixing.

10

Yes, that’s the command I used:

❯ curl -O https://gitlab.com/cscs/sera/-/raw/main/sera
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0Warning: Failed to open the file sera: Is a directory

curl: (23) client returned ERROR on write of 1256 bytes

11

Does https://gitlab.com/cscs/sera/-/raw/main/sera opened in the browser show the script file?

Are you maybe in some sort of directory you do not have write access to?

Or an alias affecting curl?

I cannot reproduce.

12

Are you maybe in some sort of directory you do not have write access to?

This was it. I was just opening a terminal and throwing that command in there. Changed to the directory I had sera installed in previously and everything works great. Thanks for the help and the script!

13

This might still be curious if the terminal was in $HOME as you should still have write access to your home directory.
In whatever case I am glad it worked out.

14

It’s definitely a bit odd. Either in terminal or in Plasma I have no issues doing anything in $HOME.

15

Showcase thread including new AUR package is over here;