On Wed, 29 Jan 2020 15:52:51 -0800
John Jason Jordan <[email protected]> dijo:
>The Home script root cron job runs at 3am, the
>Root script runs at 4am, and I have created a new job in my own crontab
>to open a popup with gxmessage at 5am. When I sit down at the computer
>tomorrow morning I should see a popup on the screen with two lines, one
>for /home and one for /.
>
>I am crossing my fingers.
I must have uncrossed my fingers during the night.
This morning I see that the two root cron rsync scripts ran perfectly,
and the log file contains the two lines saying that each ran with exit
code 0. But the cron job in my own crontab did not produce the popup on
my desktop. The command is:
gxmessage -name Home/jjj_backup -geometry 1300x200 -center -fg black
-font "Junicode 22" -file /home/jjj/Software/Rsync_daily_log.txt
When I run that command from the terminal myself it produces the popup,
but with the error message:
dbind-WARNING **: 08:54:42.335: Couldn't register with
accessibility bus: Did not receive a reply. Possible causes
include: the remote application did not send a reply, the
message bus security policy blocked the reply, the reply
timeout expired, or the network connection was broken.
When I run the command I am happy to ignore that message. I can only
conclude that cron is not so forgiving. This may also be why trying to
run the command directly from the root rsync scripts failed.
When I run the command with xmessage I do not get the error message,
but xmessage does complain about the -font part, and it displays the
two lines in a font that is about 1mm high - illegible without a
magnifying glass. I tried Zenity, but got the same error message as
above, and it did not display the popup. Yad, a fork of zenity,
displays the popup, but gives the same error message. Notify-send
cannot read from a file, so that won't work. I'm out of popup message
tools.
Yet another price I pay for running Linux on a UHD display. I should
add that everything that runs before the desktop appears is in the same
tiny font, including the Xfce login window, which is about half the
size that it ought to be. I have ignored this issue long enough; it's
time I worked on fixing it.
The xmessage problem can apparently be solved only by changing the
default font size for X, and if I can do that it will probably solve a
few other font size problems that I have. But so far my web searches
have not come up with how to do that. Does anyone know how X gets its
font information? Surely it can it be changed, but how?
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug