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


ADVERTISEMENT

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 :: 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

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

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

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 Networking :: Edit Proxy Settings Using Terminal / Cronjob Using The Terminal?

Jan 25, 2010

How can I edit the system proxy setting using the terminal? Which file contains this settings? I want to edit this automatically using cronjobs, cause from 8-5 I need to use a proxy, but at home I don't need the proxy. How do I fix this?

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

Ubuntu :: Bash Broken, Lost Functionality In Terminal (gnome-terminal)?

Dec 10, 2010

Linux-goers. I did some research on this, but I am still fairly new to Linux. In Ubuntu 10.10 (Maverick), I accidentally overwrote my "/bin/bash" file. Dude, using "sudo" with a small typo can work disasters. Bash is now broken in the Terminal (gnome-terminal). Terminal itself still works fine, technically, but bash is still hosed/broken. Here is what I did to try to fix it: Booted from Ubuntu 10.10 live CD. Mounted my Ubuntu partition and manually copied the good/fresh "bash" file onto my hard drive. Verified copy was successful. Didn't help, as you see. Reinstalled "gnome-terminal" using synaptic package manager. Tried to reinstall bash via synaptic, it failed with error, "E: /var/cache/apt/archives/bash_4.1-2ubuntu4_i386.deb: subprocess new pre-removal script returned error exit status 2"

In Terminal, all basic commands work as far as I can tell. ("ls", "pwd", navigation, etc.) Here are some problems:My "username@computername" does not display in the prompt; only the $ sign. Bash keyboard shortcuts such as uparrow and tab do not work. Instead, each inserts a key code. I can't even move the cursor left/right. Aliases (a function of bash and .bashrc) are broken, of course. My sanity level decreases when I use Terminal now. For what it's worth, even with "sudo" I get a "permission denied" error when trying to run Google Chrome! I read something about a ".bashrc" file being a possible problem, but I don't know how to make it work, or the file's proper locations in Ubuntu 10.10. Is there something I can do with a "make" or "apt-get install" command or something?? Could this simply be a permissions problem? Is the link to "/bin/bash", "/bin/sh", or a ".bashrc" file broken? Guide me, oh Linux gurus.

P.S. I always wondered what exactly bash was and how it was different from the basic terminal. LoL, this is an excellent way to demonstrate the difference, and I WANT IT BACK!

View 9 Replies View Related

Ubuntu :: Can't Turn On Terminal Bell In Gnome-terminal Using Remote Screen Session With Irssi

Nov 6, 2010

I'm using 10.04, and gnome-terminal GNOME Terminal 2.30.2 . I have irssi running on screen session on remote host. And I've been struggling for quite many days to configure it to produce either visual feedback or ring terminal's bell when I receive a private message or one of those that are highlighted.

My compiz settings window in General tab has 'Audible bell' checked.

My GNOME terminal has 'Terminal bell' checked.

I also added 'set bell-style audible' to my ~/.inputrc

And I also tried to manually load pcspkr module into my kernel.

No of the above helped or at least I haven't been able to notice any difference.

I also used some commands for irssi to produce bell sign.

View 2 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 :: Run Program In Terminal With A Terminal Specific Profile From GUI

Dec 12, 2010

I'd like to run a program [URL] from the GUI menu (yes, I know I can run it from the command line). I've gotten this to work by using a menu entry (see attached screenshot).The command is:

Code:

gksu chkrootkit

with the option for Type: was selected as Application in Terminal However, when chkrootkit is finished, the terminal immediately snaps shut according to the profile selection: When Commands Exits: Close terminal What I'd like to do is create another profile that causes the terminal to be held open (see screenshot) when the command exits and be able to choose that profile from the GUI Menu entry. I believe the command when using the CLI is:

Code:

gnome-terminal --profile=<profile_name>

how do I incorporate this within the Command entry line of the launcher?

View 1 Replies View Related

Ubuntu :: Terminal Commands / Getting Into Usb Pen Drive From The Terminal To Run A Program?

Feb 10, 2011

