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


ADVERTISEMENT

General :: Good Desktop/application Or Command Line Tool To Show Two Different Timezone Concurrently?

Jul 18, 2011

I want to find a desktop application or command line tool to show two different timezone concurrently under LINUX.

Anyone knows there are such application?

Say i want to know the time at london and USA at the same time. (different time zone)

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

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

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 :: Can't Startup , All Got Is Command Line?

Nov 24, 2010

Initially, I had dozens of errors from missing processes. I chrooted from live CD and reinstalled them.Now I got this:

Code:
fsck from util-linux-ng 2.17.2
/dev/sda5: clean, 213665/4104192 files, 2426106/16389120 blocks

[code]....

View 2 Replies View Related

Ubuntu :: YES Command Starts Automatically At Startup?

Oct 12, 2010

Since a few weeks my PC have been working slow and the gnome system Monitor says that my cpu is working at 100% all the time. when I ran top command appears:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
770 root 20 0 4060 308 240 R 76 0.0 8:41.05 yes
919 root 20 0 4060 312 240 R 49 0.0 8:23.39 yes

[code]...

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

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

CentOS 5 :: Add Command On Startup?

Aug 11, 2010

I have CentOS 5.5 with no GUI. How do I enable commands/scripts to run on startup when the server is rebooted?

View 2 Replies View Related

Ubuntu Installation :: Command-line Interface At Startup?

Feb 4, 2010

So I just partitioned my hard-drive, one side with windows the other to set free for ubuntu. It all worked fine. I put in the liveCD of ubuntu 9.10 and installed on to the partition. However, I have a problem. When it boots up it asks me to either boot into linux 2.6 or windows 7. Windows 7 works fine, but when I boot into ubuntu, the loading screen comes up and then it doesn't seem to boot into GDM. It's all command-line interface. I've tried sudo apt-get update and upgrade, but it isn't connected to my network yet so I can't do that. What can I do?

View 9 Replies View Related

Ubuntu :: Edit Startup Scripts To Add An Arbitrary Command?

Oct 11, 2010

sometimes you want to run a command every time computer boots up. In DOS there is "autoexec.bat" in windows - "Startup" menu and I'm sure that there is a similar thing exists for Ubuntu, but that's not what I'm after.These things above will run a command when a user logs on. I want to run a command when a pc boots up. This is not straightforward in Windows, but since I'm a windows guy I can do this. I can install a command as a service with srvany utility that will make sure it will execute on boot up.Now I want to do a similar thing in ubuntu. how do I edit startup scripts in ubuntu to add an arbitrary command? I need to run the command in the context of a particular user, so I normally do it like this:

Code:
sudo -u myServiceUser -i myService

But I want as little downtime as possible and sometimes it takes sometime to find out that there has been a reboot, get to a computer and run the command manually. If I could run this automatically on bootup I wouldn't have this problem.

View 2 Replies View Related

Ubuntu :: Auto Logoff Command When Startup App Is Terminated

Dec 17, 2010

I am using Ubuntu as the client machine operating system. I have a start up program to connect to a Windows terminal Server. I am needing assistance in how I can force the client to logoff if the terminal connection is terminated for any reason. This is more of a security issue as we do not want the students using the computer to access the loacl machine at all. The program works great on boot, but it shows the home screen when terminated.

View 1 Replies View Related

Ubuntu :: Command Prompt On Startup After Installing Freevo?

Jun 6, 2010

I've just done a clean install of Ubuntu 10.04 and installed Freevo on it from the Medibuntu repositories. After rebooting I get a shell window with no frame in the top-left corner of the screen with the Ubuntu loading screen still taking up the rest of the screen. Typing 'startx' gave a error that there is already a display running on the port.

View 2 Replies View Related

Debian :: Add 'sudo-ed' Command On Startup?

Sep 21, 2010

what is the easiest way to add single command to startup? (has to be run as root)

View 1 Replies View Related

Fedora :: Running A Command At Startup?

Mar 12, 2010

I'm trying to get synergy+ to work on Fedora 12 on start up. I'd like to be able to log into Fedora using my keyboard and mouse through synergy+. I've tried adding the line
Code:synergyc <localipaddress> at the end of the /etc/rc.local file but I still can't use my keyboard and mouse to log in. I've also tried adding the lineCode:su <username> -c "synergyc <localipaddress>" to /etc/rc.local but it still doesn't work. Just to clarify, I do have synergy+ working on Fedora but I need to start it after logging in on each reboot by switching my keyboard over to the other computer.

View 2 Replies View Related

General :: Run Command As Root On Startup?

May 14, 2011

As I tried to explain on the title, what i need is to run this command "NetworkManager --no-daemon" as root every time I start my arch+gnome so that the nm-applet would show on the panel.I need to know a way to do this automaticaly each time I start my pc

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

General :: Command Shortcut To ./startup.sh Tomcat?

Sep 19, 2011

Every time I need to start or stop Tomcat, I am navigating to:

/Tomcat_Dir/bin

and once I am in the folder I enter:

./Startup.sh

And to stop the server, I navigate to the same directory and enter:

./Shutdown.sh

I was wondering if there was a way in Linux to alias the above described process, so that from any location in the filesystem, I can simply type in something like

StartTomcat or StopTomcat to perform the Startup and Shutdown of the web-server?

View 2 Replies View Related

General :: Run A Bash Command Automatically On Startup?

May 13, 2011

I was wondering how to run a bash command automatically on startup. on start-up have "alsamixer" or "start-network" executed from terminal.

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

Slackware :: Cant Run Startup Command To Disable Touchpad?

Oct 12, 2010

I login as root every time (its a closed system) and I am running it on a laptop. I want to disable the touch pad after typing for 4 seconds.I have tried adding this command:syndaemon -i 4 -dto rc.4, rc.local, rc.httpd, http.mysqld

View 7 Replies View Related

Red Hat / Fedora :: Running Command At Startup As Normal User?

Dec 23, 2008

I'm trying to start an Oracle Integration server as user "oracle" at system startup and my approach was to place a couple of lines in /etc/rc.localsu oracle/home/oracle/startallSomething is not quite right about this as it seems to leave some processes owned by root.

View 2 Replies View Related

General :: 10.10 - Running Command On Startup (Remap Keys)

Jan 23, 2011

I want to run this command on startup.
xmodmap /etc/xmodmap
I am running Ubuntu 10.10 and need to remap keys. It only seems to work when I run it in terminal after I login.

View 2 Replies View Related

Ubuntu Security :: GRsync --Exclude Command Syntax / Backup A Whole Startup Disk To Another?

Jul 19, 2010

I'm trying to backup a whole startup disk to another with GRSYNC but I don't need some files or directories. For example, I don't want to backup my 'swapfile1' (I do not have a dedicated swap partition) or the 'media' directory' in order to no enter a looping sync.I've searched the web for the correct syntax of the --exclude command but none have worked if applied in the advanced option "before" rsync starts. These a sample of NOT workin syntaxes:

exclude /media or -- exclude 'media' or -- exclude "media"

same for swapfile1:

exclude swapfile1 or -- exclude 'swapfile1' or -- exclude "swapfile1"

View 7 Replies View Related







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