Ubuntu :: Setup A Command To Run When Startup The Terminal

Apr 19, 2011

I would like to setup a command to run when I start up the terminal, but have the terminal stay open for use when it's finished. I was trying to get my terminal to run fortune whenever I start it just for cosmetic value, so I tried changing the launcher command to gnome-terminal --command=fortune, but that makes it just output the fortune result and then terminate.

View 1 Replies


ADVERTISEMENT

Ubuntu :: Run Command In Terminal On Startup

Jan 8, 2010

I know how to make things run at startup, and obviously know how to run a command in terminal (type and enter... duhhhh). However I would like to be able to run vnstat in terminal when my computer logs in, this is very handy for seeing how much I have downloaded. I have a terminal embedded on the desktop and would very much like to run vnstat in it for me when it starts, I know I could just type in vnstat when I've logged on, but where is the fun in that? Just having it already there for me would be far better.

The command for starting my desktop terminal is as follows:
Code:
gnome-terminal --window-with-profile=trans --geometry 90x40+280+30

View 2 Replies View Related

Ubuntu :: How To Run Terminal Command At Startup

Aug 25, 2010

I know this has been asked a 1000 times, but none of the solutions I've read so far work.I need to run the following terminal command every time Ubuntu (10.04 64bit) starts:Code:xset m 9 1This boosts mouse speed to maximum. I don't know why, but it is the only thing that works. All built-in mouse settings are at maximum, yet my mouse crawls across the screen when Ubu starts. So far, I have tried:Creating a startup script called "/etc/init.d/autorun.sh" containing code...

View 9 Replies View Related

Ubuntu :: Run A Terminal Command At Startup?

Nov 9, 2010

I've searched everywhere, but they all talk about BOOTING into the terminal instead of ubuntu. But here all I want is for ubuntu to automatically run a certain command when I boot into ubuntu.This is related to the screen brightness change problem that's still much of an unsolved mystery for ubuntu and I have mostly solved this 'm able to change the brightness with sudo setpci -s 00:02.0 F4.B=xx, xx being from 00 to FF, but it doesnt seem to stay when I log out and log back in. Is there any possible way to put a terminal command in the startup applications or something or a possible solution to the brightness problem that I havent discovered yet?

View 9 Replies View Related

Ubuntu :: Run Terminal Command At Startup?

Jun 20, 2011

Well, I want to run a terminal command at startup. I Google searched, but all the threads were ~5 years old. The command I want to run is code...

View 9 Replies View Related

Ubuntu :: Setup To Run One Command Automatically At Startup?

Dec 30, 2010

I want to auto run
Code:
sudo updatedb at Ubuntu startup. Is this okay: [URL]...

View 5 Replies View Related

Red Hat / Fedora :: Execute Terminal Command At Startup

Jul 9, 2010

i'm trying to automate terminal commands to execute at startup (rc5)one is a background process: Code: xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Two-Finger Scrolling" 8 1 the other is a gui application: Code: /home/labr/apps/gmail-notify/notifier.py i placed these commands in /etc/rc.local but does nothing.

View 2 Replies View Related

Ubuntu :: Run A Terminal Command At Startup For Multi-Touch Scrolling?

Jun 12, 2010

I'm a day-1 Ubuntu user with a question about getting multi-touch scrolling enabled on my laptop automatically each time 10.04 loads. I'm very green when it comes to all-things-Linux. Basically, I'm just searching for help, following step-by-step guides, and copying-and-pasting commands. I found the following website that helped me create a little script to enable multi-touch control:[URL]...

