Looking for "hello world" introduction to mate panel apps

About writing shell scripts and making the most of your shell
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Locked
fishol

Looking for "hello world" introduction to mate panel apps

Post by fishol »

Hello, i want to code some apps that will appear in mate panel, near the clock. It could be cool to make this app available to turn on via "add to panel" button from context menu that appears after right click on the panel.

At the moment i would like to make an clock-like app, that counts down work time.

I can work with any language, but if there are no limitations on that, it would be cool to make that app in java, since i like it most.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29615
Joined: Wed Jul 06, 2011 3:58 am

Re: Looking for "hello world" introduction to mate panel app

Post by xenopeek »

Java :shock: After all the bad press it is getting right now? Does anybody still have it installed :) Probably a better bet in C, as that was the common programming language for GNOME2. The source code for the MATE applets is here: https://github.com/mate-desktop/mate-applets (all in C). So you could pick one that looks a bit like what you want to do, and perhaps copy & paste to get it to where you want it to go?

There's some documentation links (not specific to applets) on the MATE wiki: http://wiki.mate-desktop.org/contribute. You could also try the MATE development forum for seeing if anybody has more useful links to share specific to writing MATE applets: http://forums.mate-desktop.org/viewforu ... 655aa30de1.

Perhaps old GNOME2 applet tutorials will still be of use, though things will have changed from moving GNOME2 to MATE. Here is a "hello world" example as a GNOME2 applet: http://projects.gnome.org/ORBit2/appletstutorial.html.
Image
Locked

Return to “Scripts & Bash”