Red Hat / Fedora :: Running A Script When The Pc Shut Down
Jun 10, 2009I want to run a bash script when my pc shut down. Suppose the script is myscript.sh How can I do this ?
View 4 RepliesI want to run a bash script when my pc shut down. Suppose the script is myscript.sh How can I do this ?
View 4 RepliesOfflate I installed F11 i586 on my laptop. F11 shares the hard disk with Vista Home Premium 32-bit. The problem is that when running F11 (or even Ubuntu), my system shut off suddenly(not a normal OS shut down, but a sudden power off without any warning). This could have been a hardware trouble(heating) but it doesn't happen with Vista.
Machine specifications:
Maker: Toshiba
Model: Satellite L305D-S5881
AMD Turion X2 Dual Core Mobile Processor RM-70
3072 MB 800 MHz SDRAM
I don't want to open up my machine unnecessarily, if it isn't a hardware issue.
I am not sure how to verify the bit length of the machine and the OS and does it create a compatibility issue ?
Your advise would be highly appreciated.
Raman
I installed Fedora 12 and after I wantd to shut down the system. I waited but fedora not going to shut down. I got black screen with Power Down
View 7 Replies View RelatedIt's really weird, some applications simply don't start up. Skype for one, just shuts down before logging in, and Calibre shuts down instantly, when I try to run it. I've tried to remove and re-install it, but that doesn't do any good.
View 2 Replies View RelatedI recently got my laptop setup as an Ubuntu machine, but if I just leave it running, after a while I'll look over and see that it has shut down. I have gone through the power management options and I do not see anything there regarding this. So I was wondering if this is a feature in the 10.04 version?
View 3 Replies View RelatedI need a help regarding ,how to shutdown the running process using C program?..here i attached the porgram to shutdown the system by c program is there any possible to change in this program to shutdown the process?
View 1 Replies View Relatedthis forum and I'm a newbie in fedora. So bare with me,I'm in fedora 14 KDE. I can't shut down the S.O. from the desktop widget nor from the Kick off.I can run at the console:$ su shutdown -h nowBut I would like to do it from KDE. It only happens since two days ago
View 11 Replies View RelatedI have working system with fedora 6,It is working fine, but it is not properly shut downIt is giving me messages like System halted but after that i need to press the power buttonIt is not shut down properly.My system details are given below.CPU: Intel(R) Pentium(R) 4 CPU 3.00GHzRAM: 512 DDRHDD: 80 GBKernel: 2.6.18-1.2869.fc6xen (32 bit)
I have checked the following for this issue.1) I have tried acpi=off in kernel in grub options too.2) I have tried to change the settings with BIOS which is related to acpi3) I have searched regarding this issue and found some what related to kernel issue, But the repository of FC6 is not working i think, SO I could not able to upgrade the kernel.
Does any body know how to edit the System menu in fedora 11?I need to eliminate the option of shut down for some users of my pc.
View 1 Replies View RelatedI have no idea why I can not shut down my system properly. Every time I try to shut down, it just hangs and the only thing what I can see is my wallpaper. Then I am forced to do hard shut down, holding shut down button for a few seconds. Can someone help me with this? I have to mention that month ago everything was fine. No major system changes where done till that. My F11 is all up to date. Laptop: Acer Aspire One 751H.
View 9 Replies View RelatedI am having trouble shutting down X windows in a command line I type telinit 3, nothing happens. Is their a command in GRUB without having X windows starting? I need it shut down so I can compile a nividia graphics card.
View 8 Replies View RelatedWhen I boot up or shut down F13 I see the blue splash screen with the fedora logo. How do I shut this off?It seems to be hiding thosepretty boot-up and shut-down messages that reassure me my computer hasn't frozen up.
View 7 Replies View RelatedI'm using Fedora 10 64-bit, with all the latest upgrades. I'm on a Sony VAIO, if the model would affectFor some reason, while I am working, Fedora will suddenly freeze up: no applications will do anything, but for some strange reason, my mouse can move. It can't do anything, none of the buttons respond except for the mouse (and the power button)
View 14 Replies View RelatedWhenever I try to play a divx avi file in VLC it starts up, then shuts down again with no warning or error. Is this a bug in the current version. Kaffeine seems to play files OK. Using Fedora 11.
View 10 Replies View RelatedI just reinstalled, and can't get the setting set right so that my display does not shut off after a certain period of time. It is shutting off after a while of inactivity, and I do not want it to.
View 2 Replies View RelatedI am looking to disable my start-up splash screen and shut-down splash screen. I have modified my /etc/grub.conf file by changing:
splashimage=(hd0,0)/grub/splash.xpm.gz
to
#splashimage=(hd0,0)/grub/splash.xpm.gz
My computer won't shut off unless I just hold down the power button. Everytime I try System > Shut Off it just turns off, then restarts. My computer screen will sometimes just 'turn black' and become unresponsive, and I have to shut it down and restart. (The longest I waited was a few minutes with no response. How do I get customized mouse pointers? When I download something and 'extract' it, how do I know which file I'm supposed to open after I click 'show the files'? I've downloaded a few things and extracted them but I'm assuming I must do more, since they are not on my applications. Which is the best browser to use on Fedora? I love Opera, but for some reason my internet is twice as slow on Opera as it is on Firefox or Chrome?
View 4 Replies View RelatedToday my eth0 has intermittently shut down a couple of times without obvious cause from router or modem which appear normally lit. This happened a month or two ago soon after an update and them went away. I have unchecked ssh in the firewall settings as it is not needed but this has never been a problem. In the block of code there should be one attempt to graphically restart eth0.
[code]...
Fedora has been pretty stable for me but in last days I had a couple freezes on my machine using vlc.
Remembering the trick Alt+PrintScreen and pressing the keys REISUB in sequence can shut down the machine in safely way, I tried thiat but in Fedora 14 doesn't work. The trick has gone?.
I recently switched from fedora 14 to 15. Today my computer suddenly shut down during an update, as I thought it overheated I decided to clean the cooling system and reapply thermal paste. However, now the system won't boot anymore ("kernel panic - not syncing : VFS: unable to mount root FS on unknown-block").
I would like to either solve this booting problem, or mount the fedora 15 filesystem and recover some files. Whichever is easier.
I have another drive with fedora 14 (antec below) which boots fine:
Code:
After "yum install emacs" & "yum install emacs-ess", I was able to install emacs on my X86_64 running Fedora 10.
If I run one session of emacs everything works fine.
Once I start a second session and try to resize or move the emacs window, the system stops responding.
I'v just installed wicd. I can't get it to sart, I get errors saying that wicd couldn't connect to it's dbus interface and the wicd deamon has shut down. Then there's a report from SELinux saying that it's preventing /usr/bin/python "write" access on /etc/dhcp/manager-settings.conf and that access is denied to wicd. I can get wicd to start if I su to root, but I'd like to not have to do that every time I boot. Is there a fix?
View 1 Replies View RelatedI have a problem with KDE.. I go to Main Menu > Leave > Shutdown OR Restart OR Log Off I press
nothing happens...
This started a few days ago when I disabled some services..
Don't know what service is associated...
I tried using command line and everything works...
init 0
shutdown 0
shutdown -r 0
all work and bring down the system but my settings and open applications are not saved.
Recently I reinstalled some packages
Code:
zypper in -f libqt4-x11 kdebase4-workspace kdebase4 libqt4
and erased my debuginfo packages, and now my KDE (gnome is fine) presents the problem stated in this thread: KDE logoff dialog: no shutdown option - openSUSE Forums
I have a Dell Latitude D610, installed Ubuntu 9.10 with wubi and Win XP professional. I had only one problem booting which was fixed immediately by meierfra, but now the Ubuntu won't shut down. The final message is "ubuntu 9.10 login", then the screen freezes.Oddly when I restart from Ubuntu it shuts down enough to reboot into either Windows or back into Ubuntu. To shut down from Ubuntu I'm now holding down the start switch until the machine stops. effective but inelegant.
View 3 Replies View RelatedI have posted this before but still have no answer here it is again. I am using ubuntu 10.10 dual booting with microsoft windows. windows will shut down computer on command ubuntu will not shut down computer no matter what is tried.I have a HP Pavillion Elite HPE using GNOME 2.32.0 (ubuntu 2010-09-27
kernel is linux 2.6.35-25 generic-pae platform is i686 cpu is AMD Phenom IIx6 1045 problem solved trouble was a LAN setting in the setup or bios section.
I am noticing problems accessing the firewall gui and mounting the second hard drive in my PC running Fedora 13. This is only when I am accessing the machine with VNC. If I am sitting in front of the physical machine, I have no problems at all. I would like VNC to behave more like I am sitting in front of the computer. Is there a way to do this? Thank you in advance for your feedback.
View 4 Replies View RelatedBackground is this: Laptop has an internal h/d (obviously) so I removed it from laptop. Then set Bios to boot from external h/d. Installed Fedora 11 on ext. h/d no swap partition as drive already has 4 partitions. Fedora ran lovely!! I then replaced internal hard drive but left bios to boot from external hard drive. Boot screen for fedora came up, hit enter and fedora started loading. The little balloon started filling up, got to a quarter full and then screen went black. Had to reboot to get going again,same thing happened. Can anybody tell me what may be causing it,i.e. black screen. Fedora boots up and runs lovely with internal h/d removed. Any help very gratefully received. M/c has intel dual core processor, 3 gig of ram.
View 2 Replies View RelatedI'm happily running Fedora 13 as a guest OS in VMWare 3.0.1, except that it has one little issue.Sometimes the mouse would get terribly confused. It generally happens when I hit the mouse scroll wheel or when I move a window around very quickly. After that the left mouse button would stop working...
Anyway I found an easy workaround which I thought I'd share.Just hit 'enter unity' on the VMWare player menu. Then you can immediately exit unity again. This somehow resets the mouse into its normal state...
I am using Squeeze and now out of the blue I can't shut down. I have the default 64 bit version installed with no wild and crazy tweaks. I can shut down by going into the root terminal and enteringshutdown -h nowI also checked to make sure that I am still in the powerdev group and I am so I don't know what could be wrong.
View 3 Replies View Related