Giter Site home page Giter Site logo

raphaelrochet / arch-update Goto Github PK

View Code? Open in Web Editor NEW
224.0 11.0 66.0 882 KB

Update indicator for ArchLinux and Gnome-Shell

Home Page: https://extensions.gnome.org/extension/1010/archlinux-updates-indicator/

License: GNU General Public License v3.0

JavaScript 94.48% CSS 5.52%
gnome-shell-extension arch-linux

arch-update's Introduction

arch-update

Update indicator for Arch Linux and GNOME Shell

Warning for Gnome 42

Default update command tries to run "gnome-terminal". You need to either install gnome-terminal or edit update command in advanced options to run Console. See wiki for examples.

Features

  • Uses pacman's «checkupdates» by default and thus does not need root access
  • Optional update count display on panel
  • Optional notification on new updates (defaults to off)
  • Launcher for your favorite update command
  • Comes in English, French, Czech, German, Spanish, Brazilian Portuguese, Italian, Polish, Romanian, Arabic, Slovak, Chinese, Serbian, Swedish, Norwegian Bokmal, Russian, Persian, Turkish, Esperanto, Finnish, Dutch, Ukrainian, Korean, Occitan, hungarian languages. (Thanks translators !)

Requirements

If you use the default "checkupdates" way you will need to install "pacman-contrib".

One-click install

It's on extensions.gnome.org : https://extensions.gnome.org/extension/1010/archlinux-updates-indicator/

Install from AUR

Thanks to michiwend you can install it from Arch Linux User Repository : gnome-shell-extension-arch-update https://aur.archlinux.org/packages/gnome-shell-extension-arch-update/

Manual install

To install, simply download as zip and unzip contents in ~/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet

Changes

v61

  • Make underlining package names an option
  • Fix visual bug when scrolling updates list

v60

  • Fix menu error when output parsing is disabled
  • Move to GioUnix.InputStream instead of Gio.UnixInputStream

v59

  • Fix some translations strings missing in v58

v58

  • Gnome 46

v57

  • Fix pacman dir change needing restart
  • Fix notifications not working
  • Updated translation : Dutch

v56

  • Code changes to commply with Gnome Guidelines

v55

  • Gnome 45
  • New feature : Show package info

v53

  • Fix deprectated code

v52

  • Gnome 44
  • Move to GTK4
  • Updated translations : Brazilian Portuguese, Chinese

v51

  • Minor fix

v50

  • Gnome 43
  • Updated translation : Dutch

v49

  • "Fix 'Strip version numbers' nor working with old behavior

v48

  • Added translation : hungarian
  • Fix Inconsistent icon theme
  • Add basic parsing to tell updates and titles apart; also increase readibility in menu
  • Now "strip version number" can be applied to indicator menu or notifications

v47

  • Gnome 42
  • Fix deprectated option in default commandline

