You are not logged in.

#76 2013-04-11 21:07:53

jjacky
Member
Registered: 2011-11-09
Posts: 347
Website

Re: kalu: Keeping Arch Linux Up-to-date

The last updated date isn't used by kalu, only version numbers are compared. So it will compare the version from the AUR with the one you have installed, and you get a notification if the one is the AUR is higher/more recent.

Offline

#77 2013-04-11 21:31:10

adam777
Member
Registered: 2012-05-28
Posts: 161

Re: kalu: Keeping Arch Linux Up-to-date

Thanks for the clarification.
It is probably related to some versioning mess the package is having recently, that I thought solved but turns out isn't.

Last edited by adam777 (2013-04-11 21:31:25)

Offline

#78 2013-04-22 18:32:50

adam777
Member
Registered: 2012-05-28
Posts: 161

Re: kalu: Keeping Arch Linux Up-to-date

Hello again,
I came across a small issue, which basically it boils down to this:
Tray icon hover text sometime states "last checked 3 hours ago" when Kalu is set to check for updates every 2 hours, which doesn't make a lot of sense.
I think it originates from something in the regions of the above time calculation only takes into account update checks and not system upgrades, while update scheduling take into account both.
Bottom line, since system upgrade includes an update check, once a system upgrade or update check was done, both "next-update-timer" and "time-calculation-for-tray-text" should be set to 0.
Long explanation, small issue...

Offline

#79 2013-04-22 21:33:43

jjacky
Member
Registered: 2011-11-09
Posts: 347
Website

Re: kalu: Keeping Arch Linux Up-to-date

Yeah, this is indeed because of how it works: checks are run e.g. every two hours, and when you run a system upgrade (or AUR upgrade) the timer is put on hold, and starts back once done. On the other hand the "last check" in the tooltip does indeed only refer to the last time checks were ran by kalu, not including any such upgrades. Thus, such "odd" results as the one your describe will occur.

I know this can lead to what might look like a bug/something not quite making sense, as in your example, but the tooltip is actually correct. You just need to remember that when you e.g. run a system upgrade, it takes time, and the last checks were done before.
I don't reset the time after such a thing because, while you say "system upgrade includes an update check," it's not really the same, as it says nothing about the state of the news, AUR packages, etc, all things the tooltip/time of last checks refers to.

