OXP directory in Ubuntu 7.04?

For discussion of ports to POSIX based systems, especially using GNUStep.

Moderators: winston, another_commander, Getafix

Post Reply
Fraoch
Competent
Competent
Posts: 54
Joined: Thu Jun 14, 2007 3:45 pm

OXP directory in Ubuntu 7.04?

Post by Fraoch »

From what I can tell, it doesn't seem to be created on install.

I created an "AddOns" directory in /usr/lib/GNUstep/System/Applications and put the ETT Homing Beacon OXP in it, but nothing.

I have consulted http://wiki.alioth.net/index.php/OXP#Linux for Debian, but there's no AddOns directory in any of the directories mentioned,
User avatar
Shade
Above Average
Above Average
Posts: 31
Joined: Sun Jun 24, 2007 7:29 pm

Post by Shade »

Under debian, I'm not sure if I created it manually or not, but $HOME/.Oolite/AddOns worked great. (Vs. 1.65 and current CVS.) Since we're kissing cousins I'd imagine it's the same. :)
Fraoch
Competent
Competent
Posts: 54
Joined: Thu Jun 14, 2007 3:45 pm

Post by Fraoch »

This directory didn't exist for me, so I created it. Not sure if it worked. I noticed it took a little longer to start up.

Now I have to get to a high tech level planet to see if it worked.

Thanks for the advice.
Fraoch
Competent
Competent
Posts: 54
Joined: Thu Jun 14, 2007 3:45 pm

Post by Fraoch »

Unfortunately, it didn't work.:(
Fraoch
Competent
Competent
Posts: 54
Joined: Thu Jun 14, 2007 3:45 pm

Post by Fraoch »

Ah-HA!

This was right:

/usr/lib/GNUstep/System/Applications

I just needed to fully expand the .OXP directory. I put the directory containing the .OXP directory in there, that didn't work. I needed to go up one level.
User avatar
Shade
Above Average
Above Average
Posts: 31
Joined: Sun Jun 24, 2007 7:29 pm

Post by Shade »

Fraoch wrote:
Ah-HA!

This was right:

/usr/lib/GNUstep/System/Applications

I just needed to fully expand the .OXP directory. I put the directory containing the .OXP directory in there, that didn't work. I needed to go up one level.
Under linux, the thing is, if you don't use a directory under $HOME, you're installing the OXPs globally. Not a big deal if a) You're the only user, b) You 100% trust the sandboxing on OXPs. [It's not that I don't. I just don't know them well enough.]

On the Wiki:
http://wiki.alioth.net/index.php/OXP#Linux

If you're using .debs on Debian $HOME/.Oolite/AddOns should work. Otherwise: $HOME/.local/lib/Oolite/AddOns should do it.

1) I found a typo in the Wiki for the Debian path-- They had Addons, not AddOns. I'll change that. I'm not sure if this is still case sensitive.
2) In addition to my nagging above, I really hate the though of non-managed files (like OXPs) on my '/'. But I can be a little anal.

EDIT: This might sound stupid, but on the log in / create new account page on the wiki, I can't see a create new account link....
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Shade wrote:
Under linux, the thing is, if you don't use a directory under $HOME, you're installing the OXPs globally. Not a big deal if a) You're the only user, b) You 100% trust the sandboxing on OXPs.
I don’t. OXPs can execute semi-arbitrary code in Oolite. I wouldn’t recommend running it as root.
Silvain
Mostly Harmless
Mostly Harmless
Posts: 2
Joined: Wed Jan 02, 2008 5:19 am

Need clarification on path to put OXP files in

Post by Silvain »

In the post I see
Otherwise: $HOME/.local/lib/Oolite/AddOns should do it.
Does ".local" equal your "username" ? Or should I take it literally meaning that I need to create these directories manually ?
Silvain
Mostly Harmless
Mostly Harmless
Posts: 2
Joined: Wed Jan 02, 2008 5:19 am

update: found the ".local" folder

Post by Silvain »

Ok, I found the ".local" folder and manually created the path from there on. I am using Gutsy Gibbon Ubuntu 7.10 . Will try dropping the OXP files into that directory then and check for Behemoth functionality.
User avatar
winston
Pirate
Pirate
Posts: 731
Joined: Mon Sep 27, 2004 10:21 pm
Location: Port St. Mary, Isle of Man
Contact:

Post by winston »

Shade wrote:
EDIT: This might sound stupid, but on the log in / create new account page on the wiki, I can't see a create new account link....
If you went straight to the oolite section you may have missed the notice on the front page - new account creation is disabled because the spamming was reaching unmanagable levels. PM me if you want an account and I can create it.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

winston wrote:
If you went straight to the oolite section you may have missed the notice on the front page - new account creation is disabled because the spamming was reaching unmanagable levels. PM me if you want an account and I can create it.
You may have noticed that spam accounts were reaching unmanageable levels here, then almost completely stopped. This is due almost entirely to reCAPTCHA, which happens to have a MediaWiki plug-in. Just sayin’. :-)
User avatar
winston
Pirate
Pirate
Posts: 731
Joined: Mon Sep 27, 2004 10:21 pm
Location: Port St. Mary, Isle of Man
Contact:

Post by winston »

That's very interesting. I'll look into adding that.
Post Reply