PDA

View Full Version : Other folder than Home


Ketobitus
05-14-2007, 07:01 PM
Maybe its not the first time someone asks and ive found that topic in the spanish forum but my spanish is bad.
(Why can't them speak english like everyone on the internet does...)
To Topic: How can i get Regnum to store its files in another folder than home?

i created
~/spiele/ro
copied all the stuff there and started rolauncher. it starts to load the files down again in the home folder.

2. approach
i deleted all files related to regnum (also the hidden ones in the home dir). downloaded rolauncher again into the above created folder, started it and it still downloads all files into my home dir.

does someone know how to workaround this?

ArcticWolf
05-14-2007, 07:22 PM
make a file that contains the following:


cd ~/regnum_folder
./rolauncher


Make it executable..

Ketobitus
05-14-2007, 07:24 PM
i did as you easily can see if you read my post

ArcticWolf
05-14-2007, 07:25 PM
i did as you easily can see if you read my post
Nononono, run the file i told you to create... You'll see it works.

Mine is:

cd ~/rol/
aoss ./rolauncher

Ketobitus
05-14-2007, 07:27 PM
ahh, the power of misunderstanding ^^
done it from the konsole and that did the trick :)
thx

Ycremon
05-19-2007, 09:34 AM
ahh, the power of misunderstanding ^^
done it from the konsole and that did the trick :)
thx

Keto erkläre mir das doch mal so das ich es auch verstehe

wie ausfühbar machen und in Konsole starten ???



Translation (not by goggle)
Keto explain me that again so that even i can understand that
How to make it executable and start it from the konsole

Froste
05-19-2007, 11:59 AM
chmod 755 filename

arlick
05-28-2007, 10:46 AM
type that:

$ touch my_rolauncher.sh
$ echo -e '#/bin/sh\ncd ~/spiele/ro\n./rolauncher' > my_rolauncher.sh
$ chmod +x my_rolauncher.sh

and thats all ;), u can execute it in two ways:

1) ./my_rolauncher.sh
2) sh my_rolauncher.sh

Regards.

Ycremon
06-04-2007, 07:52 AM
Thx I'm gonna try that when I'm back from work

Ketobitus
06-04-2007, 11:04 AM
als pinguin ei (linux newb) hab ichs nen bisschen anders gemacht. ich hab regnum in das verzeichnis installiert in dem ichs haben will, soweit logisch, dann hab ich nen texteditor aufgemacht und mir nen script zum starten in dem ordner erstellt, also:

#!/bin/sh
cd ~/regnum_folder
./rolauncher

das hab ich dann mit

chmod 777 ~/regnum_folder/regnumscript

ausführbar gemacht und mir zum schluss ne verknüpfung zu diesem script auf den desktop gelegt.

----------------------------------------------------------------------------

as a linux newb i made it in a similar way, i installed regnum to the folder i like, opened an editor, created a script [code1], made it executable [code2] and put a shortcut to that script on my desktop.

arlick
06-04-2007, 12:49 PM
Thx I'm gonna try that when I'm back from work

But u have to change that:

$ echo -e '#/bin/sh\ncd ~/spiele/ro\n./rolauncher' > my_rolauncher.sh

and replace it with ur regnum folger

meuhlol
06-04-2007, 05:27 PM
My rolauncher and all data files are in /home/ziko/regnum...
And i want just an icon in my home who will launche rolauncher in /home/ziko/regnum & not in /home/ziko/, what I do:

I simply create an "nameoffile.desktop" in my home and open it with an text editor (Kate, im on KDE), after put this & save:
[Desktop Entry]
Comment=
Comment[fr]=
Encoding=UTF-8
Exec='/home/ziko/regnum/rolauncher'
GenericName=
GenericName[fr]=
Icon=exec
MimeType=all/allfiles
Name=Regnum Online
Name[fr]=Regnum Online
Path=$HOME/regnum
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DCOP-ServiceType=
X-KDE-SubstituteUID=false
X-KDE-Username=
X-Ubuntu-Gettext-Domain=desktop_kdebase

I think that we can also add some commands, like top in a line of "TerminalOptions=" *not tested, so to be confirmed :)

And it's all :)