Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
mdelfede is currently offline  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 Smile ), 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
theide

with default profile; or
theide -p myprofile1

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 Smile
Cfg files are kept as before with executable names (ide, theide, ecc...), but without initial dot (.) and in ~/.upp, so
~/.upp/ide
~/.upp/theide

instead of
~/.ide
~/.theide

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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TheIDE i18n - export .tr file
Next Topic: Sql::
Goto Forum:
  


Current Time: Fri May 10 23:51:50 CEST 2024

Total time taken to generate the page: 0.02302 seconds