Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore Armv7 => Topic started by: athouston on July 14, 2013, 06:01:44 PM

Title: Screen icons under dCore 5
Post by: athouston on July 14, 2013, 06:01:44 PM
I need to create screen icons that run .sh scripts for programs like rdesktop that need to be passed a complicated string of options. Running them as scripts in a terminal session certainly works but an icon would be really helpful.

Any pointers on where to start please.
Title: Re: Screen icons under dCore 5
Post by: roberts on July 14, 2013, 09:39:10 PM
You may want to pick a small sce, e.g., wifi.sce and "look inside".
The procedure is the same as a tcz.

unsquashfs -d wifi /etc/sysconfig/tcedir/sce/wifi.sce

The peruse the directories under wifi/
There you will see a wifi.sh script and icon.

To repack use mksquashfs:

mksquashfs wifi wifi.sce
Title: Re: Screen icons under dCore 5
Post by: athouston on July 15, 2013, 12:36:56 AM
Thanks. I'll do that after dinner tonight.
Title: Re: Screen icons under dCore 5
Post by: athouston on July 17, 2013, 12:30:07 AM
I unssquashed wifi.sce and can see the desktop script entry under the ..share/applications directory but when I unsquash rdesktop.sce it does not have an applications directory and after a good search through I can't work out where to put the the desktop script. The ICON is ok because there is a pixmaps directory.

I imported GIMP to create the icon myself (sorry, a little bit boastful, but I need to take them (kudos) where I can get them).

Ideas?????
Title: Re: Screen icons under dCore 5
Post by: Rich on July 17, 2013, 06:35:53 AM
Hi athouston
Have you checked the Wiki? There are a couple of entries there about setting up icons.