Thread: 12.04 desktop shutdown icon
anyone got code icon on desktop no ask
shutdown quick....???
well, make shell script shut down. create launcher run shell script. if don't want asking sudo password, hardcode script, that's not smart thing if don't trust has access computer. if want that, open gedit, enter following code, save somewhere, , make file executable. when open script, choose run terminal.
where "password" sudo password, leaving in quotes. can create launcher script, , shut computer down immediately. if want safer , don't mind entering password each time, change 2nd linecode:#!/bin/bash echo "password" | sudo -s shutdown -h now
there ways edit sudoers run script in root without requiring password, that's beyond me.code:sudo shutdown -h now
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] 12.04 desktop shutdown icon
Ubuntu
Comments
Post a Comment