WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to add Wbar applications?  (Read 7318 times)

Offline bengt_t

  • Newbie
  • *
  • Posts: 11
How to add Wbar applications?
« on: December 26, 2011, 05:23:25 AM »
Being new to this group I apologize if my question should have been posted to an other forum. If so please advice.

I have not succeeded in how and where to find information on how to add new applications which can be started from an icon on the screen. As, for example, Aterm, AppsAudit etc. The only tool I have found, so far is, to use ControlPanel/Wbar Conf to exclude items but not how to include new ones.

How and where can this be accomplished?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: How to add Wbar applications?
« Reply #1 on: December 26, 2011, 05:56:23 AM »
Application must provide a freedesktop.org menu entry file (.desktop) and related icon. Check how they looks like in /usr=share/applications and /usr/local/share/apllications
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline KHarvey

  • Full Member
  • ***
  • Posts: 102
Re: How to add Wbar applications?
« Reply #2 on: December 26, 2011, 03:38:11 PM »
I followed the directions on the Wiki
http://wiki.tinycorelinux.net/wiki:creating_custom_command_icons_in_wbar

Just be sure that you have at least one application installed OnDemand and it will create a /mnt/****/tce/ondemand folder.  That was the part that took me a few minutes to figure out.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: How to add Wbar applications?
« Reply #3 on: December 26, 2011, 04:05:25 PM »
Just add an icon and desktop file with the required info to the structure of your extension.  that way the extension will be mounted for faster loading instead of on-demand.

Look under tmp as shown below for some guidance on the details.

/tmp/tcloop/any_app/usr/local/share/applications/any_app.desktop
/tmp/tcloop/any_app/usr/local/share /icons/any_app_icon.png

the name of the any_app.desktop file will determine where on the wbar the icon will be displayed (In alphabetical order with the other icons).  Whereas the icon and app/script location is specified in the any_app.desktop file.

for construction of the desktop file try "Free Desktop Specifications

Hope that helps



Offline bengt_t

  • Newbie
  • *
  • Posts: 11
Re: How to add Wbar applications?
« Reply #4 on: December 27, 2011, 05:03:36 AM »
Yes it helped. Thanks for support.

I also found out that hacking the /usr/share/wbar/dot.wbar file could accomplish similar results....

Offline pjz

  • Newbie
  • *
  • Posts: 17
Re: How to add Wbar applications?
« Reply #5 on: October 06, 2015, 11:02:00 AM »
Someone in IRC says that /home/tc/.wbar will also work.