But I can't figure out the last step: "All you need to do to have this run at startup [instead of typing ./2fsrl in terminal manually each time] is add it to you startup programs." I tried creating a file path to the 2fsrl file in Preferences -> Startup Applications program, but upon re-starting the laptop, the multi-touch isn't enabled anymore. I'm sure I'm missing something simple. Can anyone advise? (Keep in mind my beginner's status!)

View 9 Replies View Related

Ubuntu :: Setup Workflow To A Terminal-based Setup

Jul 8, 2010

Im trying to set up my workflow to a terminal-based setup, so that accessing my computer through SSH will provide many of the things I need and use right off the bat. I have Mutt working great with my GMail account, so that's good. I do have a question though. Using the application Calcurse (featured on Lifehacker a few days ago, [URL] I am at a loss to figure out how to interface with Google Calendar. Is there a trick that Im missing, or does anyone know of another terminal app that plays better with Google Calendar?

Also, I was looking for a 'Digital Clock', essentially, again, a terminal/text based large print clock; similar to the one in the lower left corner on the attached pic. I was looking for a telnet server from the Atomic Clock, but no such luck so far.....

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

General :: Make Linux Terminal Transparent With Terminal Command?

May 10, 2010

Is it possible to make terminal (xfce4-terminal) transparent from bash script?

Maybe by enabling compostion?

View 1 Replies View Related

Ubuntu :: Is Command Line Invocation Of Gnome-terminal To Run More Than One Command

Feb 17, 2010

how to pass something more than a one-command startup for gnome-terminal. I will give an example of what I'm trying to do here:

Code:

#! /bin/bash
#
#TODO write this for gnome and xterm

[code]....

This same error occurs if the gnome-terminal line is changed to

Code:

gnome-terminal -e mcTerm

Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.

View 1 Replies View Related

Ubuntu :: Setup Command Not Found In 10.04 Command Prompt?

May 6, 2010

In Ubuntu 10.04 grub command prompt setup command does not exist for installing grub.I am trying to recover my Feodra12 OS.Did anyone find alternate command for setup in grub command line for Ubuntu 10.04 ?

View 2 Replies View Related

Ubuntu :: Only Terminal On Startup No Gui?

May 29, 2010

when my netbook remix 10.04 starts I can see only terminal and no graphic interface (as you can see in the picture). I see the log in screen type my password and when the screen like on the picture. I 'm using lenovo N100 nb Tryed to install ubuntu desktop but no use

View 9 Replies View Related

General :: Append Command Output To File By Giving Command In Terminal?

Jul 3, 2009

I am using openSUSE 10.3.When I install software from tarball then to record time required I send output of date to beg.txt(when installation begins) and end.txt (when installation finishes).How can I append output of date to a file so I don't need two files?

View 4 Replies View Related

Ubuntu :: Terminal Always Start At Startup?

Dec 31, 2010

This is a weird problems.Everytime i log on to my computer/restart my computer, the terminal always autostart.I already checked at startup application.No terminal there.Any suggestion to stop the terminal from autostart with startup?

View 2 Replies View Related

Ubuntu :: Terminal Screen On Startup?

May 2, 2011

I recently upgraded to Ubuntu 11.04, and I installed it via the Update Manager and restarted as normal. But, as I went on my dual boot OS selection screen and selected Ubuntu, this message appeared:

init: udevtrigger main process ( 398 ) terminated with status 1
init: udevtrigger post-stop process (404) terminated with status 1
init: udevmonitor main process (397) killed by TERM signal
The disk drive for / is not yet ready or is not present
Continue to wait; or Press S to skip mounting or M for manual

I'm afraid to do anything after this screen...

View 1 Replies View Related

Ubuntu :: How To Run Commands On Terminal Startup

Aug 3, 2011

I have a question regarding terminal. I try to launch it from the "Startup Applications" by entering a script.Code: sh -c '/usr/bin/gnome-terminal'but it does not start.Also, when it does start I would like it to auto run certain commands: navigate to my project folder run "play test" open a new tab run "top".how can I achieve this?

View 9 Replies View Related

Programming :: Command Line Invocation Of Gnome-terminal To Run More Than One Command?

Feb 16, 2010

I am trying to learn how to pass more than a one-command startup for gnome-terminal.

I will give an example of what I'm trying to do here:

Code:
#! /bin/bash
#
#TODO write this for gnome and xterm
USAGE="
${0##*/} [-x] [-g]
code....

However, running with the -g option to invoke gnome-terminal, I get a "There was an error creating the child process for this terminal" error.

This same error occurs if the gnome-terminal line is changed to

Code:
gnome-terminal -e mcTerm

Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.

View 4 Replies View Related

Ubuntu :: Startup Script Opening Terminal?

Jan 1, 2010

Ive got a simple bash script that basically just displays a couple lines of text and a random quote. In startup applications, I made "gnome-terminal --full-screen" open up and in the profile preferences of gnome-terminal I made it run my startup script. There are two problems though.(1) At startup, 2 terminals are opened (one fullscreen, one not fullscreen)(2) By bash script runs and keeps on running (how do I get it to display another input line?)

View 5 Replies View Related

Ubuntu :: Run The Script Ok Through The Terminal \ But It Doesn't Run On Startup?

Oct 21, 2010

I'm having trouble with the rc.local file. So I tried the suggestions on this page[URL]I could run the script ok through the terminal. But it doesn't run on startup. Has anyone got this to work in the way explained in the link above? I'm using Ubuntu Lucid.

View 2 Replies View Related

Fedora :: Add Startup Application From Terminal

Jul 26, 2009

I am quite aware that one can add a startup application to the gnome session by going to System -> Preferences -> Startup Applications (Sessions). But, is there a way to achieve the same thing via the terminal? I want to know because I am writing a simple bash script that installs all of the programs I commonly use. One such program is compiz fusion with fusion-icon.And so I want to add the fusion-icon into the gnome session with my script (strictly within the terminal).

View 2 Replies View Related

Programming :: Cannot Open Terminal On Startup

Jun 8, 2011

I wanted to write the script which runs at startup and opens the terminal window the moment desktop screen appears(GNU linux).

View 3 Replies View Related

Programming :: Script To Run At Terminal Startup?

Jun 2, 2010

I have written a script to display a message that I wish to run whenever a terminal session is initialized.
The script is working but I am unclear how to implement it.Do I need to create a file called 'gnome-terminal.sh' in /etc/profile.d?

View 1 Replies View Related

Debian Configuration :: Setup Ddclient At Startup?

Feb 21, 2011

how can i setup ddclient at startup i already configured the client all i need is to let it start on bootup

View 3 Replies View Related

Debian :: Setup Squeeze To Log In Automaticall On Startup?

May 19, 2011

i just installed Debian on one of the computers in the house and nobody likes being prompted for a password so i want it to login as a normal user without requesting a password on startup. how do i do this

View 13 Replies View Related

Ubuntu :: Gnome Terminal Startup Slow (11 Natty Edition)?

Aug 16, 2011

After several upgrades (from 8.xx) I noticed Gnome terminal took about 4 seconds to open an window and another 4 seconds to give me a prompt. This is excruciating when blasting out CLI in dozens of terminals ssh'd into dozens of machines. Tabs were no different.

Fix was: Comment out anything in ~/.bashrc that references xterm. BOOM less than 1s total to prompt.

If it's faster than I can get my mouse hand back to the keyboard to start blasting CLI, it's good enough

View 1 Replies View Related

CentOS 5 :: Gnome-terminal: Run On Startup Applications?

Jul 23, 2011

I successfully created launchers for apps and I can run them in terminal with double clicking.Now I want them to run on startup, automatically. They run with arguments.There is System-> Preferences -> More Preferences - > Sessions - > Startup Programs where I can add my commands.I put:

gnome-terminal -e "/some_path/myapp1 -arg1 - arg2"
gnome-terminal -e "/some_path/myapp2 -arg1 - arg2"

View 3 Replies View Related

CentOS 5 :: Getting "setup: Command Not Found" Error But Setup Is Installed

Jul 5, 2011

I'm trying to use the set application to configure Apache. I'm getting a "setup: command not found" error when I type in "setup" at the command line.

However when I try to install setup with yum, it tells me that setup is already installed.

I'm logged in as root. CentOS 5.5.

View 2 Replies View Related

Ubuntu :: Changing GDM Setup From Terminal?

Jun 28, 2009

I have been working on this script for my install for quite awhile and almost everything is done (installs, uninstalls, setting up wireless, etc...) but now I want to get to the....prettier stuff.

Two questions:

1. How do I add GDM themes to the list from terminal? Right now I go through the login window GUI but it'd be nice to add them without having to do it through that (so I can automate it )

2. How do I then change the setup to where I can have multiple that it chooses from and that it chooses from those I've added (again, I do this through the GUI but...you get the point)

View 2 Replies View Related







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