wearqosa.blogg.se

Make program portable
Make program portable








Check your path with the command printenv PATH or echo $PATH.Ĭreate a symbolic link to your executable in that directory. Log out then back in: that directory will now automatically be included in your PATH.

make program portable

Launching the program just by typing the name of the executableĬreate a directory ~/.local/bin. Else, you need to specify the full pathname.Īlternatively, install Alacarte or Menulibre to create such launchers using a graphical tool.Ģ. If the executable exists in the search PATH, the name is enough. desktop launcher, for example ~/.local/share/applications/sktop, looks like: Įssential is to provide a valid executable next to Exec=.

make program portable

Such launcher will cause the application to appear in your application menu.Ī minimal. This is a text file with a specific format that tells the desktop the name to display in the menu, how to execute the program and what icon to use among other things. desktop launcher file in the directory ~/.local/share/applications.










Make program portable