Hi
as a local user open a terminal and report if the next command truly shuts down your PC
If it does....and ONLY if it does follow the next commands to create an executable and a desktop icon for your daughter to click and try out pls.
open a termianal as a local user for these commands
# create the executable.....use your file manager to check you have not already created a local bin folder under /home/yourname....the default is none
If its there skip the line to create that dir pls......I can write an if then command but lets keep it simple?
Close the terminal
Open text editor (called leafpad) as local user Menu -> Accessories -> Text Editor
copy and paste the following into it
Now click File and choose save as
Click on Desktop to change pathway of file to desktop
name it "now.desktop" without the quotes pls.
close leafpad and click on now icon.....choose the executable button and computer should close based on your "assumed" reply that the first command worked
good luck
I am a weirdo but I deliberately chose "now" as that is not a normal command so won't confuse the system....fingers crossed
as a local user open a terminal and report if the next command truly shuts down your PC
Code:
shutdown -h now
If it does....and ONLY if it does follow the next commands to create an executable and a desktop icon for your daughter to click and try out pls.
open a termianal as a local user for these commands
# create the executable.....use your file manager to check you have not already created a local bin folder under /home/yourname....the default is none
If its there skip the line to create that dir pls......I can write an if then command but lets keep it simple?
Code:
mkdir bin
echo '#!/bin/sh
shutdown -h now' > bin/now
chmod +x bin/now
Close the terminal
Open text editor (called leafpad) as local user Menu -> Accessories -> Text Editor
copy and paste the following into it
Quote:[Desktop Entry]
Version=1.0
Type=Application
Exec=now
Icon=system-log-out
Now click File and choose save as
Click on Desktop to change pathway of file to desktop
name it "now.desktop" without the quotes pls.
close leafpad and click on now icon.....choose the executable button and computer should close based on your "assumed" reply that the first command worked
good luck
I am a weirdo but I deliberately chose "now" as that is not a normal command so won't confuse the system....fingers crossed
Good Luck