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 about mntray and explains some features.
Have a look…
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.
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?
I have the opposite problem: I have disabled mntray’s startup option, but it still launches automatically. I’ve had too many issues in Linux after uninstalling distro packages in the past, so I don’t want to uninstall mntray.
Hmm, looks like an autostart file was added in the package.
@Strit any idea why it was added? mntray itself places a file in the users ~/.config/autostart directory.
Now with this there are two autostarts, one system-wide and one user specific… (hence autostart can not be really deactivated anymore from the app settings since the global one still remains).
Yeah, I see the point. Seems it’s shipped preinstalled with some ISO’s as well now. Like gnome (and arm ones?) in which case it makes sense.
If a user installs it manually I would expect him/her to run it immediatey as well though (which would then create the user autostart entry)
Could it maybe be changed so that the global one is not created and then add it to manjaro-settings… packages in skel instead (as it is done with manjaro-hello…)
Otherwise the autostart setting within the app is useless and it can’t be deactivated from setting (also it tries to start twice then i guess)
@Strit Nevermind. I will change that in the program.
Instead of deleting the autostart file in the user config folder I can set an option “Hidden=true”.
That way it will work as intended since the user file takes precedence over global one.
First of all this app is awesome and you’ve done a great job with it
and now onto my question.
I’m trying to build mntray from source following your instructions @moson
How to build
Install go from your package manager or download it from the Golang site.
Install Qt bindings for Golang: go get -u -v github.com/therecipe/qt/cmd/...
Download this package with: go get -d github.com/moson-mo/mntray
Change to package dir: cd $(go env GOPATH)/src/github.com/moson-mo/mntray/
Set environment variable QT_PKG_CONFIG: export QT_PKG_CONFIG=true
Run: $(go env GOPATH)/bin/qtdeploy build desktop from the mntray directory
The binary will be in the deploy/linux/ dir
But I get stuck on change package directory with an error no such file or directory everything else seems to complete normally do I need to do anything with GO before this works?
My system fully updated Manjaro Stable branch. Kernel 5.10 LTS KDE plasma
oh and I installed go from the repository
Let me see. Actually quite some time ago since I last built it
I guess some stuff has changed in the meanwhile with gomodules.
Btw. I do have a successor (matray) in the pipeline, completely redeveloped in vala / Gtk.
Wanted to release since quite some time already but never made it lol (it is actually ready).