[PATCH 1/1] Use ~/.subsurface as default directory on Linux

Miika Turkia miika.turkia at gmail.com
Tue Oct 13 10:06:42 PDT 2015


On Tue, Oct 13, 2015 at 7:52 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
> On Tue, Oct 13, 2015 at 07:46:54PM +0300, Miika Turkia wrote:
>> On Sun, Oct 11, 2015 at 10:10 PM, Miika Turkia <miika.turkia at gmail.com> wrote:
>> > On Sun, Oct 11, 2015 at 8:30 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
>> >> On Sun, Oct 11, 2015 at 12:04:11PM +0300, Lubomir I. Ivanov wrote:
>> >>> On 11 October 2015 at 11:28, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
>> >>> > On 11 October 2015 at 08:36, Gaetan Bisson <bisson at archlinux.org> wrote:
>> >>> >> Hi guys,
>> >>> >>
>> >>> >> I only just noticed that cloud storage now uses (and automatically
>> >>> >> creates) the ~/subsurface directory. Perhaps I missed some discussion
>> >>> >> about it, but I would much prefer a name that starts with a dot. Does
>> >>> >> the attached patch makes sense to you?
>> >>> >>
>> >>> >
>> >>> > ACK.
>> >>> >
>> >>>
>> >>> the dot is the way to go,
>> >>>
>> >>> i find it odd that ~/subsurface (no dot) was the suggested path for
>> >>> the user default XML, since version 2.0 (or something) and nobody
>> >>> complained
>> >>> i think this indicates that nobody was using the default XML path on Linux.
>> >>
>> >> I'm not sure that's true - we did a few odd things that people seemed to
>> >> just accept. But now is the time to fix it :-)
>> >>
>> >> I'll take Gaetan's patch and that fixes this issue.
>> >
>> > This patch causes the log file to always be opened in edited mode. (I
>> > have my preferences set to load the log from the old location, as I
>> > suppose most of our users currently have.)
>>
>> This annoyance is still there. I would call it a blocker if log is
>> always marked as modified.
>
> I don't see that. So I wonder what's different. I guess I need to start
> with all preferences cleared and try again?

Let's see. My configuration is quit old, as yours should be. I have
not tried to clear anything. But I would think that someone else
should run into this when upgrading.

I have configured Subsurface to use local file as default, with path:
/home/mturkia/subsurface/Miika.xml

On terminal I get the following messages (not sure if my Marble is up-to-date):
---8<---
Ignoring to load the following file since it doesn't look like a valid
Marble plugin: "/boot/initrd.img-3.19.0-30-generic"
Reason: "'/boot/initrd.img-3.19.0-30-generic' is not an ELF object"
Ignoring to load the following file since it doesn't look like a valid
Marble plugin: "/boot/initrd.img-3.19.0-28-generic"
Reason: "'/boot/initrd.img-3.19.0-28-generic' is not an ELF object"
Ignoring to load the following file since it doesn't look like a valid
Marble plugin: "/boot/vmlinuz-3.19.0-30-generic"
Reason: "Permission denied"
Ignoring to load the following file since it doesn't look like a valid
Marble plugin: "/boot/vmlinuz-3.19.0-28-generic"
Reason: "Permission denied"
qt.network.ssl: QSslSocket: cannot resolve SSLv2_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv2_server_method
cannot open "/home/mturkia/.subsurface/hashes"
---8<---

The last line is the only one related to the change to .subsurface
directory. Apparently .subsurface is not created even though it is
used for something. This just makes me wonder what else might have to
be taken into account when changing the name of default directory. Or
is it even wise to switch for old users that already have everything
under the old dir.

miika


More information about the subsurface mailing list