I could switch to having "next checks in" instead, but I feel as it is now, with time last checked, is more "appropriate" as it relates to everything else in the tooltip, dating the information. (And since it can already be quite full, I'm not too inclined to adding even more... plus it could be more confusing than anything else to have two times.)

Offline

#80 2013-04-23 00:18:59

American_Jesus
Member
From: Lisbon/Portugal
Registered: 2011-07-20
Posts: 37

Re: kalu: Keeping Arch Linux Up-to-date

Can't run "System upgrade" if "Upgrade system" button is unchecked.
Can you make the "System upgrade" gui available without "Upgrade system" button?


Archlinux X86_64

Offline

#81 2013-04-23 07:03:36

adam777
Member
Registered: 2012-05-28
Posts: 161

Re: kalu: Keeping Arch Linux Up-to-date

@jjacky, Thanks.
Your logic makes a lot of sense, haven't considered news, AUR etc.

Offline

#82 2013-04-23 07:42:31

jjacky
Member
Registered: 2011-11-09
Posts: 347
Website

Re: kalu: Keeping Arch Linux Up-to-date

American_Jesus wrote:

Can't run "System upgrade" if "Upgrade system" button is unchecked.

Yeah, that's the whole point of the option:

Show a button "Upgrade system" on notifications (and on kalu's menu)
           Whether or not notifications should feature a button "Upgrade system" and kalu's menu (right-click on its systray icon) feature an item "System upgrade"

So people who don't (want to) configure anything here don't have to be bothered by a useless (to them) button/menu. Are you saying you'd like the menu, but don't want the button on notifications? Not sure I see the point in that...

Offline

#83 2013-04-23 13:44:57

American_Jesus
Member
From: Lisbon/Portugal
Registered: 2011-07-20
Posts: 37

Re: kalu: Keeping Arch Linux Up-to-date

The point is, with notify-osd there isn't a button but a window
MQyimGj.png

Last edited by American_Jesus (2013-04-23 13:45:20)


Archlinux X86_64

Offline

#84 2013-04-23 17:27:25

jjacky
Member
Registered: 2011-11-09
Posts: 347
Website

Re: kalu: Keeping Arch Linux Up-to-date

Oh, I see; Because notify-osd decided it would forcefully turn notifications with action buttons into non-expiring windows (w/ additional useless buttons)...

Seems more like an issue with notify-osd, but I get the point: get actual (expiring) notifications. I'll see if I can add something (probably a config tweak) to disable buttons in notifications. To be clear, you'd want to remove buttons from all notifications (upgrades, news, AUR, etc), right?

Offline

#85 2013-04-23 17:36:01

American_Jesus
Member
From: Lisbon/Portugal
Registered: 2011-07-20
Posts: 37

Re: kalu: Keeping Arch Linux Up-to-date

Just the notification button is ok for me, but more options for notifications other notifications like news, AUR will may be useful for other people, maybe not everyone wants notifications for news or AUR.
By the way, an option for mouse middle click will be nice.

Ex: Middle Click: System update


Archlinux X86_64

Offline

#86 2013-04-23 18:05:18

jjacky
Member
Registered: 2011-11-09
Posts: 347
Website

Re: kalu: Keeping Arch Linux Up-to-date

You mean middle-click on the notification, or kalu's icon? The former cannot be done, the later might be possible...

Offline

#87 2013-04-23 18:07:15

American_Jesus
Member
From: Lisbon/Portugal
Registered: 2011-07-20
Posts: 37

Re: kalu: Keeping Arch Linux Up-to-date

On the icon

With double click you can miss click and start check for updates again, with middle click that doesn't happen

Last edited by American_Jesus (2013-04-23 18:10:20)


Archlinux X86_64

Offline

#88 2013-04-24 21:37:44

jjacky
Member
Registered: 2011-11-09
Posts: 347
Website

Re: kalu: Keeping Arch Linux Up-to-date

Alright, pushed some changes to the next branch on github, with both support for middle-click & a config tweak to remove buttons from notifications. You can use e.g. this PKGBUILD to install it.

Offline

#89 2013-04-25 01:00:02

American_Jesus
Member
From: Lisbon/Portugal
Registered: 2011-07-20
Posts: 37

Re: kalu: Keeping Arch Linux Up-to-date

Middle-click works great, but still no "System upgrade" without notification button being checked.

By the way that PKGBUILD doesn't work, here's a working PKGBUILD


Archlinux X86_64

Offline

#90 2013-04-25 07:42:56

jjacky
Member
Registered: 2011-11-09
Posts: 347
Website

Re: kalu: Keeping Arch Linux Up-to-date

- PKGBUILD: it does, but there was typo in the source URL, fixed.

- kalu: you need to quit kalu & manually edit your ~/.config/kalu/kalu.conf to add NotifButtons=0 in the [options] section. After that enable the button "Upgrade system" in Preferences.

Offline

#91 2013-04-29 07:22:28

adam777
Member
Registered: 2012-05-28
Posts: 161

Re: kalu: Keeping Arch Linux Up-to-date

Small issue - mouse scroll doesn't work in the log section of the system upgrade window.
I thing it began with the gtk3 3.8 update, but perhaps it relates to the oxygen-gtk theme.

Offline

#92 2013-04-29 08:59:57

jjacky
Member
Registered: 2011-11-09
Posts: 347
Website

Re: kalu: Keeping Arch Linux Up-to-date

Not sure if the theme could break this, but it does work fine here (no oxygen though, I use zen-blua).

Offline

#93 2013-05-03 19:27:48

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

Re: kalu: Keeping Arch Linux Up-to-date

@jjacky Kalu was working well for me with Gnome 3.6 but since the upgrade to 3.8 it no longer shows in the bottom area or notifies me of updates. I have notify-osd installed. Any ideas?

Thanks!


Registered Linux user #436067

Offline

#94 2013-05-03 19:52:02

jjacky
Member
Registered: 2011-11-09
Posts: 347
Website

Re: kalu: Keeping Arch Linux Up-to-date

hmm... not really. So you're saying you don't see kalu's icon nor get notifications? Are you sure it's even running? Try starting it from a terminal and see if you get any output/error messages (Using --debug if needed).

Offline

#95 2013-05-03 20:37:33

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

Re: kalu: Keeping Arch Linux Up-to-date

jjacky wrote:

hmm... not really. So you're saying you don't see kalu's icon nor get notifications? Are you sure it's even running? Try starting it from a terminal and see if you get any output/error messages (Using --debug if needed).

Running from terminal I get no messages. With --debug I get lots of messages that don't show anything obvious, and kalu still doesn't show up in the notification area.


Registered Linux user #436067

Offline

#96 2013-05-03 20:52:25

jjacky
Member
Registered: 2011-11-09
Posts: 347
Website

Re: kalu: Keeping Arch Linux Up-to-date

Well, once kalu is started it should appear on the systray. What do you use to handle this? Maybe something there changed/needs something. As far as notification goes, with --debug you should get messages about kalu runing its checks & then showing notifications (assuming there's any to show, of course. If not you can just remove/rename ~/.config/kalu/news.conf so it will have something to report). If you do but don't see anything it's probably coming from your daemon (e.g. notify-osd). Does it show other notifications (w/ buttons) fine?

Offline

#97 2013-05-03 21:10:12

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

Re: kalu: Keeping Arch Linux Up-to-date

jjacky wrote:

Well, once kalu is started it should appear on the systray. What do you use to handle this? Maybe something there changed/needs something. As far as notification goes, with --debug you should get messages about kalu runing its checks & then showing notifications (assuming there's any to show, of course. If not you can just remove/rename ~/.config/kalu/news.conf so it will have something to report). If you do but don't see anything it's probably coming from your daemon (e.g. notify-osd). Does it show other notifications (w/ buttons) fine?

I removed the news.conf, restarted kalu from the command line and saw nothing at all. Is there another notifier I should be using? Here's the beginning of the --debug;

 kalu --debug
[17:08:45] kalu v2.0.1 -- debug mode enabled
[17:08:45] config: attempting to read file /home/dlouhy/.config/kalu/kalu.conf
[17:08:45] config: new section 'options'
[17:08:45] config: pacmanconf: /etc/pacman.conf
[17:08:45] config: NotifIcon: 1
[17:08:45] config: NotifIconUser: (null)
[17:08:45] config: interval: 900
[17:08:45] config: timeout: -1
[17:08:45] config: checks_auto: 31
[17:08:45] config: checks_manual: 31
[17:08:45] config: cmdline_link: xdg-open '$URL'
[17:08:45] config: check for pacman/kalu conflict: 1
[17:08:45] config: action: 2
[17:08:45] config: confirm postsysupgrade: 1
[17:08:45] config: cmdline_aur: pacaur -u
[17:08:45] config: sane sort order: 1
[17:08:45] config: syncdbs in tooltip: 1
[17:08:45] config: OnSglClick: 1
[17:08:45] config: OnDblClick: 2
[17:08:45] config: OnSglClickPaused: 6
[17:08:45] config: OnDblClickPaused: 5
[17:08:45] config: new section 'template-upgrades'
[17:08:45] config: title: $NB updates available (D: $DL; N: $NET)
[17:08:45] config: package: - <b>$PKG</b> $OLD > <b>$NEW</b> (D: $DL; N: $NET)
[17:08:45] config: sep: \n
[17:08:45] config: new section 'template-watched'
[17:08:45] config: title: $NB watched packages updated (D: $DL; N: $NET)
[17:08:45] config: new section 'template-aur'
[17:08:45] config: title: AUR: $NB packages updated
[17:08:45] config: package: - <b>$PKG</b> $OLD > <b>$NEW</b>
[17:08:45] config: new section 'template-watched-aur'
[17:08:45] config: title: AUR: $NB watched packages updated
[17:08:45] config: new section 'template-news'
[17:08:45] config: title: $NB unread news
[17:08:45] config: package: - $NEWS
[17:08:45] config: finished parsing /home/dlouhy/.config/kalu/kalu.conf
[17:08:45] config: attempting to read file /home/dlouhy/.config/kalu/watched.conf
[17:08:45] config: finished parsing /home/dlouhy/.config/kalu/watched.conf
[17:08:45] config: attempting to read file /home/dlouhy/.config/kalu/watched-aur.conf
[17:08:45] config: finished parsing /home/dlouhy/.config/kalu/watched-aur.conf
[17:08:45] config: attempting to read file /home/dlouhy/.config/kalu/news.conf
[17:08:45] config: finished parsing /home/dlouhy/.config/kalu/news.conf
[17:08:45] skip period: none set
[17:08:45] state busy: switch icons
[17:08:45] drop last_notifs
[17:08:45] downloading https://www.archlinux.org/feeds/news/
[17:08:45] downloaded 13671 bytes
[17:08:45] -> netctl is now in [core]
[17:08:45] -> MariaDB replaces MySQL in repositories
[17:08:45] -> qt4 replaces qt
[17:08:45] -> Changes to LVM
[17:08:45] -> Final sysvinit deprecation warning
[17:08:45] -> Update filesystem-2013.01-1 and glibc-2.17-2 together
[17:08:45] -> December: time for a new install medium
[17:08:45] -> End of initscripts support
[17:08:45] -> November release of install media available
[17:08:45] -> Bug Squashing Day: Saturday 17th November
[17:08:45] adding new notif (10 unread news) to last_notifs
[17:08:45] showing notif: 10 unread news
- netctl is now in [core]
- MariaDB replaces MySQL in repositories
- qt4 replaces qt
- Changes to LVM
- Final sysvinit deprecation warning
- Update filesystem-2013.01-1 and glibc-2.17-2 together
- December: time for a new install medium
- End of initscripts support
- November release of install media available
- Bug Squashing Day: Saturday 17th November
--- EOF ---
[17:08:45] new notification: using kalu's icon (small)
[17:08:45] parsing pacman.conf (/etc/pacman.conf) for options
[17:08:45] config: attempting to read file /etc/pacman.conf
[17:08:45] config: new section 'options'
[17:08:45] config: arch: x86_64
[17:08:45] config: checkspace
[17:08:45] config: SigLevel: Required
[17:08:45] config: SigLevel: DatabaseOptional
[17:08:45] config: new section 'core'
[17:08:45] config file /etc/pacman.conf, line 76: including /etc/pacman.d/mirrorlist 

Registered Linux user #436067

Offline

#98 2013-05-03 22:35:03

jjacky
Member
Registered: 2011-11-09
Posts: 347
Website

Re: kalu: Keeping Arch Linux Up-to-date

Looks like kalu is sending the notification. Does notify-osd show other notifications fine? You could try stopping it & starting it from a terminal, then running kalu... in case it would show some error as to why it doesn't show the notification. Not sure what's happening; All I can say is kalu seems to work fine, and is known to work with notify-osd.

Offline

#99 2013-05-03 22:48:44

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

Re: kalu: Keeping Arch Linux Up-to-date

jjacky wrote:

Looks like kalu is sending the notification. Does notify-osd show other notifications fine? You could try stopping it & starting it from a terminal, then running kalu... in case it would show some error as to why it doesn't show the notification. Not sure what's happening; All I can say is kalu seems to work fine, and is known to work with notify-osd.

Well. I have no clue. I rebooted and now it works. Maybe that's what I needed to do in the first place. I figured starting from the command line or from Alt-F2 it would work. Perhaps it did have something to do with notify-osd. Anyway, thanks for the replies.

Edit: Spoke too soon. I rebooted to make sure my theory was correct and now kalu won't show up again.

Last edited by oboedad55 (2013-05-03 22:53:11)


Registered Linux user #436067

Offline

#100 2013-06-07 07:16:58

javum
Member
Registered: 2009-07-31
Posts: 21

Re: kalu: Keeping Arch Linux Up-to-date

Hi, jjacky!

I have some feature requests:
1. Can you implement two custom icons (for each state)? I know, that you are using one color icon and making it gray programmaticaly. But if I want two gray icons (light for no updates and dark for available updates)? Maybe icons-theme support implementation will be the better solution, but I don't know the hardness of this implementation.
2. kalu updater is good, but I have missed additional info about opt depends and another information and mini howtos, which some packages have during installation. Than I decided to use external command to run pacaur in terminal, but kalu has no info when the updating process is over and it tries to check for update immediately after starting external command. Maybe there is another solution?

Anyway the program is great and I love it! Thanks!

Offline

Board footer

Powered by FluxBB