i started using computer when it was all dos driven so thought i was going to be fine using the terminal in ubuntu the problem i am facing is i can not quite get my head round why is it if i load the terminal. and the first this i type is dir or ls it gives me a list off directories. So why is it if i type cd /pictures i get no such file or directory ? Confused

This also bugging the jebus out off me is i am trying to get into my usb pen drive from the terminal to run a program i have on there.

so i type cd /media
then typed ls
is displayed New Volume <-- This being the name off my pen drive
i have tried every this to get into there but the commands i would use in dos are not playing ball.

Can some one please explain how to get into my usb pen then tell me were i can go read on this as i really can not get my head around this at moment.

View 5 Replies View Related

Ubuntu Installation :: Difference Between Byobu Terminal And Terminal?

May 18, 2011

what is the difference between Byobu Terminal and Terminal? i ask this because when i upgraded from ubuntu 10.10 to 11.4 i did not have Byobu Terminal

View 2 Replies View Related

Ubuntu :: Differences Between The Byobu Terminal And The Default Terminal?

Jul 20, 2011

When I upgraded to Ubuntu 11.04 Natty Narwhal, the Byobu terminal was installed. What are the differences between the Byobu terminal and the default terminal(I mean the terminal that is default in 10.10)? Is it more advantageous to use Byobu?

View 2 Replies View Related

Ubuntu :: When Use Gui Terminal, And Try To Use Tab Completion, It Freezes Up The Terminal, And Can't Edit?

Mar 6, 2011

For some reason bash is acting really really weird. When I use my gui terminal, and I tryto use tab completion, it freezes up the terminal, and I can't edit the line at all unless I do a ctrl+c.and when I try to do tab completion in text only mode it prints out : "Error: Can't open display: (null)"again and again and again, and I have to do a ctrl+c, also in text only mode it will randomly log me out. I have tried checking for blown caps, but there weren't any, and all the other programs work fine except for the command line. I am using bash version: 4.1.5(1)-releaseand gnome-terminal version: 2.30.2

View 5 Replies View Related

Ubuntu :: How To Close Rhythmbox

Oct 11, 2010

With 10.10 rhythmbox is integrated in the sound applet, but how can I close it without going to the file menu?

View 9 Replies View Related

Ubuntu :: Cannot Close Just One Folder

Feb 24, 2011

Is there a way of closing just 1 folder. I open documents folder then open a folder that's in documents then open a folder that's in the 2nd folder, if I want to close any of those folders it closes all of them. I know I can right click on a folder and select open in a new window which I then can close without closing all folders,is there a setting that let's you always open folders in a new window by double clicking on the folder?

View 2 Replies View Related

Ubuntu :: 11.04 - Max/Min/Close Bar Missing?

Apr 29, 2011

This is probably a really simple fix but tbh since I installed unity I'm stumped.

I didnt like the unity desktop so I've gone back to the classic desktop but I have no bar above my windows with the max/min/close option.

To add to that issue, sometimes windows open with their menus under the panel at the top of the screen so there is no way to move or close them

View 3 Replies View Related

Ubuntu :: Can't Close Windows In 11.04?

Apr 29, 2011

I just installed Ubuntu 11.04. But I have a problem. I am not able to close the apps or programs I open. The bar with the close, minimize and ( fill screen botton, what ever ) is gone! I'm not quite sure what I did.. I enabled the Cube in compiz, and the wobbily windows, and then the bar dissapeared. I put everything back to what it was, but the top bar on the widows is gone.

View 4 Replies View Related

Ubuntu :: How To Close Laptop Lid

May 30, 2011

In Ubuntu 10.10 Gnome . When I close the laptop lid I seem to get only two choices - hibernate or suspend. What i want is when i close the laptop lid I want nothing to happen.

There are real issues I'm having with network-Manager stopping and not starting when i go into suspend. it's a major hasle therefore I want to prevent any suspend or hibernate.

How do i do it so closing the lip just closes the lid and nothing else?

View 3 Replies View Related







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