WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Screen icons under dCore 5  (Read 5310 times)

Offline athouston

  • Full Member
  • ***
  • Posts: 143
Screen icons under dCore 5
« 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.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Screen icons under dCore 5
« Reply #1 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
10+ Years Contributing to Linux Open Source Projects.

Offline athouston

  • Full Member
  • ***
  • Posts: 143
Re: Screen icons under dCore 5
« Reply #2 on: July 15, 2013, 12:36:56 AM »
Thanks. I'll do that after dinner tonight.

Offline athouston

  • Full Member
  • ***
  • Posts: 143
Re: Screen icons under dCore 5
« Reply #3 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?????

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Screen icons under dCore 5
« Reply #4 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.