[Users] Running Clawsmail from boot

Charles Curley charlescurley at charlescurley.com
Sun Apr 16 19:49:46 CEST 2017

On Sun, 16 Apr 2017 18:28:30 +0100
sue butler <suevb01 at gmail.com> wrote:

> 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....

Do you really want to run it from boot? If you do run it at boot, you
may be running it as root, not what you want. Linux reserves root for
system work, which may be ticklish. Also, root has full access to the
system, and can therefor do a lot of damage.

Much better to run user applications (such as claws-mail) as your user.
You may prefer to set it to launch on login, not on boot. How you do
that depends on your window and session managers.

> When I start Claws from the command line using/$ claws-mail/ I get a 
> similar response, but the command line hangs until I use ^C although 
> Claws starts up and runs OK.

Right. Running just

$ claws-mail

runs CM in the foreground, and blocks the shell. To run it in the
background and get back the use of the shell, run instead

$ claws-mail &

(Note the ampersand.)

> I am relatively new to the Raspberry Pi, Linux and Claws, but have 
> managed to work most things out.

:-) You were bitten by one of the many and subtle differences between
Windows and Linux/Unix.


The right of the people to be secure in their persons, houses, papers,
and effects, against unreasonable searches and seizures, shall not be
violated, and no Warrants shall issue, but upon probable cause,
supported by Oath or affirmation, and particularly describing the
place to be searched, and the persons or things to be seized.
-- U.S. Const. Amendment IV

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB

More information about the Users mailing list