Closed sputnick-dev closed 1 month ago
Option --question
is invalid for yad, but it is valid for zenity. Are you sure you weren't using zenity before?
Yad version 10.9 is quite old. The latest yad version is 14.1. However, upgrading won't add option --question
.
yad
simply ignore --question
, thanks for the tip, but this is not the issue there.
question's mode is the default.
My issue is about icon.
I see. I downloaded your icon and tested it in yad 14.0 with this command yad --window-icon /tmp/icon.png --title comment
and it worked for me. The icon is displayed in the window title bar, which is managed by your window manager (openbox, in my case).
PS It isn't quite true that yad simply ignores --question
. Yad will ignore invalid options only if it's configured to do so otherwise it will stop without displaying the dialog. See the "ignore unknown command-line options" checkbox in the yad-settings
command.
Now:
$ yad --version
14.1 (GTK+ 3.24.41)
Still no icon. Any way to have it with xfce4
?
Still no icon. Any way to have it with xfce4 ?
Don't know, don't have xfce4. Maybe a question for the Mint forums?
xfce4
forum, no? You think LinuxMint
is more accurate?
Ask both forums, no?
Solution:
echo 'show_app_icon=true ' >> /usr/share/themes/$(xfconf-query -c xfwm4 -p /general/theme)/xfwm4/themerc
I use:
This was working on a previous version, but now nothing.
The file can be opened with the same user running
yad
.I use LinuxMint Wilma xfce4 and
yad 10.90 (GTK+ 3.24.30)
The PNG icon: