Giter VIP home page Giter VIP logo

apt-update-indicator's People

Contributors

aaitmouloud avatar albanobattistella avatar artur9010 avatar etamuk avatar franglais125 avatar frnogueira avatar jaystrictor avatar kbabioch avatar khaledhosny avatar ralgo avatar raphaelrochet avatar ruslansin avatar sd65 avatar skogsmaskin avatar sorin-mihai avatar svetlemodry avatar trazalca avatar unixfox avatar wsxy162 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

Watchers

 avatar  avatar  avatar

apt-update-indicator's Issues

can't uninstall

I can't not uninstall apt-update-indicator by software-center.

No Internet

The extension is telling me "No Internet" despite being connected.

"Check now" doesn't resolve it. Also tried disabling and re-enabling the extension but no luck.

Tested on Ubuntu 18.04.

image

screenshot from 2017-11-22 16-20-51

Code reorganization

Hi @lucatrv, @konkor, @AravK and anyone else!

I just committed the last bit of a code reorganization I have been doing. You can find the changes here:
https://github.com/franglais125/apt-update-indicator/tree/reorganization. This separates the main file into smaller files and classes. Hopefully it will help with maintainability and extensibility.

I have implemented a new monitor that check for changes in the apt and dpkg directories. Hence the indicator will update itself after applying updates/checking for updates, etc.!

Before committing this to the master branch and releasing a new version, I wanted to get some feedback to make sure that I didn't introduce regressions and that things are going smoothly.

To test the new branch (to be merged soon I hope):

git clone https://github.com/franglais125/apt-update-indicator
cd apt-update-indicator
git checkout reorganization
make && make install

Further suggestions are welcome of course.

Best, and thanks!
Fran

Usage of object.actor is deprecated

Your extension is spamming this issue title to the gnome-shell journal
Check it like this:

$ sudo journalctl /usr/bin/gnome-shell | grep -E 'apt-update-indicator|AptUpdateIndicator'

I fixed it by deleting the extension, cloning the repo, deleting all the references in your code to the property .actor everywhere and then installed it

so for example on indicator.js:99 this:

this.actor.add_child(this.box);

became this:

this.add_child(this.box);

seems to have fixed it, idk if that's the best or the only solution to the problem, I won't PR it because I didn't bother to check if what I was doing was right so I might have created more issues in the process, although it seems to be working as intended.

GNOME 45: import declarations may only appear at top level of module

Seems like Gnome 45 decided to "simplify" imports and in the process break a huge number of extensions, hopefully its not too big a job to fix this but depending on how you manage imports this might take a while to implement

"import declarations may only appear at top level of module"

Resize if no count shown

When no count is shown on the panel, this applet leaves empty space, which typically isn't nice-looking. Please resize the applet when no count is given. Also, the applet seems to be a little lower than other applets. Perhaps it's smaller and has been resized down?

Recheck repositories after aplied updates

If would find it useful if as a last step of applied updates repositories are check again after applying updates as the number shown updates should go down to zero when update process is finished. So I have to manually to recheck in order to get rid of the notification.

Visual glitch when scrolling

Debian 9 with Gnome 3.22. Intel HD 4000 graphics.

For some reason i can't screenshot it. The glitch disappears when making a screenshot. May be the focus change.

https://vid.me/zQhs

If this is not caused by the extension please tell me who else to bother. :)

Only works for a couple of minutes

For some reason the extension ends up in some kind of error state after a couple of minutes or so. The top bar icon is changed to a warning signal and when I click on it the top message says error:

image

I'm on pop os if that has something to say.

How to show packages upgrade messages in terminal

Hi, I always like to to read output messages from apt or aptitude when I upgrade packages. I tried to modify the "command to update packages" in "advanced settings" but could not how to open a terminal. I tried for instance to set "xterm -hold -e apt upgrade -y" or "gnome-terminal aptitude", but no terminal is opened. Is there any way to achieve this? For me the best option would be to open a terminal with "aptitude" and let me run the packages update manually.
Thanks

Cannot apply updates

Thank you for your extension!

When there are new updates, I click on "Apply Updates" but all it does is opening "Software" with the information that all software is up to date.

I tested this on Ubuntu 17.10.

image

image

Icons set does not comply with Gnome guidelines

Hi, it would be nice to refine the icons set in order to improve compliance with the Gnome guidelines (see in particular "Color vs. symbolic icons"):
https://developer.gnome.org/hig/stable/icons-and-artwork.html.en

IMHO the status and sync icons should be "symbolic", while the updates notification icon could be kept colored to better stand out.

This would be a good option for the sync icon (part of the "gnome-icon-theme-symbolic" package):
/usr/share/icons/gnome/scalable/emblems/emblem-synchronizing-symbolic.svg

As for updates notification, the current icon is already nice, but this would be another good option (part of the "gnome-icon-theme-symbolic" package):
/usr/share/icons/gnome/scalable/status/software-update-urgent-symbolic.svg

Then it would be useful to distinguish between regular and security updates. In this case I would consider the following two options instead (part of the "gnome-icon-theme" package):
/usr/share/icons/gnome/32x32/status/software-update-available.png
/usr/share/icons/gnome/32x32/status/software-update-urgent.png

Note: I would not use the icon "/usr/share/icons/gnome/scalable/status/software-update-available-symbolic.svg" for regular updates, as it does not stand out enough.

Finally for the status icon, this would be a good option IMHO (part of the "gnome-icon-theme-symbolic" package):
/usr/share/icons/gnome/scalable/apps/system-software-install-symbolic.svg

Otherwise here are a couple of other options outside Gnome:
https://thenounproject.com/term/open-source/35033/
https://www.iconfinder.com/search/?q=package&style=glyph&price=free

Cheers

Error when running in PopOS

