Unity Launcher entry with "=" in the command

Adrian Diemer

I have meshlab in my Unity Launcher with the following desktop file:

[Desktop Entry]
Version=1.0
Name=MeshLab
Name[en_GB]=MeshLab
GenericName=Mesh processing
GenericName[en_GB]=Mesh processing
Comment=View and process meshes
Type=Application
Exec=meshlab
Icon=/usr/share/pixmaps/meshlab_32x32.xpm
Terminal=false
MimeType=model/mesh;application/x-3ds;image/x-3ds;model/x-ply;application/sla;model/x-quad-object;model/x-geomview-off;application/x-cyclone-ptx;application/x-vmi;application/x-bre;model/vnd.collada+xml;model/openctm;application/x-expe-binary;application/x-expe-ascii;application/x-xyz;application/x-gts;chemical/x-pdb;application/x-tri;application/x-asc;model/x3d+xml;model/x3d+vrml;model/vrml;model/u3d;model/idtf;
Categories=Graphics;3DGraphics;Viewer;Qt;

But I need to run the program with the following command so that it parses the mesh files correctly:

LC_ALL=C meshlab

The documentation says that I can't use a "=" sign in the command but it soesn't say anything on what else to do, if you need one. I tried escaping it with a backslash and putting the whole command or just the first part in double quotes but I couldn't get it to work.

Any help would be greatly appreciated.

dessert

Change the line to

Exec=bash -c 'LC_ALL=C meshlab'

This will run the command in quotes in an own bash session, where multiple commands as well as changing environment variables is possible.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Android Unity - change launcher activity

From Dev

Add Vim to Unity launcher?

From Dev

Unity Launcher "Stuck" icons

From Dev

Unity - 14.04 - Set Launcher Icon Size - via command line

From Dev

Associating a keyword to an application in unity launcher

From Dev

How to hide mounted partitions and devices from Unity Launcher via Command Line?

From Dev

How do you add/remove applications to/from the Unity Launcher from command line?

From Dev

Add Vim to Unity launcher?

From Dev

Unity Launcher "Stuck" icons

From Dev

Unity - 14.04 - Set Launcher Icon Size - via command line

From Dev

How to hide mounted partitions and devices from Unity Launcher via Command Line?

From Dev

Using unity as console command launcher

From Dev

Java application launcher not staying in Unity launcher

From Dev

Unity launcher for KDE

From Dev

How to open the terminal with specific command already run? Best at Unity Launcher!

From Dev

Add unity quicklist launcher with a zenity command

From Dev

Unity launcher shortcut to a terminal command

From Dev

Symlink launcher icon not visible on Unity launcher

From Dev

Add launcher of type Location to Unity application launcher

From Dev

Is there any way to initiate "urgent animation" of an icon on the Unity launcher from command line?

From Dev

Netbeans desktop shortcut file not working in Unity launcher, Exec command works in term

From Dev

Compile Unity without launcher

From Dev

Is it possible to replace the Unity launcher?

From Dev

Terminal and unity launcher is missing

From Dev

Simple Unity Launcher Fix

From Dev

Which command is executed when selecting an entry in Unity dock?

From Dev

Change Unity Launcher Style

From Dev

Unity launcher and Steam icons

From Dev

Terminal and unity launcher is missing

Related Related

  1. 1

    Android Unity - change launcher activity

  2. 2

    Add Vim to Unity launcher?

  3. 3

    Unity Launcher "Stuck" icons

  4. 4

    Unity - 14.04 - Set Launcher Icon Size - via command line

  5. 5

    Associating a keyword to an application in unity launcher

  6. 6

    How to hide mounted partitions and devices from Unity Launcher via Command Line?

  7. 7

    How do you add/remove applications to/from the Unity Launcher from command line?

  8. 8

    Add Vim to Unity launcher?

  9. 9

    Unity Launcher "Stuck" icons

  10. 10

    Unity - 14.04 - Set Launcher Icon Size - via command line

  11. 11

    How to hide mounted partitions and devices from Unity Launcher via Command Line?

  12. 12

    Using unity as console command launcher

  13. 13

    Java application launcher not staying in Unity launcher

  14. 14

    Unity launcher for KDE

  15. 15

    How to open the terminal with specific command already run? Best at Unity Launcher!

  16. 16

    Add unity quicklist launcher with a zenity command

  17. 17

    Unity launcher shortcut to a terminal command

  18. 18

    Symlink launcher icon not visible on Unity launcher

  19. 19

    Add launcher of type Location to Unity application launcher

  20. 20

    Is there any way to initiate "urgent animation" of an icon on the Unity launcher from command line?

  21. 21

    Netbeans desktop shortcut file not working in Unity launcher, Exec command works in term

  22. 22

    Compile Unity without launcher

  23. 23

    Is it possible to replace the Unity launcher?

  24. 24

    Terminal and unity launcher is missing

  25. 25

    Simple Unity Launcher Fix

  26. 26

    Which command is executed when selecting an entry in Unity dock?

  27. 27

    Change Unity Launcher Style

  28. 28

    Unity launcher and Steam icons

  29. 29

    Terminal and unity launcher is missing

HotTag

Archive