[APP] - mntray - Manjaro announcements tray app

Continuation of https://archived.forum.manjaro.org/t/mntray-manjaro-announcements-tray-app/

mntray

A Manjaro Linux announcements notification app

A small app which informs about announcements from manjaro.
It creates a tray icon with a menu showing the latest announcements from the Manjaro forum RSS feed.

Announcements are retrieved from a http server (see mnserver) via post request.

This project is based on Qt and the Qt binding package for golang.
In order to run this app the qt5-base package needs to be installed on your system.

Forum member @Frog made a nice introduction video :smiley: about mntray and explains some features.
Have a look…

16 Likes

Great little app, thanks for this :+1::+1:

1 Like

I noticed now with the new forum, due to the restructuring, the ARM news are not crawled anymore.
Will fix that this weekend.

Also for the twitter news I think I found a solution (which should also be implemented this weekend).

atm I cannot compile with qt 5.15 to make any changes to the client (the qt binding just does not work with that version yet; should be fixed soon looking at the comments from the developer though) ,

Anyways those two things mentioned above can be fixed server side.

Still considering the switch to vala/gtk3. We’ll see. I don’t have too much time to dig into it atm.

1 Like

ARM announcements and Twitter posts should be working again.

Twitter implementation is still a bit hacky (it works but I don’t like how it does things :wink: )
Working on that tomorrow.

1 Like

New version has been released.
Finally the qt binding is able to deal with qt 5.15 and I can compile again :smiley:

I’ve fix the categories which can be selected according to the new forum layout.

Could someone update the package? @schinfo @Strit

PKGBUILD v1.1.2
# Maintainer: Mario Oenning <mo-son[at]mailbox[dot]org>
# Maintainer: Helmut Stult  <helmut[at]manjaro[dot]org>

pkgname=mntray
pkgver=1.1.2
pkgrel=1
pkgdesc="A Manjaro Linux announcements notification app"
arch=('x86_64' 'aarch64')
url="https://github.com/moson-mo/mntray"
license=('MIT')
depends=('qt5-base' 'qt5-declarative')
conflicts=("${pkgname}")
options=(!strip)
source_x86_64=("$url/releases/download/v$pkgver/${pkgname}-linux-x64-v$pkgver.tar.gz"
        "https://raw.githubusercontent.com/moson-mo/${pkgname}/master/LICENSE.md")   
source_aarch64=("$url/releases/download/v$pkgver/${pkgname}-linux-arm64-v$pkgver.tar.gz"
        "https://raw.githubusercontent.com/moson-mo/${pkgname}/master/LICENSE.md")    
          
sha256sums_x86_64=('1ff28beed6e7cfbc70198dcf3fbeb37a8299c13b4ccf0bf886733392f16dd711'
                   '7464e5e1670895c267a2951820f166972dab35d6869d4fcf7c68668eccfdfeb6')
sha256sums_aarch64=('8b674581fb549ec6f6a77b214dd24fde1ca1146d8053a0e695b09dd5fe6a62c3'
                    '7464e5e1670895c267a2951820f166972dab35d6869d4fcf7c68668eccfdfeb6')

package() {
	install -Dm755 "${pkgname}" "$pkgdir/usr/bin/${pkgname}"
	install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/LICENSE.md"

    install -Dm644 ${pkgname}.png "$pkgdir/usr/share/icons/hicolor/256x256/apps/${pkgname}.png"
    install -Dm644 ${pkgname}.desktop "$pkgdir/usr/share/applications/${pkgname}.desktop"
    install -Dm644 ${pkgname}.desktop "$pkgdir/etc/xdg/autostart/${pkgname}.desktop"
    install -Dm644 ${pkgname}-regular.png "$pkgdir/usr/share/icons/hicolor/64x64/status/${pkgname}-regular.png"
    install -Dm644 ${pkgname}-news.png "$pkgdir/usr/share/icons/hicolor/64x64/status/${pkgname}-news.png"
}

Thanks,
MO

1 Like

1.1.2 uploaded to arm-unstable. :slight_smile:

1 Like

So I set this to hide unless there’s something new, but I’ve decided I want the tray icon back now, and I can’t figure out how to get it back. Is there a way to get it back without waiting for a new news item?

You can open it from your menu. :slight_smile:

Hmm, when I do that, it just pops up on the taskbar then immediately goes away again.

That hide option does not work well on some DE’s.

You can do the following:

killall mntray

Afertwards edit ~/.config/mntray/settings.json

Change HideNoNews parameter to false:

"HideNoNews": false,

Save and then start mntray again.

2 Likes

did it! thank you!

1 Like