Ubuntu :: Custom Variables Appear Under Printenv Unless Close Terminal?

May 20, 2011

I just upgraded to 11.04When I create environment variables such as:export FG_SCENERY=/home/justin/.fgfs/scenery:/home/justin/FG_SCENERYThey remain until I close terminal. These custom variables appear under printenv unless I close terminal. Programs act like these variables do not exist if I have closed terminal, but are able to use them if I haven't.

View 2 Replies


ADVERTISEMENT

Ubuntu Installation :: Set Some Custom Environment Variables

May 13, 2010

I need to set some custom environment variables.

View 6 Replies View Related

OpenSUSE Install :: Set Custom Environment Variables During Boot ?

Mar 14, 2010

I'm doing a multiboot system where I need one of the boot options ( using Grub ) to set a number of custom environment variables e.g. "distro".

View 5 Replies View Related

Ubuntu :: Run Program From Terminal And Then Close The Terminal?

Mar 30, 2010

i have a seemingly simple desire but i cant get it right. my .xinitrc is as follows

openbox
sleep 5
xfce4-panel

since that only starts openbox

i would like to know how to get it to also start the xfce panel

also how can i run say firefox from a term and be able to close that term window without killig FF?

View 2 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

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 :: Close A Terminal From A Script?

Apr 13, 2010

If I want to open a terminal, run a script in it and have that script close that specific terminal wherein I ran the script, how do I do that? The exit command doesn't work.

View 7 Replies View Related

Ubuntu :: Close A Session From The Terminal?

Jul 19, 2010

I need to close my session but the exit button is no longer here. I can restart the computer (ctrl+alt_del), but not only the session. I opened a session with the gnome desktop but everytime is messed up and I want to come back to the UNE desktop. How can I do that from a terminal?

View 1 Replies View Related

Ubuntu :: Taskbar Keeps Going Off Soon Close Terminal

Jan 2, 2011

i started up my computer today and i didnt have a task bar so i opened terminal and ran xfce4-panel and my task bar comes back on but i get this on terminal

(xfce4-cpugraph-plugin:2229): Gtk-CRITICAL **: IA__gtk_container_set_border_width: assertion `GTK_IS_CONTAINER (container)' failed
(xfce4-mixer-plugin:2230): libxfce4mixer-CRITICAL **: xfce_mixer_get_track: assertion `GST_IS_MIXER (card)' failed
(xfce4-mixer-plugin:2230): xfce4-mixer-plugin-CRITICAL **: xfce_mixer_plugin_set_card: assertion `GST_IS_MIXER (card)' failed
(xfce4-mixer-plugin:2230): xfce4-mixer-plugin-CRITICAL **: xfce_mixer_plugin_set_track: assertion `GST_IS_MIXER_TRACK (track)' failed

and if i close terminal my taskbar will come back off

View 1 Replies View Related

Ubuntu :: Close Terminal, Kill The App That's Running?

May 15, 2010

So, this may have something to do specifically with conky, but I don't understand how sometimes when I run 'conky' from the terminal and then once it loads I close the terminal, it kills conky. But other times, I do the same thing, wait for it to load, and it just keeps running! In both cases, I don't get a "user@computer~:$" prompt back after running 'conky' either. That happens sometimes with other things like gedit too..

View 3 Replies View Related

Ubuntu :: How To Bind A Shortcut To Close Terminal

Mar 28, 2011

I want to bind a key to close terminal window in my ~/.inputrc

I've successfully bind "double Esc" to clear a line like this

Code:
"ee": kill-whole-line

but I didn't find the command for close/exit/quit a terminal window.

View 7 Replies View Related

Ubuntu :: Close File Browser In Terminal?

Jul 26, 2010

i would like to be able to close an instance of the "File Browser" in a terminal command. This needs to be done without killing nautilus completely.

View 2 Replies View Related

Ubuntu :: Close The Terminal Window The Music Still Play?

Feb 21, 2010

I have done a minimal install of Ubuntu and installed MOCP.

I can run it okay but when i close the terminal window the music still plays. How can i set it so that when i close the terminal window that it stops the music aswell.

View 1 Replies View Related

Ubuntu Networking :: Internet Disconnection When Close The Terminal?

Mar 25, 2010

First, the network manager would show up on my girlfriend's profile (hers was the first one we created) but it won't show up on mine and it would not detect any internet connections. I found another thread that told me to type "nm-applet &" into the terminal, which works great. It shows the network manager and auto connects. But as soon as I close the terminal, it auto disconnects. Anyone know why and what I can do to make the network manager icon stay besides keeping the terminal open?

View 1 Replies View Related

General :: How To Close Mozilla From Terminal

Mar 23, 2010

I tried to close the browser windows; but everything seems freezed. how to close this application from terminal?

View 2 Replies View Related

Ubuntu :: Wally 2.4 - Command Line - As Soon As Close My Terminal - Terminates

Sep 24, 2010

I am using Ubuntu 10.04 and installed Wally 2.4.

