Configuring the tint2 panel in Mabox

Originally published at: Configuring the tint2 panel in Mabox - Mabox Linux notes

Tint2 is a simple panel/taskbar made for OpenBox and other window managers. Tint2 is lightweight, very configurable and have powerfull GUI configurator – tint2conf.

In this article we will look how to configure basic tint2 options in Mabox: position, width, autohide, adding launchers to panel and so on.

tint2conf – powerfull GUI for tint2 configuration

![|717x789](upload://yB0cULmBx8wElsY9587YxF8Buts.jpeg)

tint2conf is a very powerful configurator, you can set up colors, gradients, buttons and executors and many other settings – and in fact create your own panel configuration entirely.

For basic settings, you’ll probably only need the Panel tab.
Here you can set, among others: position, width, height, auto-hide.

![|304x478](upload://fb5P315a7oObsZ51Qv7dKLAvidP.jpeg)

Panel launchers (icons)

A helper is available in Mabox, which is designed to facilitate adding/remove programs to the panel.

Go to menu super -> Mabox config -> Tint2 panels -> Add/Remove Launchers….

You will see menu like in the picture on right side. Just keep adding your favorite applications, the panel will be reloaded automatically.

You can type to search for your favorite program here.

Removing launchers is also very easy.

When everything you like is added hit Esc or just click outside menu to leave it.


Mini HW monitor in system tray

Another Mabox addition to tint2 panel is mini Hardware monitor in system tray. There are five monitors: CPU, RAM, Swap, Net and Disk IO.

Go to menu super -> Mabox config -> Tint2 panels to activate and configure it.

Left click on the monitor will launch LXtask.

![|970x557](upload://8gxzSGk6g8Hl1AqTUK30ZEAr3Az.jpeg)

Choose tint2

Mabox ships with several tint2 configuration files – located at ~/.config/tint2. To select which one you want to run use Tint2 chooser GUI script made by BunsenLabs (very good Openbox distribution based on Debian).
Go to menu super -> Mabox config -> Tint2 panels -> Choose Tint2…
You can also run more than one tint2 panel.

Reset to defaults

In case when trying to configure tint2 you break something and want to return to the default settings, you can use the command that will overwrite all tint2 configuration files to the version as shipped with the distribution.

Just execute the command in the terminal:

mb-reset tint2
2 Likes

Hi - Here I am supposed to be working but I find myself tinkering with my Linux Box.

This really is an excellent distribution thank you for the hard work.

2 Likes

I made a short video on this topic :slight_smile:

4 Likes

When I try it, when I try this, the following happens

claudio@Claudio-Mabox ~ $ mb-reset tint2
rm: no se puede borrar '/home/claudio/.local/share/fonts/lucide.ttf': No existe el fichero o el directorio
claudio@Claudio-Mabox ~ $

fc-list | grep lucide
/usr/share/fonts/TTF/lucide.ttf: lucide:style=Regular
if so, copy or make a symbolic link

cd /home/claudio/.local/share
ln -s /usr/share/fonts/TTF/lucide.ttf lucide.ttf

otherwise check first if lucide is installed

yay -Ss lucide
maboxlinux/ttf-lucide-font 0.46.0-1 (87.9 KiB 193.5 KiB) (Installed)
1 Like

Thanks, I’ll try this at evening, :+1::+1::+1:

Hi @zolw It doesn’t work. I don’t know why.



With L only one TTF = ligconsolata
I reset the PC and try again but I obtanin similar results.
I’ll try to install Lucide by manually and then try again.

Ok, I give up, I have lucide.ttf installed, created the symbolic link and it insists that the file does not exist so it won’t let me reset tint2.
lucide-fallo
lucide-en-ttf

yay -S ttf-lucide-font
this installs the font

cd /home/claudio/.local/share
ln -s /usr/share/fonts/TTF/lucide.ttf lucide.ttf

if needed

Lucide font is not used anymore. It was used for tint2 and menus glyphicons, and shipped with Mabox long time ago. So I added command to remove it to mb-reset script.
Just ignore this console message. This font is not needed anymore.

1 Like

Too late, I installed Lucide and reset again but I still can’t add launchers. Maybe in some time I’ll take up the initiative again. It’s very difficult for me, being a newbie to find bugs, I guess I’m doing it wrong. I’ll find the right way.
Thank you very much. :+1: