Re: [qubes-users] zenity is not installed in dom0 by default in Qubes-OS 4.1.0

2022-02-17 Thread Andrew David Wong

On 2/17/22 3:40 AM, Peter Funk wrote:

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


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

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/368510a0-3540-e8de-5ac0-9019f62223ad%40qubes-os.org.


[qubes-users] zenity is not installed in dom0 by default in Qubes-OS 4.1.0

2022-02-17 Thread Peter Funk
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, 2 Ganderkesee, Germany; :+49-179-640-8878 
homeoffice ☎:+49-4222-950270

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/Yg40KVrds3wR8UJ7%40arbeit.


signature.asc
Description: PGP signature