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

Fedora :: Open A File Or Application In Terminal?

Jul 8, 2010

How to open a file or application in terminal?

View 4 Replies View Related

Ubuntu :: Open A File Browser Through Terminal?

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

General :: Can Open A File Without Path Via Terminal

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

Software :: Open File Below In Terminal To Extract?

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

Ubuntu :: Use Gedit To Open And Edit A File Through Terminal?

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

General :: Logging - How To Keep A Live-updating Log File Open In Terminal

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

Ubuntu Installation :: Terminal Cannot Open Shared Object File

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

Fedora :: Open A File Using Command Line In Terminal And Edit Code Within It?

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

General :: Shell Script To Source An Env File And Open A Kde Konsole Terminal

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

Ubuntu Installation :: Compileing The Source Code In The Terminal - Cannot Open: No Such File Or Directory

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

General :: Open Browse For File Window And Save User Choice In Terminal?

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

Debian :: Terminal In GUI Environment Not Launching

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

Software :: Set Environment Variables That Don't Need Terminal ?

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

Ubuntu :: Command For "Open A Terminal Window And Run Application In This Terminal ?

Aug 8, 2010

What is the command for "Open a terminal window and run application in this terminal

View 4 Replies View Related

Fedora :: Can't Open Terminal To Correct ICEauthority Error - Can't Update IECauthority File : /var/gdb/.IECauthority"

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

General :: How To Save Environment Variable From Terminal

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

Ubuntu :: Cannot Save Environment Variables In Terminal?

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

Ubuntu :: How To Change Terminal App For Nautilus-open-terminal

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

Ubuntu :: Create A Command That Will Open Terminal And Keep It Open?

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

Fedora X86/64bit :: 32-bit Compatibility 32-bit Environment - Highlighted In The Terminal Output

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

Ubuntu Servers :: Open Source Solution To Backup Windows Environment

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

Slackware :: User_foo In Text Console Has Not Same Environment As User_foo In GUI Terminal?

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

General :: File Association For Desktop Environment

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

General :: Use Environment Variables In The .bashrc File?

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

General :: To Export Environment Variables In A File?

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

Server :: Working In Terminal Environment On Server ?

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

Applications :: Open A MS Access File In Open Office?

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

OpenSUSE :: 11.2 - Base64 File Converters For KDE Desktop Environment?

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

Ubuntu :: Open .txt In Terminal?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved