Xfce Forum

Sub domains
 

You are not logged in.

#1 2014-11-24 17:20:22

lgentis
Member
Registered: 2014-11-24
Posts: 3

launcher command line

Hello,

Xfce version : 4.10
Distribution : Xubuntu 14.04 64bits

I created a launcher for Google-Earth in the Deskbar ; in command field, I put "LC_ALL=C google-earth"

I have to add LC_ALL=C because of my localization.

But when I click on the launcher, I receive this error :

Failed to execute command "LC_ALL=C google-earth".
Failed to execute child process "LC_ALL=C" (No such file or directory)

If I execute the command "LC_ALL=C google-earth" from a terminal, google-earth starts with success.

Offline

#2 2014-11-24 18:31:43

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: launcher command line

add env for environment variables eg: env LANG=C google-earth

Last edited by sixsixfive (2014-11-24 18:32:21)

Offline

#3 2014-11-25 09:25:24

lgentis
Member
Registered: 2014-11-24
Posts: 3

Re: launcher command line

It works, Thanks a lot.

So yet, I can launch Google-Earth with proper parameters (for me).
(my command line is "env LC_ALL=C google-earth")

But even if I define deskbar launcher icon as "Google-Earth", when I launch Google-Earth, the window button in taskbar panel has a rectangular icon left from "Google Earth" string.
I suppose it's because of "env" command.

Is there a way to change this and have "Google Earth" icon instead of this rectangular icon ?

Offline

#4 2014-11-25 12:54:54

cmcanulty
Member
From: Beulah, Michigan
Registered: 2014-05-10
Posts: 268

Re: launcher command line

This works for me. Rt cl desktop-create launcher-name Google Earth -command browse to /usr/bin/google-earth then for icon click on the icon box and scroll down to google earth. If you want this launcher can then be dragged to panels and then kept or deleted from desktop, the first time you use it it asks and you mark it executable

Last edited by cmcanulty (2014-11-25 12:55:34)

Offline

#5 2014-11-25 16:52:29

lgentis
Member
Registered: 2014-11-24
Posts: 3

Re: launcher command line

Sorry, but I'm afraid I don't understand what you mean.

I already created a launcher for Google Earth and chose Google-Earth icon for it.

But, its command is : "env LC_ALL=C google-earth" ; and since it contains an "env" command, when it is executed, its window button in taskbar has a rectangular icon instead of Google Earth icon.

So I asked myself if it was possible to individually configure this window button.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 529.45 KiB (Peak: 530.73 KiB) ]