When attempting to run the extension after installing on PopOS, "Error" is reported by the extension and the icon turns into a warning indicator.

No icon when no updates are available

I have set "Always show the indicator" to "true".
Now, when there are no updates available, the tray icon is invisible, but I can properly click it, see

Screenshot from 2019-04-05 21-46-59

If there are updates, everything is fine, I have an icon and the correct number.

OS: Ubuntu 19.04
DE: Gnome 3.32

Lock screen issue

With the app-update-indictator enabled, the lock screen in gnome-shell doesn't work correctly. The screen doesn't switch off and I can't connect to unlock the screen (no user icon in the lock screen).
If I disabled the extension, the lock screen works well.

I have a netbook computer with an external screen.

Debian Jessie with backport repo enabled don't work well.

Debian Jessie with backport repository enabled for some applications (darktable, office) don't work well:
The extension updates and marks all packages from the backport repo like regular updates not only packages installed from the backport repo, including latest kernel, newest and don't supported by my video card Nvidia drivers and much more.
Regular updating from Synaptic or apt-get doesn't do this.
#apt-get update && apt-get upgrade

Credits and License

Hi @RaphaelRochet !

I am trying to port this to be usable on apt-based distros (Debian, Ubuntu).
I have it working already locally...
I was just wondering how I should modify some files that are copyrighted with your name? What's the procedure for that?

Merci !

Last updates check time should be stored across sessions

Hi, it appears apt-update-indicator is not storing the last updates check time across sessions. I would like to check updates once a day, and there seems to be no way to achieve that. With the default settings (60 min), updates are checked 1 hr after login and then again every 1 hr. If I set a longer time, for instance 720 min, updates are never checked (because I use a session usually for a few hours a day).
An improvement would be to store the last updates check time across sessions. Once you log in, the extension would compare the current time with the last stored check time, and run right away if the set time has passed by. The same check (current time vs last stored check time) could be carried out again every minute to decide when to check updates again.

Check for updates without password prompt

In Ubuntu 16.04 I can check for updates with aptdcon --refresh as a normal user. If I enter this as the "Custom command to check for updates" then Apt Update Indicator prompts for my password to run this command with pkexec.

I can install packagekit-tools and then the default aptdcon --refresh works without a password prompt.

It would be nice to have an option to run a custom update check command without pkexec with a checkbox option or simply requiring the user to include pkexec in their command if the command needs it.

Icon Not Showing

The icon doesn't show in the top bar when all packages are up to date, but there is still a small clickable area that shows the indicator menu, so it's not completely gone.
Running Gnome 3.34.2.

How to configure

I'm running Ubuntu Gnome and have "Software Updater" and "Software & Updates" installed. Usually I run "apt update" and "apt upgrade" to update the software. I've tried different settings under "Settings -> Advanced settings -> Update method" but when clicking "Check now" in the menu I always end up with the read warning triangle with an exclamation mark and "Error" on top the menu. Is there any log where I can check what the error is due to? What should I select under "Update method" based on the what I have installed?

Question

First of all - great extension !

Question 1 - I see Residual Config Files. How can then be cleaned?

Question 2
I usually use sudo apt-get -y update && sudo apt-get -y upgrade && sudo apt-get autoclean && sudo apt-get -y autoremove
Can this extension be set up to do this ?

Thx

New in repository: Copy package name to clipboard when clicked

The feature "new in repository" is handy. But atm you need to type the package name to use it. Not perfect for packages with version numbers and or long names.

So it would be handy if you clicked on a package name that its name gets pasted into your clipboard.

Does in my session

My session goes haywire basically every other time I start(ed), closes several windows and corrupts the display. A shame cause it's potentially a very useful thing to have.

Check for errors in spawned processes

Currently if a check for updates or upgrade process fails, the extension:

  • updates the last check time anyway
  • does not give any feedback related to the problem

Instead, the exit status of the spawned program should be checked to ensure it succeeded.

Thanks @lucatrv !

Auto-Install

FR - Include the possibility of automatically triggering the update, only requesting sudo password when requested by the update propgram (apt, aptitude, etc) I'm a sys admin, not a dev, but to me it seems like it would be a patter of checking the auto setting after new updates are available, and trigger (or not) the update module. AptX will handle the rest.

Sorry if I said something dumb

Do not warn about hold packages

Could you please add an option to ignore package marked as hold ? This APT feature is useful to avoid upgrade that we don't want. If this choice has been done by user, I think an extension like this one could ignore this upgrade (or offer a solution to ignore it).

Thanks for this great extension !

Listen for signal to update number of available packages

I typically run apt updates from the CLI, and really only use this is a notifier. I also use unattended-upgrades. It would be nice if this extension could listen for the dbus signal emitted when an update completes (org.debian.apt.CacheChanged or org.freedesktop.PackageKit.UpdatesChanged?) and automatically update the number of installable packages (without performing an additional network update of the package lists).

Add a blacklist to ignore some packages

Feature request from e.g.o:

Please make it possible to disable update notifications for the packages which are put on hold. Sometimes you may want to downgrade some package to older version, e.g when the latest version available has some problem which older versions do not have.

Not compatible with new version?

Hi,

Just updated to gnome 40.4 and it seems this extension is no longer compatible. Any chance it gets updated?

It seems some property is no longer supported:

/gnome-shell/extensions/[email protected]/Settings.ui:45:33 Invalid property: GtkBox.margin_left

Thanks!

startup error version 21

Until version 20 everything runs OK. After updating to version 21, the indicator icon no longer appears.
GNOME Tweaks (extensions) shows a warning triangle saying 'error laoding extension,' and the Gnome extension website also indicates an error (apparently clickable, but clicking on 'error' does not do anything for me (see screenshot below).

Selection_431

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.