Arch Linux System Tray Update Notifier and Upgrader

Plasma 5 Applets notifier update

Source i (link to git-repo or to original if based on someone elses unmodified work):

https://github.com/I-Dream-in-Code/kde-arch-update-plasmoid

3
Become a Fan
7.2

Available as/for:
Description:
A system tray widget notifying you of available updates for your Arch Linux System with AUR and yakuake support

It uses checkupdates to not lock the database.

Just click the Update System to update

run ./install_plasmoid.sh

AUR package: plasma5-applets-kde-arch-update-notifier-git
Last changelog:

added snap support

add option to refersh snaps during upgrade process


Ratings & Comments

17 Comments

kisuyami

Installing From repo, and from AUR cause the same error on click in the widget, and no icon(even if locale selected): Error loading QML file: file:///usr/share/plasma/plasmoids/org.kde.archUpdate/contents/ui/main.qml:28:34: Type CompactRepresentation unavailable file:///usr/share/plasma/plasmoids/org.kde.archUpdate/contents/ui/CompactRepresentation.qml:73:5: Type FullRepresentation unavailable file:///usr/share/plasma/plasmoids/org.kde.archUpdate/contents/ui/FullRepresentation.qml:5:1: module "QtQuick.XmlListModel" is not installed

Castorino

Hello, I've cloned it from GitHub and installed it, but I would like to uninstall it to reinstall from AUR package. How can I do a clean uninstall please?

I-Dream-in-Code

remove /usr/share/plasma/plasmoids/org.kde.archUpdate install with aur package you might need --force

beaverusiv

9 Exactly what I wanted and doesn't interfere with my updating process I do myself.

Primus

This is a pretty great widget. One thing I'd like to see in the future is that you could see the upgrade progress, either by just opening console to show pacman, or in a window or even within widget.

I-Dream-in-Code

If you want to change it change line 104 in systemcalls.cpp to (or terminal program of choice) arguments << "/usr/bin/konsole << "-e"<<"pacman"<<"-Syu";

I-Dream-in-Code

EDIT: If you want to change it change line 104 in systemcalls.cpp to (or terminal program of choice) arguments << "/usr/bin/konsole << "-e"<<"pacman"<<"-Syu" <<"--noconfirm";

I-Dream-in-Code

okay so that was the wrong command. good news is I just made a new version with the feature you requested

peter2m

Current package is not cleaned. It "Weighs" 2MB whereas previous one weighed only 255KB. BTW. You can remove from package all directories named "CMakeFiles", because they are generated by cmake tool (run in your install_plasmoid.sh script).

I-Dream-in-Code

fixed and added to script :)

peter2m

Couple things. 1. I have vertical Panel and icons are arranged in two vertical rows. Icon from this plasmoid is not scalable and takes the place of 4 icons. Takes too much space and looks ugly. 2. "Arch updater settings -> General. Option label: "Check Every (Minutes) has white color, so contrast is bad, but second option "Hide the updates version number" is in black color, so correct. 3. I have dark desktop theme in my Plasma (Simple Flow). When I click on plasmoid icon I see the list of packages to update in black color, so contrast is very bad. 4. The list of packages to update contains mixed packages. I mean I see AUR packages and also these coming from standard repository. I expected only these second ones. These coming from AUR I would like to update separately.

I-Dream-in-Code

I fixed the contrast, in response to #4 I'm parsing from the checkupdates command as it's the only way to have the database not be locked

peter2m

#2, #3. Now is much better :). Thanks. And one small suggestion about "Arch updater settings -> General. Option label: "Check Every (Minutes)". The number you could put next to the label, and make just separator between these two options. About #4. Sorry I was wrong. I checked command "checkupdates" and it seems that command shows only packages related with normal repository. I made this mistake, because in my AUR were the sane packages as checkupdates showed yesterday. Today I updated system using Octopi and after that checkupdates showed less (all of these what I linked with AUR repo. just disappeared). Anyway "checkupdates" works as I expected, so is fine. And one interesting thing. I wonder why above command shows more than octopi and pamac :/. Almost all yesterday's packages were shown today by octopi and pamac (only glibc was skipping).

I-Dream-in-Code

I just fixed the scaling. It was set as static pixels but is now set to theme.implicitHeight and theme.implicitWidth

peter2m

#1. I'm sorry, but it doesn't work (for me). I put plasmoid onto my vertical panel and icon still takes a lot of space (4 normal icons). Maybe plasma can't decrease it because of status (number of pkgs) located in top right corner :/. So I have some small suggestion. In top right corner is shown number of packages waiting for update, but I think it could be replaced by tooltip - showing info when mouse cursor will be over the icon. And the status if there is something to update could be mark by color of icon - like in octopi. Thanks that the icon could be decreased.

I-Dream-in-Code

I think I fixed it, I had set the image width and height but not the parent width height. This is now set to "units.iconSizes.toolbar" and the circle inherets from it so it may work. If I may ask, my I made a vertical panel and it only took the size of one icon. Can you give me steps to reproduce your setup? Please email to : mike.a.harris@outlook.com

peter2m

It doesn't work in my panel. Icon of "Arch Updater" takes whole width of panel, whereas other icons only half (also newly added). Try to resize panel (width) till you will have two vertical rows. Anyway. I sent you screenshot of my panel and the steps describing how I added plasmoid into the panel.

Pling
0 Affiliates
Details
license GPLv3
version 7.2
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 6

Other Plasma 5 Applets:

WebView test
kinta
last update date: 10 years ago

Score 5.0

Google Task - web - obsoleted
suli
last update date: 8 years ago

Score 6.1

CodeShip Monitor
Naraku
last update date: 8 years ago

Score 5.0

Media Controller Compact
bkueng
last update date: 6 years ago

Score 7.7

Shaders example plasmoid
mart
last update date: 11 years ago

Score 6.5

Simple RSS reader
aloos
last update date: 9 years ago

Score 7.0