sry ich kenne gpk-update-viewer nicht, aber der Programmname lässt auf ein Programm schließen das Updates
anzeigt. Und was mit pacman als user und als root geht weiß ich. Daher kam ja mein Vorschlag das per cronjob die Paketdatenbanken aktualisiert werden und als user geschaut werden kann (pacman -Qu) ob Updates da sind.
pacman -Qu muss auch nicht mit den Datenbanken syncen, das hat 'pacman -Syuw --noconfirm' bereits erledigt (sogar die Pakete sind bereits lokal verfügbar).
man pacman (Auszugsweise)
…
OPERATIONS
…
-Q, --query
Query the package database. This operation allows you to view installed packages and their files, as well as
meta-information about individual packages (dependencies, conflicts, install date, build date, size). This can
be run against the local package database or can be used on individual .tar.gz packages. In the first case, if
no package names are provided in the command line, all installed packages will be queried. Additionally,
various filters can be applied on the package list. See Query Options below.
…
QUERY OPTIONS
…
-u, --upgrades
Restrict or filter output to packages that are out of date on the local system. (Only package versions are
used to find outdated packages, replacements are not checked here.) This option works best if the sync
database is refreshed using -Sy.
pacman -Qu checkt also die Version installierter Pakete gegen die in der Datenbank. Darauf sollte man doch leicht greppen können. Würde das jedoch mit einem cronjob deines Users machen.