Terminal Update Widget

Plasma 5 Applets

Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/Zren/plasma-applet-terminalupdate

3
6 .3
Description:

Requires plasma-discover to be installed. Uses apt commands to update (KDE Neon / Kubuntu).

Clicking the "Update" button will instead open Konsole with the output of apt list --upgradeable, prompting you to run sudo apt full-upgrade.

1. After installing, right click the "triangle" in the system tray, then click "System Tray Settings".
2. Uncheck "Updates"
3. Check "Updates (Terminal)"

The widget also links to the Ubuntu (https://usn.ubuntu.com/releases/ubuntu-16.04-lts/) and KDE Security Notices (https://www.kde.org/info/security/) if you're interested in seeing what triggered a security update.
Last changelog:

v3 - March 13 2018 2 years ago

* Fix position of update status text (should of been above the button).
* Show button to open /var/log/apt/history.log
* Use the Oxygen-*.ogg instead of KDE-*.ogg sounds. With KDE Neon, plasma-desktop depends on oxygen-sounds, but doesn't depend on kde-runtime-data which ships the KDE-*.ogg sounds.
* Fix Ubuntu 16.04 Security Notices link as the old link 404s.

9

azarilh

2 years ago

9 That's just what i wanted. Thank you.

Report

alex-l

2 years ago

"notify-send command not found" ?

Report

C

Zren

2 years ago

The script will prompt you to install libnotify-bin if it's not already installed. KDE Neon does not ship with it, but Kubuntu does.
The notify-send command is used to send a notification when updates have finished installing.

The scripts are in:
~/.local/share/plasma/plasmoids/com.github.zren.terminalupdate/contents/scripts/

If you want to modify them.

Report

9

Yarkus

3 years ago

Two small issues:
1) Right after installation on my KDE neon there was no "Updates (Terminal)" in System Tray Settings, thought i could add to panel as separate widget. After logout and login though "Updates (Terminal)" appeared and one can follow 3-steps instruction above.
2) After update process i occurred an error message. There was unknown command in script: "notify-send". You need to manually install "libnotify-bin" package and everything works fine.

Report

9

Yarkus

3 years ago

9 Very convenient and minimalistic. I like it this way. Good job!

Report

v3 - March 13 2018 2 years ago

* Fix position of update status text (should of been above the button).
* Show button to open /var/log/apt/history.log
* Use the Oxygen-*.ogg instead of KDE-*.ogg sounds. With KDE Neon, plasma-desktop depends on oxygen-sounds, but doesn't depend on kde-runtime-data which ships the KDE-*.ogg sounds.
* Fix Ubuntu 16.04 Security Notices link as the old link 404s.

v2 - January 22 2017 2 years ago

* Use `apt full-upgrade` instead of `apt upgrade`
* Use a different sound effect when there's packages to autoremove.
* Check for notify-send first and help the user install it. Kubuntu comes preinstalled with this, but KDE Neon doesn't.

v1 - September 22 2017 2 years ago

* First public release
* If no updates known, run a script in Konsole that calls `sudo apt update`, then run the upgrade script.
* If there are known updates, run a script in Konsole that calls `sudo apt upgrade`.
* Plays sounds effects and notifications on error/completion.
* Requires `libnotify-bin` (aka `notify send`) to show notications.

12345678910
2
product-maker azarilh Jun 07 2018 9 excellent
That's just what i wanted. Thank you.
product-maker Yarkus Oct 29 2017 9 excellent
Very convenient and minimalistic. I like it this way. Good job!
Be the first to comment
bialyikar
Oct 24 2020
azarilh
Jun 07 2018
mirkogennari
Mar 17 2018
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
GPLv2 or later
version
3
updated Mar 13 2018
added Sep 22 2017
downloads 24h
4
mediaviews 24h 0
pageviews 24h 9