<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<blockquote type="cite">
<pre wrap=""><div class="moz-txt-sig">Date: Wed, 31 Aug 2016 09:00:49 +0200
From: Andrej Kacian <a class="moz-txt-link-rfc2396E" href="mailto:andrej@kacian.sk"><andrej@kacian.sk></a>
Subject: Re: [Users] Moving /.claws-mail Directory
On Wed, 31 Aug 2016 09:28:50 +0600
Dustin <a class="moz-txt-link-rfc2396E" href="mailto:dustbiz@gmail.com"><dustbiz@gmail.com></a> wrote:
</div></pre>
<blockquote type="cite" style="color: #000000;">
<pre wrap="">I'm looking for the best way to move the /.claws-mail directory from
its default location to another location.
</pre>
</blockquote>
<pre wrap="">Hi, just move it to wherever you want, and use claws-mail's
--alternate-config-dir option to point the application to the new
location.
Regards,
<div class="moz-txt-sig">--
Andrej</div></pre>
</blockquote>
Thanks, Andrej, this is what I was looking for and you saved me a
lot of time. There the solution was, "in plain sight". :) Your
prompt, concise, and professional reply is much appreciated.<br>
<br>
In case it's helpful for other users, here's how I integrated this
change into my desktop environment (DE) (after testing it via the
terminal), with the end-goals of not needing to rely on a terminal
command to start Claws Mail (CM), and avoiding confusion of menu
shortcuts.<br>
<br>
Context: Ubuntu 14.04 LTS, GNOME Flashback (Metacity) DE<br>
<br>
The ideal solution for me was to edit the application menu shortcut
for CM by using the command<br>
<br>
sudo gedit /usr/share/applications/claws-mail.desktop<br>
<br>
to open the settings file for the CM menu shortcut
(claws-mail.desktop) in a text editor (gedit) as root (sudo), and
then change the line<br>
<br>
Exec=claws-mail %u<br>
<br>
to<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<title></title>
<meta name="generator" content="LibreOffice 4.2.8.2 (Linux)">
<style type="text/css">
<!--
@page { margin: 0.79in }
p { margin-bottom: 0.08in; direction: ltr; color: #000000; widows: 0; orphans: 0 }
p.western { font-family: "Times New Roman", serif; font-size: 12pt; so-language: en-US }
p.cjk { font-family: "DejaVu Sans", "Arial Unicode MS", sans-serif; font-size: 12pt; so-language: zh-CN }
p.ctl { font-family: "Times New Roman", serif; font-size: 12pt; so-language: bn-BD }
a.western:link { so-language: zxx }
a.ctl:link { so-language: zxx }
-->
</style>Exec=claws-mail --alternate-config-dir
/path/to/desired/config/dir/location %u<br>
<br>
where "/path/to/desired/config/dir/location" was the path to the
location where I had copied the /.claws-mail directory.<br>
<br>
If you prefer, you can add a CM launcher to the panel by using Alt +
R-click to get your panel options, choosing to copy the app menu
shortcut and then making the same change as above to the command
string.<br>
<br>
If you like desktop shortcuts, there's also a way to do that,
although I didn't bother testing it.<br>
<br>
If you choose either of the two latter approaches and don't want to
be confused by the CM menu shortcut, there's also a way that can be
deleted.<br>
<br>
Good chance there are also one or more GUIs out there that can make
the above edits for those who aren't into editing system files.<br>
<br>
And if you're on a different distro or using a different DE or
windows manager, you should be able to figure out how to do the
same/similar thing by spending a bit of time in the relevant docs.
(The details will likely be different than above, but the "theory"
will likely be similar.)<br>
<br>
As a further note, if for some reason CM can't find the /.claws-mail
directory at the place where it's been told to look, it will simply
throw an error (only in the terminal) and not start. After this,
once it is able to find it again, it will open normally without any
ill effects from the previous failed attempt.<br>
<br>
I plan to stay subscribed to this list, so feel free to let me know
if you have any follow-up questions/comments on this.<br>
<br>
Dustin<br>
</body>
</html>