Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-07-02 14:57:47

k-3.14
Member
From: Rhineland
Registered: 2017-02-18
Posts: 153

Trying to create launcher, no luck ...

After long years with KDE I am trying to set up my new DEBIAN Stretch Xfce desktop.

Put a starter on desktop, which launches a logical analyzer program.  No problem - starts program.

  EmJZoKcl.png

Now trying to create a starter inside whisker, I am stuck. (Using alacarte)


  ObdJVWml.png

I don't get that OK.

Trying to start the actual program inside terminal, I get this here


  0171xyVl.png

COMMAND NOT FOUND, but it works with the launcher on desktop ....

Please help, I am puzzled at the moment.

br

Offline

#2 2017-07-02 20:18:17

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Trying to create launcher, no luck ...

Because the path has spaces in it, you need to enclose the command in quotes or escape the spaces with a backspace. The first has entry is enclosed in single quotes (which works) but your whisker starter doesn't. Enclose that one in quotes.

As for the third issue, Linux doesn't generally have your current directory in the path. To run Logic, you need to tell bash to look for it in the current directotory:

./Logic

...the "./" means current directory. Or you can specify the full path name to it.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2017-07-03 05:36:45

k-3.14
Member
From: Rhineland
Registered: 2017-02-18
Posts: 153

Re: Trying to create launcher, no luck ...

Thank you again. Sorry for bothering ....

The desktop launcher set the command in quotes automatically, which the launcher for whisker did not.

Last edited by k-3.14 (2017-07-03 05:40:19)

Offline

#4 2017-07-19 09:23:29

k-3.14
Member
From: Rhineland
Registered: 2017-02-18
Posts: 153

Re: Trying to create launcher, no luck ...

Me again ;-)

Tried to create a launcher on desktop or in whisker for starting this application.

hmnkF0el.png

All in vain. Tried for 2 hours ...

In a terminal, the script starts with

./start.sh

- no problem

Meanwhile found a way to start the script in thunar with a mouse click, but being not able to create a working launcher bothers me a bit ...

br

Offline

#5 2017-07-19 10:26:27

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Trying to create launcher, no luck ...

Make sure you specify the working directory so java knows where to look for the JAR file:
screenshot2017-07-1906-24-57.png


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#6 2017-07-19 11:56:44

k-3.14
Member
From: Rhineland
Registered: 2017-02-18
Posts: 153

Re: Trying to create launcher, no luck ...

1A!!

That did it. But by the way ToZ, I have menu libre and alacarte installed,

CMUfZNLl.png

but both seem to lack some functionality.

Which one your are using in posted pic?

br

Offline

#7 2017-07-19 12:33:39

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Trying to create launcher, no luck ...

I right-clicked desktop and selected "Create launcher". Regardless of which app you are using, just make sure you specify the working directory (Arbeitsverzeichnis) for this app.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#8 2017-07-19 12:51:23

k-3.14
Member
From: Rhineland
Registered: 2017-02-18
Posts: 153

Re: Trying to create launcher, no luck ...

OK, understood. It not one of those editors for whisker.

Because with menu libre and alacarte I had to use #1 for creating a launcher with name, command, path and icon and use #2 to add  a comment.

By the way, is there a way to pull the launcher over from desktop to whisker?

br

Offline

#9 2017-07-19 13:01:49

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Trying to create launcher, no luck ...

k-3.14 wrote:

By the way, is there a way to pull the launcher over from desktop to whisker?

Copy/move it over to ~/.local/share/applications (create the directory if it doesn't exist). If you do this, you'll need to add categories for the application to get it to show up in a category folder of your choice (otherwise it shows up in the default "Other" category).


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB