<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif" size="-1">Hi<br>
My aim is to run Claws from boot, and despite trying various
methods I just cant do it, I wonder whether anyone has any
suggestions....<br>
<br>
I am relatively new to the Raspberry Pi, Linux and Claws, but have
managed to work most things out. I now have Clawsmail with the
Python Plugin running on a Raspberry Pi. (Noobs setup) It runs
just fine, and I am really pleased with it. There are no issues
at all when I start it from the desktop screen. I have a Python
plugin script that runs when email arrives from specific accounts
. This too works fine.<br>
<br>
My problems arose when trying to start Clawsmail from boot...<br>
<br>
</font><font face="Helvetica, Arial, sans-serif" size="-1"><font
face="Helvetica, Arial, sans-serif" size="-1">Initially I
thought the lack of success was my inability to use crontab
correctly, so downloaded the very simple Gnome Scheduler. In
this I have tried 3 different approaches:<br>
Running the python script mentioned below<br>
Using a shell script <br>
Just putting "claws-mail" <br>
At the moment I am trying to run these on an hourly schedule,
rather than on reboot, but none appear to work. (Other scripts,
not related to Claws, work fine.) <br>
<br>
</font> I have a simple Python3 script which is designed to check
the internet connection, and then start Claws. When it is run from
the command line it opens Claws, but with output:<br>
<br>
<i>** (claws-mail:4201): WARNING **: Trying to register gtype
'GtkCMUnit' as enum when in fact it is of type 'gint'</i><br>
<br>
in this case, the prompt line reappears once Claws is loaded and
the warning has been printed out. Claws appears to work normally.<br>
<br>
When I start Claws from the command line </font><font
face="Helvetica, Arial, sans-serif" size="-1"><font
face="Helvetica, Arial, sans-serif" size="-1">using<i> $
claws-mail</i></font> I get a similar response, but the
command line hangs until I use ^C although Claws starts up and
runs OK.<br>
If I receive mail that triggers the Python Plugin before hitting
^C then I get another line of output:</font><font face="Helvetica,
Arial, sans-serif" size="-1"><br>
<br>
<i>sys:1: Warning:
/build/glib2.0-tTvduh/glib2.0-2.42.1/./gobject/gsignal.c:2540:
handler '4014' of instance '0x603300' is not blocked </i><br>
<br>
Sometimes I am then unable to shut claws down normally, after
these messages, and even "killing" it takes a long time. BUT if I
close the command line window after </font><font face="Helvetica,
Arial, sans-serif" size="-1"><font face="Helvetica, Arial,
sans-serif" size="-1"><font face="Helvetica, Arial, sans-serif"
size="-1"><i>$ claws-mail</i></font></font> then Claws closes
too.<br>
<br>
I suspect that this is the reason that my attempts to run any
programs to start Claws from boot result in no action at all -
.maybe Claws opens, but then immediately shuts down?<br>
<br>
Any advice gratefully received,<br>
<br>
Thank you,<br>
Sue<br>
<br>
<br>
</font><br>
<br>
<br>
<br>
<br>
</body>
</html>