You are not logged in.

#1 2014-04-30 04:47:27

EvanPurkhiser
Member
From: San Francisco
Registered: 2010-08-17
Posts: 225
Website

[Not Possible] Move ~/.config/Trolltech.conf somewhere else?

Is there an environment variable or something similar I can set to move the QT configuration file? I'd like to move it to `~/.config/QT/Trolltech.conf` (or even better `~/.config/QT/config.conf`)

Last edited by EvanPurkhiser (2014-04-30 08:53:36)

Offline

#2 2014-04-30 08:51:40

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: [Not Possible] Move ~/.config/Trolltech.conf somewhere else?

I think it listens to XDG_CONFIG_DIRS, but a lot of programs do. So you would have to use XDG_CONFIG_DIRS pointing to ~/.config/QT/ for each QT app.


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#3 2014-04-30 08:53:11

EvanPurkhiser
Member
From: San Francisco
Registered: 2010-08-17
Posts: 225
Website

Re: [Not Possible] Move ~/.config/Trolltech.conf somewhere else?

You're right it does, I took a look through the source. Looks like it isn't possible without custom patching qt4.

Offline

#4 2014-04-30 12:39:12

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [Not Possible] Move ~/.config/Trolltech.conf somewhere else?

Depending on what your intentions are, another option would be to create a symbolic link:

$ mv ~/.config/Trolltech.conf ~/.config/QT/config.conf
$ ln -s ~/.config/QT/config.conf ~/.config/Trolltech.conf

Of course the original file will still be there in the form of a symbolic link, but if all you want to do is give it a more understandable name then it might help. I myself can never remember that the configuration file for Qt is called "Trolltech.conf". tongue

...By the way, "config.conf" is a terrible name for a file, right up there with "text.txt", "document.doc", and "jpg.jpg". wink

Offline

#5 2014-04-30 20:21:46

EvanPurkhiser
Member
From: San Francisco
Registered: 2010-08-17
Posts: 225
Website

Re: [Not Possible] Move ~/.config/Trolltech.conf somewhere else?

drcouzelis wrote:

Depending on what your intentions are, another option would be to create a symbolic link:

This is probably what I'll do. It would be nice to get that one dangling file into a directory though. Oh well!

drcouzelis wrote:

...By the way, "config.conf" is a terrible name for a file, right up there with "text.txt", "document.doc", and "jpg.jpg". wink

Haha, yeah I realized this half way through typing it out, but it was just sort of an example.

Last edited by EvanPurkhiser (2014-04-30 20:22:14)

Offline

Board footer

Powered by FluxBB