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:
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.
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).
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
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.
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?
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
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?
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 ?
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..
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.
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.
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.
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?
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.
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.
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,
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?
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.
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.