Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: redfrell on 03 October 2025, 21:09:52

Title: dzen2 -e option has no effect
Post by: redfrell on 03 October 2025, 21:09:52
I realise dzen2 has had no development for over a decade, so if there's a different package I should be using instead, I'd love to hear about it

When I pass -e option, it's supposed to allow me to define what happens with mouse buttons, keypress, etc, but no matter what I pass, I only get the default action, i.e. button3=exit.

The command looks like this:
Code: [Select]
echo "List" | dzen2 -x $X -y $Y -w $WIDTH -l 6 -p -m v -sa l -ta -c -fg grey20 -bg grey50 -e 'button1=menuprint,exit:13' < menu_file

Am I missing something in the docs?  My reading says this should print the selected menu entry to STDOUT so I could pipe it to another utility, but it sticks to the default behaviour where button1 executes the menu entry.  I've tried assigning other actions to button1 and button3 and it has no effect.