-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
It seems to be a bug of zenity supposedly fixed but it is still there:
But a work-around is to use --no-wrap
So this patch use that to get a less ugly (zenity) dialog
--- notification/chkboot-desktopalert 2019-04-16 23:00:54.000000000 +0200
+++ notification/chkboot-desktopalert 2019-12-26 18:36:18.489598435 +0100
@@ -11,12 +11,12 @@
XMESSAGE=/usr/bin/xmessage
ZENITY=/usr/bin/zenity
-NOTIFICATION="This notification will continue to appear until you either run chkboot again as root or restart your computer"
+NOTIFICATION="This notification will continue to appear until you\n- either run chkboot again as root\n- or restart your computer"
if [ -s $chgfile ]; then
if [ -x $ZENITY ]; then
- cat $chgfile | $ZENITY --title "ALERT: Boot changes" --text-info --width 550 --height 300
- $ZENITY --title "chkboot" --info --text="$NOTIFICATION"
+ cat $chgfile | $ZENITY --title "ALERT: Boot changes" --text-info --width 640 --height 480 --no-wrap
+ $ZENITY --title "chkboot" --info --height=100 --width=100 --no-wrap --text="$NOTIFICATION"
elif [ -x $XMESSAGE ]; then
cat $chgfile | $XMESSAGE -default okay -file -
$XMESSAGE -default okay $NOTIFICATION
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

