Sample Header Ad - 728x90

Show stdout and stderr in Zenith

0 votes
1 answer
164 views
I am trying to install .deb file by right clicking on it in Nemo. My Nemo Action Looks like: [Nemo Action] Name=Install Deb File Comment=Install %F Exec= Icon-Name=package-x-generic-symbolic Selection=s Extensions=deb; EscapeSpaces=true Dependencies=zenity;dpkg; My zenity_askpass.sh file looks like: #!/bin/bash zenity --password --title="Authenticate" My install_deb_file.sh file looks like: #!/bin/dash export SUDO_ASKPASS="$HOME/.local/share/nemo/actions/scripts/zenity_askpass.sh" sudo dpkg -i "$1" How can I modify install_deb_file.sh so that it install the .deb package and show the stdout / stderr of sudo dpkg -i "$1" in zenity.
Asked by Ahmad Ismail (2998 rep)
Jun 21, 2022, 05:16 AM
Last activity: Jun 21, 2022, 06:58 AM