WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: launching applications (newbie)  (Read 7470 times)

Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
launching applications (newbie)
« on: July 14, 2012, 02:19:36 PM »
I've managed to download and save smallbasic.cli.tcz into tce (I think)
How do I launch it ? I'd like an icon with the others.
When I tried Crome (.smp?) browser it placed its own icon and ran fine.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: launching applications (newbie)
« Reply #1 on: July 14, 2012, 06:22:22 PM »
Hi hitsware
Not all applications come with an icon. Open a terminal and type  sbasic. There is a GUI version of smallbasic and
it looks like it does have an icon.

Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
Re: launching applications (newbie)
« Reply #2 on: July 14, 2012, 09:24:53 PM »
Thanks
I'll try that
There are 3 entries of smallbasic
on the appbrowser
with 3 different suffixes
.cli , .gui , and ?
I wondered if I need 1, or all 3 ?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: launching applications (newbie)
« Reply #3 on: July 14, 2012, 10:04:54 PM »
If one extension relies on another, it should be loaded automatically by "apps" using the *dep file.

In this case, the dep file for smallbasic-gui does not mention smallbasic-cli, so it should not need it. The third extension, smallbasic-doc, sounds like it contains the documentation for smallbasic...

Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
Re: launching applications (newbie)
« Reply #4 on: July 15, 2012, 07:20:53 AM »
I'm missing something (my first sojourn into linux)
I've downloaded a few apps and they appear in the
tce/optional file.
Firefox added it's own icon and clicking that works
(same with Chromium)
BUT ........
When I try to use the app launcher it doesn't work
(even on Firefox which I know runs)
Can someone give me a step by step on launching
an application.
Do I need to do something @ boot ? or ???
I've ruled out .scm vs .tcz by downloading
timidity.scm and it also won't do anything
TIA
« Last Edit: July 15, 2012, 07:29:52 AM by hitsware »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: launching applications (newbie)
« Reply #5 on: July 15, 2012, 11:11:58 AM »
I think by "app launcher" you're referring to the apps gui tool - this downloads and optionally loads extensions, but doesn't run them.

To run an app you need to use the icon/menu item or launch it from a termial window - which apps are you having a problem with?

Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
Re: launching applications (newbie)
« Reply #6 on: July 15, 2012, 11:57:04 AM »
I think by "app launcher" you're referring to the apps gui tool - this downloads and optionally loads extensions, but doesn't run them.

To run an app you need to use the icon/menu item or launch it from a termial window - which apps are you having a problem with?
Not the gui tool .....
If I click the empty screen I get a small menu
there I click 'system tools' for another menu
there I click 'run program'
this lets me give address of application
(say)   /mnt/sdb1/tce/optional/firefox.scm
then I click run
it does nothing

On the first menu :
applications
system tools
new desktop
exit

If I click applications I get:
firefox
smallbasic

firefox works from there but not small basic

How do I launch from terminal ?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: launching applications (newbie)
« Reply #7 on: July 15, 2012, 12:22:16 PM »
You can't execute an extension, but the executable of an installed extension which should be in path.
Please read again all what has been stated in posts in this thread how to execute applications.

Now if there is really a menu entry which doesn't do anything, that might possibly require looking into..
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
Re: launching applications (newbie)
« Reply #8 on: July 15, 2012, 12:36:39 PM »
> You can't execute an extension, but the executable
> of an installed extension which should be in path.

Then .scm or .tcz are not executables ?
Sorry for the ignorance ....

> Please read again all what has been stated in posts
> in this thread how to execute applications.

Which thread ? This one is new started by me.

> Now if there is really a menu entry which doesn't do anything,
> that might possibly require looking into..

Smallbasic is on the application menu and seems to do nothing,
but I may have the wrong version or ?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: launching applications (newbie)
« Reply #9 on: July 15, 2012, 01:44:27 PM »
Hi hitsware
Smallbasic is a  command line  based program. You need a terminal to run it. As I said earlier, open a terminal
and enter  smallbasic. That should give you whatever smallbasic uses for a command prompt.
Quote
Then .scm or .tcz are not executables ?
No, they are packages which contain whatever files are required by that extension.

Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
Re: launching applications (newbie)
« Reply #10 on: July 15, 2012, 02:04:54 PM »
I get :

sh:  smallbasic:  not found

Do I maybe need all 3 entries from the app browser ?
I was thinking they were differant versions from the
descriptions ?
EDIT: I now have all 3 entries and same result
« Last Edit: July 15, 2012, 02:20:58 PM by hitsware »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: launching applications (newbie)
« Reply #11 on: July 15, 2012, 04:58:16 PM »
Hi hitsware
I'm sorry, meant to say type  sbasic.

Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
Re: launching applications (newbie)
« Reply #12 on: July 15, 2012, 05:20:03 PM »
sbasic returns nothing ..........
On the apps menu it is ' SmallBASIC '

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: launching applications (newbie)
« Reply #13 on: July 15, 2012, 06:33:44 PM »
Hi hitsware
Apparently sbasic is on the shy side. sbasic returns nothing. sbasic --help  returns nothing. However, sbasic -h
does put up a help message.

Offline hitsware

  • Jr. Member
  • **
  • Posts: 97
Re: launching applications (newbie)
« Reply #14 on: July 15, 2012, 06:45:06 PM »
:)
Where's abelmora when we need him ?