# Tint2 panel vanishes

**URL:** https://forum.maboxlinux.org/t/tint2-panel-vanishes/1313
**Category:** Hardware
**Created:** [April 12, 2023, 4:57am UTC](https://forum.maboxlinux.org/t/tint2-panel-vanishes/1313 "2023-04-12T04:57:34Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![grg1202](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/grg1202/32/2214_2.png) [@grg1202](https://forum.maboxlinux.org/u/grg1202)
#### Post date: [April 12, 2023, 4:57am UTC](https://forum.maboxlinux.org/t/tint2-panel-vanishes/1313/1 "2023-04-12T04:57:34Z")

</div>

## Tint2 Panel Keeps Vanishing

### Logitech K400+ issue

#### System:

- HP T730
- 16GB Ram
- 1TB SSD
- Branch Stable
- Kernel 6.1.23-1-Manjaro
- 23.03 lstredd
- Logitech keyboard K400+

#### Problem:

Regardless of which tint2 panel I choose, the panel keeps getting  
unchecked in the configuration app.  
This started happening after updating the system at the end of March, 2023.

#### Troubleshooting:

After doing some research I typed in the terminal:  
`tint2 -c ~/.config/tint2/mabox2001.tint2rc`

Which return several lines, however, this error kept repeating:  
`tint2:found power device hidpp_battery_0`  
`tint2:/usr/src/debug/tint2/tint2/src/battery/linux.c:142:`  
`read failed for /sys/class/power_supply/hidpp_battery_0/present`  
`tint2:failed to initialize battery"hidpp_battery_0'`

This error continued repeating til:  
`segmentation fault(core dumped)`  
At which time the panel disappears.

/usr/src/ is an empthy directory.  
/sys/…/present file doesn’t exist.

Using the keyboard reduces the times the error repeats before the  
core is dumped.

I tracked this to the usb dongle of the Logitech K400+ keyboard  
and trackpad I am using.

I have no issues with connecting to the keyboard/trackpad combo.

I’ve used the keyboard on other machines both windows and linux  
(not Mabox or tint2) without issue. This unit worked flawlessly til  
the end of March after that large update.

The dongle has the latest software.

I installed solaar and using `solaar show` outputs several  
paragraphs of information which included the battery’s condition.  
Changing batteries didn’t resolve the issue. Batteries are at 90%.  
Turning off keyboard and/or removing the batteries didn’t alter  
the problem. Only removing the dongle fixes the problem.

I install other Logitech dongles for other keyboard and/or mice  
and they worked flawlessly. However, none of those dongles supply  
the amount of information the K400+ dongle does when using `solaar`.

Any help in resolving this issue would be greatly appreciated.  
Thanks…

---

<div class="post-metadata">

### Author: ![napcok](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/napcok/32/410_2.png) [@napcok](https://forum.maboxlinux.org/u/napcok)
#### Post date: [April 12, 2023, 6:42am UTC](https://forum.maboxlinux.org/t/tint2-panel-vanishes/1313/2 "2023-04-12T06:42:37Z")

</div>

Hello @grg1202 and welcome to the forum,

I would try to remove the battery indicator from the tint2 configuration…

```auto
grep panel_items ~/.config/tint2/mabox2001.tint2rc
panel_items = PPLTSBCPP

```

Remove letter B then try to start tint2.

---

<div class="post-metadata">

### Author: ![grg1202](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/grg1202/32/2214_2.png) [@grg1202](https://forum.maboxlinux.org/u/grg1202)
#### Post date: [April 12, 2023, 3:42pm UTC](https://forum.maboxlinux.org/t/tint2-panel-vanishes/1313/3 "2023-04-12T15:42:24Z")

</div>

Thanks for the reply. Unfortunately, It didn’t work. It does, however, take longer to fail.

Any other ideas?  
Thanks…

---

<div class="post-metadata">

### Author: ![grg1202](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/grg1202/32/2214_2.png) [@grg1202](https://forum.maboxlinux.org/u/grg1202)
#### Post date: [April 13, 2023, 6:56pm UTC](https://forum.maboxlinux.org/t/tint2-panel-vanishes/1313/4 "2023-04-13T18:56:00Z")

</div>

Hello napcok,  
On top of removing the `B` in panel\_items I removed the `%p` from the `bat1_format` in the `Battery` section and just left it blank. This took care of the error. This isn’t a laptop so I don’t need a battery indicator.

Thanks for the help…

---

<div class="post-metadata">

### Author: ![rhadamanthys](https://forum.maboxlinux.org/letter_avatar_proxy/v4/letter/r/a5b964/32.png) [@rhadamanthys](https://forum.maboxlinux.org/u/rhadamanthys)
#### Post date: [April 13, 2023, 8:40pm UTC](https://forum.maboxlinux.org/t/tint2-panel-vanishes/1313/5 "2023-04-13T20:40:09Z")

</div>

same happened to me. But since is a notebook, i would like to have the battery indicator and tint2 working. Any suggestion?

---

<div class="post-metadata">

### Author: ![napcok](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/napcok/32/410_2.png) [@napcok](https://forum.maboxlinux.org/u/napcok)
#### Post date: [April 13, 2023, 9:57pm UTC](https://forum.maboxlinux.org/t/tint2-panel-vanishes/1313/6 "2023-04-13T21:57:17Z")

</div>

I found my dusty laptop, updated it and the tint2 battery indicator is working fine for me… Maybe it’s a hardware specific (?)

> [@rhadamanthys](#):
>
> same happened to me. But since is a notebook, i would like to have the battery indicator and tint2 working. Any suggestion?

Just remove built-in tint2 battery indicator from config. Install cbatticon and use it instead.
