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


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

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

Ubuntu :: Gnome-terminal In Startup Programs Doesn't Start At Login?

Mar 16, 2010

Every time I start Ubuntu, I set up an ssh session to a server. In order to automate this I made an entry in startup programs like this:/usr/bin/gnome-terminal -e '/usr/bin/ssh name@server.com'Nothing happens when I log in, and I've checked that the command works.

View 2 Replies View Related

Ubuntu :: Run Command At Startup

Sep 15, 2010

i have a file, 2fsrl, that i want to run at startup. If i type /home/kent/2fsrl in the terminal it works. Although it won't work if i put the command in Startup Applications.

In my file is this:
synclient VertTwoFingerScroll=1
synclient HorizTwoFingerScroll=1
synclient EmulateTwoFingerMinW=5
synclient EmulateTwoFingerMinZ=48

It's for 2 finger scrolling

View 3 Replies View Related

Ubuntu :: Run A Command At Startup?

May 22, 2011

i need to run this command at the boot of computer

Code:
hdparm -B 255 /dev/sda

i saved this command in the file /etc/rc.local but i don't know why...it doesnt work, so i have to run it after boot from terminal..here there is the content of the file:

Code:
#!/bin/sh -e
#
# rc.local

[Code]....

View 9 Replies View Related

General :: Running Shell Program On Startup As Root In Terminal

Aug 4, 2010

I am running Linux Mint 9..I play xbox live and run it through my laptops wireless network connection so i dont have to pay 100 dollars for the usb wireless adapter for the xbox. In windows 7 this is easy to configure so that when i turn my laptop on and then xbox it automatically connects.

View 10 Replies View Related

Ubuntu :: Command On Startup - Good Or Bad?

Mar 14, 2010

Relative newbie here - seeking advice on having a command run on start-up. Specifically, I want to have a chgrp and chown execute on a specific directory, subdirectory and associated files. I'm not looking for advice on how to do it (I'd like to muddle through it on my own - I learn better). And, I'm not looking for alternatives. Background - I think this is the easiest way for me to have two users on the same PC upload photos that each user can have full access to, and do things like back-up etc.

View 9 Replies View Related

Ubuntu :: Get A Command To Autorun On Startup?

Jul 22, 2010

I wish to enable battery tab in Acer 751, Lucid. The command I type in terminal every time I start the netbook is: Quote: cat /proc/acpi/battery/BAT1/info How do I make it run automatically on start up?

View 2 Replies View Related

Ubuntu :: Run Simple Command At Startup?

Apr 10, 2011

How would i make ubuntu just execute this
Code:
deluged -p 10002 -c ~/delugebig/ at startup? Just print it as if i myself would print it in the termial.

View 5 Replies View Related







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