Icon for Script File?

Using applications, configuring, problems
Post Reply
Message
Author
mcman56
Posts: 103
Joined: Tue 03 Nov 2009, 04:01
Location: CA

Icon for Script File?

#1 Post by mcman56 »

I want to create an icon driven sleep command. I found the script needed but how do I make this a function driven by an icon?

http://208.109.22.214/puppy/viewtopic.p ... 98fd2acce8

It would also be nice to have a "time inactive" driven sleep function too.

This is in Precise Puppy 5.7.1 on an HP laptop 9010x

User avatar
puppyluvr
Posts: 3470
Joined: Sun 06 Jan 2008, 23:14
Location: Chickasha Oklahoma
Contact:

#2 Post by puppyluvr »

:D Hello,
I used acpitool.
Right click in /root and select "new" then "script" and name it.
Open the script and put:
acpitool -s
and save it. Then drop it onto the pinboard (Desktop).
Then right click and choose "set icon"
Adjust accordingly for a different program.
Close the Windows, and open your eyes, to a whole new world
I am Lead Dog of the
Puppy Linux Users Group on Facebook
Join us!

Puppy since 2.15CE...

mcman56
Posts: 103
Joined: Tue 03 Nov 2009, 04:01
Location: CA

#3 Post by mcman56 »

Thanks for the response but can you dumb down the instructions a little? I assumed I could see a \root folder in the ROX file manager but I don't. I also don't see a desktop folder. I did show the hidden folders.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#4 Post by Semme »

Root's the "home" icon up top on ROX. Since you might still see your desktop, drag the icon on and you're set.

mcman56
Posts: 103
Joined: Tue 03 Nov 2009, 04:01
Location: CA

#5 Post by mcman56 »

That worked. Thanks The confusing part was that nothing told me I was in root.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#6 Post by Semme »

You mean you're directory location isn't shown atop the ROX title bar? For /root >> a "~" tilde.

mcman56
Posts: 103
Joined: Tue 03 Nov 2009, 04:01
Location: CA

#7 Post by mcman56 »

A screen capture is attached. The symbol is there but easily missed by me.
Attachments
capture22934.png
(42.25 KiB) Downloaded 93 times

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#8 Post by Semme »

Easily missed :wink: till now. That's where you focus your attention from now on.

User avatar
mmmrr
Posts: 184
Joined: Tue 03 Mar 2009, 05:26
Location: vancouver island, canada

#9 Post by mmmrr »

it took me a while to get clear:

that in puppy the '~' was short for '/root'

that '/root' on the desktop might be a house icon
labelled 'home' or 'file' , or a file icon labelled 'file'

that the single '/' represented the single directory
[or folder] which held the whole filesytem. it is also called
'root' because it is the root of the filesystem.

/root or ~ is the root of yr personal files

by the way, you wrote:

' I assumed I could see a > \root < folder in the ROX file manager '

in linux filesytems it's forward slash > /root <,

hope this helps. cheers, mm

Post Reply