I have few questions:

1) Currently I run wally with command line by running

Code:

It works, but as soon as I close my terminal, wally terminates. Is there anyway I can make it not terminate?

2) why is that option disabled?

View 4 Replies View Related

Ubuntu :: Guest On Windows 7 With VirtualBox Freeze After Close Terminal

May 18, 2011

The following is my virtualbox ubuntu config. Virtualbox is the latest version.

Ubuntu 11.04
Base Memory 2G
Video Memory 64MB
3D acceleration: YES

The problem only happens after I close terminal. The individual program or software works fine. But as long as I use terminal, and close it, then the desktop environment freeze.

Is there anyone encountering the same problem, and how can I resolve it ?

View 1 Replies View Related

General :: Create Custom Terminal Boot Mode Under Ubuntu?

Aug 5, 2011

I wonder if it would be possible to create a custom boot menu entry in grub under Ubuntu (11.04), that boots the system into terminal instead of the login screen.

The effect should be something like the root shell in (rescue mode) boot menu entry, one that gives me access to a root shell or a less privileged shell, without the need to select "root shell" explicitly.

If possible, I also would like to customize the shell started by, most preferably by specifying a shell script to run so that I can start something other than bash, like vim.

My intention is to create a "fast" boot mode to give me a usable system within seconds (to take notes, for instance) without needing to start GUI. Therefore, it is preferred that the silent option is turned on.

Note: There is a requirement: that no existing feature of the system is removed. That is to say, the gnome desktop (and Unity) should remain intact, and is only disabled when I choose this mode.

View 2 Replies View Related

Software :: Keyboard Custom Shortcuts Within Terminal?

Nov 29, 2009

Is it possible to configure the shell [in xterm, tty, whatever] to recognize custom shortcuts? That is, can I bind any program to Ctrl+X, Alt+X, etc. shortcuts? I know how to do this with Gnome/KDE/Fluxbox, but I'm interested in doing it on a shell.

View 6 Replies View Related

Ubuntu :: Gnome-terminal Dying/disappearing With Custom Launch Arguments?

Jan 24, 2011

I work on a number of servers and do so many repetitive tasks that it's easier for me to make launchers on my desktop for these tasks. It's also necessary for opening windows in my secondary screen. I like to view the error logs as I work, so I have a screen session on my servers that 'tail -f /the/error.log' for easy viewing. I set up a launcher on my desktop that launches the following command:

Code: gnome-terminal --display :0.1 --geometry=156x33 -x ssh -t my-server 'screen -r' The command works perfectly. The window is created on the correct screen, with the correct size and information. The problem is gnome-terminal will exit/crash with no errors after a little while. This happens sometimes when I get up from my computer as well as while I am working on it.

I am saying that there are no errors because I have opened a terminal and ran the command in that terminal. When the new gnome-terminal closes, there are no errors or abnormal output on the generating gnome-terminal.

View 1 Replies View Related

General :: Put Custom Text On Terminal (bash Script)?

Jan 19, 2010

This code:

Code:
#! /bin/bash
echo Okay.
echo
Does not do it....

P.S. I want to show my parents what happens when I do:

Code:
sudo make me a sandwich
and have it say "Okay."

View 11 Replies View Related

Ubuntu :: Bash Script With Variables And Editing Variables

Apr 6, 2011

mkvmerge -o <filename without extension>_TV.mkv -S <filename> && mkvextract tracks <filename> 3:<filename without extension>.*** && perl /home/brian/Desktop/ass2srt.pl <filename without extension>.*** && rm <filename without extension>.***

Doing these commands for multiple command line file inputs is the goal. So I can just type ./script.sh *.mkv in my terminal.This is what I have so far, but it doesn't work whatsoever.

View 2 Replies View Related

General :: Getting Terminal Emulator With Custom Scripts And Hotkey Support?

Oct 16, 2010

I need a terminal application for linux with support for custom scripts and support to bind this scripts for hotkeys.For example I login into computers hundreds times a day. I don't want to write login and password, but to press a hotkey (Ctrl + Z for example) to automate this process. [input login, press Enter, input password, press enter, input some command...]

View 2 Replies View Related

OpenSUSE :: Setup A Custom Home Server Running 11.3 64-bit In Terminal Mode?

Feb 5, 2011

I've recently setup a custom home server running openSUSE 11.3 64-bit in terminal mode. I've since successfully setup and configured it to act as an iSCSI target using the iscsitarget package and the corresponding kernel module, along with the YaST module for the configuration. Prior to setting up my hard drive accordingly, however, I noticed that when I ran 'zypper up' in a terminal I got the following:

Code:
pph-server:~ # zypper up
Loading repository data...
Reading installed packages...

[Code]....

At the time I accepted, and found later that it removed the setup I had, meaning I had to start over. However when I ran YaST in a terminal it then wanted to re-install the iscsitarget package, which subsequently removed the tgt package, and so this continued for a bit. (Thankfully no actual data was stored on the target at this stage .) For the time being I've locked the iscsitarget package and the kernel module to prevent zypper from wanting to remove it and install tgt instead since I now have my target working as I want.

