-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to show packages upgrade messages in terminal #2
Comments
Hi! I got your email too. I usually reply much faster, you juat caught me travelling and with limited connectivity... I'll look into this when I get back in two weeks. Sorry! |
Hi, thanks for your answer and... sorry for bothering you so much [😊]
Have a good vacation for now!
Cheers
…________________________________
Da: franglais125 <notifications@github.com>
Inviato: lunedì 26 dicembre 2016 03.36
A: franglais125/apt-update-indicator
Cc: lucatrv; Author
Oggetto: Re: [franglais125/apt-update-indicator] How to show packages upgrade messages in terminal (#2)
Hi! I got your email too. I usually reply much faster, you juat caught me travelling and with limited connectivity... I'll look into this when I get back in two weeks. Sorry!
Cheers
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#2 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AH_gUwWfxYDzFbLCLyVKeotk9KTzVLqRks5rLyhCgaJpZM4LRQjF>.
|
Yeah I run Debian Testing and it is CRUCIAL that I see the bug lists and changelogs, as well as answer any prompts (not just answer yes every time) and read any messages before upgrading. It would be nice if this would open a terminal and still show the prompt, just to see if everything is alright. Sometimes, unstable packages fall into testing. I heard of one guy who was prompted to uninstall over 100+ packages. |
@lucatrv @jadenPete I implemented a first version of this here: https://github.com/franglais125/apt-update-indicator/tree/terminal_output Do you mind testing it? Suggestions are welcome. Cheers! |
Seems to work to me! Only one doubt, once I applied the updates and pressed enter to close the terminal, I noticed that the package update notification icon was not reset immediately as I think it used to do previously, but after some time. Not sure though, and I need to wait for next updates available to double check... |
@lucatrv indeed, I tried to correct this problem, but so far no luck. In my tests, if you use xterm instead of gnome-terminal it works. The problem is that gnome-terminal sends an exit signal and, hence, the indicator immediately refreshes (before the updates even began...). Then I have no way of triggering a refresh when apt is actually done. Oh well... I kept gnome-terminal as the default as it's what I use, but xterm seems fine too. |
FYI I implemented this in the master branch and submitted a new version to extensions.gnome.org |
I confirm it works as expected with xterm. I do not have enough insight into this to help you out with gnome-terminal, but have you tried to discuss the issue here? Until the issue with gnome-terminal is fixed I would change the default terminal command into something like this: "xterm -fa monospace -fs 10 -e" |
@lucatrv thanks a lot for that suggestion, it looks pretty nice with those settings. |
After having used it for a few days, this is actually the best setting IMHO: From what I know xterm should run fine under xwayland. If in future Debian defaults to Wayland, this setting could be quickly changed for instance to use wlterm: |
Thanks, I think I will change the default to something like what you suggest. As for wlterm, it seems it is not being maintained anymore - judging from its github page. Also, Debian doesn't seem to package it. If you happen to have more info on this (or something like this), I'd be interested! xterm will do it I guess, until something better takes its place. I'll close this issue now! Thank you for your help and inputs. |
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
The text was updated successfully, but these errors were encountered: