Topic: Can i define location of custom element collection?
By command line or config file?
(makes syncing and multiboot easier)
You are not logged in. Please login or register.
QElectroTech → EN : Help, suggestions, discussions, ... → Can i define location of custom element collection?
By command line or config file?
(makes syncing and multiboot easier)
See --config-dir argument !
https://qelectrotech.org/wiki_new/doc/o … ements-dir
Example :
laurent@debian:~$ mkdir Qtest
laurent@debian:~$ qelectrotech --config-dir=/home/laurent/Qtest
laurent@debian:~$ ls -al Qtest/
total 56
drwxr-xr-x 4 laurent laurent 4096 févr. 6 20:24 .
drwxr-xr-x 129 laurent laurent 20480 févr. 6 20:24 ..
drwxr-xr-x 3 laurent laurent 4096 févr. 6 20:24 elements
-rw-r--r-- 1 laurent laurent 20480 févr. 6 20:24 elements_cache.sqlite
drwxr-xr-x 2 laurent laurent 4096 févr. 6 20:24 titleblocks
Ah great, and thanks for the quick reply
Suggestion:
When issuing (like I did)
$ qelectrotech --help
it explain that option like:
--config-dir=DIR Definir le dossier de configuration
I dont know much french, but to me it looks like it say "Define configuration folder"
But QET still store configuration in ~.config/QElectroTech/QElectroTech.conf !
Instead it works like you say So please update the --help to reflect reality - that it defines the base dir of custom elements and title blocks
OR if you like, make that option really point to the configuration file, and make a new option
--custom-dir=DIR base folder of custom elements and title blocks
OR... was it meant that configuration file should be stored on the base folder of custom elements and title blocks?
(would also be nice if output in english if system language is not french, but most users guess the meaning anyway )
BTW, You could open English man in sources files
[10:35:27] laurent@debian:~$ cat ~/Qet-svn/qet_directory/man/files/man1/qelectrotech.1
.TH QELECTROTECH 1 "AUGUST 2008" QElectroTech "User Manual"
.SH NAME
qelectrotech \- Electric diagrams editor
.SH SYNOPSIS
.B qelectrotech
.B [\-\-common\-elements\-dir\fR=\fIDIR\fB]
.B [\-\-config\-dir\fR=\fIDIR\fB]
.B [\-\-lang\-dir\fR=\fIDIR\fB]
.B [\-\-help]
.B [\-v\fR|\fB\-\-version]
.B [\-\-license]
.B [\fIFILE\fB]....SH DESCRIPTION
QElectroTech is an electric diagrams editor. Diagrams (*.qet) and electric elements (*.elmt) are stored using the XML format.
The elements that can be used in diagrams may come from the common collection or from the user's custom collection.
Typically, the common collection is readable by all users but it can't be edited by them.
Each user owns its custom collection he can modify as he wants.
.SH OPTIONS
.TPetc..
Available man files:
~/Qet-svn/qet_directory/man/files$ ls
be cs el es fr fr.ISO8859-1 fr.UTF-8 it man1 nl pl pt ru
[font=monospace][10:40:00] laurent@debian:~/Qet-svn/qet_directory/man/files$ tree[/font]
[font=monospace].
├── be
│ └── man1
│ └── qelectrotech.1
├── cs
│ └── man1
│ └── qelectrotech.1
├── el
│ └── man1
│ └── qelectrotech.1
├── es
│ └── man1
│ └── qelectrotech.1
├── fr
│ └── man1
│ └── qelectrotech.1
├── fr.ISO8859-1
│ └── man1
│ └── qelectrotech.1
├── fr.UTF-8
│ └── man1
│ └── qelectrotech.1
├── it
│ └── man1
│ └── qelectrotech.1
├── man1
│ └── qelectrotech.1
├── nl
│ └── man1
│ └── qelectrotech.1
├── pl
│ └── man1
│ └── qelectrotech.1
├── pt
│ └── man1
│ └── qelectrotech.1
└── ru
└── man1
└── qelectrotech.1[/font][font=monospace]25 directories, 13 files[/font]
Yes I know, these man files need to be corrected, because we added Qt QSettings in 0.5 version
http://doc.qt.io/qt-5/qsettings.html#pl … ific-notes
QElectroTech → EN : Help, suggestions, discussions, ... → Can i define location of custom element collection?
Powered by PunBB, supported by Informer Technologies, Inc.
Generated in 0.021 seconds (23% PHP - 77% DB) with 11 queries