mate-desktop / mate-panel

MATE panel
https://mate-desktop.org
GNU General Public License v2.0
185 stars 118 forks source link

Debugging guide request. #1450

Open tele1 opened 2 months ago

tele1 commented 2 months ago

Debugging guide request.

  1. How debug mate-panel from terminal? I suppose the system logs and this terminal command should be enough. mate-panel --replace & Am I right?

  2. How list available applets for mate-panel ?

  3. How list active applets on mate-panel ? I'm asking because I often have different menus available (LinuxMint-Menu / Mate-Menu). I don't know what advice to give the user to be sure about which menu he is using.

  4. Can I run any applet from terminal?

Sometimes I try to help users. So I created a general guide. https://github.com/tele1/LinuxTutorial/blob/main/Menu.md I don't like the guide, but I have no idea how to write it better at the moment or what is better than markdown. This is my collection of knowledge. The basics that a user should know. I wanted to include some tips about the Mate environment there as well.

lukefromdc commented 2 months ago

The panel and thus any in-process applets within it can be run under gdb with a two-step proces: gdb mate-panel followed by run --replace as arguments are accepted by the run command

For out of process applets, I don't know any way of running applets from terminal. There is the mate-panel-test-applets program, which does execute from terminal. I think it only works with out of process applets. Out of process applets are standalone binaries that need someplace to display in (the panel or the test program) while in-process applets are shared objects.

Not sure how to list all applets in use