Ubuntu :: Stop/start A Program When Notebook Goes Battery/ac?

Oct 23, 2010

I need to stop a program when notebook goes on battery and start it when using AC. I'm using 10.10 netbook edition.

View 2 Replies


ADVERTISEMENT

Ubuntu Installation :: 10.10 On Notebook But It Stop On The Section Of Entering Name - Computer Name - User Name - Password

Jan 8, 2011

im trying to install ubuntu 10.10 on my notebook but it stop on the section of entering my name, computer name, user name, password... and at the bottom section it says... ready when you are...

View 2 Replies View Related

Fedora Security :: User Access To Start And Stop Tomcat But Also Gives User Access To Start And Stop Other Services "/etc/sudoers"

Mar 13, 2009

I am trying to give access to ONE single user to start and shutdown tomcat server. The problem being, when I enter syntax: username ALL= /etc/init.d/tomcat5, /usr/local/tomcat/webapps, PASSWD:ALL This gives the user access to start and stop tomcat but also gives user access to start and stop other services within /etc/init.d - such as httpd etc... What is the proper way to give user access to start and stop service, and limiting that power to only one service....

View 2 Replies View Related

General :: Start Script Bash When System Start Stop Reeboot?

Dec 10, 2009

I have 3 script BASH. I want start this script when the system start,stop and reeboot.

View 4 Replies View Related

Ubuntu :: Stop A Program From Running?

Jan 16, 2010

Here's the error message I get when trying to run Thunderbird 3.Thunderbird is already running, but is not responding. To open a new window, you must first close the existing Thunderbird process, or restart your system.I can't find it running anywhere.

View 9 Replies View Related

Ubuntu :: How To Stop A Program Shutting Down

Jul 9, 2010

i have a pc running ubuntu 9.10 as cccam server and it works 100% when i run a program (teamviewer) it works like a dream BUT when my system goes in to screen saver mode teamviewer still works BUT when screensaver mode finishes teamviwer is stopped also. who do a make shaw that teamviewer never shuts down?


is it a case on nerer letting screen save end and if so how do i do that?

View 1 Replies View Related

Ubuntu :: Can't Get The Program [I]motion[/I] To Stop Snapping Pics

Jan 10, 2010

How do I change the motion.conf to get the program from taking several snapshots? It just keeps running on and on snapping pics. Also, how do I get the program to record video whenever it detects motion?

View 3 Replies View Related

Ubuntu :: Stop A Program From Automatically Starting At Boot?

Jul 10, 2011

A server like Lighttpd or Apache starts automatically at boot after you install it. How do I stop it from auto starting? I'd prefer to manually start it when I need it.

View 1 Replies View Related

Security :: Program To Stop DDOS Attack?

May 30, 2011

i have 1 question no more because i got many ddos attack and my load is 95++ what is the best program to stop DDOS Attack ?

View 14 Replies View Related

Fedora :: Auto Start A Program On Start Up?

Oct 9, 2009

I just installed TuxGuitar - very cool - and to get the sound to work I had to install Timidity++ as well. Before I start TuxGuitar I have to execute:timidity -iA -Osin a terminal window first, which is kind of a pain to do every time I run TuxGuitar.How do I get this line to execute on startup such that timidity is running when I start up? I tried adding that line to rc.local

View 13 Replies View Related

Ubuntu :: USB Transfers Stop / Start In 10.04

May 30, 2010

When copying files to USB drives, the file progress bar moves it 'bursts', sometimes doing nothing for long periods, then moving forward quickly and stopping again.It's almost like it is showing the transfer to the cache, not the transfer to the actual drive.

View 5 Replies View Related

Ubuntu :: How To Stop KVM Start At Boot

Mar 10, 2010

Host - ubuntu 9.10 64bit
Virtualizer - KVM

I need to stop KVM starting at boot. I added following 2 lines at the bottom of /etc/modprobe.d/blacklist.conf
Code: blacklist kvm
blacklist kvm-amd Reboot PC
It doesn't work.

$ lsmod | grep kvm Code: kvm_amd 41556 0
kvm 190648 1 kvm_amd
What further command I have to run in order to activate the new blacklist.conf ?

View 2 Replies View Related

Debian :: How To Stop Program Running After Finishes Booting

Sep 5, 2011

