zenity is not installed in dom0 by default in Qubes-OS 4.1.0

18 views
Skip to first unread message

Peter Funk

unread,
Feb 17, 2022, 6:40:37 AM2/17/22
to qubes-users
Hello all,

While playing around with a freshly installed Qubes-OS 4.1.0
I discovered by accident that there are a few core commands
which make still use of the utility program zenity to display
error messages but the package zenity is not
installed in dom0 by default. For me the fix was easy::

sudo qubes-dom0-update zenity

I added the missing tool. Out of curiosity I had a look into
the sources and found at least three places which make use of
zenity::

$ grep -rn zenity .
./qubes-core-admin-linux/file-copy-vm/qfile-dom0-agent.c:23:#define ZENITY_CMD "zenity --title 'File copy/move error' --warning --text "
./qubes-core-admin-linux/dom0-updates/qubes-dom0-update:187: zenity --error --text "$message1\n$message2"
./qubes-core-admin-linux/dom0-updates/qubes-dom0-update:334: zenity --info --title='Dom0 updates' --text='No updates available'

So since kdialog is also not installed by default I believe this
could be considered as a bug in the default package selection.

Either zenity should be installed in dom0 by default or these three
places in qubes-core-admin-linux should be changed to some other
mechanism to display error messages.

Best regards, Peter Funk
--
Peter Funk ✉:Oldenburger Str.86, 27777 Ganderkesee, Germany; 📱:+49-179-640-8878
homeoffice ☎:+49-4222-950270
signature.asc

Andrew David Wong

unread,
Feb 17, 2022, 4:19:47 PM2/17/22
to Peter Funk, qubes-users
Thanks for the bug report, Peter. I've copied it into qubes-issues:

https://github.com/QubesOS/qubes-issues/issues/7280

--
Andrew David Wong
Community Manager
The Qubes OS Project
https://www.qubes-os.org
Reply all
Reply to author
Forward
0 new messages