
Terminal Update Widget
Source (link to git-repo or to original if based on someone elses unmodified work):
Available as/for:
Description: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.
v3 - March 13 2018
* 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.
Ratings & Comments
7 Comments
9 9 excellent. I wish the transparency only affected the background and not the text. It would look so much nicer with a translucent BG but solid white text. Works flawlessly though - enjoying it a lot.
Commented on wrong widget, my bad! Would delete but there's no option to.
9 That's just what i wanted. Thank you.
"notify-send command not found" ?
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.
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.
9 Very convenient and minimalistic. I like it this way. Good job!