I have a Debian Etch machine that was given to me but when it boots up it executes a program that is located on my desktop.

I don't want to move or rename the program but would like to prevent it from starting when the machine starts. Anyone have any idea as to what file I need to edit in order to achieve this?

View 1 Replies View Related

Debian Hardware :: Mouse: Stop Moving - Not Associated With Any Program

Jul 25, 2011

Im totally newbie is *nix OS (including debian) but more than pro in Win, so treat me with understanding,

TECH SPEC:
Debian 6
Gnome 2.30.2

PROBLEM DESCRIPTION: Mouse still working well during random period of time (it may be less then one minute and more then few hour's from boot up) then instantly stop moving (cursor are freeze) but it still active. Obviously it is not associated with any program, coz it happens even on log-on screen.

One thing make this case unusual - im using Logitech Wireless Desktop MK710 keyboard + mice set. It mean there is only one receiver for both devices. You guessed it, keyboard continues to operate normally after mouse fail! Absolutely normally! Even more, if i connect new wired usb mouse at this time, it will be work well, but not for log... after random period of time it goes freeze too =/ KEYBOARD STILL WORKING

View 4 Replies View Related

Software :: Stop Motion Animation Program For OpenSUSE 11.2

Feb 20, 2010

I have a relative who's starting Linux. He wants a Stop Animation Program for openSUSE 11.2. Is there a stop motion animation program in Linux? If so, what is it? I could switch to Ubuntu, Fedora, or Debian if necessary.

View 1 Replies View Related

Ubuntu :: Laptop With No Battery - Checking Battery State

May 1, 2010

Just installed 9.10 followed by a 10.04 upgrade (wouldn't work as a 10.04 clean install). The install and upgrade all seemed to go well.

But now when booting I get a message saying "checking battery state" and then it boots no further. This is a laptop without a battery installed, running permanently from the mains through the charger.

How can I disable this check so that the laptop will still boot without a battery fitted?

View 5 Replies View Related

Ubuntu :: Can't Find App To Stop And Start Services

Jun 27, 2010

I thought it was in the System>administration menu somewhere, but I just can't see it. What is it called, and where do I find it please?

View 9 Replies View Related

Ubuntu :: Keyboard Start To Stop Working

Jul 25, 2010

i installed linux ubuntu 10.04 successfully.it only works for a few minutes then the mouse and the keyboard start to stop working, they completely freeze then i have to restart the computer.

View 1 Replies View Related

Networking :: How To Stop / Start Network In Ubuntu 10.04

Jul 18, 2010

This should not be this difficult. I have a plain install of Ubuntu 10.04 64 bit with a wired network card. It picks up a private IP address from my router. It has an app called NetworkManager Applet 0.8 in the notification area of the panel. If I right click on this app and select "Disconnect" it does. ifconfig shows that the IP address is gone. I can then right click on the app again and "Auto eht0 and I am connected again and ifconfig shows the IP address restored. So far, so good. I was testing a crossover cable to see how fast I could transfer files to/from my server - both machines have gigabit cards but my switch is only 100 Mb.

I unplugged the PC from the router, hooked up the crossover cable to the server and found that I had no connectivity - the IP address was gone. Not wanting to mess with hard configuring IP addresses for the moment I connected the PC back to the router. When I unplugged the cable the app showed the networking disconnected icon. I tried right clicking on the app and unchecking [ ] Enable Networking then rechecking it. This works on my netbook running Ubuntu 9.04. No luck on 10.04 (and I had not tried the Auto eht0 as described above - did not discover that until later). So then I tried to fix it from the command line.

ken@taylor12:~$ sudo /etc/init.d/networking start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service networking start

Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the start(8) utility, e.g.
start networking
networking stop/waiting.

So I then tried
ken@taylor12:~$ sudo service networking start
networking stop/waiting
but still no connectivity. A reboot got things back in order.

Then I did a little more testing.
ken@taylor12:~$ sudo /etc/init.d/networking stop
* Deconfiguring network interfaces...
Ignoring unknown interface eth0=eth0.
and I am still connected.

Editing Connections within the NetworkManager Applet shows "Auto eth0 - last used never" even though I have used it. [Edit] Auto eth0 via the app appears to show information about my wired NIC.

ifconfig shows eht0 as active
ken@taylor12:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:25:64:e8:18:2c
inet addr:192.168.0.112 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::225:64ff:fee8:182c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2234 errors:0 dropped:0 overruns:0 frame:0
TX packets:2407 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
bytes:1824427 (1.8 MB) TX bytes:404086 (404.0 KB)
Interrupt:17

View 2 Replies View Related

Red Hat :: Informix Start - Stop Along

Mar 4, 2009

I'm trying to start/stop Informix along with my linux os start/stop. For this I've made a test script in order to test this but I'm facing a problem. The service is starting along with the system but when I'm stopping (rebooting) the system it doesn't run the "K10test" script.

After sistem reboot you can see that the /etc/init.d/test stop is not executed.

View 11 Replies View Related

Debian Hardware :: Lower Laptop Battery Charging State To Prolong Battery Life

Mar 2, 2010

getting back to our laptop, the stability window is ~3.2V. Meaning that when you operate the battery above this the electrolyte is oxidized on the positive electrode and reduced on the negative electrode. Remember that we only want to oxidize and reduce the active materials and don't want to do anything else. All these reactions other than the ones we want are called side reactionsŁ and these are really bad for the battery. The nominal voltage of a laptop battery is 3.7 V which means that something bad wants to happen as we use the battery.So long story short, stuff (e.g., passive layers and poor kinetics of reactions) happens and things are not as bad as they seem and you can increase the voltage up to 4.2V without bad things really happening. All chargers for Li-ion cells today cut the battery off when it reaches 4.2V. What you have to realize is that at 4.2V, these side reactions are present in finite amounts and start to chemically kill the battery, but its not that dramatic.

Operating to 4.1V makes things better and extends the life, 4.0 V is even better and so on. So why don't battery manufacturers cut the voltage off at, say, 4 V to get better battery life? Because every time you cut this voltage down you decrease the capacity of the battery and its run time. The 4.2V cutoff is a compromise between good run time and decent (read "not pathetic) life.On the other hand, if you charge the battery and then pull the plug (so to speak), the battery discharges some, the voltage drops, and these reactions become less of a problem and your battery life goes up. So the best things you can do is to charge the laptop (or cell phone, camera etc.) and once its charged, pull the plug. Your battery will thank you for it.As a matter of fact, if you own a Lenovo Thinkpad, you can actually change the state of charge to which you charge the battery using the Battery MaintenanceŁ utility. You can change this from charging to 100% state (where the voltage is 4.2V) to 90% so that your voltage is less. You lose some energy is doing that, but atleast you can change it to 100% when you need battery power and put it back down to 90% when you can plug in. I wish my Mac has the same feature.

I typically use the battery for a while (say 1/2 hour to 1 hour), then plug it in and wait to fully charge it, then I pull the plug and use it again for 1/2 hour to 1h and then I repeat this. Takes some getting used to and I forget to do this, but I try.

View 1 Replies View Related

CentOS 5 Server :: Named Won't Start \ Named Stop But Does Not Start Again?

Oct 28, 2009

i've made a big update of almost 300Mb.I'had a working DNS server.Now, when i boot the box, named works and it resolves all the clients.If i make any change (enter a new client for example) and of course i restart named (service named restart), named stop but does not start again !!!In order to get a working named, i 'm obliged to reboot the box?

View 6 Replies View Related

Ubuntu Installation :: 10.04 Upgrade - MySQL 5.1 Does Not Want To Start Or Stop

Apr 30, 2010

I upgraded from Kubuntu 9.10 to 10.04. 32 bit. The install had not finished as it barked at tripwire config. I have had to stop it and continue from command prompt. More or less the install went OK. After the install, mysql 5.1 does not want to start or stop. Commands
/etc/init.d/mysql stop ( or 'stop mysql' , or service mysql stop' )
/etc/init.d/mysql start

Do not finish - do not return to command prompt. No log messages insyslog or mysql logs. Say, I do 'service mysql start', the command does not return, I click Ctrl+C, then repeat the command. This displays :
'start: Job is already running: mysql'.
Of course mysql is not running. I've tried to remove and reinstall the packages. No result. There is 'stop mysql' command in one of install scripts that hangs.

View 9 Replies View Related

Ubuntu :: 10.04 Correct Way To Start Stop Disable Services?

Aug 25, 2010

With the advent of Ubuntu 10.04 Lucid Lynx LTS People are migrating servers to the latest LTS. One fundamental thing that has changed is the move to Upstart. In the old days to stop multidaemon service such as Samba, one would simply type /etc/init.d/samba stop and to disable it from starting on boot one would simply type update-rcd samba disable.

Now its the year 2010 and in 10.04 it seems on has to edit a bunch of files, etc. Is there not an easy tool to correctly and properly disable services on startup in 10.04 consistently? in Redhat/Mandrake 10 years ago it was simply

Code:
service smb off
In Ubuntu 10.04 its
1) edit /etc/init/smbd.conf and modify the line that says
Code:
stop on runlevel [!2345]
and change it to

[Code]...

And one has to remember all these changes when the get ready to enable the samba service in the future? This can't be right.I know I must be missing something here. or maybe overlooked something in the upstart documentation.Which seems quite sparse by the way. So the question remains. How does one simply disable a multidaemon service starting on boot such as samba. Any tool to do this ? Is the above the correct method recommended by Canonical to disable services? and enable them?

View 2 Replies View Related

Ubuntu :: Method To Start / Stop Services Under Upstart

Jan 22, 2011

I installed MySQL and Apache2 to develop & test out the site I'm writing. However since I'll be using them purely for internal use (not exposed to the Net), I don't want them to start with every boot-up, but would like to start them manually when I desire, and stop them after use.With previous Ubuntu (Jaunty) I'd used chkconfig to configure services, but since the current version (Maverick) uses Upstart, is chkconfig still applicable?

I also installed 'bum' (Boot-Up Manager), but strangely, it displays the MySQL server as "unchecked" even though it's running (and starts at boot-up), so I cant see how I can prevent it from starting at boot-up through bum. chkconfig also displays MySQL as not active at runlevel 5, when in fact, it is.

I'd like to know what's the recommended (official) way to configure boot-up services with the Upstart system? I don't suppose directly editing the *.conf files in /etc/init is the best (or even correct) way?

View 3 Replies View Related

Ubuntu Servers :: Stop Openssh From - Ever - Running At Start Up?

Jun 12, 2011

I'm running Ubuntu 10.04 LTS and I have installed openssh.I need to find a way to configure it so that it never start up when I boot into my computer. The reason is: I haven't had the time yet to learn how to set it up and configure it correctly. Until that time comes I don't want it to run at all.Every single time I boot into the system and I have to do that first before I can even do what I really need to on the computer. It's annoying.Does anyone know the best and least complicated way to just make it not run at all until I'm ready to set it up properly?Also how to check what is running on my system after I boot up so I can double check, after making the changes, that it worked right.

View 9 Replies View Related

OpenSUSE :: Stop Kmail On Start Up?

Mar 7, 2010

I set Kmail to launch on start up but now no longer wish for it to do so. However, i cannot find the setting i changed in the first place.

View 4 Replies View Related

Ubuntu :: Program Irxevent Start Automatic When The System Start Irxevent On Startup?

May 27, 2010

I install lirc and want to prgram irxevent start automatic when the system start

Code:
System->Preferences->Startup Applications
Add an item,but that not works every time,means sometimes cannot work.

View 2 Replies View Related

Ubuntu Networking :: Control Dial Up Modem (start And Stop)?

Feb 22, 2010

After much work finding the bits and bobs to get my PCI controller based modem working in Ubuntu 9.10, I need a better way to start and stop it. Now it dials up when I reboot whether I want to be online or not. I can stop this, but it won't dial up again without a reboot.

I would love a way to push a button to get it to connect and disconnect, and blinking lights (like the green computer screens in WinXP) to tell me when I am communicating. Even better would be a way to set up multiple connections, again like in XP so I could use a variety of numbers and/or user names depending on where I am.

View 1 Replies View Related

Ubuntu Servers :: Batch Job To Start/stop Transmission-daemon?

Mar 11, 2010

I would like to be able to simply run a shortcut file or batch file in a windows os to start or stop my transmission-daemon.I was thinking about using putty to auto login and execute a file using the -m switch. A problem I am running into is that /etc/init.d/transmission-daemon stoprequires the use of sudo.That would require entering a password which would be automated and insecure or would require manually typing int he password.

View 1 Replies View Related







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