The question I have is why zypper was trying to remove iscsitarget and install tgt, and yet the corresponding YaST module was wanting to do the opposite. Is tgt considered a better option by the openSUSE developers, in some way, for setting up an iSCSI target? Is iscsitarget development/availability being ceased by them in favour of tgt? Is there something else I'm missing? Neither of these packages seems old to me: the latest version of iscsitarget was released on SourceForge last July, while tgt was only updated this month.

View 2 Replies View Related

Ubuntu :: Bash Script - Start A Process Then Close Terminal With In The Script?

Jan 1, 2010

I have got a bash script i have been playing with I need to start a process then close terminal with in the script but leave program running ?

Code:
#!/bin/bash
sudo ifconfig eth0 down
sleep 5
sudo ifconfig eth0 up
firefox & exit

View 9 Replies View Related

Fedora Installation :: Erratic Install Results W/initrd - Custom Spins With Custom Drivers - Modules?

Dec 28, 2009

Just spent three whole days barking up the wrong tree, solving Fedora 11 and Fedora 12 boot failures because the correct hypothesis was illogical: installation did not update/modify the initrd.

The first couple of times I installed Fedora 11 on the HighPoint Technologies RocketRaid 2640x4, the installation inserted my "custom" driver module (rr26xx) into the initrd, permanently, so that the system booted off the controller card for which the custom driver was inserted. (I yelled about this success in this thread: [url]

My most recent installs of BOTH F11 and F12 on the RocketRaid failed to properly set up the boot. It turns out that the "rr2640" module I "slipstreamed" into the installation process was *NOT* permanently added to the initrd by anaconda. (F12 gave me "no root device found boot has failed, sleeping forever", on boot; F11 hung also, without such error, I presume, during the init script execution). Because of limited resources and time, I only know for sure the module was missing from the F11 initrd, and am ASSUMING the same was the case with F12.

The only difference between the successful installs and the ones with failed boot is that the successful installs were made on a single-drive (JBOD) mode on the controller; whereas, the failed ones were placed on RAID 5. But, AFAIK, the created logical device for the card is "/dev/sda", in both cases, and the kernel can not distinguish between the two cases (or can it?). Thus, the inconsistency cost me a lot of time, and is still inexplicable to me.

Question: What is the best way to deal with custom drivers, today? There are custom spins, and many tools, like isomaster. Stupid question: Is there a way to modify the initrd inside an installer ISO -- be it for CD/DVD/USBboot drive -- beefing the init RAM disk with whatever modules you'd like, for the boot process (using, say, isomaster)?

And what makes anaconda understand that a module must be added to the initrd ? How can one force anaconda to do so?

How does moving to dracut as the initrd tool affect any/all of the above?

View 1 Replies View Related

Slackware :: If Close Terminal Ran Bash Script Inside / Bash Script Stops

Apr 28, 2011

I've noticed something, and hoped there was a work around.when I write a simple bash script, and run it, if I close the terminal i ran the bash script inside, the bash script stops. What are the solutions for this? Basically I want to run my bash script and close the terminal, keep the bash script running.

View 6 Replies View Related

Ubuntu :: Using Variables In Hostname?

Aug 27, 2010

I'm have been tasked with created a base Ubuntu image that can be used for cloning to multiple machines. As this is a network environment, each hostname will obviously need to be unique. Rather than manually changing the hostname each time a new, cloned machine is rolled out, I was wondering if there is a way to use a variable in the hostname (i.e., use a variable to truncate the the last 6 digits of the MAC address to the end of the static hostname--or any other unique variable for that matter--so it would look like hostname00E6D4).

View 7 Replies View Related

Ubuntu :: Using Variables In Awk IF Statements?

Nov 2, 2010

I have a list of names (testnames.txt) and I have a set of log files (testlogdata.log). I'm trying to search the column in my log file for each of the names in my testnames.txt file, and output the result to individual files, name1.txt, name2.txt, name3.txt, etc the names in the column of my log file can appear in different formats , ie the name "Tom Smith" can appear as "tom_smith", "tom-smith", "ACME/tom.smith", "ACME/thomas.smith". etc. To allow for the variations, I have my names in the testnames.txt as expressions, ie, for tom smith, I use the expression "to.*smith", etc.I'm running the following command:

for i in $(cat testnames.txt); do awk '{if ($9~/$i/) print $0}' testlogdata.log > $ioutput.log; done

I want the command to read a value for i, insert it into the if ($9~/inserted value for i/, and dump each line from testlogdata.log into a file named <value-for-i>output.log.

View 4 Replies View Related

Ubuntu :: Subtract Two Variables In Awk

Feb 11, 2011

Turns out I don't have bc in my Ubuntu distro and I can't install it. how to subtract two variables (BASH variables) from awk and set the result as another variable, e.g: finalvalue=`awk '{print $first - $second}'`

View 2 Replies View Related







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