A Script To Shutdown After Charging
Posted 24 February 2011 - 01:15 PM
*please* read what is there before asking questions ....
Posted 24 February 2011 - 01:34 PM
Posted 24 February 2011 - 07:29 PM
well I did it myself then...
Posted 24 February 2011 - 07:43 PM
That's why I said "That still need to be configurable" in the feature request.
no it should be user initiated - no automatic
But I can easily see a script that :
- is launched through a launcher in the system category
- do what your current script does
- display a windows saying something like "waiting to have reached full battery to shutdown"
- cancel that setup if the windows is closed
Edited by sebt3, 24 February 2011 - 07:44 PM.
Posted 24 February 2011 - 07:46 PM
Edited by chris_c, 24 February 2011 - 08:05 PM.
Posted 08 April 2011 - 04:33 AM
im a little bit confused on what i need to run in the terminal (linux noob here)
Could you clarify a bit for me please?
Posted 08 April 2011 - 04:36 AM
Posted 08 April 2011 - 05:10 AM
I read the article, but i just want to check to see if i have an understanding of it.
If after reading the article, you're still not sure then its probably not for you...
1, download said files from the bottom of the article
2,place twlTransistion into /etc/init.d/ and then use chmod + x
3, cp pokeVtrans to /usr/bin
I dont really understand the 5 ls sudo lines.
Please, i know im really nooby at linux, but help a brother out!
Posted 08 April 2011 - 05:18 AM
its ln not ls - think of this as windows short cuts but a sight more powerful...
on a Linux desktop machine type
assuming you have made a directory in your home directory called bin for the ./offwhencharged.sh script
you will need to
once you have started a terminal - or
you will need to verify that the script is executable
ls -lwill show you file permission
chmod +x offwhencharged.shwill make it executable
Edited by chris_c, 08 April 2011 - 05:19 AM.
Posted 08 April 2011 - 05:50 AM
on your article you said that it was important not to run this script in isolation, what does that mean?
Posted 08 April 2011 - 06:09 AM
Posted 08 April 2011 - 07:31 AM
and thats just by making it excuteble and placing it in the /etc/init.d/ folder right?
that you should set up twlTransistion to be run on reboot,