v46

  • Updated translation : Brazilian Portuguese
  • Added translation : Occitan
  • Fixed indicator not shown if in error state (#178)

v45

  • Fixed an error on unloading introduced in v44

v44

  • Minor refactoring

v43

  • Gnome 41
  • New translations : Dutch, Korean, Ukrainian
  • Updated translations : Simplified Chinese, Russian

v42

  • Updated translation : German

v41

  • Fixed metadata for extensions website

v40

  • Gnome 40 only
  • Updated translation : Russian

v39

  • Fixed update list empty after suspend
  • Fixed update list not fully visible when lots of updates
  • Updated translations : Chinese and Spanish

v38

  • Fixed crash about Gtk.IconTheme.get_defaults
  • Added indicator position setting

v37

  • Theme support is back ! Also an option to force built-in icons if needed.

v36

  • Gnome 3.36.1 only
  • Fixed open prefs from menu

v35

  • Gnome 3.36 only
  • Fixed a warning about absolete call

v34

  • Gnome 3.36
  • New translation : Swedish
  • Updated translations : Italian, German

v33

  • Removed deprecated code
  • Removed support for older GS

v32

  • Gnome 3.34

v31

  • Updated translation : Turkish

v30

  • Gnome 3.32

v29

  • Update translation : Romanian
  • Applied French translation to all French

v28

  • Gnome 3.30
  • New translation : Esperanto
  • New translation : Finnish
  • Updated translation : Brazilian
  • Fix indicator alignment
  • Fix some errors that could quickly fill log

v27

  • Added info about pacman-contrib for checkupdates script
  • New translation : Estonian
  • Updated translation : Romanian

v26

  • Gnome 3.28
  • New translation : Hebrew
  • Update translation : Spanish

v25

  • Added optional package manager menu entry
  • Added requirements in readme
  • Updated Slovak translation
  • Updated Italian translation
  • Fixed a JS Warning
  • Fixed a bug that crashes Gnome-SHELL on update

v24

  • Gnome 3.26
  • Updated Romanian translation

v23

  • Updated translation : Arabic

v22

  • Updated translation : Serbian
  • New translation : Turkish

v21

  • Gnome 3.24
  • New translation : Persian

v20

  • Translations updates (German, Spanish)

v19

  • Ability to cancel checking
  • New translation : Catalan
  • Updated translations : Spanish, Brazilian

v18

  • Gnome 3.22
  • New preferences window
  • Cleaner translations (some text are not translated yet)
  • Menu does not close when updating

v17

  • New translation : Russian
  • Updated translation : Czech

v16

  • Add vertical scroll bar on preferences window

v15

  • New feature : auto-expand update list
  • New translation : Norwegian Bokmal
  • Updated translation : Brazilian Portuguese

v14

  • Gnome 3.20 compatibility

v13

  • New translation : Serbian (sr and sr@latin)
  • Updated translation : Spanish
  • Minor bug fix

v12

  • New translation : Chinese
  • Updated translation : Czech

v11

  • New option to strip out version numbers
  • New translations : Slovak and Arabic
  • Updated translations : Brazilian Portuguese, German

v10

  • Licence added : GNU GPL v3
  • Updated translations : Polish and Brazilian portuguese

v9

  • Added option to change command used to check for updates (for advanced users)
  • Added Romanian and Polish translations

v8

  • Added Italian language

v7

  • Added Brazilian Portuguese translation

v6

  • Added Spanish language

v5

  • Option to have permanent notifications
  • Asynchronous checking - No more 1 sec Shell freeze during updates check !
  • 'Updates pending' menu item can now be expanded to show updates list
  • Option to only list new updates in notifications
  • Aded "Update Now" action button on notifications

v4

  • Run update command from indicator
  • Autodetect when updates are done
  • Prefs dialog reworked

v3

  • Notification option
  • Czech and German languages added

Credits

All icons are based on Thayer Williams' Archer logo, winner of Arch Linux logo contest.

Some portions of the extension were inspired from Touchad Indicator and Lock keys. https://github.com/orangeshirt/gnome-shell-extension-touchpad-indicator https://github.com/kazysmaster/gnome-shell-extension-lockkeys

arch-update's People

Contributors

alonsolp avatar andusdev avatar arthurflor23 avatar artur9010 avatar egormanga avatar etamuk avatar fredriksvantes avatar frnogueira avatar ganskef avatar infeeeee avatar jaystrictor avatar jgottlander avatar kabishchev avatar kbabioch avatar khaledhosny avatar madis0 avatar mjkim0727 avatar prescott66 avatar ralgo avatar raphaelrochet avatar rffontenelle avatar skogsmaskin avatar sorin-mihai avatar superboa avatar svetlemodry avatar trazalca avatar unixfox avatar vistaus avatar vombato avatar yoshiman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arch-update's Issues

Wiki: better yaourt check command

@RaphaelRochet not sure how to submit a PR to the wiki, so submitting it as issue, sorry.

    Wiki: better yaourt check command

    Previous one resulted in duplicating checkupdates output and yaourt,
    effectively doubling the number of arch updates + adding AUR updates.
    This one gets the best of both worlds: with version number for arch
    updates and without for AUR updates.

    Sample output (line 1 & 2 are checkupdates, line 3 is yaourt/AUR):

        dconf 0.26.1-1 -> 0.28.0-1
        dconf-editor 3.26.2-1 -> 3.28.0-1
        devd
---
 Home.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Home.md b/Home.md
index 6bfd44d..8dba9a2 100644
--- a/Home.md
+++ b/Home.md
@@ -7,7 +7,7 @@
 ## Add AUR Support

 ### yaourt
-* Check command : ``/bin/sh -c "/usr/bin/checkupdates ; /usr/bin/yaourt -Qqu -a"``
+* Check command : ``/bin/sh -c "(/usr/bin/checkupdates; /usr/bin/yaourt -Qqu -a) | sort -u -t' ' -k1,1"``
 * Update command : ``gnome-terminal -e 'sh -c  "yaourt -Syu -a ; echo Done - Press enter to exit; read" '``

 ## pacaur

disable dropdown to see updates

Hi,

Thanks for providing this extension.

It would be nice if the extensions would just show all available updates rather than hiding them behind an extra menu layer. If there are only few updates (this could be a configurable number) it would be nice to have these updates shown immediately.

Thanks,
Rasmus

Plural form

Please create plural form for this string:

: extension.js:217 extension.js:232

msgid "updates pending"
msgstr ""

pacman-contrib is required for the plugin to work

checkupdates is now part of pacman-contrib
This packages should be installed in order for the package to work:

gunix@archdesktop ~ $ pacman -Fs checkupdates
community/pacman-contrib 1.0.0-2
    usr/bin/checkupdates
gunix@archdesktop ~ $ sudo pacman -S pacman-contrib
resolving dependencies...
looking for conflicting packages...

Packages (1) pacman-contrib-1.0.0-2

Total Download Size:   0.03 MiB
Total Installed Size:  0.14 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 pacman-contrib-1.0.0-2-x86_64                                                                          28.5 KiB   570K/s 00:00 [##############################################################################] 100%
(1/1) checking keys in keyring                                                                                                  [##############################################################################] 100%
(1/1) checking package integrity                                                                                                [##############################################################################] 100%
(1/1) loading package files                                                                                                     [##############################################################################] 100%
(1/1) checking for file conflicts                                                                                               [##############################################################################] 100%
(1/1) checking available disk space                                                                                             [##############################################################################] 100%
:: Processing package changes...
(1/1) installing pacman-contrib                                                                                                 [##############################################################################] 100%
Optional dependencies for pacman-contrib
    mlocate: pacdiff [installed]
    findutils: pacdiff [installed]
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
(2/2) Arming ConditionNeedsUpdate...

I think this info could be added to the documentation, or to the required packages on AUR.

Feel free to close the issue if you want.

Best Regards,
gun1x

Remember last automatic check date

At the moment, if a user sets the automatic check interval to something like "24 hours", and the session only lasts a few hours, the check will never take place, as it restarts with the session.
If the last check date is stored, then it can be used to set the interval for the automatic check.

In case you'd like to implement it, I implemented this for the apt-based extension here: franglais125/apt-update-indicator@c3b7ce6 . A PR won't work, but from there it is pretty easy to see how it was done. If you have suggestions on how to improve it, I'd definitely be interested!

Cheers!

Add option to notify about security updates only

Arch is updated very frequently so there's hardly a day you won't get update notifications. IMHO it's more important to get notifications when its really really really recommeded to update your system -- i.e. if security relevant updates are available.

So I propose to add a "Security updates only" option that can be implemented like this:

  • Download .gz and .gz from https://lists.archlinux.org/pipermail/arch-security/
  • Unpack these files (either in-memory or into /tmp), parse all occurences of
    pacman -Syu "packagename>=packageversion" and create a map<packagename, packageversion>
  • Run checkupdates as usual but only notify about packages that are present in the map and installed_version < packageversion

I'd bet there are quite a few users that would love to see this happen :)

Wiki update: aurman support

aurman works like a charm using:

aurman

  • Check command : /bin/sh -c "/usr/bin/checkupdates && /usr/bin/aurman -Qqu -a"
  • Update command : gnome-terminal -e 'sh -c "aurman -Syu ; echo Done - Press enter to exit; read" '
  • Update command (with terminator) : terminator -e 'aurman -Syu ; echo Done - Press enter to exit; read '

Fuzzy Spanish PO

Hi.

In Spanish translation, there are some fuzzy lines that needs fix. I attached the fixed PO.
es.zip

Best regards.

Indicator still showing updates even there are no available

Hello,

I have problem with the indicator addon still showing that I need to update my system.Screenshot.
I tried to reinstall by deleting the directory for the addon and instaling again. Which did not help.
This is what I get when I run the checkupdates command. This is the settings screenshot.
[user ~]$ /usr/bin/checkupdates
ca-certificates 20150402-1 -> 20160507-1
ca-certificates-cacert 20140824-2 -> 20140824-3
ca-certificates-mozilla 3.23-3 -> 3.23-4
ca-certificates-utils 20150402-1 -> 20160507-1
dosfstools 3.0.28-1 -> 4.0-2
glib2 2.48.0-2 -> 2.48.1-1
glibc 2.23-2 -> 2.23-4
gnupg 2.1.12-1 -> 2.1.12-2
gssproxy 0.4.1-1 -> 0.5.0-3
libksba 1.3.3-1 -> 1.3.4-1
libseccomp 2.2.3-1 -> 2.3.1-1
linux45 4.5.3-1 -> 4.5.4-1
linux45-headers 4.5.3-1 -> 4.5.4-1
man-pages 4.05-1 -> 4.06-1
manjaro-release 15.12-1 -> 16.06rc1-1
nss 3.23-3 -> 3.23-4
perl 5.22.1-2 -> 5.22.2-1
xfsprogs 4.3.0-1 -> 4.5.0-1

What could be wrong? What did I changed that made the applet think that I still need to update these programs?

"Too many arguments to method Gio.File.monitor_directory: expected 2, got 3"

Not sure if this is really a problem, but I found some of this message in journalctl:

jan 26 08:49:57 HOSTNAME gnome-shell[2026]: JS WARNING: [HOME/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js 242]: Too many arguments to method Gio.File.monitor_directory: expected 2, got 3

System: Arch Linux 64-bit, everything up-to-date.

Only gnome?

Hi Raphael, very nice script you have provided for everyone. I was wondering, does this also work in other environments? Such as openbox?

Thanks for your time

"Update now" opens pamac-manager instead of pamac-updater

Hi @RaphaelRochet ,

in #83 @Ste74 asked you to add an option to open a GUI package manager.

I've set:

Command to open package manager (optional):
/usr/bin/pamac-manager

It's working fine, thanks.

I've also set:

Command to update packages:
/usr/bin/pamac-updater

But that doesn't work. Once you click on "Update now", it opens pamac-manager instead of pamac-updater.

Any idea what could be causing this and how it could be fixed?

When launching pamac-updater from a terminal or via ALT+F2, it properly launches pamac-updater.

Removing:

Command to open package manager (optional)
/usr/bin/pamac-manager

does not help.

Regards

Missing version information

I didn't find a way to see which version I have - consider an about tab in the settings - or mention the version number in title

Add option to open specific pacman wrapper for install or remove package ( like pamac or other GUI interface )

Hi there, we have forked your extension to ship with our Manjaro Gnome edition ( we have changed icon status and command to open pamac when update is ready ) . We like your extension because offer a native integration with gnome-shell ;) .
Is possible add an option to open a packager manager ( in our case pamac ).
https://wiki.archlinux.org/index.php/Pacman/Tips_and_tricks#Graphical_front-ends

Regards
Stefano

Notifications on lock screen

GNOME Shell 3.28.3
Arch-update v27

Gnome extensions are supposed to be disabled when the screen is idle. In addition, I have disabled the general setting of not displaying notifications on the lock screen.
But since recently this indicator is notifying me on the lock screen of new updates.

On the other hand, I've checked the system log and I get a lot of meaningless lines from this extension: 6729 lines since yesterday!
I don't know if there's any connection

yaourt checkupdate : wiki suggestion enhancement

Hi,

I've read the wiki https://github.com/RaphaelRochet/arch-update/wiki

I would like to suggest a slight change to your 'yaourt check update' command, in order to get the version numbers too.

Problem with yaourt -Qu -a is that every output will be prepended by 'aur/' so I use a 'cut' to remove 4 first char

/bin/sh -c "(/usr/bin/checkupdates; /usr/bin/yaourt -Qu -a | cut -c 5-) | sort -u -t' ' -k1,1"

And by the way thanks for your work !

Implement Proxy support

Currently, the extension won't work behind a proxy, even if it is configured in Network settings of GNOME. How about implement proxy support, in order to allow verify&update anywhere?

Option to cancel update checking

I tiny circle cancel button beside the "Checking for updates" would be really useful, especially when I'm e.g. on the train with a wifi that barely exists and every megabyte is precious, which is quite often for me.

Too many arguments to method Gio.File.monitor

Hi,

Dunno if it is important or not just reporting ...

Jan 10 11:41:12 xxxx gnome-shell[16558]: JS WARNING: [/home/xxxx/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet/extension.js 242]: Too many arguments to method Gio.File.monitor_directory: expected 2, got 3

Thanks for tht usefull app.
Gnome versions

Clearer indication that pacman-contrib is required

I noticed that recently updating pacman broke this extension. I finally saw on the extension's page that the pacman-contrib package is now required.

It would be nice to have this somewhere in the dropdown or settings menu so users do not have to hunt for the solution.

Gnome Shell freezes when checking for updates while offline

If the extension checks for updates, and there is no internet connection, Gnome Shell will temporarily become unresponsive until the check update command terminates, which may take several minutes.
While using X.Org, keyboard and mouse input function, but the desktop does not. With Wayland, mouse and keyboard are equally frozen.

I do not know whether this is an issue with the extension, or Gnome Shell. Should it be the latter, would it be possible to implement some sort of internet connection check before running the check updates command?

English text can be better

Hi,
@Madis0 has pointed me english text that can be better.

Changes have been made in the pot file with PR #105 , but unfortunately this file has been regenerated in the release process of v27 (513634e) and these changes are lost.

We have two ways here :

  1. Change english text in extension.js and rebase all translations, which means each translator must update its translation after that (there are 20 of them)
  2. Create a "en" translation for translating my bad english into good english. In that case, who can assume this ?

Waiting for feedback ;)

gnome-shell crashes after update

After an update, regardless whether done via the updater or in another terminal, the gnome-shell crashes. It seems that happens at the moment when the update refreshes.

Problem started with the update to gnome 3.26.

`
systemd-coredump[29362]: Process 938 (gnome-shell) of user 1000 dumped core.

                                          Stack trace of thread 938:
                                          #0  0x00007f1e84d2ba0d g_type_check_instance_cast (libgobject-2.0.so.0)
                                          #1  0x00007f1e82a53960 st_label_set_text (libst-1.0.so)
                                          #2  0x00007f1e7f3b71c8 ffi_call_unix64 (libffi.so.6)
                                          #3  0x00007f1e7f3b6c2a ffi_call (libffi.so.6)
                                          #4  0x00007f1e839d5cbb n/a (libgjs.so.0)
                                          #5  0x00007f1e839d7617 n/a (libgjs.so.0)
                                          #6  0x00007f1e7d08264d n/a (libmozjs-52.so.0)
                                          #7  0x00007f1e7d075687 n/a (libmozjs-52.so.0)
                                          #8  0x00007f1e7d081e97 n/a (libmozjs-52.so.0)
                                          #9  0x00007f1e7d08246f n/a (libmozjs-52.so.0)
                                          #10 0x00007f1e7d082779 n/a (libmozjs-52.so.0)
                                          #11 0x00007f1e7ce72219 n/a (libmozjs-52.so.0)
                                          #12 0x0000181e982083c6 n/a (n/a)
                                          #13 0x00007f1e7cd70d3e n/a (libmozjs-52.so.0)
                                          #14 0x00007f1e7d0819e3 n/a (libmozjs-52.so.0)
                                          #15 0x00007f1e7d081e97 n/a (libmozjs-52.so.0)
                                          #16 0x00007f1e7d08246f n/a (libmozjs-52.so.0)
                                          #17 0x00007f1e7d082779 n/a (libmozjs-52.so.0)
                                          #18 0x00007f1e7ce72219 n/a (libmozjs-52.so.0)
                                          #19 0x0000181e982083c6 n/a (n/a)
                                          #20 0x0000555bb4b6a818 n/a (n/a)
                                          #21 0x0000181e98595a40 n/a (n/a)
                                          #22 0x00007f1e7cd70d3e n/a (libmozjs-52.so.0)
                                          #23 0x00007f1e7d0819e3 n/a (libmozjs-52.so.0)
                                          #24 0x00007f1e7d081e97 n/a (libmozjs-52.so.0)
                                          #25 0x00007f1e7d08246f n/a (libmozjs-52.so.0)
                                          #26 0x00007f1e7d082779 n/a (libmozjs-52.so.0)
                                          #27 0x00007f1e7ce72219 n/a (libmozjs-52.so.0)
                                          #28 0x0000181e982083c6 n/a (n/a)

`

updateStatus ( -3 )

Hi,

As you may remember, I forked your extension to have it working on Debian/Ubuntu.

I'm still trying to understand everything fully... When checking the updateStatus() input, you specifically check for "-3". However, this is exactly never the case... I saw you implemented it at some point, and then removed it from the checkUpdates function.

Is this check superfluous now, or is it something to fix?

Merci!

Doesn't automatically update (v18, gnome-shell 3.22.1)

Icon shows fine, and if I choose "Check now" then updates are found, but it never notifies of updates automatically. Running checkupdates in a terminal works too.

Time to wait before first check is set to 15, and interval is set to 60. I've tried setting interval to 30 as well, with no effect.

Thanks for any help in advance!

Not working on Gnome 3.22.1

The latest version isnt compatable with the latest version of gnome. Please fix! This is an awesome extension.

Does not support shell version

Hello,
I'm using the last version of Gnome and the Tweak Tool says that the extencion doesn't support the shell version. I installed from AUR

Versions according to pacman

  • gnome-shelll: 3.20.1-1
  • gnome-shell-extension-arch-update: 11-1

fakeroot

This gnome extension requires fakeroot in order to work:

gunix@archdesktop tmp $ /usr/bin/checkupdates
==> ERROR: Cannot find the fakeroot binary.
gunix@archdesktop tmp $ pacman -S fakeroot
error: you cannot perform this operation unless you are root.
gunix@archdesktop tmp $ sudo pacman -S fakeroot
resolving dependencies...
looking for conflicting packages...

Packages (1) fakeroot-1.22-1

Total Download Size:   0.07 MiB
Total Installed Size:  0.12 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 fakeroot-1.22-1-x86_64                                         66.7 KiB   741K/s 00:00 [##################################################] 100%
(1/1) checking keys in keyring                                                          [##################################################] 100%
(1/1) checking package integrity                                                        [##################################################] 100%
(1/1) loading package files                                                             [##################################################] 100%
(1/1) checking for file conflicts                                                       [##################################################] 100%
(1/1) checking available disk space                                                     [##################################################] 100%
:: Processing package changes...
(1/1) installing fakeroot                                                               [##################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
gunix@archdesktop tmp $ /usr/bin/checkupdates
ca-certificates-mozilla 3.34.1-1 -> 3.35-1
chromaprint 1.4.2-1 -> 1.4.3-1
coreutils 8.28-1 -> 8.29-1
glib2 2.54.3-2 -> 2.54.3+2+g94b38beff-1
linux 4.14.13-1 -> 4.14.14-1
linux-firmware 20171206.fdee922-1 -> 20180119.2a713be-1
nspr 4.17-1 -> 4.18-1
nss 3.34.1-1 -> 3.35-1
gunix@archdesktop tmp $ 

It would help to have a list of requirements, since Gnome doesn't help too much in this regard.

Showing updates with yaourt not working as expected

Hi! First, thank you for this tool.

I am trying to show updates from the main repo and AUR through yaourt with the command specified in the wiki:

/usr/bin/yaourt -Qqu -a

However no notification is made even if there are new packages available.

If I do yaourt -Suy --aur first and then cancel it - it will show the notifications on next check just fine.

Am I missing something here or is it a bug?

Up-to-date message replaces applications caption.

I just noticed, that the update indicator's message for up-to-dateness replaced the "Applications" caption of the respective menu (see attachments).

bildschirmfoto von 2018-01-03 12-07-26
bildschirmfoto von 2018-01-03 12-07-36

Update:
Now this override happens also if updates are available.
It seems, that the caption is just being overridden every time.
bildschirmfoto von 2018-01-03 19-04-00

Update II:
After two days I cannot reproduce this problem any more.

No periodic checkupdate done ?

Hi,

That's an awesome ext !

Unfortunately I've installed v26 of this plugin, and left default configuration, with 60 minutes between checks.
I'm running an up-to-date Arch, so, it's gnome 3.28 I guess.

Strange thing is : no checkupdate seems to be performed regularly.

If I right click and do an "check now", it works.

How / what could I do to help debug what's happening (or not happening) ? Maybe there's a rights issue somewhere, I don't know what task planner you use (cron?)

thx !

Use alternative terminal

I changed gnome-terminal from the default update command, to terminix. Now whenever I want to update, terminix will not show up. I am sure that the command to open it is correct. Is there a way to use a different terminal client than the default?

Add option to notify on certain days or hours.

Hello,

When arch is used on a workstation it is important to keep it updated, but you also need to be able to work on your computer without being distracted by a notification all the time.

With the current update checking interval system, you almost get a notification every single day.

It would be awesome to be able to set days on which the extension would check update or not.

For exemple, I like to update my computer on Friday, so that I have the weekend to fix any problem that would occur during an update. But I don't want to get any notification during the week as I'm often busy working.

What do you think about that ?

Script call "check now"

Thank you for this extension! I'd like to be able to invoke "Check now" functionality via a script so I can call it after a local repository has been updated.

Is there any way to do this?

Change color of indicator

Maybe choose the color of the indicator would be a good function. Or the option to let the user choose if he/she wants the logo in arch blue like the original one, or white like current logo.
Thanks!

Is there a way also check for AUR package update?

I know that AUR packages can be updated with yaourt -Syua, but the checkupdates script does not query aur packages. I have modified the command which updates packages to gnome-terminal -e 'sh -c "yaourt -Syyua; echo Done - Press enter to exit; read" 'which does both main and AUR. Is there a way add the capability to query AUR package updates?

Request:: Also check for YAOURT updates

Grateful that you add to the extension a way to check also the updates of yaourt 😃

in the UPDATES_LIST Include separated by title pacman and yaourt listed

Thank you for such a wonderful extension! 👏

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.