General :: Ubuntu - Set The Working Directory Of An Application?
Feb 24, 2010
So I am using Komodo edit, and it thinks that my current directory is /home/username1/ Yet my files are in /home/username1/workspaces/ruby/project1
Why won't Komodo recognize that my working directy is that of the current file? Same with situation when I use Komodo Edit to launch a command ("ruby [complete path+file name]"), ruby can't find its require dependencies unless I give a complete path because it too seems to think it is working out of /home/username1/
View 1 Replies
ADVERTISEMENT
Apr 27, 2010
I have to set up my development environment under OEL 5.4. The internal directory structure is more or less fixed, the question is where to put the whole application tree in standard FHS for the development phase.For production, the system will be deployed on a server where data is kept with an Oracle 11g database. Development goes with JDeveloper which has its own internal application/project directory structure; however, I whould like to be independent from this. Unfortunately, by carefully studying the web for FHS, if I will adhere to it I only find ready-made packages to put under /opt, for example. No development aspects are mentioned. make some proposal, possibly with respect to best practices.
View 4 Replies
View Related
May 15, 2011
Just a simple question
Code:
$ cat -
do in the Bash? I know 'cd -' changes directory to the previous working directory, but 'cat - ' does not seem to do the same thing.
View 3 Replies
View Related
Aug 16, 2010
I have backup_server and application_server.backup_server has directory AAA. I need to check from application serverthat is there any new files created today in the AAA dirctory. if yes, all files were created today or partial files?.
View 10 Replies
View Related
Mar 18, 2010
Please explain why
Code:
echo some_directory | xargs cd
is not working.
Code:
echo some_directory | xargs ls
is working as expected.
View 14 Replies
View Related
Apr 4, 2011
I am just looking for an application that given two directories, for example /home and an USB disk of 500 GB, can comparate the files and subdirectories present in each directory, so I can know the files that are present in one directory but aren�t in the other.I do not know if the explanation is clear. but I just need some tool that can indicate me what files to copy from one place to another when periodically I do backups of my data...
View 1 Replies
View Related
Aug 27, 2009
I have a project in my web server (apache tomcat). I am using red hat. I have flashfiles directory in webapps/myproject/flashfiles. I can possibly access the files in the flashfiles directory as
http://localhot:8080/files/personal.swf
I have to secure the directory by accessing it only within the web application. Please, help me to secure the directory using web server or in red hat.
View 2 Replies
View Related
Feb 15, 2011
this is gonna be changed to another thread
View 1 Replies
View Related
Aug 1, 2010
I came from the Debian world so I did not do much building software from source. I successfully built wine from source, now the wine binary is in the same directory where the Makefile and all of the other source stuff is. I can run wine from that directory fine, but I sort of want to move it somewhere else. I tried moving the wine binary somewhere else, but when I try to run it I get
[code]...
What all do I have to move into the new directory to get wine working in the new directory? By convention, where should I move wine, I want it available for all users, should I move it to /opt/wine, or /usr/local/wine, or somewhere else?
View 6 Replies
View Related
Jun 23, 2011
need to know, how we can display the whole (till current directory) path in below highlighted way. normally it shows only the name of current working directory after the server name.
View 3 Replies
View Related
Nov 15, 2010
I'm searching for something like crontab. but the action should not be executed at a specific time but after a file or directory change. I'd like to run some scripts as soon a new file is in a predefined directory.
A daemon / shellscript would be really great. Does anybody know something like that?
View 9 Replies
View Related
Aug 31, 2010
If I'm using gnome-terminal in a working directory whose path includes symlinks and I open a new tab, the symlinks will be expanded to their destinations in the working directory of the new tab.
Is there any way to preserve the symlinks when opening a new tab?
View 1 Replies
View Related
Jun 8, 2010
I would like to keep track of not only what bash commands I used and when, but also where they were issued from, i.e. what was the current working directory when I issued "foobar" on a particular day and time. Can we ask bash history to keep track of working directories too? I have tried to get an idea of this reading the enormous "man bash", but I don't seem to have an answer yet either way.
View 11 Replies
View Related
Apr 14, 2010
So, I have this application called Impact, it is an explicit time integration Finite Elements code written in Java...
[url]
I untar the pack, and launch the application calling a script, from within the untarred folder,
Code:
This launches a gui which allows me to setup a case, which needs some setup file, tipically some *.in and a mesh file, tipically some *.msh.
Other mode of executuion consists of calling the setup file as argument to Impact.sh script ( CLI execution mode, for g33k5 )
My problem is : I have packed the whole stuff into a Slackware .tgz, that places it in /usr/local/Impact, and placed a calling script in /usr/local/bin,
Code:
Code:
I decided to hack the ImpactGUI_OGL_linux_amd64.sh script from
Code:
Code:
no avail,
Code:
even after adding /usr/local/Impact/bin to PATH... won't go...
I can run this thing from within its directory... but I do not like messing within the directories of my applications, this is why I sent this to /usr/local, and placed a calling script in /usr/local/bin...
View 4 Replies
View Related
Aug 18, 2011
I use a small application called bendometer.jnlp. On my desktop running 10.04 it runs fine after opening with "OpenJDK Java 6 Web Start".
I have installed the same application on my brand new laptop running Ubuntu 11.04 and it was running perfectly until yesterday. Yesterday it hung during the startup and since I killed the hung process it has refused to start again. If I now run it in a terminal using the command
Code:
javaws "/home/steve/Music/Bendo/bendometer.jnlp"
I get the following errors
Code:
Unable to use Firefox's proxy settings. Using "DIRECT" as proxy type.
Exception in thread "Thread-2" java.lang.InternalError: Corrupt LRU file entries
at net.sourceforge.jnlp.cache.CacheLRUWrapper$1.compare(CacheLRUWrapper.java:184)
at net.sourceforge.jnlp.cache.CacheLRUWrapper$1.compare(CacheLRUWrapper.java:172)
[Code]....
View 2 Replies
View Related
Jun 8, 2011
I want to change working directory of my script by another script that has been included.
First script:
#!/bin/bash
pwd
source script2
pwd
Sedond script:
cd ..
pwd
View 5 Replies
View Related
Oct 23, 2009
I was just trying to install some packages at the gpk-application 2.27.2, but they are not compatible. For some reason I can't install anyting. I have Fedora Leonidas. In another forum they told me that my package installer is not the proper for this version
View 1 Replies
View Related
Oct 23, 2010
The dictionary keeps hanging and then fails with the message Error while looking up definition
Connection failed to the dictionary server at dict.org:2628
I am using Fedora 13, 64 bit version.
Also, firefox can't seem to get into dict.org.
Is there some problem with the site?
Is there some alternate dictionary source I can specify for the application?
View 2 Replies
View Related
May 25, 2010
I was wondering how the current working directory is maintained in linux. I assumed it would simply be an environment variable, but all attempts i've made to change directory by resetting variables shown by env have failed.Is this something that is maintained internally in the command prompt (bash in my case)?The background to this is I'm setting up a script to remotely run commands over ssh. Since separate commands will unfortunately require separate SSH connections, I need to maintain (save and reload) items such as environment variables and current working directory from one call of the script to the next.
View 4 Replies
View Related
Feb 13, 2011
Well I want install Picasa on ubuntu. I downloaded the deb file and installed it and picasa is also showing in application-graphics, but when i click it nothing happens. And when I right click any image there is no option for open with picasa. And also in ubuntu software center when I searched for picasa in installed program to remove it I found nothing. I cant figure it out how to do this. So as you can see picasa is showing as it is installed but nothing happens.
View 3 Replies
View Related
Aug 31, 2011
I have downloaded an application for the sake of Monte Carlo simulation calculations from this link [url] and i discovered that i it didn't work in fedora 14 and it worked in knoppix , and i need it in fedora since my simulation software only works under fedora platform , How to make this tar source installed in fedora 14.
View 2 Replies
View Related
Jan 3, 2010
i just installed fedora 12 and got conky working like i want. i created a '.conkyscript.sh' in my home folder to run conky that looks like this...
Code:
#!/bin/sh
sleep 15 && conky
[code]....
View 4 Replies
View Related
Mar 22, 2010
I have started to work with c++ and autotools.
I mainly maintain an application and a shared library as a hobby.
Nothing professional yet, because I want to understand the best practice strongly recommended by advanced professional programmers.
I check out my sources into $HOME/repository and svn creates:
Where I get c++ sources/headers + configure.ac and Makefile.am
Now I need to understand what is considered as a good practice for debugging application, either A), B) or something else.
A) install application and its dependency with:
or
B)
And then I debug the application in the place it was built. [$HOME/repository/app/src/]
View 2 Replies
View Related
Jul 12, 2011
I'm running Ubuntu 11.4. I've played with different versions of Picasa, installing the Linux version via Ubuntu Software Center and also using Wine. At a certain point I had several versions of the application installed and things were getting. When I search for Picasa in the Unity application search field (clicking the button with the dot in the centre at the top left of my screen) I got several results for Picasa, some of which when clicked would start Picasa and some which wouldn't. When I remove all versions of Picasa both from Wine and native I still get some results for Picasa which don't start Picasa when clicked.
View 2 Replies
View Related
Mar 13, 2011
I installed 11.4 and it seems to be working fine. To run few windows application I need WINE. I installed WINE using YAST Software Manager. But when I install application in WINE it's not working correctly. The same application is working fine in MINT/WINE.
View 2 Replies
View Related
Sep 15, 2011
I have searched the net but can't seem to find answer for this issue. I am using Opensuse 11.4 with KDE Version 4.7.1 and kernel 2.6.37.6-0.7-desktop on an Acer TravelMate 4200.I updated my system yesterday and since that update the default Application Launcher for KDE is not working, when you click on the launch icon you get the "Kickoff Application launcher" balloon dialog but nothing else happens. A sort of a work around for this issue is that I have found when the application launcher is switched to Classic Menu Style then the classic menu works without any problems. I would however like to use the default launcher and not the classic one as it has so much more functionality and is easier to use and navigate
View 4 Replies
View Related
Apr 13, 2010
I am using OMAP-L138 chip which has ARM 9 core and runs linux. The device which I am making stores some data. I have to retirve that data using USB interface. For this, I have to make an application which communicates with the device drivers provided by the ARM linux(which comes with the OMAP L-138 *) so that we can transfer the data stored in the device to a computer.
My question: Suppose I make such an application which makes the host Linux computer detect my device connected at its USB port and then transfer the stored data to the computer. Will windows computers be able to detect my device? What should I do so that my device can transfer data to both Linux and Windows pc?
View 2 Replies
View Related
Apr 12, 2010
I've just installed Ubuntu 10.04, trying out linux for the first time. I'm wondering if it's possible to link my documents folder in Ubuntu to my documents folder in Windows, so that when I open the folder in Ubuntu, I am linked to the folder in Windows.
View 1 Replies
View Related
Jun 14, 2011
Using the System->Preferences->"Gnome Startup Applications" interface, is it possible to run a program from an arbitrary directory?
Example:
I want to run a script: /home/user/directory/script.py
It has dependencies (right term?) in the directory it's in, so if I run "python /home/user/directory/script.py" I get an error.
Is there any thing I could type into the "Command" text box to get this script to run?
View 2 Replies
View Related
Jun 16, 2010
I am a student studying computer science course.
Well, I am facing problem when doing lab questions.
I must use DLXLinux bundled in Bochs (bochs.sourceforge.net).
I am required to use the /usr/local directory.
In /usr directory, there is no directory named 'local' but there is one thing called 'local@'. So, when I try to use mkdir command to create 'local' directory in /usr , there are error "cannot make directory.....".
Look at my screenshot at [url].
View 9 Replies
View Related