Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » Linux improvements
Re: Linux improvements [message #13248 is a reply to message #13244] |
Wed, 26 December 2007 00:03 |
mdelfede
Messages: 1307 Registered: September 2007
|
Ultimate Contributor |
|
|
luzr wrote on Tue, 25 December 2007 19:33 |
...........
* Configuration files ("ConfigFile") are put under .upp directory instead directly to root
|
Uhmmmm... I don't like too much that one.
I have upp (devel) in ~/sources/uppdev, so theide don't find config anymore.
In Linux is usual to keep config files on a per-user basis in its home dir as before.
IMHO, the best would be (as sometimes in windows) to keep configs on the dir where app resides (I know, now Linux purists will shoot me ), pity that on unix there's no reliable way (AFAIK) to find the path where app resides and, more, usually that path is owned by root, so not writeable.
At the end, the best way would be :
1) Keep theide executable in /usr/bin
2) Keep upp sources somewhere in /opt/upp
3) Keep MyApps (and user files...) somewhere inside user home dir
4) Config files should stay on user home dir.
On an user view, on first ide run cfg files, samples, maybe references AND MyApps folders should be copied somewhere in user home path, maybe asking user where.
There also should be the possibility to run thede with different config files, in order to keep the ability to run more versions of theide.
The *best* would be a common (user) cfg file containing more profiles. For example :
<default>
test
stable
devel
myprofile1
myprofile2
Each giving different configs. You could then run
with default profile; or
with 'myprofile1' configs.
There should also be some profile manager on theide itself.
It looks (maybe) complicated, but it's done for example in AutoCAD and it works quite well.
That could be done both on windows and Linux sides.
Ciao
Max
EDIT : Now I've seen how it works and it's not bad at all
Cfg files are kept as before with executable names (ide, theide, ecc...), but without initial dot (.) and in ~/.upp, so
instead of
as before.
That's similar of what I meant, besides the lack of ability to give a profile when executable is run.
I'll put a little howto in next svn update.
Ciao
Max
[Updated on: Wed, 26 December 2007 00:34] Report message to a moderator
|
|
|
|
|
Linux improvements
By: mirek on Tue, 25 December 2007 19:33
|
|
|
Re: Linux improvements
By: mdelfede on Wed, 26 December 2007 00:03
|
|
|
Re: Linux improvements
By: mirek on Wed, 26 December 2007 11:16
|
|
|
Re: Linux improvements
By: mdelfede on Wed, 26 December 2007 11:57
|
|
|
Re: Linux improvements
By: mirek on Wed, 26 December 2007 14:18
|
|
|
Re: Linux improvements
By: gertwin on Wed, 26 December 2007 14:50
|
|
|
Re: Linux improvements
By: mirek on Wed, 26 December 2007 20:54
|
|
|
Re: Linux improvements
By: gertwin on Thu, 27 December 2007 09:58
|
|
|
Re: Linux improvements
By: gertwin on Thu, 27 December 2007 11:23
|
|
|
Re: Linux improvements
By: gertwin on Thu, 27 December 2007 11:25
|
|
|
Re: Linux improvements
By: mirek on Thu, 27 December 2007 18:14
|
|
|
Re: Linux improvements
By: gertwin on Thu, 27 December 2007 21:01
|
Goto Forum:
Current Time: Fri May 10 23:51:50 CEST 2024
Total time taken to generate the page: 0.02302 seconds
|