Software :: Open A Terminal With A New Environment File?
Jun 14, 2011
I am playing around with OpenFOAM which is an application for CFD Analysis but anyway, I have a cshrc file which contains all the environment variables for running the program but rather than source these all the time as some of them conflict I want to be able to use a launcher program which opens a gnome-terminal and then sources this cshrc file. This is what I have so far but I am struggling:
Code:
gnome-terminal --command="source /etc/openfoam.cshrc"
When I run this command nothing happens! I have also tried this:
Code:
gnome-terminal
source /etc/openfoam.cshrc
This opens the terminal but does not source the file.
View 3 Replies
ADVERTISEMENT
Jul 8, 2010
How to open a file or application in terminal?
View 4 Replies
View Related
Sep 16, 2010
In Gnome, How do I open a file browser in the current directory? I assume its [command] . Whats the command?
View 3 Replies
View Related
Mar 5, 2011
Usually in Gnome, under Ubuntu, the terminal command I use is:
Code:
gnome-open (path)
In most cases, I won't know the path and I'd rather not search for it with:
Code:
locate (file name)
View 1 Replies
View Related
Feb 17, 2010
How to open the file below in terminal to extract.
/home/dave/Downloads/mplayer-vaapi-20081223.tar.bz2
View 2 Replies
View Related
May 9, 2010
getting this error when I try to use gedit to open and edit a file through terminal: (gedit:4423): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply:Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See [URL]... 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.) GConf Error: Failed I'm using ubuntu 10.04.
View 5 Replies
View Related
May 20, 2011
This must've been done before: I want to keep a log file open in terminal so I can monitor updates to it as they occur. My searches are coming up with everything but this situation... I must be missing some terminology or something key, because people do this all the time inside of other programs (NetBeans, or rails server, for example).
View 2 Replies
View Related
Oct 1, 2010
i trying to install firefox with the terminal but i Having Problem with the installation [URL]... libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
View 9 Replies
View Related
Jun 10, 2011
How to open a file using command line in terminal and edit the code within it ?code...
View 6 Replies
View Related
Jan 27, 2011
I am trying to write a .sh script that will source a file containing evnironment variables and then open a konsole terminal session that will have those settings.
View 2 Replies
View Related
Apr 13, 2011
I've tried a couple times to install from a tar.gz file and when i try to compile the source code in the terminal I get this error "tar: bash-4.2.tar.gz: Cannot open: No such file or directory" what am I doing wrong? Now when I download the files, I leave themin the down loads folder, do i need to make a new directory? If so how do I do that and how do i call it up when I compile the sopurce?
View 1 Replies
View Related
May 30, 2010
is there a Terminal command to open a Target file (same as the one opens when you want to upload a file), let user choose the file and when he clicks open, be able to save his choice?for example:echo "Choose source file"--> command needed to browseand then open or save path to that file
View 1 Replies
View Related
Aug 26, 2015
I got a problem with the terminal in GUI Environment after i upgraded it From debian 7 to 8 "it's not launching" ....
Root Terminal is Working....
View 3 Replies
View Related
Jun 12, 2011
I've added an export command to /etc/profile, but the environment variables don't show up when not using a terminal.
For example: when I add:
Code:
To my /etc/profile (then open a new terminal so it registers) and run a graphical program from that terminal, the graphical program can see see the environment variable A.
However if I add the export command to my /etc/profile, then reboot so everything registers, then run that same graphical program from a menu (such as Applications->Accessories->Myprogram), it can't see the environment variable.
What I'm trying to say is basically, my environment variables only show up if I run a program in a shell. Is there a way to set environment variables that will show even without a shell?
View 2 Replies
View Related
Aug 8, 2010
What is the command for "Open a terminal window and run application in this terminal
View 4 Replies
View Related
Mar 13, 2010
Whenever I boot my fedora 12, even before asking me for my login name, etc., there comes a message saying "Can't update IECauthority file : /var/gdb/.IECauthority" and hangs at the place. Even the mouse doesn't move. If I were able to open the terminal somehow, perhaps by changing the file permissions, I could get something. Also, when I boot from ubuntu 9.10 and try seeing what's in the /var directory of fedora, it doesn't show anything, even if I display the hidden files. If the directory gdb doesn't exist, why is it showing the error ?
View 7 Replies
View Related
May 14, 2011
I am trying to save the PATH environment variable from the Terminal running on a Ubuntu system.I typed in the following however it does not get saved.
export PATH=/home/david/Komodo-Edit-6/bin/:$PATH
View 1 Replies
View Related
Feb 12, 2010
In terminal, I use the command " export XXX="xxx" " to create a new environment variable, and then " env | grep XXX " to check if it is existed. But when I run the terminal again, the variable I created is disappeared. I've found it just can't save the variables I created..
View 3 Replies
View Related
Dec 1, 2010
I've fallen in love with Terminator as a replacement for the standard gnome-terminal app.
However, I'm also very much in the habit of using the nautilus-open-terminal extension for launching new terminal sessions.
I'd like nautilus-open-terminal to launch Terminator rather than gnome-terminal.
A quick search of my system and the web didn't reveal anything. i didn't find a gconf setting to control this. A quick look at the source code didn't help much either.
View 5 Replies
View Related
Jul 30, 2010
I have a problem that I can't seem to figure out. I can easily create a .sh file that will execute a command in Terminal, but as soon as it executes the terminal disappears. How do I get it to stay? My idea is to have the keyboard shortcut "ctrl+alt+del" open a .sh file with the contents "ps ax". Then it would be just like having a task manager; the terminal would open with "ps ax" already executed, and all I would have to do is kill the process number.
View 5 Replies
View Related
Sep 19, 2009
I am having issues getting a 32-bit environment to run something on my computer. Most people think this is a lame game, but I rather enjoy it and would like to continue playing it on this computer. I am running F11 x86_64 on an AMD Athlon 64 x2 6000+ Black Edition (OC'd at 3.4 in case anyone is wondering). I TRIED running yum to get the shared library referenced in the following message, but it gave conflicts on installation. Is there a way around this, such as installing a separate environment directory for just this game? Or is it just a lost cause?
[Code]....
The new problem is highlighted in the terminal output. I've searched the web for this issue, and it seems to be caused by an older lib included with glibc.i586, though I don't know how to verify or correct this. I tried a lot of things before finding this list.
View 10 Replies
View Related
Feb 17, 2010
I am mainly a Windows admin, but I do *NIX administration from time to time, for now I need to use an open source solution for backup windows environment mainly, I spent last days playing with bacula and backupPC, and I then chose backupPC, I built a solution with it seems working not bad, but before i go on deeper, I thought asking geeks here better, my main experience with back was with Vertias/Symantec Backup Exec, what do you recommend as most similar backup solution in Ubuntu offer a close level (I don't backup to tapes I back to hard disks), also a gui is preferred, while backupPC do a nice work and i handled its client config file (machine_name.pl), but I still do mistakes sometimes and troubleshooting is annoying, I have to backup files from users machines some of these files are running (like PST files), and I could need to backup a database or something from time to time. so whats your opinion all?
View 2 Replies
View Related
Jun 15, 2011
Kernel 2.6.21.5, slackware 12.0
Xfce 4.4.1
when I open a graphical terminal in the GUI, I appear as being the same user who ran X in order to enter the GUI, say user_foo, as said by whoami. But a program I usually use in a text console as user_foo, gets Command not found here. Furthermore, the name of the dir I am in does not appear in the prompt, whereas it does when in the text console.
I guess this has something to do with enheriting the environment, but don't know wht to do for this to happen. How do I open this GUI terminal? I do so by choosing among one of several ones in the DE main menu. When I click the menu entry, the terminal doesn't ask for a password.
View 15 Replies
View Related
Mar 9, 2011
With a desktop environment, there are file associations that goes with it. I'm a minimalistic user, who doesn't use any of such, but still want some kind of file associations to ease my burden. So I'm searching for a program that does something like the following. open file.pdf this will look at the extension, and translate to okular file.pdf. Of course one can always write a bash script to do this. I wonder if there is something existing, so I don't reinvent the wheel.
View 2 Replies
View Related
Apr 16, 2011
I am trying to include my directory /usr/sbin in it's serch path for executable files using an environment variable. Would the input be: PATH="/usr/sbin"? And also upon start up, my shell should create the PRINTER environment variable which should resolve to the word sales...would that input be: PRINTER="sales"? If someone could help me with these two questions,
View 3 Replies
View Related
Oct 27, 2010
I want to export the env variables in a file using a script,i tried using the below:for var in 'env'
do
var2=env|awk -F '=' '{print$1}'
echo "$var;export $var2">file.txt
[code]...
View 9 Replies
View Related
Jun 8, 2010
Running web service and dhcp only on 1pc of a 4pc lan. Optomized minimal slackware 13.1 install (no GUI)on 30g fireball for only one user (myself):
Question is howto work properly in terminal environment: the rule of thumb is not to work on system as root to maintain root's integrity; since i do not have /home for users - what identity do i create to work on files safely? Can you adduser identity without /home as to not work as root? I found 'netgroup' but i am not sure that setting up the id of other machines on lan is what need to do?
View 7 Replies
View Related
Mar 17, 2009
I have a MS Access database I would love to able to use in OOo. How do I do it
View 2 Replies
View Related
Dec 4, 2010
Does OpenSuSE have any base64 file converters? I've just heard that Ubuntu has one built in. I'm asking because I have some old archived emails (from Mozilla Mail) and some of the emails have attachments. I've been told a way to convert the jpg and gif images but I also need some pdf's and doc's and ms excel documents to convert too. I run SuSE 11.2 and I use KDE as my desktop environment.
View 9 Replies
View Related
May 15, 2010
when i double click a .txt file, i dont want gedit to open it, and instead, i would like it to open in terminal with it's output displayed (like cat .txt). how do i do this?
when i click on the .txt, i can get gnome-terminal to run, but i can't get it to open the .txt.
View 8 Replies
View Related