WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Extension Creating and Persistance / Basic Issues  (Read 2072 times)

Offline flyinghamster

  • Newbie
  • *
  • Posts: 14
Extension Creating and Persistance / Basic Issues
« on: May 03, 2013, 01:47:12 AM »
Having determined that the best way to add an icon with a bash script to the wbar would be to write it up as my own personal extension, I am having trouble figuring out where to save the tcz, now that it is created in tmp.

I am using a boot-from-USB setup and want to set the extension to persist for every boot and show up on my wbar in xwindows.

The copy location suggested on the website is "cp ../filename.tcz $(cat /opt/.tce_dir)"

I am getting a no such file or directory error though, and since it has been ages since I set up the persistence I forgot the appropriate location to save...

Thank you in advance! Looking forward to seeing my own icon on the wbar.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11623
Re: Extension Creating and Persistance / Basic Issues
« Reply #1 on: May 03, 2013, 01:53:49 AM »
Hi flyinghamster
Copy the tcz file to the  tce/optional  directory of your USB drive. Add   filename.tcz  to  tce/onboot.lst

Offline flyinghamster

  • Newbie
  • *
  • Posts: 14
Re: Extension Creating and Persistance / Basic Issues
« Reply #2 on: May 03, 2013, 02:41:59 AM »
Well, thanks for the help on the folder - I got it to persist, and when i type the name of the executable into the terminal it runs fine.

Unfortunately, the icon for the program is not showing up on the wbar. Do I need to edit a file somewhere for wbar to display the icon that I had chosen?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11623
Re: Extension Creating and Persistance / Basic Issues
« Reply #3 on: May 03, 2013, 10:59:35 AM »
Hi flyinghamster
This looks like the information you are looking for:
http://wiki.tinycorelinux.net/wiki:iconmenuinfo?s[]=desktop
Take a look in   /usr/local/share/applications   for working examples.
This thread on menu items may also be of interest:
http://forum.tinycorelinux.net/index.php/topic,15107.0.html

Offline flyinghamster

  • Newbie
  • *
  • Posts: 14
Re: Extension Creating and Persistance / Basic Issues
« Reply #4 on: May 04, 2013, 11:57:06 PM »
OK Thank you for the help! I have some other issues I have to figure out for now, but I will get to registering it on the menu.