Skip to main content

Create a App Launcher and Desktop Shortcut for FreeCAD AppImage on Linux

An AppImage is a portable compressed linux application file which is mounted at the point of execution. It's main aims is to allow the application to be deployed in a simple self contained way. Allowing compatibility across the many linux distros, it requires no installation or root permission. The underlying operating system is left untouched though configuration settings and target folders can reside outside the distribution. Appimages allow for the FreeCAD ecosystem to be more flexibile. A designer can download the latest development version without worrying about installing and destroying an installed stable version. Different versions and development paths of FreeCAD can be trialed (i.e. Link stage 3) and FreeCAD can always be kept on a USB stick, ready at hand for use on any linux distro.

If you are using a Linux based system such as Ubuntu then you probably are using the AppImage for FreeCAD. For ages I was locating the downloaded AppImage in my downloads directory and double clicking it.  This takes time and I would rather launch this from the app launcher or from the desktop.

Steps to create the Application Launcher Entry

1. Download your Linux AppImage, we will assume this has been downloaded to the Downloads directory and rename to your desired name in this case FreeCAD.AppImage

2. Google a png or icon you want to use to execute the program and save it (we assume you have downloaded it to your Downloads directory).  This icon should be in icon or png format. If you cant find a png but other formats are available then use a paint package to convert to the correct format.  Rename the icon / image to the same name as the program.  In this case FreeCAD.png

3. Open up a terminal. 

4. Change directory to where you have downloaded your files and give the FreeCAD AppImage permissions to be executed:

    cd ~/Downloads

    sudo chmod u+x FreeCAD.AppImage


5. Move both files to a directory such as /opt.  We can keep the files in their current location but they may get lost.  It is far safer to place them somewhere safe.  In this case I have use the /opt directory:

    cd ~/Downloads/

    sudo mv FreeCAD.AppImage /opt/

    sudo mv FreeCAD.png /opt/


5. Create the Application Launcher and shortcut using nano or your favourite text editor:

    sudo nano /usr/share/applications/FreeCAD.desktop


6. Add the following lines to the text file:


    [Desktop Entry]

    Name=FreeCAD

    Exec=/opt/FreeCAD.AppImage

    Icon=/opt/FreeCAD.png

    comment=FreeCAD

    Type=Application

    Terminal=false

    Encoding=UTF-8

    Categories=Utility;


7. Save the file and exit.

You will now be able to start your AppImage directly from the Applications Launcher. 


Optional: Create a shortcut on your desktop

To launch the application from a desktop icon follow these steps:

1. Copy the .desktop script to your desktop

    sudo cp -r /usr/share/applications/FreeCAD.desktop ~/Desktop/


2. Change the owner of the desktop shortcut to your current user you have logged in as (the user in your terminal prompt on each line waiting for a input, i.e youruser@yourcomputername:)

    sudo chown youruser ~/Desktop/FreeCAD.desktop


3 Update the new desktop shortcut permission to "allow this file to run as a program". 

    sudo chmod u+x ~/Desktop/FreeCAD.desktop


 

 

Comments

Popular posts from this blog

Beginners FreeCAD: Exercise 5.1 & 5.2 (Reference Images)

Welcome to the total beginners course to FreeCAD 0.20. In this is a two part lesson we will practice our tracing skill in the form of a mini project. Using the below reference photos we will create a more complex part which will consist of repeating features. We will utilise the symmetry tools to ease construction in both FreeCAD sketcher and Part Design workbench. This project work will help teach the fundamentals of freeCAD allowing a understanding of the basics but delivering this information via teaching you different workflows. In this tutorial we will be tracing photos imported into FreeCAD via the image workbench https://wiki.freecadweb.org/Image_Workbench JUMP TO IMAGES Do you want to purchase the complete series along with others and keep forever?  Check out my shop https://ko-fi.com/mang0/shop The story of this tutorial The idea and first attempt at creating this tutorial was back in FreeCAD 0.18.  The physical part itself, well, I have no idea what really it is, i...

FreeCAD For Beginners: CAD Thinking Part 1

Learning how to turn real life objects into CAD Models. Using FreeCAD we explain at a beginner level how to break down a physical object into its primitive shapes to digitise it into a 3D model, with this episode we are looking at a multi-part assembly, modelling each piece individually. The series aims to open your eyes and mind giving you the ground skills to pick the correct profiles, geometry and workflow when it comes to modelling your parts. This is not just for FreeCAD but for all CAD packages out there. Part  1 ,  2 ,  3  and  4  have been released.  Part 5 will be coming soon. Step-by-Step FreeCAD Tutorial: Modeling a Latch Part (Part 1) Introduction This tutorial is the first in a series guiding you through modeling a latch assembly in FreeCAD (version 0.21) using the Part Design and A2Plus workbenches. It focuses on modeling the first part (a slotted component) by selecting the top profile to create a slot and adding side arcs, emphasiz...

Beginner FreeCAD Tutorial 14: Reference Document for Exercise 1

This tutorial focuses on modelling a deck eye plate. These items are normally made of stainless steel with some kind of galvanised coating to stop corrosion. They are used in many industries but are most commonly found around boats, ships, sail lofts and docks where they play an important part in marine industry. Finding their use in many applications, they are often wall mounted acting as lashing points for mooring and for tying down sails or canopies. They can even be used for domestic use around the house and garden, for example to anchor ropes, cords and lines. So if your into 3D printing your finished creations, you can make use of the finished result.   Disclaimer : The strength of the part will depend on the internal structure, settings of the slicer and the material it has been printed on.  This will limit its application as failure of the part, damage to property and injury is a possibility.  These items are normally made of steel and are tested to take a...